The moose likes Web Services and the fly likes Problem deploying a new service in Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Problem deploying a new service in Axis" Watch "Problem deploying a new service in Axis" New topic
Author

Problem deploying a new service in Axis

John McDonald
Ranch Hand

Joined: Jul 01, 2003
Posts: 112
Hi there,
I installed the Axis sucessfully. I tried to deploy a new service and got the following message with no clue. Anyone has an idea how to handle this? Thank you very much.

John



C:\TEMP\axis>java org.apache.axis.client.AdminClient -p8080 deploy.wsdd
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
Processing file deploy.wsdd
<Admin>Done processing</Admin>
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Did you run http://localhost:8080/axis/happyaxis.jsp yet? It will probably tell you the
  • activation.jar JavaBeans Activation Framework
  • mail.jar JavaMail

  • are missing/not in the classpath.


    "Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
    Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
    John McDonald
    Ranch Hand

    Joined: Jul 01, 2003
    Posts: 112
    Hi,
    Thanks for getting back to me. I got the happy axis. But I can't deployed even I removed the .class and .jar of intented serverice.

    When goto http://localhost:8080/axis/servlet/AxisServlet
    It displayed
    And now... Some Services
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:

    Exception - org.apache.axis.ConfigurationException: Can't find handler name:'null' type:'soapmonitor' in the registry
    org.apache.axis.ConfigurationException: Can't find handler name:'null' type:'soapmonitor' in the registry
    at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:129)
    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
    at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
    at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:430)
    at org.apache.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WSDDDeployment.java:503)
    at org.apache.axis.configuration.FileProvider.getDeployedServices(FileProvider.java:296)
    at org.apache.axis.transport.http.AxisServlet.reportAvailableServices(AxisServlet.java:482)
    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Ulf Dittmer
    Marshal

    Joined: Mar 22, 2005
    Posts: 32767
    Is the SOAPMonitor handler declared as described in this article?


    Android appsImageJ pluginsJava web charts
    James Clinton
    Ranch Hand

    Joined: Jun 23, 2003
    Posts: 190
    Had similar problem, the first reply fixed my issues (activation,mail jars)
     
     
    subject: Problem deploying a new service in Axis
     
    Threads others viewed
    axis - Exception FIXME on deploy
    Unable to deploy Web Service
    deployment question
    Apache Axis in Weblogic
    AxisFault Exception... was it a valid wsdd descriptor
    developer file tools