I also tried to deploy the provided EJB3Trail.ear (that is without creating my own project
and so on..). The same result. The queues that are problematic are: mdb, mdpojo,
injection. The first error I get in the logs is the following (with some ok messages
before that).
18:42:03,897 WARN [MessagingContainer] Could not find the queue
destination-jndi-name=queue/injection
18:42:03,898 WARN [MessagingContainer] destination not found: queue/injection reason:
javax.naming.NameNotFoundException: queue/injection
18:42:03,898 WARN [MessagingContainer] creating a new temporary destination:
queue/injection
18:42:03,907 INFO [injection] Bound to JNDI name: queue/injection
18:42:03,929 INFO [JmxKernelAbstraction] creating wrapper delegate for:
org.jboss.ejb3.stateless.StatelessContainer
18:42:03,929 INFO [JmxKernelAbstraction] installing MBean:
jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=TransCalculator,service=EJB3 with
dependencies:
18:42:03,929 INFO [JmxKernelAbstraction]
persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail
18:42:03,943 INFO [EJBContainer] STARTED EJB: trail.transaction.TransCalculator ejbName:
TransCalculator
18:42:03,950 INFO [EJB3Deployer] Deployed:
file:/home/magnus/jboss-4.2.2.GA/server/default/tmp/deploy/tmp23368EJB3Trail.ear-contents/beans.jar
18:42:03,980 INFO [TomcatDeployer] deploy, ctxPath=/EJB3Trail,
warUrl=.../tmp/deploy/tmp23368EJB3Trail.ear-contents/web-exp.war/
18:42:04,010 WARN [JmsActivation] Failure in jms activation
org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@78b973(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)d4c5a0
destination=queue/mdpojo isTopic=false tx=true durable=false reconnect=10
provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15
keepAlive=60000 useDLQ=true
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination:
mdpojo
at
org.jboss.mq.security.ServerSecurityInterceptor.subscribe(ServerSecurityInterceptor.java:156)
at org.jboss.mq.server.TracingInterceptor.subscribe(TracingInterceptor.java:643)
at org.jboss.mq.server.JMSServerInvoker.subscribe(JMSServerInvoker.java:177)
at
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:188)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:419)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
at java.lang.Thread.run(Thread.java:619)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179873#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...