When I tried to run axis2server.bat from extracted axis2-SNAPSHOT-bin.zip
(created with: mvn -Drelease install). I got ClassNotFoundException:
org.apache.axis2.transport.tcp.TCPT
ransportSender.
I had to manually copy axis2-transports-SNAPSHOT.jar from commons-transport
build to AXIS2_HOME/lib.
Don't we need to include commons-transport jar with axis2 release artifacts?
Thanks,
Irantha
[FATAL] [SimpleAxisServer] Shutting down. Error starting SimpleAxisServer
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(AxisConf
igBuilder.java:121)
at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguratio
n(DeploymentEngine.java:707)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfigurati
on(FileSystemConfigurator.java:116)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContext(ConfigurationContextFactory.java:64)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContextFromFileSystem(ConfigurationContextFactory.java:206)
at
org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server
.java:47)
at
org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.j
ava:98)
Caused by: java.lang.ClassNotFoundException:
org.apache.axis2.transport.tcp.TCPT
ransportSender
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders
(AxisConfigBuilder.java:669)
... 7 more
[SimpleAxisServer] Shutting down. Error starting SimpleAxisServer