*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Unable to deploy EJB application to JBoss when implementing persistence
Deployments missing dependencies
Problem facing in Ejb execution in eclipse IDE
Problem deploying adder.jar with JBoss 5. please help.
problem: Deployment of same EJB components with different JNDI name.