0 Replies Latest reply on May 8, 2007 6:29 AM by jboss_kanth

    Error deploying webservice on Tomcat 5.5 + JBossWS 1.2.1

    jboss_kanth

      I used Tomcat 5.5 (Standalone) + JBossWS1.2.1. The Integration is successful. The jbossws-deploy directory is also created. But when a deploy the WebService that is compliant of JAX-WS & JSR 181, I get the below error. Any help is highly appreciated.
      -----------------------------------------------------------------------------
      ERROR [TomcatServiceEndpointPublisher] Cannot deploy file: C:\Program Files\Apache Software Foundation\Tomcat 5.5\jbossws-deploy\InvetoryServices.war
      java.io.IOException: Destination must be a directory.
      at org.jboss.util.file.JarUtils.unjar(JarUtils.java:260)
      at org.jboss.ws.integration.tomcat.wspublish.process(wspublish.java:68)
      at org.jboss.ws.integration.tomcat.TomcatServiceEndpointPublisher.publishServiceEndpoint(TomcatServiceEndpointPublisher.java:80)
      at org.jboss.ws.integration.tomcat.TomcatServiceEndpointPublisher.deployFile(TomcatServiceEndpointPublisher.java:135)
      at org.jboss.ws.integration.tomcat.TomcatServiceEndpointPublisher.scanDeployDir(TomcatServiceEndpointPublisher.java:112)
      at org.jboss.ws.integration.tomcat.TomcatServiceEndpointPublisher.access$100(TomcatServiceEndpointPublisher.java:44)
      at org.jboss.ws.integration.tomcat.TomcatServiceEndpointPublisher$Scanner.run(TomcatServiceEndpointPublisher.java:192)
      at java.lang.Thread.run(Unknown Source)
      --------------------------------------------------------------------------------------
      Below are the main steps of the sample build file i am using.




      <!---->











      Thanks and Regards
      CLK