[ 
https://issues.apache.org/jira/browse/SYNAPSE-619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hiranya Jayathilaka resolved SYNAPSE-619.
-----------------------------------------

    Fix Version/s: 2.0
       Resolution: Cannot Reproduce

Problem does not occur on the trunk. The axis2server.sh is written in a way so 
that when the user hasn't set the AXIS2_HOME env variable, the script will try 
to get it set properly.

> 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
>            Assignee: Hiranya Jayathilaka
>            Priority: Trivial
>             Fix For: 2.0
>
>
> 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