3 Replies Latest reply on Nov 26, 2008 8:44 AM by Wolfgang Knauf

    Multiple Ear Files on same jboss

    Shirish Samantaray Newbie

      Hi,
      I have 2 ear deployed on my jboss. But the issue is that either of the one does work for me. both the ear have different context path. The ear that been deployed former works and the later deployment doesnt work for me.

      While deploying the second ear file i get the following warning :

      WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=XXXXXXSessionBean,service=EJB


      Kindly any help me out with a solution for this issue, so that I can configure same jboss with multiple EAR files.

        • 1. Re: Multiple Ear Files on same jboss
          Wolfgang Knauf Master

          Please provide more details.

          Normally, a failed deployment results in exception stacktraces on the JBoss console, followed by the snippet you posted.

          Best regards

          Wolfgang

          • 2. Re: Multiple Ear Files on same jboss
            Shirish Samantaray Newbie

            The deployement happens successfully but either of the one works fine for me (usually the one which is deployed first works fine). Here is the error if i try to access the second ear file.

            javax.servlet.ServletException: com.me.util.ServerLogger.getLoggerReference(Ljava/lang/String;)Lorg/apache/log4j/Logger;
            org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
            org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
            org.apache.jsp.Home_jsp._jspService(org.apache.jsp.Home_jsp:433)
            org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
            javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
            org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


            • 3. Re: Multiple Ear Files on same jboss
              Wolfgang Knauf Master

              What is this class "com.me.util.ServerLogger.getLoggerReference(Ljava/lang/String;)Lorg/apache/log4j/Logger;"? Is this some code of yourself?
              The error you posted contained only a stacktrace, no exception message. Is there more detail?

              Wolfgang