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

Facing Problem in Deploying EJB in Jboss 4.2.2 GA

 
Dilip Mallik
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Skanda Raman
Ranch Hand
Posts: 205
Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you are giving home interface name in both xml files like



you should mention ejb class name


 
Dilip Mallik
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
after making above changes I am getting the same exception.

the exception is

 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic