3 Replies Latest reply: Apr 11, 2012 1:22 PM by Ron @ SFU RSS

    Unable to create Listener in Repository

    Perry H. Community Member

      I am doing a base install of CG 5.4 onto a Windows 7 box.  The install goes fine and I shutdown/startup CQ5.  Upon CQ5 server startup, I see the following stacktrace:

       

      09.04.2012 15:58:45 *ERROR* RepositoryStartupServlet: RepositoryStartupServlet initializing failed: org.apache.jackrabbit.j2ee.ServletExceptionWithCause: Error while creating repository (RepositoryStartupServlet.java, line 250)

      org.apache.jackrabbit.j2ee.ServletExceptionWithCause: Error while creating repository

              at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServl et.java:415)

              at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(RepositoryStartupServlet.java :242)

              at com.day.crx.j2ee.CRXRepositoryStartupServlet.startup(CRXRepositoryStartupServlet.java:147 )

              at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(RepositoryStartupServlet.java:21 5)

              at javax.servlet.GenericServlet.init(GenericServlet.java:211)

              at com.day.crx.j2ee.CRXRepositoryStartupServlet.init(CRXRepositoryStartupServlet.java:126)

              at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.ja va: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(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              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)

      Caused by: javax.jcr.RepositoryException: Unable to register data store in cluster.

              at com.day.crx.core.data.ClusterDataStore.initClustered(ClusterDataStore.java:163)

              at com.day.crx.core.CRXRepositoryImpl.createClusterNode(CRXRepositoryImpl.java:832)

              at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:319)

              at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:225)

              at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:267)

              at com.day.crx.core.CRXRepositoryImpl.create(CRXRepositoryImpl.java:185)

              at com.day.crx.j2ee.CRXRepositoryStartupServlet.createRepository(CRXRepositoryStartupServlet .java:172)

              at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServl et.java:413)

              ... 21 more

      Caused by: java.io.IOException: Could not create a listener on any of the following ports: [8088, 8089, 8090, 8091, 8092, 8093], and could not connect to another cluster node

              at com.day.crx.core.cluster.ClusterController.start(ClusterController.java:679)

              at com.day.crx.core.cluster.ClusterController.register(ClusterController.java:833)

              at com.day.crx.core.data.ClusterDataStore$Skeleton.register(ClusterDataStore.java:611)

              at com.day.crx.core.data.ClusterDataStore.initClustered(ClusterDataStore.java:160)

              ... 28 more

       

      I shutdown my Windows box, brought it back up and did a netstat.  None of those ports (8088, 8089, 8090, 8091, 8092, 8093) were in use.  I start up CQ5 and I still receive the the error so I don't believe it is port contention.

       

      Thoughts on what I am doing wrong?

       

      Perry