[ 
https://issues.apache.org/jira/browse/SYNAPSE-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846756#action_12846756
 ] 

Asankha C. Perera commented on SYNAPSE-619:
-------------------------------------------

> Using AXIS2 Repository :   /opt/installations/axis2_bin/axis2-1.4.1/repository
> Using AXIS2 Configuration :   
> /opt/installations/axis2_bin/axis2-1.4.1/repository/conf/axis2.xml

It should be like:
 Using AXIS2 Repository :   
/home/asankha/java/synapse-1.2/samples/axis2Server/repository
 Using AXIS2 Configuration :   
/home/asankha/java/synapse-1.2/samples/axis2Server/repository/conf/axis2.xml

So the fix would be to override a local env variable for the operation of the 
script execution

> Error starting AXIS2server when running sample tests
> ----------------------------------------------------
>
>                 Key: SYNAPSE-619
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-619
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: Linux 2.6.28-13-generic
>            Reporter: Denis Weerasiri
>            Priority: Trivial
>
> When executing axis2server.sh, if the AXIS2_HOME is not set to the 
> "samples/axis2Server". It gives the following exception stack. 
> de...@denis-laptop:/opt/installations/synapse/synapse-1.2/samples/axis2Server$
>  ./axis2server.sh 
>  Using JAVA_HOME:   /opt/installations/jdk/jdk1.6.0_06
>  Using AXIS2 Repository :   
> /opt/installations/axis2_bin/axis2-1.4.1/repository
>  Using AXIS2 Configuration :   
> /opt/installations/axis2_bin/axis2-1.4.1/repository/conf/axis2.xml
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> samples/util/SampleAxis2Server
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to