Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can not connect to CCM application

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

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

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.

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
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.

0 votes

Comments

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

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

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 21 '16, 6:39 a.m.

Question was seen: 2,853 times

Last updated: Jun 22 '16, 5:48 a.m.

Confirmation Cancel Confirm