This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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: 361
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: 10441

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: 543

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)
It is sorta covered in the JavaRanch Style Guide.
subject: Not able to deploy MDB in jboss
It's not a secret anymore!