tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "srd.pl" <srolek2...@yahoo.com>
Subject Tomcat Maven and Axis 1.5.1 problem
Date Thu, 28 Oct 2010 13:20:04 GMT

Hello,

I am trying to deploy a webservice on tomcat that implements some axis
wsdl2java work. However when I try to launch the code it gives an error in
the line when I create an instance of auto-generated ServiceStub. The funny
thing is that I am using Maven for building the project. And when maven
compiles it it runs a TEST. During the test a tomcat server is launched and
the project is deployed. And everything works doing fine there - no errors,
the application connects correctly to another server, sending an attachment
and getting the proper response - no problem. However when I take the var
file and deploy it on a 'normal' tomcat I have the error:

org.apache.axis2.deployment.DeploymentException:
org.apache.axis2.transport.local.LocalTransportSender
 at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:694)
 at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:121)
 at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:703)
 at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
 at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
 at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206)
 at
org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:150)
 at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:143)
 at
com.mywebpack.rest.gencode.MywebappServiceStub.<init>(MywebappServiceStub.java:211)
 at
com.mywebpack.rest.gencode.MywebappServiceStub.<init>(MywebappServiceStub.java:197)
 at com.mywebpack.rest.resources.MywebappImpl.<init>(MywebappImpl.java:86)
 at
com.mywebpack.rest.resources.SearchResource.receiveWavestream(SearchResource.java:163)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:165)
 at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)
 at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:276)
 at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:133)
 at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:83)
 at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:133)
 at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:71)
 at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1171)
 at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1103)
 at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1053)
 at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1043)
 at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:406)
 at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:477)
 at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:662)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
 at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
org.apache.axis2.transport.local.LocalTransportSender
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438)
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1284)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
 at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:669)

-- 
View this message in context: http://old.nabble.com/Tomcat-Maven-and-Axis-1.5.1-problem-tp30076498p30076498.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message