-
Bug
-
Resolution: Won't Do
-
Major
-
7.1.1.Final
-
None
When trying to deploy ear application; it shows the below message in server console:
JBAS015876: Starting deployment of "EJB3SpringPOC_EAR.ear"
JBAS015876: Starting deployment of "EJB3SpringPOC_EAREJB.jar"
JBAS015876: Starting deployment of "EJB3SpringPOC_EARWeb.war"
Registering web context: /EJB3SpringPOC_EARWeb
JBAS018559: Deployed "EJB3SpringPOC_EAR.ear"
I am able to access web application but not able to access ejb.
Below error is coming in EJB Client:
javax.ejb.NoSuchEJBException: No such EJB[appname=EJB3SpringPOC_EAR,modulename=EJB3SpringPOC_EAREJB,distinctname=,beanname=BPMEJBSpringService]
Content of ear/META-INF/application.xml
----------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<display-name>EJB3SpringPOC_EAR</display-name>
<module id="EJB3SpringPOC_EAREJB">
<ejb>EJB3SpringPOC_EAREJB.jar</ejb>
</module>
<module id="EJB3SpringPOC_EARWeb">
<web>
<web-uri>EJB3SpringPOC_EARWeb.war</web-uri>
<context-root>EJB3SpringPOC_EARWeb</context-root>
</web>
</module>
</application>
Any configuration is missing from my side to make it work?