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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 7.1.1.Final
    • Fix Version/s: No Release
    • Component/s: Server
    • Labels:
      None
    • Environment:

      Window XP SP2, jdk160_05, Spring 2.5

      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?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jason.greene Jason Greene
                Reporter:
                badal_jboss Badal Pradhan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: