This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes ejb3: deployment error on Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb3: deployment error on Jboss" Watch "ejb3: deployment error on Jboss" New topic
Author

ejb3: deployment error on Jboss

Sharath Jagannath
Greenhorn

Joined: Jan 04, 2011
Posts: 3
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

Joined: Apr 18, 2009
Posts: 2234

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 .


Save India From Corruption - Anna Hazare.
Sharath Jagannath
Greenhorn

Joined: Jan 04, 2011
Posts: 3
Thanks for the reply Ravi,

It throws the same exception even after removing them.

Thanks,
Sharath
Sharath Jagannath
Greenhorn

Joined: Jan 04, 2011
Posts: 3
Any idea??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ejb3: deployment error on Jboss