synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heshan Suriyaarachchi <heshan.suriyaarach...@gmail.com>
Subject Synapse startup fails from a fresh build from synapse trunk
Date Mon, 15 Nov 2010 07:16:34 GMT
I have built the latest from the trunks of axiom, axis2 and transports. Then
I built synapse but when starting the server, I'm getting the following
error.

FYI

heshan@heshan-ThinkPad:~/Dev/trunk/synapse/modules/distribution/target/synapse-2.1.0-SNAPSHOT/bin$
./synapse.sh -xdebug
 [Warn] Synapse is tested only with Java 5
Starting Synapse/Java ...
Using SYNAPSE_HOME:
/home/heshan/Dev/trunk/synapse/modules/distribution/target/synapse-2.1.0-SNAPSHOT
Using JAVA_HOME:       /home/heshan/Installations/jdk1.6.0_17
Using SYNAPSE_XML:
/home/heshan/Dev/trunk/synapse/modules/distribution/target/synapse-2.1.0-SNAPSHOT/repository/conf/synapse-config
Listening for transport dt_socket at address: 8000
2010-11-15 12:38:55,849 [-] [main]  INFO SynapseServer Starting Apache
Synapse...
2010-11-15 12:38:55,900 [-] [main]  INFO SynapseControllerFactory Using
Synapse home :
/home/heshan/Dev/trunk/synapse/modules/distribution/target/synapse-2.1.0-SNAPSHOT
2010-11-15 12:38:55,900 [-] [main]  INFO SynapseControllerFactory Using
Axis2 repository :
/home/heshan/Dev/trunk/synapse/modules/distribution/target/synapse-2.1.0-SNAPSHOT/repository
2010-11-15 12:38:55,900 [-] [main]  INFO SynapseControllerFactory Using
axis2.xml location :
/home/heshan/Dev/trunk/synapse/modules/distribution/target/synapse-2.1.0-SNAPSHOT/repository/conf/axis2.xml
2010-11-15 12:38:55,900 [-] [main]  INFO SynapseControllerFactory Using
synapse.xml location :
/home/heshan/Dev/trunk/synapse/modules/distribution/target/synapse-2.1.0-SNAPSHOT/repository/conf/synapse-config
2010-11-15 12:38:55,900 [-] [main]  INFO SynapseControllerFactory Using
server name : localhost
2010-11-15 12:38:55,925 [-] [main]  INFO SynapseControllerFactory The
timeout handler will run every : 15s
2010-11-15 12:38:56,074 [-] [main]  INFO Axis2SynapseController Initializing
Synapse at : Mon Nov 15 12:38:56 IST 2010
2010-11-15 12:38:56,376 [-] [main] FATAL Axis2SynapseController Failed to
create a new Axis2 instance...
org.apache.axis2.deployment.DeploymentException:
org/apache/commons/io/output/WriterOutputStream
    at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:703)
    at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:122)
    at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:859)
    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:210)
    at
org.apache.synapse.Axis2SynapseController.createNewInstance(Axis2SynapseController.java:567)
    at
org.apache.synapse.Axis2SynapseController.init(Axis2SynapseController.java:128)
    at org.apache.synapse.ServerManager.doInit(ServerManager.java:405)
    at org.apache.synapse.ServerManager.init(ServerManager.java:106)
    at org.apache.synapse.SynapseServer.main(SynapseServer.java:65)
Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/io/output/WriterOutputStream
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructor0(Class.java:2699)
    at java.lang.Class.newInstance0(Class.java:326)
    at java.lang.Class.newInstance(Class.java:308)
    at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:688)
    ... 10 more
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.io.output.WriterOutputStream
    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:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    ... 16 more
Exception in thread "main" org.apache.synapse.SynapseException: Failed to
create a new Axis2 instance...
    at
org.apache.synapse.Axis2SynapseController.handleFatal(Axis2SynapseController.java:871)
    at
org.apache.synapse.Axis2SynapseController.createNewInstance(Axis2SynapseController.java:590)
    at
org.apache.synapse.Axis2SynapseController.init(Axis2SynapseController.java:128)
    at org.apache.synapse.ServerManager.doInit(ServerManager.java:405)
    at org.apache.synapse.ServerManager.init(ServerManager.java:106)
    at org.apache.synapse.SynapseServer.main(SynapseServer.java:65)
Caused by: org.apache.axis2.deployment.DeploymentException:
org/apache/commons/io/output/WriterOutputStream
    at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:703)
    at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:122)
    at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:859)
    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:210)
    at
org.apache.synapse.Axis2SynapseController.createNewInstance(Axis2SynapseController.java:567)
    ... 4 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/io/output/WriterOutputStream
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructor0(Class.java:2699)
    at java.lang.Class.newInstance0(Class.java:326)
    at java.lang.Class.newInstance(Class.java:308)
    at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:688)
    ... 10 more
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.io.output.WriterOutputStream
    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:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    ... 16 more


-- 
Regards,
Heshan Suriyaarachchi

http://heshans.blogspot.com/

Mime
View raw message