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
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
Author

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:
META-INF
e-store.war
mdbExample.jar

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

META-INF/
META-INF/MANIFEST.MF
e-store.war
mdbExample.jar
META-INF/ejb-jar.xml


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




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

Joined: Jul 20, 2005
Posts: 10213
    
166

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
Bartender

Joined: Aug 06, 2010
Posts: 543
    
    4

What directory have you deployed your ear to?

Check if the following files are present:

ejb3-connectors-jboss-beans.xml
ejb3-container-jboss-beans.xml
ejb3-interceptors-aop.xml
ejb3-timerservice-jboss-beans.xml


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)
 
jQuery in Action, 2nd edition
 
subject: Not able to deploy MDB in jboss