We are not seeing our Message Driven Bean receive any messages when deployed in a war in JBoss 4.2.3. Are there any known limitations on using MDBs in WAR deployments?
Asked
Active
Viewed 1,439 times
2
-
1EJB 3.1 supports EJB deployment in .war files. The fact that yours doesn't receive messages could be because a number of reasons, e.g. wrong web.xml file configuration (take a look here http://stackoverflow.com/questions/5213174/jboss-6-deploy-ejb-in-war-packaging). Is your MDB getting deployed in JBoss, i.e. can you see that it is assigned a JNDI name in the deployment logs? – Gonzalo Garcia Lasurtegui Oct 08 '11 at 21:11
-
It looks like JBoss 4.2.3 uses EJB 3.0. Your linked question suggests that deployment in a war file is new to 3.1, so I'm guessing it is a limitation of our version. Thanks! (if you want to post as an answer, I'll accept it) – Adam Oct 10 '11 at 16:33
1 Answers
2
As per my comment above, EJB war deployment is only allowed from EJB 3.1 onwards.

Gonzalo Garcia Lasurtegui
- 4,911
- 5
- 32
- 49