Problem deploying Queue based message bean
jeffharman Nov 6, 2001 4:26 PMI have an issue with deploying a message bean that is intended to respond to a JMS queue instead of a JMS topic. I cannot seem to configure it to use an existing queue.
Can anyone tell me what I am doing wrong?
Thanks,
-Jeff Harman
jharman@websterbank.com
The JBoss auto deploy message is:
-----------------------------------
[AutoDeployer] Auto deploy of file:/D:/JBoss-2.4.3/deploy/HelloMDB.jar
[J2EE Deployer Default] Deploy J2EE application: file:/D:/JBoss-2.4.3/deploy/Hel
loMDB.jar
[J2eeDeployer] Create application HelloMDB.jar
[J2eeDeployer] install EJB module HelloMDB.jar
[Container factory] Deploying:file:/D:/JBoss-2.4.3/tmp/deploy/Default/HelloMDB.j
ar/
[Verifier] Verifying file:/D:/JBoss-2.4.3/tmp/deploy/Default/HelloMDB.jar/ejb100
3.jar
[Container factory] Deploying HelloMDB
[JMSContainerInvoker] destination not found: queue/HelloMDB reason: javax.naming
.NameNotFoundException: HelloMDB not bound
[JMSContainerInvoker] creating a new temporary destination: queue/HelloMDB
[QueueManager] Initializing
[QueueManager] Initialized
[QueueManager] Starting
[QueueManager] Started
[ContainerManagement] Initializing
[ContainerManagement] Initialized
[ContainerManagement] Starting
[ContainerManagement] Started
[Container factory] Deployed application: file:/D:/JBoss-2.4.3/tmp/deploy/Defaul
t/HelloMDB.jar/
[J2EE Deployer Default] J2EE application: file:/D:/JBoss-2.4.3/deploy/HelloMDB.j
ar is deployed.
-----------------------------------
The ejb-jar.xml is:
-----------------------------------
<?xml version="1.0"?>
<!DOCTYPE ejb-jar>
<ejb-jar>
<enterprise-beans>
<message-driven>
<ejb-name>HelloMDB</ejb-name>
<ejb-class>HelloMDB</ejb-class>
<message-selector></message-selector>
<transaction-type>Container</transaction-type>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<ejb-name>HelloMDB</ejb-name>
<method-name>*</method-name>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
-----------------------------------
The JBoss.xml is:
-----------------------------------
<?xml version="1.0" encoding="Cp1252"?>
<enterprise-beans>
<message-driven>
<ejb-name>HelloMDB</ejb-name>
<configuration-name>Standard Message Driven Bean</configuration-name>
<destination-jndi-name>queue/A</destination-jndi-name>
</message-driven>
false
</enterprise-beans>
-----------------------------------