You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by jianping wang <ja...@yahoo.com> on 2008/05/08 03:12:03 UTC
Error starting AXIS2server when running sample tests(synapse-1.1.1)
I am getting the following error when executing
axis2server.sh
Exception in thread "main"
java.lang.NoClassDefFoundError:
samples/util/SampleAx is2Server
Caused by: java.lang.ClassNotFoundException:
samples.util.SampleAxis2Server
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:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Ping
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: Error starting AXIS2server when running sample tests(synapse-1.1.1)
Posted by "Asankha C. Perera" <as...@wso2.com>.
Hi Ping
Seems like you haven't subscribed to the user@synapse.apache.org mailing
list, so I am CC:ing you on my reply this time.. But for future, please
do subscribe to receive replies (http://synapse.apache.org/mail-lists.html)
jianping wang wrote:
> I am getting the following error when executing
> axis2server.sh
>
> Exception in thread "main"
> java.lang.NoClassDefFoundError:
> samples/util/SampleAx is2Server
> Caused by: java.lang.ClassNotFoundException:
> samples.util.SampleAxis2Server
>
>
Can you confirm the version of Synapse you are using (i.e. 1.1.1?), and
the OS (Windows, Linux).. also can you share the full console log output
e.g.
asankha@asankha:~/java/synapse-1.1.1/samples/axis2Server$ ./axis2server.sh
Using Bouncy castle JAR for Java 1.5
Using JAVA_HOME: /opt/jdk1.5.0_15
Using AXIS2 Repository :
/home/asankha/java/synapse-1.1.1/samples/axis2Server/repository
Using AXIS2 Configuration :
/home/asankha/java/synapse-1.1.1/samples/axis2Server/repository/conf/axis2.xml
2008-05-08 09:09:27,882 [-] [main] INFO SampleAxis2ServerManager
[SimpleAxisServer] Starting
[SimpleAxisServer] Using the Axis2 Repository :
/home/asankha/java/synapse-1.1.1/samples/axis2Server/repository
[SimpleAxisServer] Using the Axis2 Configuration File :
/home/asankha/java/synapse-1.1.1/samples/axis2Server/repository/conf/axis2.xml
2008-05-08 09:09:30,276 [-] [main] INFO HttpCoreNIOSender HTTPS Sender
starting
2008-05-08 09:09:30,283 [-] [main] INFO HttpCoreNIOSender HTTP Sender
starting
2008-05-08 09:09:30,464 [-] [main] INFO HttpCoreNIOListener HTTPS
Listener starting on port : 9002
2008-05-08 09:09:30,470 [-] [main] INFO HttpCoreNIOListener HTTP
Listener starting on port : 9000
2008-05-08 09:09:30,474 [-] [main] INFO SampleAxis2ServerManager
[SimpleAxisServer] Started
asankha