axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dobri Kitipov <kdobrik.ax...@googlemail.com>
Subject Missing org.apache.axis2.transport.tcp.TCPTransportSender into Axis2 1.5 RC
Date Thu, 23 Apr 2009 11:42:32 GMT
Hi everybody,
I found out that we are missing the
org.apache.axis2.transport.tcp.TCPTransportSender class into the
distribution. You can check that pretty easy. Just deploy the axis2-1.5-war
in Tomcat. Before that you should go and modify the
axis2\WEB-INF\conf\axis2.xml and uncomment the:

<transportSender name="tcp"

class="org.apache.axis2.transport.tcp.TCPTransportSender"/>

Then when you start the server you will get the following
java.lang.ClassNotFoundException:
org.apache.axis2.transport.tcp.TCPTransportSender:

[ERROR] org.apache.axis2.transport.tcp.TCPTransportSender
org.apache.axis2.deployment.DeploymentException:
org.apache.axis2.transport.tcp.TCPTransportSender
    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:707)
    at
org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:157)
    at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)
    at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
    at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
    at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
    at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
    at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.ClassNotFoundException:
org.apache.axis2.transport.tcp.TCPTransportSender
    at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
    at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
    at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:669)
    ... 31 more

As you may guess this is because it is missing from the classpath of the
WAR. I suppose axis2-transport-tcp.jar should be added.

If you want me I can open a JIRA.

Regards,
Dobri

Mime
View raw message