• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to deploy MDB in jboss

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:



 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Dieter Quickfend
Bartender
Posts: 543
4
Java Netbeans IDE Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic