cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Implementing a Repository Manager

Former Member
0 Likes
325

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

View Entire Topic
Former Member
0 Likes

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
Product and Topic Expert
Product and Topic Expert
0 Likes

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
Product and Topic Expert
Product and Topic Expert
0 Likes

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 Likes

Hi Markus,

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

Regards

Martin

Former Member
0 Likes

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
Product and Topic Expert
Product and Topic Expert
0 Likes

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