How to uninstall or reinstall a jazz server plugin (Tomcat)
I have developed and deployed a Follow-Up action (operationParticipant) on a tomcat server. Therefore I have created a plugin project, a feature project and an update-site project. Furthermore I have created an .ini file in the folder to "JazzTeamServer\server\conf\ccm\provision_profiles" and copied the update-site project in the folder "JazzTeamServer\server\conf\ccm\sites\hallomartin"
Now I want to reinstall a new version of the plugin. Therefore I first tried to uninstall the plugin. (like described in the library article https://jazz.net/library/article/495/) I have removed the .ini file from the provision_profiles directory, initiate a server reset request and stop and restart your RTC server.
But in the jazz log files there is no information that this plug has been uninstalled. Also in the Server "Provision Status" (https://localhost:9443/ccm/admin?internal=true#action=com.ibm.team.repository.admin.provisionStatus) there is no information that the plugin has been uninstalled.
And if I add the .ini file again in the provision_profiles directory, initiate a server reset again and restart the server, the log file got an entry that the plugin is already installed. So I am not able to reinstall a new version of my plugin.
So my question is how can I uninstall a plugin or reinstall a new version of the plugin?
Now I want to reinstall a new version of the plugin. Therefore I first tried to uninstall the plugin. (like described in the library article https://jazz.net/library/article/495/) I have removed the .ini file from the provision_profiles directory, initiate a server reset request and stop and restart your RTC server.
But in the jazz log files there is no information that this plug has been uninstalled. Also in the Server "Provision Status" (https://localhost:9443/ccm/admin?internal=true#action=com.ibm.team.repository.admin.provisionStatus) there is no information that the plugin has been uninstalled.
And if I add the .ini file again in the provision_profiles directory, initiate a server reset again and restart the server, the log file got an entry that the plugin is already installed. So I am not able to reinstall a new version of my plugin.
So my question is how can I uninstall a plugin or reinstall a new version of the plugin?
Accepted answer
Martin,
you need to delete the .ini file and the related feature and plugin folders. Then you request a server reset on CCM and restart the CCM server). In the component status: https://localhost:9443/ccm/admin?internal=true#action=com.ibm.team.repository.admin.componentStatus the plugin's component should no longer be visual.
Now you can redeploy the plugins and features and the ini file.
Note, if you just delete the plugins and features and then copy the new verion over that, a server reset and a server restart should re-read the plugins.
you need to delete the .ini file and the related feature and plugin folders. Then you request a server reset on CCM and restart the CCM server). In the component status: https://localhost:9443/ccm/admin?internal=true#action=com.ibm.team.repository.admin.componentStatus the plugin's component should no longer be visual.
Now you can redeploy the plugins and features and the ini file.
Note, if you just delete the plugins and features and then copy the new verion over that, a server reset and a server restart should re-read the plugins.
Comments
1 vote
2 other answers
Hello Martin,
there are 2 ways to re-provision the apps deployed to your Tomcat server:
1 - Web Browser: go to https://server:port/app/admin/cmd/requestReset
where app = jts / ccm depending on the App you want to re-deploy
2 - Windows Explorer : go to <rtc_install_dir>\server\tomcat\work\Catalina\localhost
and delete the folder (jts or ccm) corresponding to the App you want to re-deploy
Hope it helps,
Eric
Thanks Eric,
I use the reset of the Jazz Team Server instead of the CCM application.
But if I now look in the log file, there is following issue:
1) CCM connect to my update site (INFO eam.repository.provision.internal.ProvisionService - CRJAZ0279I Die Verbindung zu "file:/C%3a/PROGRA~1/IBM/JAZZTE~1/server/conf/ccm/sites/hallomartin" wurde hergestellt.)
2) CCM install my feature (INFO eam.repository.provision.internal.ProvisionService - CRJAZ0300I Das Feature "de.rus.rtcextension.hallomartin.feature_1.0.2" wird installiert.)
3) CCM uninstall my plug-in (INFO eam.repository.provision.internal.ProvisionService - CRJAZ0299I Das Paket aus der URL "file:/C%3a/PROGRA~1/IBM/JAZZTE~1/server/conf/ccm/sites/hallomartin/plugins/de.rus.rtcextension.hallomartin.service_1.0.2.jar" wird deinstalliert.)
Why is my plugin uninstalled as last step? And in the Process Configuration in the Eclipse Client I didn't find the Follow-Up action. So, is it correct that the last entry in the ccm log according my plugin is that ccm has uninstalled the plugin?
I use the reset of the Jazz Team Server instead of the CCM application.
But if I now look in the log file, there is following issue:
1) CCM connect to my update site (INFO eam.repository.provision.internal.ProvisionService - CRJAZ0279I Die Verbindung zu "file:/C%3a/PROGRA~1/IBM/JAZZTE~1/server/conf/ccm/sites/hallomartin" wurde hergestellt.)
2) CCM install my feature (INFO eam.repository.provision.internal.ProvisionService - CRJAZ0300I Das Feature "de.rus.rtcextension.hallomartin.feature_1.0.2" wird installiert.)
3) CCM uninstall my plug-in (INFO eam.repository.provision.internal.ProvisionService - CRJAZ0299I Das Paket aus der URL "file:/C%3a/PROGRA~1/IBM/JAZZTE~1/server/conf/ccm/sites/hallomartin/plugins/de.rus.rtcextension.hallomartin.service_1.0.2.jar" wird deinstalliert.)
Why is my plugin uninstalled as last step? And in the Process Configuration in the Eclipse Client I didn't find the Follow-Up action. So, is it correct that the last entry in the ccm log according my plugin is that ccm has uninstalled the plugin?
Comments
1 vote