3 Replies Latest reply on Nov 17, 2005 8:54 AM by Mike Habich

    EVIL Problem deplying simple EAR on Jboss 3.2.5 (created EAR

    Mike Habich Newbie

      Hi all,
      Im having a problem deploying a VERY simple EAR file. I get the following error:
      javax.servlet.ServletException: Wrapper cannot find servlet class ucs.common.servlet.login.SignInServlet or a class it depends on
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)
      org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      java.lang.Thread.run(Thread.java:534)

      root cause

      java.lang.ClassNotFoundException: ucs.common.servlet.login.SignInServlet
      java.net.URLClassLoader$1.run(URLClassLoader.java:199)
      java.security.AccessController.doPrivileged(Native Method)
      java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      java.lang.ClassLoader.loadClass(ClassLoader.java:235)


      My ear has only 1 war file. War file has the folowing structure:
      LG.war
      META-INF ------ MANIFEST.MF
      WEB-INF -------classes/<class.jar.name>*.class

      LGE.ear
      META-INF ------MANIFEST.MF and application.xml
      LG.war

      MANIFEST.MF (both) is
      ------------------------------------------------------------
      Manifest-Version: 1.0
      Ant-Version: Apache Ant 1.6.5
      Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
      ------------------------------------------------------------
      application.xml is
      ------------------------------------------------------------
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE application PUBLIC
      "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
      "http://java.sun.com/dtd/application_1_3.dtd">

      <display-name>LGE</display-name>


      <web-uri>LG.war</web-uri>
      <context-root>LGE</context-root>



      --------------------------------------------------------------
      Please help!!!!!!!!
      All ideas greatly appreciated!!!!!