cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing a Repository Manager

Former Member
0 Kudos

Has anybody made further steps in implementing a Repository Manager according to the article of Thilo Brandt?

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/imple... a repository manager.article

Let's discuss about it!

kind regards

steffen

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

We are investigating the topic Repository Manager and started by using the example from Thilo Brandt "Simple Repository Manager".

The simple repository manager is now up and running,

but we want to be able to <b>search and find the documents provided by the repository</b> (in this case the file system).

For testing purposes I put 3 html documents and 2 text documents in the repository (C:/temp) and tried to index them.

None of the documents can be prepared:

I get the following error:

Error 8002: Unknown Hostname, Preparation failed.

Has anybody an idea what might be the problem?

EP6.0 SP2 Portal Patch 4

CM Patch 4

Message was edited by: Rebecca Ott

thilo_brandt
Employee
Employee
0 Kudos

Hello Rebecca,

two things to check:

1) have you set up the "Host" in the KM configuration for URL Generator service? --> Check the KM Access URLs in the details dialog of a resource and use the Explorer URL to test the link from the TREX machine.

2) Is this host reachable from the TREX machine (e.g. via ping command)?

Regards,

Thilo

Former Member
0 Kudos

Hello Thilo,

I solved the problem a few months ago.

However, thank you very much for your answer.

The problem had been that I worked with VMware and TREX was installed on another machine. So the portal on the VMware provided TREX with an URL not accessible from outside the VMware image.

As I only need TREX for a few testing purposes,

I installed it on the VMware image with the Portal as well.

Today I only edited my message.

Regards,

Rebecca

Former Member
0 Kudos

Hi,

can I avoid restarting the J2EE-Engine each time I upload a "Repository Manager"-par-file to see the changes?

regards

Martin

thilo_brandt
Employee
Employee
0 Kudos

Hi Martin,

unfortunately the restart is always necessary to make the CrtClassLoader Registry deal with the latest deployed classes. There is currently no mechanism to tell the CrtClassLoader to reload a certain class or complete package without restarting the whole Portal.

Best regards,

Thilo

markusriedinger
Advisor
Advisor
0 Kudos

Hi Martin,

if you look at the example code by Thilo, you will find, that he used a class called Node and one called Folder Node.

We did start our development by finalizing and testing those two classes using ..java main class to test.

After finishing you just add the right calles to the required managers.

With this approach you can limit the number of restarts drastically.

Cheers,

M.

Former Member
0 Kudos

Hi Markus,

you mean to add a java-main-"method" to test the classes locally - outside the portal, right?

Regards

Martin

Former Member
0 Kudos

Hi Thilo,

is there a mechanism to tell the CRTClassLoader to reload certain classes ... today? We use SAP EP 6.0 SP2 P 28 with KM at the same Patch Level. Do we have to use EP 6.0 SP9? Or is there still no way to work around frequently restarts?

Thanks and best regards,

Detlev

thilo_brandt
Employee
Employee
0 Kudos

Hi Detlev,

unfortunately reloading classes without portal restart will not be possible before SPS11. But even then the restriction is, that static references in KM components have to be devalidated during unload and re-initialized during restart, or much better: don't use static references.

Best regards,

Thilo

JoergWolf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Steffen,

well, let's kick off the discussion (not sure if this is the direction you want to head into but I guess finding that out is one purpose of this discussion) :

The two SAP partners IXOS (for Doculink) and FileNet (for P8) developed connectors to those repositories and can be contacted for details on them as they own the rights for these connectors.

Further partners are in the process of developing connectors.

Inside SAP, various connectors for SAP products have been developed or are in development (DMS, BW, cFolders...).

For NetWeaver '04, additional documentation and Eclipse plugins will be delivered as part of support package stack 4.

Customers might also have started with development of repository managers and I would be interested in hearing those opinions and experiences (especially what other material would be helpful).

Regards,

Joerg Wolf

Product Manager KM