Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4321

Generated axis2.war gives AxisAdminServlet not found when trying to administer through web interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.5
    • None
    • admin console
    • None
    • Linux, Sun 1.5.0_15-b04 JVM

    Description

      After building the axis2.war (using the build.xml in the webapp directory of the distribution) and deploying to Tomcat (5.0.28) I'm unable to access the admin functions through the http://localhost:8080/axis2/axis2-admin/ link. The localhost_log shows:

      2009-04-23 03:31:02 StandardContext[/axis2]Error loading WebappClassLoader
      delegate: false
      repositories:
      /WEB-INF/classes/
      ----------> Parent Classloader:
      StandardClassLoader
      delegate: true
      repositories:
      file:/extra/tools/tomcat/shared/classes/
      ----------> Parent Classloader:
      StandardClassLoader
      delegate: true
      repositories:
      file:/extra/tools/tomcat/common/classes/
      file:/extra/tools/tomcat/common/lib/ant.jar
      file:/extra/tools/tomcat/common/lib/naming-java.jar
      file:/extra/tools/tomcat/common/lib/ant-launcher.jar
      file:/extra/tools/tomcat/common/lib/jsp-api.jar
      file:/extra/tools/tomcat/common/lib/commons-dbcp-1.2.1.jar
      file:/extra/tools/tomcat/common/lib/jasper-compiler.jar
      file:/extra/tools/tomcat/common/lib/commons-pool-1.2.jar
      file:/extra/tools/tomcat/common/lib/naming-common.jar
      file:/extra/tools/tomcat/common/lib/commons-collections-3.1.jar
      file:/extra/tools/tomcat/common/lib/commons-el.jar
      file:/extra/tools/tomcat/common/lib/jasper-runtime.jar
      file:/extra/tools/tomcat/common/lib/naming-resources.jar
      file:/extra/tools/tomcat/common/lib/naming-factory.jar
      file:/extra/tools/tomcat/common/lib/servlet-api.jar
      ----------> Parent Classloader:
      sun.misc.Launcher$AppClassLoader@12498b5

      org.apache.axis2.webapp.AxisAdminServlet
      java.lang.ClassNotFoundException: org.apache.axis2.webapp.AxisAdminServlet
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:964)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:144)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:595)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsosnoski Dennis M. Sosnoski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: