-
1. Re: Live lock in HornetQ
jbertram Jun 6, 2013 6:09 PM (in response to rharkar)Another HornetQ process is already using that journal. Check to make sure you don't have more than one HornetQ process running concurrently accessing that same journal.
-
2. Re: Live lock in HornetQ
rharkar Jun 7, 2013 11:24 AM (in response to jbertram)I have other problem arised .. but the server is started . Its with org.hornetq.integration.transports.netty.NettyAcceptorFactory . I have kept netty-transport.jar in classpath . But iam not sure .. What jar I am missing . Once I start the server .
Jun 7, 2013 10:56:51 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
Jun 7, 2013 10:56:52 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/largemessages,pagingDirectory=data/paging)
Jun 7, 2013 10:56:52 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Waiting to obtain live lock
Jun 7, 2013 10:56:52 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Using NIO Journal
Jun 7, 2013 10:56:52 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
Jun 7, 2013 10:56:52 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Waiting to obtain live lock
Jun 7, 2013 10:56:52 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Live Server Obtained live lock
Jun 7, 2013 10:56:53 AM org.hornetq.core.logging.impl.JULLogDelegate warn
WARNING: Error instantiating acceptor "org.hornetq.integration.transports.netty.NettyAcceptorFactory"
java.lang.ClassNotFoundException: org.hornetq.integration.transports.netty.NettyAcceptorFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.hornetq.core.remoting.server.impl.RemotingServiceImpl.start(RemotingServiceImpl.java:175)
at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1512)
at org.hornetq.core.server.impl.HornetQServerImpl.access$100(HornetQServerImpl.java:132)
at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreLiveActivation.run(HornetQServerImpl.java:356)
at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:570)
at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:261)
at org.testing.EmbeddedSever.main(EmbeddedSever.java:27)
Jun 7, 2013 10:56:53 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: Server is now live
Jun 7, 2013 10:56:53 AM org.hornetq.core.logging.impl.JULLogDelegate info
INFO: HornetQ Server version 2.2.2.Final (super-hornetq-fighter, 122) [113d45e1-ceef-11e2-833c-90b11c8f92c5] started
STARTED::
Here is my hortnet-configuration.xml
<?xml version="1.0"?>
<configuration xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hornetq">
<connectors>
<connector name="netty-connector">
<factory-class>org.hornetq.integration.transports.netty.NettyConnectorFactory
</factory-class>
</connector>
</connectors>
<acceptors>
<acceptor name="netty-acceptor">
<factory-class>org.hornetq.integration.transports.netty.NettyAcceptorFactory
</factory-class>
</acceptor>
</acceptors>
<security-enabled>false</security-enabled>
</configuration>
-
3. Re: Live lock in HornetQ
ataylor Jun 10, 2013 8:40 AM (in response to rharkar)you should be using "org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory" etc