[ https://issues.apache.org/jira/browse/AXIS2-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799080#action_12799080 ]
ravi sekhar mikkilineni commented on AXIS2-4337: ------------------------------------------------ I am also getting the same exception while testing rampart .Please let me know any work around for this issue available Thanks in advance, Mikkilineni > Missing org.apache.axis2.transport.tcp.TCPTransportSender into Axis2 1.5 WAR > ---------------------------------------------------------------------------- > > Key: AXIS2-4337 > URL: https://issues.apache.org/jira/browse/AXIS2-4337 > Project: Axis2 > Issue Type: Bug > Affects Versions: 1.5, nightly > Reporter: Dobri Kitipov > Assignee: Glen Daniels > > Hi everybody, > I found out that we are missing the > org.apache.axis2.transport.tcp.TCPTransportSender class into the > distribution. You can check the impact pretty easy. 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"/> > Deploy the axis2-1.5-war in Tomcat. > 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. Or at least add some > comments into the axis2.xml what to do in order to have TCP transport support. > Currently we have only: > <!--Uncomment if you want to have TCP transport support--> > which is not right. > Thanks, > Dobri -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.