Hi Isuru,Prasanna,

Thank you for the response.

could be able to get things work as you all suggested by not using AXIS2_HOME
environment variable.

On Fri, Sep 19, 2014 at 12:11 PM, Prasanna Dangalla <[email protected]>
wrote:

> Hi Vijitha,
>
> Comment AXIS2_HOME environment variable in your ~/.bash_profile file and
> run the following command and check.
>
> source ~/.bash_profile
>
> If it doesn't work restart the machine and check. This might solve the
> issue
>
> Thanks
>
> On Fri, Sep 19, 2014 at 12:06 PM, Isuru Perera <[email protected]> wrote:
>
>> Hi,
>>
>> Looks like you have AXIS2_HOME environment variable.
>>
>> Please don't use that when using the sample server provided by ESB.
>>
>> Best Regards,
>>
>> On Fri, Sep 19, 2014 at 11:49 AM, Vijitha Ekanayake <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I was going through a tutorial provided by wso2 esb 4.8.1 documentation.
>>> when i tried to start axis2server provided by esb, was terminated by giving
>>> following exception.
>>>
>>>
>>> Vijithas-MacBook-Pro:axis2Server vijithae$ ./axis2server.sh
>>>
>>> ls:
>>> /Users/vijithae/Devtools/axis2-1.6.2/../../repository/components/plugins/*.jar:
>>> No such file or directory
>>>
>>> ls:
>>> /Users/vijithae/Devtools/axis2-1.6.2/../../repository/components/plugins/*.jar:
>>> No such file or directory
>>>
>>>  Using JAVA_HOME:
>>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>>>
>>>  Using AXIS2 Repository :
>>> /Users/vijithae/Devtools/axis2-1.6.2/repository
>>>
>>>  Using AXIS2 Configuration :
>>> /Users/vijithae/Devtools/axis2-1.6.2/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:202)
>>>
>>> at java.security.AccessController.doPrivileged(Native Method)
>>>
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>>
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>>
>>>
>>>
>>> *Best regards,*
>>>
>>> --
>>> Vijitha Ekanayake
>>> *Software Engineer, *WSO2, Inc.; http://wso2.com/
>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08
>>> lean.enterprise.middleware
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>> _______________________________________________
>> 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
>



-- 
Vijitha Ekanayake
*Software Engineer, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to