[Dev] Error while running the Application server

2015-05-31 Thread Aaquibah Nashry
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.(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.(ClassLogger.java:55)
at
sun.management.jmxremote.ConnectorBootstrap.(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
nas...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-05-31 Thread Thusitha Thilina Dayaratne
Hi,

Are you getting this in a fresh pack?
Thanks
/Thusitha

On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry  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.(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.(ClassLogger.java:55)
> at
> sun.management.jmxremote.ConnectorBootstrap.(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
> nas...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> 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
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-05-31 Thread Shashika Karunatilaka
HI,

Can you try running using java 1.6

On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi,
>
> Are you getting this in a fresh pack?
> Thanks
> /Thusitha
>
> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry  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.(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.(ClassLogger.java:55)
>> at
>> sun.management.jmxremote.ConnectorBootstrap.(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
>> nas...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> 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
> Abouthttp://about.me/thusithathilina
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> 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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-05-31 Thread Chathura Priyankara
Hi,

Make sure that there is tomcat-juli-7.0.59.jar inside /bin
directory.

Thanks,
Chathura.

On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka 
wrote:

> HI,
>
> Can you try running using java 1.6
>
> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi,
>>
>> Are you getting this in a fresh pack?
>> Thanks
>> /Thusitha
>>
>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry  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.(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.(ClassLogger.java:55)
>>> at
>>> sun.management.jmxremote.ConnectorBootstrap.(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
>>> nas...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> 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
>> Abouthttp://about.me/thusithathilina
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-05-31 Thread Sachith Withana
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 
wrote:

> Hi,
>
> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
> directory.
>
> Thanks,
> Chathura.
>
> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka  > wrote:
>
>> HI,
>>
>> Can you try running using java 1.6
>>
>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Are you getting this in a fresh pack?
>>> Thanks
>>> /Thusitha
>>>
>>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
>>> 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.(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.(ClassLogger.java:55)
 at
 sun.management.jmxremote.ConnectorBootstrap.(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
 nas...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 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
>>> Abouthttp://about.me/thusithathilina
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> 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
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chathura Priyankara
> Software Engineer | WSO2 Inc.
> Mobile : +94718795340
> Blog : www.codeoncloud.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> 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: https://lk.linkedin.com/in/sachithwithana
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-06-01 Thread Aaquibah Nashry
Hi,
setting the CARBON_HOME manually worked.
Thanks everyone

M.R.Aaquibah Nashry
*Intern, Engineering*
Mobile : +94 773946123
Tel  : +94 112662541
nas...@wso2.com

On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana  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 
> wrote:
>
>> Hi,
>>
>> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
>> directory.
>>
>> Thanks,
>> Chathura.
>>
>> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
>> shashi...@wso2.com> wrote:
>>
>>> HI,
>>>
>>> Can you try running using java 1.6
>>>
>>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi,

 Are you getting this in a fresh pack?
 Thanks
 /Thusitha

 On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
 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.(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.(ClassLogger.java:55)
> at
> sun.management.jmxremote.ConnectorBootstrap.(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
> nas...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> 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
 Abouthttp://about.me/thusithathilina


 ___
 Dev mailing list
 Dev@wso2.org
 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
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chathura Priyankara
>> Software Engineer | WSO2 Inc.
>> Mobile : +94718795340
>> Blog : www.codeoncloud.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> 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: 
> https://lk.linkedin.com/in/sachithwithana
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-06-01 Thread Nirmal Fernando
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  wrote:

> Hi,
> setting the CARBON_HOME manually worked.
> Thanks everyone
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana  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 
>> wrote:
>>
>>> Hi,
>>>
>>> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
>>> directory.
>>>
>>> Thanks,
>>> Chathura.
>>>
>>> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
>>> shashi...@wso2.com> wrote:
>>>
 HI,

 Can you try running using java 1.6

 On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
 thusit...@wso2.com> wrote:

> Hi,
>
> Are you getting this in a fresh pack?
> Thanks
> /Thusitha
>
> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
> 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.(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.(ClassLogger.java:55)
>> at
>> sun.management.jmxremote.ConnectorBootstrap.(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
>> nas...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> 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
> Abouthttp://about.me/thusithathilina
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Chathura Priyankara
>>> Software Engineer | WSO2 Inc.
>>> Mobile : +94718795340
>>> Blog : www.codeoncloud.blogspot.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> 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: 
>> https://lk.linkedin.com/in/sachithwithana
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmal

Re: [Dev] Error while running the Application server

2015-06-01 Thread Aaquibah Nashry
Hi,
im using Ubuntu 14.04 LTS
64 bit


M.R.Aaquibah Nashry
*Intern, Engineering*
Mobile : +94 773946123
Tel  : +94 112662541
nas...@wso2.com

On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando  wrote:

> 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  wrote:
>
>> Hi,
>> setting the CARBON_HOME manually worked.
>> Thanks everyone
>>
>> M.R.Aaquibah Nashry
>> *Intern, Engineering*
>> Mobile : +94 773946123
>> Tel  : +94 112662541
>> nas...@wso2.com
>>
>> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
>> 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 >> > wrote:
>>>
 Hi,

 Make sure that there is tomcat-juli-7.0.59.jar inside /bin
 directory.

 Thanks,
 Chathura.

 On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
 shashi...@wso2.com> wrote:

> HI,
>
> Can you try running using java 1.6
>
> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi,
>>
>> Are you getting this in a fresh pack?
>> Thanks
>> /Thusitha
>>
>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
>> 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.(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.(ClassLogger.java:55)
>>> at
>>> sun.management.jmxremote.ConnectorBootstrap.(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
>>> nas...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> 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
>> Abouthttp://about.me/thusithathilina
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Sachith Withana
>>> Software Engineer; WSO2 Inc.; http://wso2.com
>>> E-mail: sachith AT wso2.com
>>> M: +9

Re: [Dev] Error while running the Application server

2015-06-01 Thread Nirmal Fernando
hmm... it's strange that it fails. May be you can investigate by adding few
echos to the wso2server.sh.

On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry  wrote:

>
> Hi,
> im using Ubuntu 14.04 LTS
> 64 bit
>
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando  wrote:
>
>> 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  wrote:
>>
>>> Hi,
>>> setting the CARBON_HOME manually worked.
>>> Thanks everyone
>>>
>>> M.R.Aaquibah Nashry
>>> *Intern, Engineering*
>>> Mobile : +94 773946123
>>> Tel  : +94 112662541
>>> nas...@wso2.com
>>>
>>> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
>>> 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 <
 chathu...@wso2.com> wrote:

> Hi,
>
> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
> directory.
>
> Thanks,
> Chathura.
>
> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
> shashi...@wso2.com> wrote:
>
>> HI,
>>
>> Can you try running using java 1.6
>>
>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Are you getting this in a fresh pack?
>>> Thanks
>>> /Thusitha
>>>
>>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
>>> 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.(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.(ClassLogger.java:55)
 at
 sun.management.jmxremote.ConnectorBootstrap.(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
 nas...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 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
>>> Abouthttp://about.me/thusithathilina
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> 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
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chathura Priyankara
> Software Engineer | WSO2 In

Re: [Dev] Error while running the Application server

2015-06-01 Thread Sachith Withana
The problem might be due to working inside the /usr/ directory. ( It's
kinda odd to see someone's user home being inside the /usr directory)

Try this if you can,
-first unset the CARBON_HOME if you have set it already
-then try running AS from inside the home directory ex:
/home/nashry/software/wso2as-5.2.1

This MIGHT be occurring due to an permission issue.

On Mon, Jun 1, 2015 at 4:34 PM, Nirmal Fernando  wrote:

> hmm... it's strange that it fails. May be you can investigate by adding
> few echos to the wso2server.sh.
>
> On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry  wrote:
>
>>
>> Hi,
>> im using Ubuntu 14.04 LTS
>> 64 bit
>>
>>
>> M.R.Aaquibah Nashry
>> *Intern, Engineering*
>> Mobile : +94 773946123
>> Tel  : +94 112662541
>> nas...@wso2.com
>>
>> On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando  wrote:
>>
>>> 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  wrote:
>>>
 Hi,
 setting the CARBON_HOME manually worked.
 Thanks everyone

 M.R.Aaquibah Nashry
 *Intern, Engineering*
 Mobile : +94 773946123
 Tel  : +94 112662541
 nas...@wso2.com

 On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
 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 <
> chathu...@wso2.com> wrote:
>
>> Hi,
>>
>> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
>> directory.
>>
>> Thanks,
>> Chathura.
>>
>> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
>> shashi...@wso2.com> wrote:
>>
>>> HI,
>>>
>>> Can you try running using java 1.6
>>>
>>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi,

 Are you getting this in a fresh pack?
 Thanks
 /Thusitha

 On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
 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.(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.(ClassLogger.java:55)
> at
> sun.management.jmxremote.ConnectorBootstrap.(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
> nas...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> 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
 Abouthttp://about.me/thusithathilina


 

Re: [Dev] Error while running the Application server

2015-06-02 Thread Aaquibah Nashry
i unset  the CARBON_HOME variable and ran the AS as usual, and it still
works.

M.R.Aaquibah Nashry
*Intern, Engineering*
Mobile : +94 773946123
Tel  : +94 112662541
nas...@wso2.com

On Mon, Jun 1, 2015 at 8:16 PM, Sachith Withana  wrote:

> The problem might be due to working inside the /usr/ directory. ( It's
> kinda odd to see someone's user home being inside the /usr directory)
>
> Try this if you can,
> -first unset the CARBON_HOME if you have set it already
> -then try running AS from inside the home directory ex:
> /home/nashry/software/wso2as-5.2.1
>
> This MIGHT be occurring due to an permission issue.
>
> On Mon, Jun 1, 2015 at 4:34 PM, Nirmal Fernando  wrote:
>
>> hmm... it's strange that it fails. May be you can investigate by adding
>> few echos to the wso2server.sh.
>>
>> On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry  wrote:
>>
>>>
>>> Hi,
>>> im using Ubuntu 14.04 LTS
>>> 64 bit
>>>
>>>
>>> M.R.Aaquibah Nashry
>>> *Intern, Engineering*
>>> Mobile : +94 773946123
>>> Tel  : +94 112662541
>>> nas...@wso2.com
>>>
>>> On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando  wrote:
>>>
 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 
 wrote:

> Hi,
> setting the CARBON_HOME manually worked.
> Thanks everyone
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
> 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 <
>> chathu...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Make sure that there is tomcat-juli-7.0.59.jar inside /bin
>>> directory.
>>>
>>> Thanks,
>>> Chathura.
>>>
>>> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
>>> shashi...@wso2.com> wrote:
>>>
 HI,

 Can you try running using java 1.6

 On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
 thusit...@wso2.com> wrote:

> Hi,
>
> Are you getting this in a fresh pack?
> Thanks
> /Thusitha
>
> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry 
> 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.(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.(ClassLogger.java:55)
>> at
>> sun.management.jmxremote.ConnectorBootstrap.(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
>> nas...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2

Re: [Dev] Error while running the Application server

2015-06-02 Thread Thusitha Thilina Dayaratne
Hi,

When the server starts it is setting the CARBON_HOME value. So even if you
unset the CARBON_HOME value before the server starts, it will not affect
the server starting process. The interesting thing is how the CARBON_HOME
was set to some other
place(/usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
as you mentioned in the mail) in the first time.
If you able to reproduce the same scenario please update this thread.

Thanks
/Thusitha

On Tue, Jun 2, 2015 at 7:23 PM, Aaquibah Nashry  wrote:

> i unset  the CARBON_HOME variable and ran the AS as usual, and it still
> works.
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> On Mon, Jun 1, 2015 at 8:16 PM, Sachith Withana  wrote:
>
>> The problem might be due to working inside the /usr/ directory. ( It's
>> kinda odd to see someone's user home being inside the /usr directory)
>>
>> Try this if you can,
>> -first unset the CARBON_HOME if you have set it already
>> -then try running AS from inside the home directory ex:
>> /home/nashry/software/wso2as-5.2.1
>>
>> This MIGHT be occurring due to an permission issue.
>>
>> On Mon, Jun 1, 2015 at 4:34 PM, Nirmal Fernando  wrote:
>>
>>> hmm... it's strange that it fails. May be you can investigate by adding
>>> few echos to the wso2server.sh.
>>>
>>> On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry  wrote:
>>>

 Hi,
 im using Ubuntu 14.04 LTS
 64 bit


 M.R.Aaquibah Nashry
 *Intern, Engineering*
 Mobile : +94 773946123
 Tel  : +94 112662541
 nas...@wso2.com

 On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando 
 wrote:

> 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 
> wrote:
>
>> Hi,
>> setting the CARBON_HOME manually worked.
>> Thanks everyone
>>
>> M.R.Aaquibah Nashry
>> *Intern, Engineering*
>> Mobile : +94 773946123
>> Tel  : +94 112662541
>> nas...@wso2.com
>>
>> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
>> 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 <
>>> chathu...@wso2.com> wrote:
>>>
 Hi,

 Make sure that there is tomcat-juli-7.0.59.jar inside /bin
 directory.

 Thanks,
 Chathura.

 On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
 shashi...@wso2.com> wrote:

> HI,
>
> Can you try running using java 1.6
>
> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi,
>>
>> Are you getting this in a fresh pack?
>> Thanks
>> /Thusitha
>>
>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry > > 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.(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.(ClassLogger.java:55)
>>> at
>>> sun.management.jmxremote.ConnectorBoots

Re: [Dev] Error while running the Application server

2015-06-02 Thread Aaquibah Nashry
Hi,

Ya. That was the problem as i understand.

Thanks

M.R.Aaquibah Nashry
*Intern, Engineering*
Mobile : +94 773946123
Tel  : +94 112662541
nas...@wso2.com

On Tue, Jun 2, 2015 at 7:36 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi,
>
> When the server starts it is setting the CARBON_HOME value. So even if you
> unset the CARBON_HOME value before the server starts, it will not affect
> the server starting process. The interesting thing is how the CARBON_HOME
> was set to some other 
> place(/usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
> as you mentioned in the mail) in the first time.
> If you able to reproduce the same scenario please update this thread.
>
> Thanks
> /Thusitha
>
> On Tue, Jun 2, 2015 at 7:23 PM, Aaquibah Nashry  wrote:
>
>> i unset  the CARBON_HOME variable and ran the AS as usual, and it still
>> works.
>>
>> M.R.Aaquibah Nashry
>> *Intern, Engineering*
>> Mobile : +94 773946123
>> Tel  : +94 112662541
>> nas...@wso2.com
>>
>> On Mon, Jun 1, 2015 at 8:16 PM, Sachith Withana  wrote:
>>
>>> The problem might be due to working inside the /usr/ directory. ( It's
>>> kinda odd to see someone's user home being inside the /usr directory)
>>>
>>> Try this if you can,
>>> -first unset the CARBON_HOME if you have set it already
>>> -then try running AS from inside the home directory ex:
>>> /home/nashry/software/wso2as-5.2.1
>>>
>>> This MIGHT be occurring due to an permission issue.
>>>
>>> On Mon, Jun 1, 2015 at 4:34 PM, Nirmal Fernando  wrote:
>>>
 hmm... it's strange that it fails. May be you can investigate by adding
 few echos to the wso2server.sh.

 On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry 
 wrote:

>
> Hi,
> im using Ubuntu 14.04 LTS
> 64 bit
>
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel  : +94 112662541
> nas...@wso2.com
>
> On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando 
> wrote:
>
>> 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 
>> wrote:
>>
>>> Hi,
>>> setting the CARBON_HOME manually worked.
>>> Thanks everyone
>>>
>>> M.R.Aaquibah Nashry
>>> *Intern, Engineering*
>>> Mobile : +94 773946123
>>> Tel  : +94 112662541
>>> nas...@wso2.com
>>>
>>> On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana 
>>> 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 <
 chathu...@wso2.com> wrote:

> Hi,
>
> Make sure that there is tomcat-juli-7.0.59.jar inside
> /bin directory.
>
> Thanks,
> Chathura.
>
> On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka <
> shashi...@wso2.com> wrote:
>
>> HI,
>>
>> Can you try running using java 1.6
>>
>> On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Are you getting this in a fresh pack?
>>> Thanks
>>> /Thusitha
>>>
>>> On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry <
>>> nas...@wso2.com> 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.LogMan