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

ListServices in JDK5 doesn't work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None
    • Environment:
      J2SE 5.0 _04
      Tomcat 5.5.9
      WinXP

      Description

      Extracted from the mail from Tushar Inamdar:

      Please note that this error refers to Axis 2 v0.92. I dropped the axis2.war in my Tomcat webapps directory. Validation passed, but when I try to list the services, it generates the following StackTrace. I tried this under two independent environments to get the same result.

      Environment:
      J2SE 5.0 _04
      Tomcat 5.5.9
      WinXP

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: Servlet.init() for servlet AxisServlet threw exception
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      org.apache.catalina.connector.CoyoteAdapter.service
      (CoyoteAdapter.java:148)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
      (PoolTcpEndpoint.java:527)
      org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      java.lang.Thread.run
      (Unknown Source)

      root cause

      java.lang.NoClassDefFoundError: org.apache.ws.security.handler.WSHandler
      java.lang.Class.forName0(Native Method)
      java.lang.Class.forName(Unknown Source)
      org.apache.axis2.deployment.DeploymentEngine.getHandlerClass
      (DeploymentEngine.java:535)
      org.apache.axis2.deployment.DeploymentEngine.addFlowHandlers(DeploymentEngine.java:516)
      org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:547)
      org.apache.axis2.deployment.DeploymentEngine.doDeploy
      (DeploymentEngine.java:652)
      org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:219)
      org.apache.axis2.deployment.listener.RepositoryListenerImpl.update(RepositoryListenerImpl.java:142)

      org.apache.axis2.deployment.listener.RepositoryListenerImpl.init(RepositoryListenerImpl.java:155)
      org.apache.axis2.deployment.listener.RepositoryListenerImpl.<init>(RepositoryListenerImpl.java:72)
      org.apache.axis2.deployment.scheduler.SchedulerTask
      .<init>(SchedulerTask.java:42)
      org.apache.axis2.deployment.DeploymentEngine.startSearch(DeploymentEngine.java:395)
      org.apache.axis2.deployment.DeploymentEngine.load(DeploymentEngine.java:253)
      org.apache.axis2.context.ConfigurationContextFactory.buildConfigurationContext
      (ConfigurationContextFactory.java:48)
      org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:62)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      org.apache.catalina.connector.CoyoteAdapter.service
      (CoyoteAdapter.java:148)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
      (PoolTcpEndpoint.java:527)
      org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      java.lang.Thread.run
      (Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ruchith Ruchith Udayanga Fernando
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: