aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Not able to deploy MDB in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Not able to deploy MDB in jboss" Watch "Not able to deploy MDB in jboss" New topic
Forums: EJB and other Java EE Technologies JBoss/WildFly

Not able to deploy MDB in jboss

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
I am having following code:

I have the following ejb-jar.xml

I have ear with following structure:

The mdbExample.jar contains the ejb.
e-store is web application calling the ejb.
I have put ejb-jar.xml inside META-INF.

Also i have updated the D:\TranscendingCode\jboss-5.1.0.GA\server\default\deploy\messaging\messaging-service.xml with the following entry:

when i run the following command: jar tf mdb.ear i get the below output


When i try to deploy the mdb.ear i get the following error:

SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9343

Is this a clean installation of JBoss AS? It looks like some configuration might have been changed (for example ejb3-interceptors-aop.xml, if I remember that file name correctly).

[My Blog] [JavaRanch Journal]
Dieter Quickfend
Ranch Hand

Joined: Aug 06, 2010
Posts: 359
What directory have you deployed your ear to?

Check if the following files are present:


If not, put them in your /server/default/deploy directory.

Oracle Certified Professional: Java SE 6 Programmer
Oracle Certified Expert: Java EE 6 Web Component Developer
Oracle Certified Expert: Java EE 6 Enterprise JavaBeans Developer
wood burning stoves
subject: Not able to deploy MDB in jboss
Similar Threads
Migrate deployment causing errors
any idea baout this??
failed to initialize bean container with "Null beannMetaData" error
EJB3 Stateless Session Bean deployment failure on JBOSS 5.1.0 GA
Problem of dependency injection in jboss