I’m trying to start by double clicking on cq-quickstart-5.4.0 (1).jar. I’ve changed the name to cq-author-4502.jar. But after starting it, I’m getting below error in server.log –
I'm running on Windows7 and java version 1.6.0_15. Your help is greatly appreciated.
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'Repository'
06.08.2013 00:22:15 *MARK * webapp-Content Repository Extreme: Start servlet 'JCRExplorer'
06.08.2013 00:22:15 *ERROR* webapp-Content Repository Extreme: Startup servlet unavailable: JCRExplorer
javax.servlet.ServletException: Unable to create servlet
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.java:121)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java:93)
at com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)
at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)
at com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)
at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)
at com.day.j2ee.server.Server.start(Server.java:227)
at com.day.j2ee.server.Server.main(Server.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.day.launcher.Bootstrap.run(Bootstrap.java:118)
at com.day.crx.quickstart.Quickstart.run(Quickstart.java:680)
at com.day.crx.quickstart.Main.<init>(Main.java:675)
at com.day.crx.quickstart.Main.main(Main.java:730)
06.08.2013 00:22:15 *ERROR* webapp-Content Repository Extreme: Root cause
java.lang.IllegalStateException: The repository is not available.
at com.day.crx.j2ee.JCRExplorerServlet.doGetRepository(JCRExplorerServlet.java:386)
at com.day.crx.j2ee.JCRExplorerServlet.getRepository(JCRExplorerServlet.java:333)
at com.day.crx.j2ee.JCRExplorerServlet.init(JCRExplorerServlet.java:320)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.java:113)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java:93)
at com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)
at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)
at com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)
at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)
at com.day.j2ee.server.Server.start(Server.java:227)
at com.day.j2ee.server.Server.main(Server.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.day.launcher.Bootstrap.run(Bootstrap.java:118)
Solved! Go to Solution.
I don't really know if this is the problem, but Windows 7 is not a supported operating system for CQ 5.4:
http://dev.day.com/docs/en/cq/5-4/deploying/technical_requirements.html#Server%20Operating%20Systems
scott
Views
Replies
Total Likes
Thanks Scott, I went through prerequisites before installing but I thought it will work.
Hi,
I had the same issue but wasn't sure what the resolution was. Can you try a different license.properties file?
Thanks,
Sudhin
Views
Replies
Total Likes
I haven't run into this myself, but the same error was posted in another discussion:
It mentions deleting a 'lock' file, so you may want to try that.
Views
Replies
Total Likes
Thanks for your suggestion. I deleted this lock file from C:\CQ5\crx-quickstart\launchpad\felix but no luck
Views
Replies
Total Likes
I don't really know if this is the problem, but Windows 7 is not a supported operating system for CQ 5.4:
http://dev.day.com/docs/en/cq/5-4/deploying/technical_requirements.html#Server%20Operating%20Systems
scott
Views
Replies
Total Likes
Hi Sam
U can try setting JAVA_HOME and PATH variables in env variables. If you have java 6 and Java 7 version just delete the Java 7 version and try
Views
Replies
Total Likes
Try starting with system variable [1].
[1] -Djava.net.preferIPv4Stack=true
Views
Replies
Total Likes