File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb3: deployment error on Jboss

 
Sharath Jagannath
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey All,

Another j2ee new-bie here!
I am not able to deploy my session bean (ejb3) on jboss 5.
I am using eclipse to create the bean and it is an empty bean, I just have my bean implementing both remote and local interfaces with just a println statement, was playing around to learn ejbs.
When I try to deploy my code on the server, jboss throws the following exception:


ejb-jar.xml:


jboss.xml:


I appreciate all response. I am just stuck with this thing for 2 days now without much success.

Cheers,
Sharath
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Inside ejb-jar.xml file , this line is commented :
<!--<business-local>com.test.session.SessionBeanLocal</business-local>

and in jboss.xml: you were referring it to :

<local-jndi-name>com.test.session.SessionBeanLocal</local-jndi-name>

Try things one by one Until the normal functionality works

1. Remove the assembly-descriptor from your ejb-jar.xml file completely
2. Dont refer to any local beans in your xml files .

feel free to post further questiosn on this .
 
Sharath Jagannath
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply Ravi,

It throws the same exception even after removing them.

Thanks,
Sharath
 
Sharath Jagannath
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any idea??
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic