This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Facing Problem in Deploying EJB in Jboss 4.2.2 GA 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 » Products » JBoss/WildFly
Bookmark "Facing Problem in Deploying EJB in Jboss 4.2.2 GA" Watch "Facing Problem in Deploying EJB in Jboss 4.2.2 GA" New topic
Author

Facing Problem in Deploying EJB in Jboss 4.2.2 GA

Dilip Mallik
Ranch Hand

Joined: Sep 19, 2008
Posts: 40
Hi here is the code and please tell me how to deploy this bean.

This is my remote Interface




This is my session bean



and this is my home interface





This is my ejb-jar.xml




this is my jboss.xml




and finally this is my test.java to test the ejb



when running the test class it prints up to 4 but throws exception before 5


can somebody tell me where I am wrong . I have put the jar file in the default deploy dirctory of the server.

Eshwar Prasad
Ranch Hand

Joined: Mar 21, 2008
Posts: 202
you are giving home interface name in both xml files like



you should mention ejb class name


Dilip Mallik
Ranch Hand

Joined: Sep 19, 2008
Posts: 40
after making above changes I am getting the same exception.

the exception is

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Facing Problem in Deploying EJB in Jboss 4.2.2 GA
 
Similar Threads
NameNotfoundexception
Please help me to create jar for ejb
error while running EJB from java client on JBOSS
MAPPING configuration error
Ejb