HornetQActivation: Failure
rajivtmathew Mar 28, 2011 4:58 PMI'm integrating JBoss AS 6 (Final) to my application. I'm using vanilla HornetQ, as-is from the JBoss 6 package download. My deployments appear to register and start up, upto the point that it tries to get messaging going. Thats where I get this exception:
-------------------------------------------
16:42:40,387 WARN [TimerServiceContainer] EJBTHREE-2193: using deprecated TimerServiceFactory for restoring timers
16:42:53,621 ERROR [HornetQPacketHandler] Failed to create session : HornetQException[errorCode=105 message=Unable to validate user: null]
at org.hornetq.core.security.impl.SecurityStoreImpl.authenticate(SecurityStoreImpl.java:141) [:6.0.0.Final]
at org.hornetq.core.server.impl.HornetQServerImpl.createSession(HornetQServerImpl.java:576) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.HornetQPacketHandler.handleCreateSession(HornetQPacketHandler.java:158) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.HornetQPacketHandler.handlePacket(HornetQPacketHandler.java:84) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:471) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:451) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:412) [:6.0.0.Final]
at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:459) [:6.0.0.Final]
at org.hornetq.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:135) [:6.0.0.Final]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [:6.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
16:42:53,637 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=apollo.ear,jar=ModuleOne.jar,name=ModuleOneDeviceInfo,service=EJB3,type=ManagementInterface
16:42:53,637 ERROR [HornetQPacketHandler] Failed to create session : HornetQException[errorCode=105 message=Unable to validate user: null]
at org.hornetq.core.security.impl.SecurityStoreImpl.authenticate(SecurityStoreImpl.java:141) [:6.0.0.Final]
at org.hornetq.core.server.impl.HornetQServerImpl.createSession(HornetQServerImpl.java:576) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.HornetQPacketHandler.handleCreateSession(HornetQPacketHandler.java:158) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.HornetQPacketHandler.handlePacket(HornetQPacketHandler.java:84) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:471) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:451) [:6.0.0.Final]
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:412) [:6.0.0.Final]
at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:459) [:6.0.0.Final]
at org.hornetq.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:135) [:6.0.0.Final]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [:6.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
16:42:53,637 INFO [JBossASKernel] with dependencies:
16:42:53,637 INFO [JBossASKernel] and demands:
16:42:53,637 INFO [JBossASKernel] jboss-switchboard:appName=apollo,module=ModuleOne,name=ModuleOneDeviceInfo; Required: Create
16:42:53,637 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService; Required: Described
16:42:53,637 INFO [JBossASKernel] jboss.j2ee:ear=apollo.ear,jar=.jar,name=ModuleOneDeviceInfo,service=EJB3; Required: Described
16:42:53,637 INFO [JBossASKernel] and supplies:
16:42:53,637 INFO [JBossASKernel] jndi:ModuleOneDeviceInfo
16:42:53,637 INFO [JBossASKernel] Class:com.safenetinc.smc.module.info.DeviceInfoMBean
16:42:53,637 INFO [JBossASKernel] Installing bean(jboss.j2ee:ear=apollo.ear,jar=ModuleOne.jar,name=ModuleOneDeviceInfo,service=EJB3,type=ManagementInterface) into kernel
16:42:53,637 WARN [HornetQActivation] Failure in HornetQ activation org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@5ae523 destination=queue/report destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15): HornetQException[errorCode=105 message=Unable to validate user: null]
at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:287) [:6.0.0.Final]
at org.hornetq.core.client.impl.FailoverManagerImpl.createSession(FailoverManagerImpl.java:412) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:1123) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:849) [:6.0.0.Final]
at org.hornetq.ra.HornetQResourceAdapter.createSession(HornetQResourceAdapter.java:1293) [:6.0.0.Final]
at org.hornetq.ra.inflow.HornetQActivation.setupSession(HornetQActivation.java:351) [:6.0.0.Final]
at org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:289) [:6.0.0.Final]
at org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:573) [:6.0.0.Final]
at org.jboss.resource.work.WorkWrapper.run(WorkWrapper.java:172) [:6.0.0.Final]
at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33) [:2.0.0.CR7]
at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:801) [:2.0.0.CR7]
at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45) [:2.0.0.CR7]
at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:821) [:2.0.0.CR7]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
at org.jboss.threads.JBossThread.run(JBossThread.java:122) [:2.0.0.CR7]
16:42:53,653 INFO [EJBContainer] STARTED EJB: com.safenetinc.smc.module.device.module.ModuleOneDeviceInfo ejbName: ModuleOneDeviceInfo
16:42:53,653 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
-------------------------------------------
I have referred to the HornetQ quick start guide, and found no information there. Currently reading through the user manual to look for instructions on configuration. FYI, I'm using the default JBoss profile.
Suggestions, anyone?