wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 9957

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

Joined: Aug 06, 2010
Posts: 516

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: (JEE 6 Web Component Developer && JEE 6 EJB Developer)
wood burning stoves
subject: Not able to deploy MDB in jboss
Similar Threads
Migrate deployment causing errors
EJB3 Stateless Session Bean deployment failure on JBOSS 5.1.0 GA
Problem of dependency injection in jboss
failed to initialize bean container with "Null beannMetaData" error
any idea baout this??