I'm trying to run CQ 5.6 on a Macbook Pro with OS X 10.9...just for development purposes. I'm using the default JDK 6 bundled with the OS.
When I attempt to launch CQ, quickstart opens my browser and ... nothing at all appears. The content of localhost:4502 is just an empty browser screen. The error.log file says this (sorry for the long log entry):
18.11.2013 10:04:19.091 *ERROR* [FelixStartLevel] com.day.crx.core.CRXRepositoryImpl Unable to create cluster controller Unable to register data store in cluster.
18.11.2013 10:04:19.092 *ERROR* [FelixStartLevel] org.apache.jackrabbit.core.RepositoryImpl failed to start Repository: Unable to register data store in cluster. javax.jcr.RepositoryException: Unable to register data store in cluster.
at com.day.crx.core.data.ClusterDataStore.init(ClusterDataStore.java:190)
at com.day.crx.core.CRXRepositoryImpl.createClusterNode(CRXRepositoryImpl.java:1023)
at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:300)
at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:307)
at com.day.crx.core.CRXRepositoryImpl.create(CRXRepositoryImpl.java:262)
at com.day.crx.core.CRXRepositoryImpl.create(CRXRepositoryImpl.java:245)
at com.day.crx.sling.server.impl.jmx.ManagedRepository.activate(ManagedRepository.java:168)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:236)
at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)
at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:613)
at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:496)
at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149)
at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:251)
at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:119)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1694)
at org.apache.felix.scr.impl.manager.ImmediateComponentManager.getService(ImmediateComponentManager.java:681)
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:308)
at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:219)
at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:310)
at org.apache.felix.framework.Felix.getService(Felix.java:3490)
at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:411)
at org.apache.aries.jmx.whiteboard.Activator$MBeanTracker.addingService(Activator.java:101)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4335)
at org.apache.felix.framework.Felix.registerService(Felix.java:3345)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:660)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:644)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:688)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1481)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:550)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:261)
at org.apache.felix.scr.impl.config.ImmediateComponentHolder.enableComponents(ImmediateComponentHolder.java:328)
at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:158)
at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:113)
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:261)
at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:179)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4319)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1993)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1261)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:298)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.net.UnknownHostException: guppy: guppy: nodename nor servname provided, or not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:241)
at com.day.crx.core.cluster.ClusterMaster$3.execute(ClusterMaster.java:388)
at com.day.crx.core.cluster.ClusterController.attempt(ClusterController.java:1399)
at com.day.crx.core.cluster.ClusterMaster.listen(ClusterMaster.java:386)
at com.day.crx.core.cluster.ClusterMaster.startListener(ClusterMaster.java:196)
at com.day.crx.core.cluster.ClusterController.startMasterListener(ClusterController.java:842)
at com.day.crx.core.cluster.ClusterController.start(ClusterController.java:686)
at com.day.crx.core.cluster.ClusterController.register(ClusterController.java:921)
at com.day.crx.core.data.ClusterDataStoreSkeleton.init(ClusterDataStoreSkeleton.java:94)
at com.day.crx.core.data.ClusterDataStore.init(ClusterDataStore.java:184)
... 56 more
Caused by: java.net.UnknownHostException: guppy: nodename nor servname provided, or not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
... 72 more
and then at the end of the log, this:
18.11.2013 10:04:49.080 *ERROR* [0:0:0:0:0:0:0:1 [1384797889076] GET / HTTP/1.1] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
18.11.2013 10:04:49.080 *ERROR* [0:0:0:0:0:0:0:1 [1384797889076] GET / HTTP/1.1] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
I'm fairly new to CQ and not sure how to begin to debug this problem.
I just checked the URL http://localhost:4502/system/console, and that does display. Any idea what's up and how to resolve this?
Thanks!
John
Solved! Go to Solution.
Views
Replies
Total Likes
No idea. Can you file daycare & in the ticket upload 10 thread dumps at 2 second interval after stop is initiated.
Views
Replies
Total Likes
Views
Replies
Total Likes
getting the same issue! Is this something to do with the newest java / jre / jdk stack for osx 10.9?
Note: after installing Mavericks, my previously running Adobe / JRE stack (1.6.0_37) java no longer exists on the environment.
I had to download this to get java utils to even work again. but CQ seems to fail pretty catastrophically (screen shot).
http://support.apple.com/kb/DL1572
Unfortunately there doesn't seem to be a way to go get older versions of java to install on osx.
Hoping I don't have to downgrade my os to fix a CQ issue.
Specs:
did an unpack and start via:
java -jar cq5-author-4502.jar -unpack
crx-quickstart/bin/start
(did above both as user and sudo, refreshing each time after wiping out install crx-quickstart dir and trying again)
java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
mvn --version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 08:22:22-0700)
Maven home: /CQ_Local/apache-maven-3.1.1
Java version: 1.6.0_65, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.9", arch: "x86_64", family: "mac"
Errors:
27.11.2013 10:52:43.116 *ERROR* [FelixStartLevel] org.apache.jackrabbit.core.RepositoryImpl failed to start Repository: Unable to register data store in cluster. javax.jcr.RepositoryException: Unable to register data store in cluster.
at com.day.crx.core.data.ClusterDataStore.init(ClusterDataStore.java:183)
...
at java.lang.Thread.run(Thread.java:695)
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:732)
at com.day.crx.core.cluster.ClusterController.register(ClusterController.java:919)
at com.day.crx.core.data.ClusterDataStoreSkeleton.init(ClusterDataStoreSkeleton.java:94)
at com.day.crx.core.data.ClusterDataStore.init(ClusterDataStore.java:177)
... 56 more
Followed quickly by this:
27.11.2013 10:52:43.134 *ERROR* [FelixStartLevel] com.day.crx.sling.server [com.day.crx.sling.server.impl.jmx.ManagedRepository] The activate method has thrown an exception (javax.jcr.RepositoryException: Unable to register data store in cluster.) javax.jcr.RepositoryException: Unable to register data store in cluster.
at com.day.crx.core.data.ClusterDataStore.init(ClusterDataStore.java:183)
...
at java.lang.Thread.run(Thread.java:695)
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:732)
at com.day.crx.core.cluster.ClusterController.register(ClusterController.java:919)
at com.day.crx.core.data.ClusterDataStoreSkeleton.init(ClusterDataStoreSkeleton.java:94)
at com.day.crx.core.data.ClusterDataStore.init(ClusterDataStore.java:177)
... 56 more
27.11.2013 10:52:43.134 *ERROR* [FelixStartLevel] com.day.crx.sling.server [com.day.crx.sling.server.impl.jmx.ManagedRepository] Failed creating the component instance; see log for reason
27.11.2013 10:52:43.135 *ERROR* [FelixDispatchQueue] com.day.crx.sling.server FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null.) org.osgi.framework.ServiceException: Service factory returned null.
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:343)
at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:221)
at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:292)
at org.apache.felix.framework.Felix.getService(Felix.java:3010)
at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:329)
at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:442)
at org.apache.aries.jmx.whiteboard.Activator$MBeanTracker.addingService(Activator.java:101)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233)
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:840)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3765)
at org.apache.felix.framework.Felix.registerService(Felix.java:2877)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:456)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:508)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1157)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:334)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:158)
at org.apache.felix.scr.impl.config.ImmediateComponentHolder.enableComponents(ImmediateComponentHolder.java:313)
at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:241)
at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:147)
at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:111)
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:274)
at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:192)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3754)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
at java.lang.Thread.run(Thread.java:695)
27.11.2013 10:52:43.135 *ERROR* [FelixStartLevel] org.apache.aries.jmx.whiteboard.JmxWhiteboardSupport registerMBean: Cannot register MBean service null with MBean servers: Not an instanceof DynamicMBean or not MBean spec compliant standard MBean
Views
Replies
Total Likes
Views
Replies
Total Likes
the link here is giving an error? I'm obviously loggen in with a valid Adobe account per this reply
Views
Replies
Total Likes
Thanks for the tip. I have heard to use that IP stack param when using jdk 7, and I've now tried it using jdk 6. Unfortunately, I'm still stuck. I do appreciate your quick suggestion though.
Regards,
John
Views
Replies
Total Likes
If it is not a cluster environment comment out <Cluster> ...</Cluster> param in repository.xml then restart the system
Views
Replies
Total Likes
Sham HC wrote...
If it is not a cluster environment comment out <Cluster> ...</Cluster> param in repository.xml then restart the system
going to give this a shot!
Views
Replies
Total Likes
gcuthber wrote...
Sham HC wrote...
If it is not a cluster environment comment out <Cluster> ...</Cluster> param in repository.xml then restart the system
going to give this a shot!
seems to be the trick...but this wasn't an issue before the java fiasco of Mavericks...word to the wise on updating.
Views
Replies
Total Likes
doesn't seem to be a full solution. CQ will start. but it won't stop, have to kill it. Seems like a jre incompatability with the latest OSX jre 1.6.0_65
Are there other ideas for this?
this is from: ps -ef | grep java
/usr/bin/java -server -Xmx2048m -XX:MaxPermSize=512M -Djava.awt.headless=true -jar app/cq-quickstart-5.5.0-standalone.jar start -c . -i launchpad -p 4502 -Dsling.run.modes=author
note, still running 5.5.0 with service pack 2.
Views
Replies
Total Likes
No idea. Can you file daycare & in the ticket upload 10 thread dumps at 2 second interval after stop is initiated.
Views
Replies
Total Likes
Views
Likes
Replies