Hi Manorama,

I think what you have done is correct. There is an answer in stackoverflow
too.

[1]
http://stackoverflow.com/questions/13060531/wso2-esb-4-5-0-sample-axis2-server-cannot-be-started-samples-util-sampleaxis2se

Thanks

On Fri, Dec 5, 2014 at 5:02 PM, Manorama Perera <[email protected]> wrote:

> 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
>
>


-- 
Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to