What's your OS and version? Good that manual setting worked, but we need to
figure out why automatic recognition failed and possibly fix it.

On Mon, Jun 1, 2015 at 1:10 PM, Aaquibah Nashry <[email protected]> wrote:

> Hi,
> setting the CARBON_HOME manually worked.
> Thanks everyone
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel      : +94 112662541
> [email protected]
>
> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana <[email protected]> wrote:
>
>> If you want to run the AS
>> try setting the $CARBON_HOME manually.
>>
>> Ex: export $CARBON_HOME=" /usr/nashry/home/SOFTWARES/wso2as-5.2.1"
>>
>> It seems the script can't figure out the exact CARBON_HOME to be set.
>>
>> On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> Make sure that there is tomcat-juli-7.0.59.jar inside <AS_HOME>/bin
>>> directory.
>>>
>>> Thanks,
>>> Chathura.
>>>
>>> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
>>> [email protected]> wrote:
>>>
>>>> HI,
>>>>
>>>> Can you try running using java 1.6
>>>>
>>>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Are you getting this in a fresh pack?
>>>>> Thanks
>>>>> /Thusitha
>>>>>
>>>>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>> i get the following error when i try to run the application server.
>>>>>> Can anyone help me with this?
>>>>>>
>>>>>>
>>>>>> JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79
>>>>>> CARBON_HOME environment variable is set to
>>>>>> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
>>>>>> wso2server.sh: 260: cd: can't cd to
>>>>>> /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
>>>>>> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
>>>>>> java.lang.ClassNotFoundException:
>>>>>> org.apache.juli.ClassLoaderLogManager
>>>>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>>>>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>>>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>>>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>>>>>     at java.util.logging.LogManager$1.run(LogManager.java:191)
>>>>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>>>>     at java.util.logging.LogManager.<clinit>(LogManager.java:181)
>>>>>>     at java.util.logging.Logger.demandLogger(Logger.java:339)
>>>>>>     at java.util.logging.Logger.getLogger(Logger.java:393)
>>>>>>     at com.sun.jmx.remote.util.ClassLogger.<init>(ClassLogger.java:55)
>>>>>>     at
>>>>>> sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:823)
>>>>>>     at sun.management.Agent.startLocalManagementAgent(Agent.java:144)
>>>>>>     at sun.management.Agent.startAgent(Agent.java:264)
>>>>>>     at sun.management.Agent.startAgent(Agent.java:456)
>>>>>> Error: Could not find or load main class
>>>>>> org.wso2.carbon.bootstrap.Bootstrap
>>>>>>
>>>>>> M.R.Aaquibah Nashry
>>>>>> *Intern, Engineering*
>>>>>> Mobile : +94 773946123
>>>>>> Tel      : +94 112662541
>>>>>> [email protected]
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thusitha Dayaratne
>>>>> Software Engineer
>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>
>>>>> Mobile  +94712756809
>>>>> Blog      alokayasoya.blogspot.com
>>>>> About    http://about.me/thusithathilina
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Shashika Prabath Karunatilaka,
>>>> Software Engineer,
>>>> WSO2, Inc: http://wso2.com/
>>>> mobile : +94 77 7487792
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Chathura Priyankara
>>> Software Engineer | WSO2 Inc.
>>> Mobile : +94718795340
>>> Blog : www.codeoncloud.blogspot.com
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sachith Withana
>> Software Engineer; WSO2 Inc.; http://wso2.com
>> E-mail: sachith AT wso2.com
>> M: +94715518127
>> Linked-In: <http://goog_416592669>
>> https://lk.linkedin.com/in/sachithwithana
>>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to