[Messaging, JMS & JBossMQ] - Re: Error during queue setup
by chaituu
"chaituu" wrote : i have created empQueue in jbossmq-destinations-service.xml and same queue mentioned for message diven bean(EMPMessageDrivenBean) in jboss.xml;after deploying EMPMessageDrivenBean i am getting below error;
|
| when u look at log file at first line only empQueue was created and was bound to JNDI name: queue/empQueue but why below error was coming??
|
| server.log
| *********
|
|
| 2006-11-30 11:21:59,505 INFO [org.jboss.mq.server.jmx.Queue.empQueue] Bound to JNDI name: queue/empQueue
| 2006-11-30 11:22:01,426 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/opt/p2jboss/4.0.2/server/talon1prodcopy/farm/EMP.ear
| 2006-11-30 11:22:22,301 INFO [org.jboss.ejb.EjbModule] Deploying EMPMessageDrivenBean
| 2006-11-30 11:22:27,817 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/empQueue
| 2006-11-30 11:22:27,831 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: queue/empQueue reason: javax.naming.NameNotFoundException: queue/empQueue
| 2006-11-30 11:22:27,831 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination: queue/empQueue
| 2006-11-30 11:22:27,846 INFO [org.jboss.mq.server.jmx.Queue.empQueue] Registration is not done -> stop
| 2006-11-30 11:22:27,871 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
| org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.management.MBeanException)
| at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
|
|
| jbossmq-destinations-service.xml
| *********************************
|
| <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
| <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager
| -1
|
|
|
|
|
|
|
|
|
| jboss.xml
| **********
| <message-driven>
| <ejb-name>EMPMessageDrivenBean</ejb-name>
| <configuration-name>Standard Message Driven Bean</configuration-name>
| <destination-jndi-name>queue/empQueue</destination-jndi-name>
| </message-driven>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990885#3990885
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990885
18 years, 1 month
[Messaging, JMS & JBossMQ] - Error during queue setup
by chaituu
i have created empQueue in jbossmq-destinations-service.xml and same queue mentioned for message diven bean(EMPMessageDrivenBean) in jboss.xml;after deploying EMPMessageDrivenBean i am getting below error;
when u look at log file at first line only empQueue was created and was bound to JNDI name: queue/empQueue but why below error was coming??
server.log
*********
2006-11-30 11:21:59,505 INFO [org.jboss.mq.server.jmx.Queue.empQueue] Bound to JNDI name: queue/empQueue
2006-11-30 11:22:01,426 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/opt/p2jboss/4.0.2/server/talon1prodcopy/farm/EMP.ear
2006-11-30 11:22:22,301 INFO [org.jboss.ejb.EjbModule] Deploying EMPMessageDrivenBean
2006-11-30 11:22:27,817 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/empQueue
2006-11-30 11:22:27,831 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: queue/empQueue reason: javax.naming.NameNotFoundException: queue/empQueue
2006-11-30 11:22:27,831 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination: queue/empQueue
2006-11-30 11:22:27,846 INFO [org.jboss.mq.server.jmx.Queue.empQueue] Registration is not done -> stop
2006-11-30 11:22:27,871 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.management.MBeanException)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
jbossmq-destinations-service.xml
*********************************
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
<depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager
-1
jboss.xml
**********
<message-driven>
<ejb-name>EMPMessageDrivenBean</ejb-name>
<configuration-name>Standard Message Driven Bean</configuration-name>
<destination-jndi-name>queue/empQueue</destination-jndi-name>
</message-driven>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990882#3990882
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990882
18 years, 1 month