RTC extensions not loaded after restart of Tomcat
Accepted answer
If you deploy the extensions the first time and they don't show up, your deployment process failed.
You can request a server reset, but this is usually only required if you deploy a new version of extensions.
I would try to follow the extensions workshop (Article 1000) once (e.g. just import the code from older versions) and run the deployment to make sure you understand the process and then venture to try your own code.
Comments
I have not yet set up Jetty for extension testing.
I think I have seen some indicators in the Tomcat or Application Logs for the first install. You should see it in the Tomcat Startup, at least if exceptions are thrown. If you don't provide any system.out information you might not notice anything. I can't find a hint in any of the logs for an extension I created.
The provision status is the place I look at. E.g. https://localhost:9443/ccm/admin?internal=true#action=com.ibm.team.repository.admin.provisionStatus
Also the Component status: https://localhost:9443/ccm/admin?internal=true#action=com.ibm.team.repository.admin.componentStatus
My last suggestion here is again: Try Jetty first. if it runs in Jetty, it is good enough to test on Tomcat. If not, trying to deploy on Tomcat is pointless and a waste of time as also mentioned in https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ .
1 vote
you also need to reset the server, else it won't load extensions
https://server:port/ccm/admin/cmd=requestReset
then stop/start server.
also, sometimes you need to recycle eclipse as well.
1 vote
I have now configured Jetty, and I've been able to deploy and test my extension on it.
If it runs on Jetty but fails on Tomcat - resolving the URL - you most likely failed to
- Create the Feature or
- Create the Update Site (most likely)
I added the Feature to the Jetty server launch, and now the Feature is deployed and running on Jetty, so I suppose that the Feature was created correctly.
I've been eventually able to deploy the extension on Tomcat after recreating it with the correct settings.