| 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??
|
 |
 |
|
|
subject: ejb3: deployment error on Jboss
|
|
|