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
Accepted answer
I agree with Don. Some hints:
- 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
-
Know what you did - when deploying which files and folders did you deploy and where?
- Delete the files and folders you added (provision profile and update site)
-
Reset the server (and the right one) e.g. deleting the built-on.txt
Comments
Hello Ralph,
Thanks for solution.
To undeploy,
- Delete the files and folders you added (provision profile and update site)
-
Reset the server (and the right one) e.g. deleting the built-on.txt
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
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.
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.