3 Replies Latest reply on May 4, 2005 12:24 PM by thomas.diesler

    jboss-4.0.2 jboss-ws4ee.war won't deploy

    frankgrimes

      In jboss-4.0.2's jboss-ws4ee.war, the web.xml file defines the following:

      <servlet>
       <servlet-name>JBossAxisAdminServlet</servlet-name>
       <display-name>JBoss-Axis Admin Servlet</display-name>
       <servlet-class>org.jboss.webservice.server.JBossAdminServlet</servlet-class>
       </servlet>


      When starting either the all or default server directory that come with jboss-4.0.2, the following error appears in the log:

      java.lang.ClassNotFoundException: org.jboss.webservice.server.JBossAdminServlet


      I searched the jboss-4.0.2 distribution and couldn't find that class anywhere.
      I even checked CVS under the webservice sub-project.

      Unless I'm missing something, this looks like a bug in the jboss-4.0.2 distribution.

        • 1. Re: jboss-4.0.2 jboss-ws4ee.war won't deploy
          starksm64

          I see no such error in the startup of the default configuration:

          [starksm@banshee9100 default]$ grep JBossAdminServlet log/server.log
          [starksm@banshee9100 default]$
          


          and the webservice unit tests all pass without this servlet. It was removed from the webservice tree and should be removed from the jboss-ws4ee.war web.xml.


          • 2. Re: jboss-4.0.2 jboss-ws4ee.war won't deploy
            frankgrimes

            Hmm, it looks like jbossweb-tomcat55.sar is pretty lenient about invalid web.xml files.

            The java.lang.ClassNotFoundException only appeared when I tried to deploy jboss-ws4ee.war with jbossweb-jetty.sar (built from jetty-5.1.4rc0).
            Tomcat deployed the war file without so much as a warning.

            Also, Jetty complained about the lack of a proper DOCTYPE entry.
            Could a DOCTYPE entry for jboss-ws4ee.war/WEB-INF/web.xml be added?

            e.g.

            <!DOCTYPE web-app PUBLIC
             "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
             "http://java.sun.com/dtd/web-app_2_3.dtd">


            Thanks!

            • 3. Re: jboss-4.0.2 jboss-ws4ee.war won't deploy
              thomas.diesler

              This has been fixed in Branch_4_0.

              Thanks.