It's all about the answers!

Ask a question

Can not connect to CCM application


vikrant kamble (1323196) | asked Jun 21 '16, 6:39 a.m.
Hi All,
I following https://rsjazz.wordpress.com/2014/06/12/is-the-extension-deployed-how-can-i-redeploy/ link to redelpoy extension. To force redeploy extension we can delete 'built-on.txt' file from directory serverInstallationDirectory\server\tomcat\work\Catalina\localhost\ccm. I deleted file and started server. After starting server I am getting below error when I try to connect to repository from eclipse
CRJAZ2384E Cannot connect to the repository at URL "https://localhost:9443/ccm", see the nested exception for more details. 
CRJAZ2384E Cannot connect to the repository at URL "https://localhost:9443/ccm", see the nested exception for more details. 
Server returned HTTP response code: 400 for URL: https://localhost:9443/ccm/repo/repositoryId.

From web UI
If I visit https://localhost:9443/ccm, nothing appears on screen, screen is blank
If I visit https://localhost:9443/jts/admin, i can see login page on screen. 
It is problem with CCM application

How can I resolve the error
Please provide guidelines

Accepted answer


permanent link
Ralph Schoon (63.1k33646) | answered Jun 22 '16, 3:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I agree with Don. Some hints:
  1. Check the correct log file and read more than the first error. In this case the CCM log might or might not contain the information. If CCM can't start up then it might be necessary to check the Application Server log file
  2. Know what you did - when deploying which files and folders did you deploy and where?
To undeploy,

  1. Delete the files and folders you added (provision profile and update site)
  2. Reset the server (and the right one) e.g. deleting the built-on.txt
Start the server and make sure it works - watch the server logs.
vikrant kamble selected this answer as the correct answer

Comments
vikrant kamble commented Jun 22 '16, 5:20 a.m.

Hello Ralph,
Thanks for solution.
To undeploy,

  1. Delete the files and folders you added (provision profile and update site)
  2. Reset the server (and the right one) e.g. deleting the built-on.txt
Start the server and make sure it works - watch the server logs.

This solution worked for me.
I stopped the server first, I deleted .ini file from provision profiles and related site folder. Then I deleted 'installationdirectory\server\tomcat\work\Catalina\localhost\ccm\built-on.txt' file and restarted server. After server restart I was able to connect to CCM and plugin was removed.

Below are steps which lead me to above problem
I stopped the server and deleted built-on.txt file but did not deleted '.ini' file and related site folder and started server. After server was started I was facing problem mentioned in the question.


Ralph Schoon commented Jun 22 '16, 5:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Obviously to restart the server and doing nothing to remove the erroneous extension has no effect. By removing the ini file you remove your extension from deployment.

In case it is not obvious that the files and folders you deploy are the ones you have to remove to undeploy, I extended https://rsjazz.wordpress.com/2014/06/12/is-the-extension-deployed-how-can-i-redeploy/ to cover that.

One other answer



permanent link
Donald Nong (14.5k414) | answered Jun 21 '16, 9:36 p.m.
It's possible that your plugin corrupts the CCM deployment and it fails to start. These are the files that you can check for errors.
1. ccm.log
2. OSGi installation log - its location is similar to ccm.war/eclipse/configuration/org.eclipse.osgi/bundles/12/data/install.log
3. Eclipse log - its location is similar to ccm.war/eclipse/workspace/.metadata/.log

You'd better revert all the changes (remove your plugin from the CCM deployment) and start over again.

Comments
vikrant kamble commented Jun 22 '16, 2:42 a.m.

Hi Donald,
Could you please tell me steps to remove plugin from CCM deployment


Donald Nong commented Jun 22 '16, 2:53 a.m.

It should be the reverse order of how you "add" it.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.