[jboss-user] [EJB/JBoss] - EAR does not correctly deploy EJB3 MDB
tnine
do-not-reply at jboss.com
Mon Jul 30 12:24:12 EDT 2007
Hi all,
I have an ear with an MDB that connects to a spring POJO. The deployment is very simple and the ear deploys correctly, however the MDB never reads from the queue, nor can I see my scoped classloader, or the EJB in the JMX console. I'm using JBoss 4.0.2, and an EJB3 MDB. I have included my configuration. The ear does contain all of the neccessary files (I think), and I'm not sure what's going on. Here are my configuration files.
In the ear
application.xml
| <application>
| <display-name>ear</display-name>
| <description>statementear</description>
| <module>
| <ejb>mdb-1.0.0-SNAPSHOT.jar</ejb>
| </module>
| </application>
|
jboss-app.xml
| <jboss-app>
| <loader-repository>statements.purdueefcu.com:loader=ear-1.0.0-SNAPSHOT</loader-repository>
| </jboss-app>
|
MDB class
| /**
| * @author Todd Nine
| *
| */
| @MessageDriven(activationConfig =
| {
| @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
| @ActivationConfigProperty(propertyName="destination", propertyValue="queue/StatementInput")
| })
| public class StatementMessageDrivenBean extends AbstractJmsMessageDrivenBean {
| ..
| /*
| * (non-Javadoc)
| *
| * @see javax.jms.MessageListener#onMessage(javax.jms.Message)
| */
| public void onMessage(Message message) {...}
| }
|
I know the queue is set up correctly, I'm able to push messaged onto it, and they are correctly persisted. This is a high availability JBoss MQ installation, do I need to set any special properties in my annotations to read from it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068796#4068796
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068796
More information about the jboss-user
mailing list