It's all about the answers!

Ask a question

[ANSWERED] Redeploying Custom Process Advisor in Tomcat


Robert Carter (42927686) | asked Oct 24 '11, 3:19 p.m.
I have successfully created a custom process advisor. I am having a problem redeploying changes to the custom advisor code. I have made changes from the original advisor, but after I follow the steps below to redeploy. My coding changes are not reflected.

Are these the correct steps to redeploy a custom process advisor in TOMCAT application server?

1. Use the server reset command from the internal tools menu option.
2. shutdown Tomcat.
3. rebuild all for my update site.
4. start up tomcat.
5. verify the process advisor loaded via the Provision Status.

Is there something else I should be doing?

5 answers



permanent link
Karol W (551811) | answered Oct 24 '11, 8:07 p.m.
Before starting up tomcat remove cached content located at tomcat/work/Catalina/... .

I have successfully created a custom process advisor. I am having a problem redeploying changes to the custom advisor code. I have made changes from the original advisor, but after I follow the steps below to redeploy. My coding changes are not reflected.

Are these the correct steps to redeploy a custom process advisor in TOMCAT application server?

1. Use the server reset command from the internal tools menu option.
2. shutdown Tomcat.
3. rebuild all for my update site.
4. start up tomcat.
5. verify the process advisor loaded via the Provision Status.

Is there something else I should be doing?

permanent link
Robert Carter (42927686) | answered Oct 24 '11, 8:43 p.m.
Do I remove the whole directory structure below tomcat/work/Catalina/... ?

Before starting up tomcat remove cached content located at tomcat/work/Catalina/... .

I have successfully created a custom process advisor. I am having a problem redeploying changes to the custom advisor code. I have made changes from the original advisor, but after I follow the steps below to redeploy. My coding changes are not reflected.

Are these the correct steps to redeploy a custom process advisor in TOMCAT application server?

1. Use the server reset command from the internal tools menu option.
2. shutdown Tomcat.
3. rebuild all for my update site.
4. start up tomcat.
5. verify the process advisor loaded via the Provision Status.

Is there something else I should be doing?

permanent link
Karol W (551811) | answered Oct 25 '11, 11:21 a.m.
You can remove 'work/' directory.

Do I remove the whole directory structure below tomcat/work/Catalina/... ?

Before starting up tomcat remove cached content located at tomcat/work/Catalina/... .

I have successfully created a custom process advisor. I am having a problem redeploying changes to the custom advisor code. I have made changes from the original advisor, but after I follow the steps below to redeploy. My coding changes are not reflected.

Are these the correct steps to redeploy a custom process advisor in TOMCAT application server?

1. Use the server reset command from the internal tools menu option.
2. shutdown Tomcat.
3. rebuild all for my update site.
4. start up tomcat.
5. verify the process advisor loaded via the Provision Status.

Is there something else I should be doing?

permanent link
pere irazusta (2062120) | answered Oct 26 '11, 3:16 a.m.
Hi,

The secuence that I use to test custom parts is:

-While running RTC acces https://localhost:9443/ccm/admin/cmd/requestReset

- Stop RTC.

- Build/Export to desired folder.

- Start RTC ( On the starting logs you will see that the tmp files are being removed).

Pere

permanent link
Robert Carter (42927686) | answered Oct 26 '11, 12:14 p.m.
Thanks for the help. Looks like I am golden now.

Your answer


Register or to post your answer.