rocket mass heater kickstarter
The moose likes JBoss/WildFly and the fly likes Error in deploying stateless session bean 2.1 on Jboss 5 GA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error in deploying stateless session bean 2.1 on Jboss 5 GA" Watch "Error in deploying stateless session bean 2.1 on Jboss 5 GA" New topic
Author

Error in deploying stateless session bean 2.1 on Jboss 5 GA

ANDY SRIRAM
Greenhorn

Joined: Jan 19, 2009
Posts: 1
I am receiving receiving the following error while deploying stateless session bean ejb 2.1 on JBOSS 5 GA:

[quote color=#FF0000]
2009-01-25 13:39:34,531 ERROR [org.apache.catalina.core.StandardContext] (main) Context [/jaw] startup failed due to previous errors
java.lang.RuntimeException: could not find <ejb-local-ref>'s local interface InventoryFacadeLocal in web.xml of webapp.war
at org.jboss.web.tomcat.service.injection.WebEJBRemoteHandler.ejbRefXml(WebEJBRemoteHandler.java:127)
at org.jboss.web.tomcat.service.injection.WebEJBHandler.loadEjbLocalXml(WebEJBHandler.java:81)
at org.jboss.web.tomcat.service.injection.WebEJBHandler.loadXml(WebEJBHandler.java:66)
at org.jboss.web.tomcat.service.injection.WebEJBHandler.loadXml(WebEJBHandler.java:45)



1. ejb-jar.xml




2. jboss.xml


3. web.xml



4. jboss-web.xml




Thanks in advance.

Rajesh Unnithan
Greenhorn

Joined: Feb 20, 2009
Posts: 22
I am also getting the same error. Did you find out what was wrong? If so could you please let me know how you resolved it ?

Appreciate your help

Regards
Harikrishnan
Joey Jackson
Greenhorn

Joined: Dec 08, 2011
Posts: 4
I am stuck on this on another thread I recently created. can anyone provide some guidance on clues on how to fix this?

the program code uses ejb 2.1 but im using jboss 6.0xxx so i dont know if this is syntax error in the code or if its a versioning issue. at which point. what do we need to change to get this code to run on jboss 6.0xxx.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in deploying stateless session bean 2.1 on Jboss 5 GA