Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5042

Ear Deployment Issue in JBoss AS 7.1.0.Final

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • No Release
    • 7.1.1.Final
    • Server
    • None

    Description

      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?

      Attachments

        Activity

          People

            jgreene@redhat.com Jason Greene
            badal_jboss Badal Pradhan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: