cancel
Showing results for 
Search instead for 
Did you mean: 

Hot KM Deployment - workaround?

former_member191569
Active Participant
0 Kudos

Hello,

I hace developed a portal application which contains a scheduler task (extendes ISchedulerTask).

This portal application relies all functionality in a portal service located in another portal application.

Each time I deploy the PAR with the scheduler I get a hot KM deployment and I have to restart the J2EE engine, painful...

but (and that's the worst of all) each time I deploy the PAR containing the portal service I get a hot KM deployment (I suppose because the SchedulerTask uses the portal service which has changed).

Any way to modify the portal ser

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi all,

I've found a workaround...I shall write a blog very soon.

In short, bring down all server nodes except the primary server node (if you have one) and deploy your PAR application and then bring up the server nodes.

It shoul all be good.

Thanks.

John

former_member191569
Active Participant
0 Kudos

Thank you for your answers, I hope this feature improves soon.

Former Member
0 Kudos

Hi

We cannot avoid hot deployment for KM components like scheduler task, repository service etc. Even if we write the application logic in a abstract portal component(APC) or portal service and refer this APC/service project from the KM components, then deploying the APC or service creates hot deployment again. Its because of the project reference from the KM components.

No workaround seen so far for this issue.

Check whether you have project reference or you just call the portal service methods from the scheduler.

Regards,

Yoga

Former Member
0 Kudos

Hi,

Yoga is right, there exists no real workaround.

You can however check also the following links, maybe they provide some useful hints/information for you:

[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bb1f18be-0801-0010-ffa0-e3495f7401bc|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bb1f18be-0801-0010-ffa0-e3495f7401bc]

[https://weblogs.sdn.sap.com/pub/wlg/2010|https://weblogs.sdn.sap.com/pub/wlg/2010]

Hot Deployment Checker:

[http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/305de59a-aed3-2910-958d-ad39be18b85a|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/305de59a-aed3-2910-958d-ad39be18b85a]