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,
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
Ralph Schoon selected this answer as the correct answer
|
2 other answers
![]()
Ralph Schoon (62.7k●3●36●43)
| answered May 13 '16, 4:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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 Hello Raplh,
The following steps were followed while removing the Plugins.
1. All the sites files of the plugin were removed
2. All the ini files of the plugins were removed
3. deleted the builton.txt file
4. started the server.
The server is still not starting after removing the plugin. We have tried removing the WAS cache as well. but CCM is still down. Any other points to care about?
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If the issue is due to that extension, that should have fixed it. You would have to look at the errors you see to find out more.
It is always a good idea to test deployment on a test server before going productive. You did and it works. So, maybe the problem is not the extension?
I would review the new log and try to understand what is going on.
|
Comments
It's related to OSGi. You should check the Eclipse log file for more details. That's /fs1/WebSphere/AppServer/profiles/AppSrv01/temp/serverNode01/server1/ccm_war/ccm.war/eclipse/workspace/.metadata/.log.
Also check the OSGi installation log. You can find it by
1. Go to /fs1/WebSphere/AppServer/profiles/AppSrv01/temp/serverNode01/server1/ccm_war/ccm.war/eclipse/
2. Run below command
find . -print | grep install.log
Hello Donald,