RTC 6.0.1 - CCM goes offline after plugin deployment
Hello team,
We are using RTC 6.0.1 with iFix003. (JTS + CCM + JRS)
SLES 11 SP4
IBM DB2 10.5
WAS 8.5.5 base profile
Single server topology.
Now we have developed several custom plugins for workitems and deployed in the RTC server. However we are facing issue now with the same.
Problem :
After deploying a plugin and starting the server, CCM goes offline. JTS & JRS is up and running as normal.
Steps we follow to deploy the plugin :
•Stop the jazz server(/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh)
•Copy the testplugin-site folder to /opt/IBM/JazzTeamServer_6.0.1/server/conf/ccm/sites
•Copy the testplugin-site.ini file to /opt/IBM/JazzTeamServer_6.0.1/server/conf/ccm/provision_profiles
•Start the jazz server (/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh)
•Open URL https://hostname:9443/ccm/admin?internal=true
•Click on Request server reset
•Restart the app server
•Login to RTC server https://hostname:9443/ccm/web and make ensure RTC up and running.
Now once we follow the above steps and open the ccm/web link, we see CCM is offline.
These are the errors in the ccm.log file
Launch callback handler] ERROR eam.repository.provision.internal.ProvisionService - CRJAZ0288E The "testplugin_Feature" profile feature could not be installed from the "file:ccm/sites/testplugin_Site" update site that is referenced in the "/opt/IBM/JazzTeamServer_6.0.1/server/conf/ccm/provision_profiles/testplugin-site.ini" profile file.
2016-05-12 09:19:50,672 [ Launch callback handler] ERROR eam.repository.provision.internal.ProvisionService - CRJAZ0287I Failed to install the bundle "file:/opt/IBM/JazzTeamServer_6.0.1/server/conf/ccm/sites/testplugin_Site/plugins/testplugin_1.0.0.201605061241.jar".
org.osgi.framework.BundleException: Error converting plugin at /fs1/WebSphere/AppServer/profiles/AppSrv01/temp/serverNode01/server1/ccm_war/ccm.war/eclipse/configuration/org.eclipse.osgi/bundles/1085/1/bundlefile.
The strange thing is that the same plugin works in our development environment (Similar setup). But when we deploy the plugin in our INT environment, we see this problem.
Any thoughts what could be the rootcause ?
Thanks,
Vishnu M
Accepted answer
Hello Ralph & Donald,
Thanks for your support & answers!
We did the deployment in our Dev server. It worked and during deploying in our INT server we had this problem.
The latest log still states "CRJAZ0288E The "testplugin_Feature" profile feature could not be installed from the "file:ccm/sites/testplugin_Site" update site that is referenced in the "/opt/IBM/JazzTeamServer_6.0.1/server/conf/ccm/provision_profiles/testplugin_Profile.ini" profile file.
com.ibm.team.repository.provision.ProvisionException: CRJAZ0287I Failed to install the bundle "file:/opt/IBM/JazzTeamServer_6.0.1/server/conf/ccm/sites/testplugin_Site/plugins/testplugin-New_1.0.0.201605121422.jar"."
So we tried to restore our Linux file system to an earlier time (Before this problem started). The file system was restored successfully. Now we created a new bundle & re-deployed the plugin. This time the plugin was deployed successfully.
I see this problem is finally solved.
Thanks for your support & answers!
Regards,
Vishnu M
2 other answers
Based on what you found in the install.log, the file /fs1/WebSphere/AppServer/profiles/AppSrv01/temp/smtca00654Node01/server1/ccm_war/ccm.war/eclipse/configuration/org.eclipse.osgi/bundles/1052/1/bundlefile is corrupted, and I believe it's just a copy of the testplugin-New_1.0.0.201605121422.jar file.
What you can do is to make sure the file testplugin-New_1.0.0.201605121422.jar is in good shape, remove the folder fs1/WebSphere/AppServer/profiles/AppSrv01/temp/serverNode01/server1/ccm_war/ccm.war while restarting the server and see if the issue can be resolved.
What you can do is to make sure the file testplugin-New_1.0.0.201605121422.jar is in good shape, remove the folder fs1/WebSphere/AppServer/profiles/AppSrv01/temp/serverNode01/server1/ccm_war/ccm.war while restarting the server and see if the issue can be resolved.
Comments
Remove the profile.ini file and the site for the extension. Enforce a reread https://rsjazz.wordpress.com/2014/06/12/is-the-extension-deployed-how-can-i-redeploy/
Make sure the server starts OK after removing the plugin.
Make sure your plugin works in Jetty.
Review all dependencies and make sure not to have any client API and unused dependencies.
Delete every file except the site.xml from the update site. Rebuild the update site and try to redeploy.
Comments
Donald Nong
May 12 '16, 4:31 a.m.vishnudharan manivannan
May 12 '16, 11:53 p.m.