How to register a ccm app after a bad plugin install?
One answer
If the server was setup correctly and registered, then the plugin just needs to be pulled out. The plugin should not have affected the data, especially the friends/registrations. Try to make sure the extension is gone and you should be fine.
Please try the deployment on a test system e.g. Tomcat or WAS based, after development with Jetty and before you deploy on a production system.
Comments
I will recall what I did to get me in this mess:
I started with a working plugin, then I requested a server reset, stopped the server, added a new version of the plugin to the update sites (same folder) - this new version of the plugin had too many dependencies- and finally started the server.
After all the steps, which (and I really thank you for you excellent blog) had worked before, I could not access CCM.
In the end I could not request a server reset because CCM was not accessible, but I did remove the update site.
Just to clarify I can go to the first URL, but not the second.
https://l<server>:<port>/jts/admin?internal=true#action=com.ibm.team.repository.admin.serverReset
https://l<server>:<port>/ccm/admin?internal=true#action=com.ibm.team.repository.admin.serverReset
I also tried with a TOMCAT as a test. The problem presented as well, however when you delete the CATALINA temp files associated with JTS, the CCM app can be registered again without problems (yes, I also needed to remove the original CCM registry).
Maybe there is a way to send the command other than web.
Jaime,
the plugin if an RTC extension needs to be deployed on the CCM server. You need to request reset there or delete the built-on.txt file as suggested, if RTC is not accessible. The registration is something that should be fixed and not tempered with. If it is only temp files, no harm should be done. If it is in the ccm folder, you might be in trouble.
Or I am missing something vital here....
Ralph,
I think that everything is accounted. Thank you. I will try with your suggestion. This is a test machine, so nothing irreversible has happened.
If this works or I come up with another solution, I will surely update this post.
For the sake of research I tried to send a server reset from the JTS and that leave a mark. I could not use more that server. I always should do this in the ccm server page or is the same if i do it in JTS server page on the web client?
https://<server>:<port>/jts/admin?internal=true#action=com.ibm.team.repository.admin.serverReset
The server reset ONLY loads the plugins/sites of the app again as well as redeploys the bundles of the application. That is all it does. It won't break your application.
To make it more clear, deleting the built-on.txt file is the same as a request to reset.
Ralph, hi,
I really do not know what I did to the server, but I had to delete the profile "temp" and "wastemp" folders in order to get the application going.
It finally got better and let me register the ccm app.
Now is showing another problem:
CRJAZ2488E The friend entry for the Jazz Team Server contains a consumer key that is invalid (it is not being accepted by the Jazz Team Server).
But the ccm app seems to be trusted in the JTS, as in the section Consummers (inbound), on the tab Authorized Keys, the app is declared trusted
What should I do now?
Sorry I can't send some images. I don't have enough reputation.
Jaime,
for all I know the registration should not have broken in the first place.
Uninstalling the Plugin and start with a server reset should have fixed the problem.
Worst, removing the CCM.war and deploying it again again should have fixed it. In CLM 2011 upgrade workshop we explored several ways to get WAS cooperative again and documented them.
Having said that, re-registering CCM could have created problems. I don't know. I don't have any Ideas here. If this is a test system, I'd consider to start from scratch.