I've tried to run the ESB sample according to the tutorial[1].

When I try to start the Axis2 server it displays the following message on
console.

ls: cannot access
/home/manorama/axis2-1.6.2/../../repository/components/plugins/*.jar: No
such file or directory
ls: cannot access
/home/manorama/axis2-1.6.2/../../repository/components/plugins/*.jar: No
such file or directory
 Using JAVA_HOME:   /usr/local/java/jdk1.7.0_03
 Using AXIS2 Repository :   /home/manorama/axis2-1.6.2/repository
 Using AXIS2 Configuration :
/home/manorama/axis2-1.6.2/repository/conf/axis2.xml
Error: Could not find or load main class samples.util.SampleAxis2Server

I've another standalone Axis2 server installed in
/home/manorama/axis2-1.6.2, and the AXIS2_HOME variable is set to that
installation directory.
According to the above message, AXIS2 Repository and AXIS2 Configuration
refers to the location given by AXIS2_HOME variable.

When I removed the AXIS2_HOME variable, server started as expected.

Is there any configuration need to be done in ESB to avoid referring to the
AXIS2_HOME varialble or just removing AXIS2_HOME from .bashrc is enough?

[1] https://docs.wso2.com/display/ESB481/Lesson+Two%3A+Mediating+Messages

-- 
Manorama Perera
Software Engineer
WSO2, Inc.;  http://wso2.com/
Mobile : +94716436216
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to