You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by de...@mobigov.com on 2015/06/04 20:43:13 UTC
Issue when starting karaf from kara_wrapper
Hello all. I am hitting an issue with karaf not starting using the
wrapper from centos. Here are the error message that appear when I run
the script
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 1 | Error: Could not find or load main class Main
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 2 | Error: Could not find or load main class Main
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 3 | Error: Could not find or load main class Main
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 4 | Error: Could not find or load main class Main
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 5 | Error: Could not find or load main class Main
The jars in the config appear to be in the lib directory. Has anyone
else had this issue.
Thanks for any help,
David
On 2015-06-04 14:34, Jean-Baptiste Onofré wrote:
> Hi,
>
> Take a look in bin/karaf script, you will see the NATIVE_LIB location.
> If you use wrap, you have to provide the NativeLib header.
>
> Regards
> JB
>
> On 06/04/2015 05:56 PM, sekaijin wrote:
>
>> hello I test ServiceMix 5 with karaf 2.2.2 I put in $ sapjco3.jar and I added org.osgi.framework.bootdelegation=org.apache.karaf. ...., com.sap.* I tried to do the same with karaf 2.4.1 (ServiceMix) but the sap library are not visible I have an exception jr: com/sap/mw/idoc/IDOC$Exception While it worked with karaf 2.2.2 I never got it to run out of the lib folder SAPJCO can not find the dll if I deploy it with install -s wrap: ..... thank -- View this message in context: http://karaf.922171.n3.nabble.com/ava-lang-NoClassDefFoundErro-KARAF-HOME-lib-tp4040750.html [1] Sent from the Karaf - User mailing list archive at Nabble.com.
Links:
------
[1]
http://karaf.922171.n3.nabble.com/ava-lang-NoClassDefFoundErro-KARAF-HOME-lib-tp4040750.html
Re: Issue when starting karaf from kara_wrapper
Posted by sekaijin <jy...@yahoo.fr>.
Thank
I've put jco jar files in folder and added
in karaf.bat file th enative lib folder in 2.4.1 vesrion is
thank for all
Bye
--
View this message in context: http://karaf.922171.n3.nabble.com/ava-lang-NoClassDefFoundErro-KARAF-HOME-lib-tp4040750p4040778.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Issue when starting karaf from kara_wrapper
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
In the wrapper, it's not a problem as it's the JSW format.
Let me try.
Regards
JB
On 06/04/2015 10:15 PM, development@mobigov.com wrote:
> karaf 4 M2. Also I notice the config file uses %VAR% instead of $VAR is
> that a problem running on centos.
>
> On 2015-06-04 16:11, Jean-Baptiste Onofré wrote:
>
>> Hi,
>>
>> what Karaf version ?
>>
>> Thanks,
>> Regards
>> JB
>>
>> On 06/04/2015 08:43 PM,development@mobigov.com <ma...@mobigov.com> wrote:
>>> Hello all. I am hitting an issue with karaf not starting using the
>>> wrapper from centos. Here are the error message that appear when I
>>> run the script wrapper | Launching a JVM... wrapper | JVM exited
>>> while loading the application. jvm 1 | Error: Could not find or load
>>> main class Main wrapper | Launching a JVM... wrapper | JVM exited
>>> while loading the application. jvm 2 | Error: Could not find or load
>>> main class Main wrapper | Launching a JVM... wrapper | JVM exited
>>> while loading the application. jvm 3 | Error: Could not find or load
>>> main class Main wrapper | Launching a JVM... wrapper | JVM exited
>>> while loading the application. jvm 4 | Error: Could not find or load
>>> main class Main wrapper | Launching a JVM... wrapper | JVM exited
>>> while loading the application. jvm 5 | Error: Could not find or load
>>> main class Main The jars in the config appear to be in the lib
>>> directory. Has anyone else had this issue. Thanks for any help, David
>>> On 2015-06-04 14:34, Jean-Baptiste Onofré wrote:
>>>> Hi, Take a look in bin/karaf script, you will see the NATIVE_LIB
>>>> location. If you use wrap, you have to provide the NativeLib header.
>>>> Regards JB On 06/04/2015 05:56 PM, sekaijin wrote:
>>>>> hello I test ServiceMix 5 with karaf 2.2.2 I put in $ sapjco3.jar
>>>>> and I added org.osgi.framework.bootdelegation=org.apache.karaf.
>>>>> ...., com.sap.* I tried to do the same with karaf 2.4.1
>>>>> (ServiceMix) but the sap library are not visible I have an
>>>>> exception jr: com/sap/mw/idoc/IDOC$Exception While it worked with
>>>>> karaf 2.2.2 I never got it to run out of the lib folder SAPJCO can
>>>>> not find the dll if I deploy it with install -s wrap: ..... thank
>>>>> -- View this message in context:
>>>>> http://karaf.922171.n3.nabble.com/ava-lang-NoClassDefFoundErro-KARAF-HOME-lib-tp4040750.html
>>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Issue when starting karaf from kara_wrapper
Posted by de...@mobigov.com.
karaf 4 M2. Also I notice the config file uses %VAR% instead of $VAR is
that a problem running on centos.
On 2015-06-04 16:11, Jean-Baptiste Onofré wrote:
> Hi,
>
> what Karaf version ?
>
> Thanks,
> Regards
> JB
>
> On 06/04/2015 08:43 PM, development@mobigov.com wrote:
> Hello all. I am hitting an issue with karaf not starting using the wrapper from centos. Here are the error message that appear when I run the script wrapper | Launching a JVM... wrapper | JVM exited while loading the application. jvm 1 | Error: Could not find or load main class Main wrapper | Launching a JVM... wrapper | JVM exited while loading the application. jvm 2 | Error: Could not find or load main class Main wrapper | Launching a JVM... wrapper | JVM exited while loading the application. jvm 3 | Error: Could not find or load main class Main wrapper | Launching a JVM... wrapper | JVM exited while loading the application. jvm 4 | Error: Could not find or load main class Main wrapper | Launching a JVM... wrapper | JVM exited while loading the application. jvm 5 | Error: Could not find or load main class Main The jars in the config appear to be in the lib directory. Has anyone else had this issue. Thanks for any help, David On 2015-06-04 14:34, Jean-Baptiste Onofré wrote: Hi,
Take a look in bin/karaf script, you will see the NATIVE_LIB location. If you use wrap, you have to provide the NativeLib header. Regards JB On 06/04/2015 05:56 PM, sekaijin wrote: hello I test ServiceMix 5 with karaf 2.2.2 I put in $ sapjco3.jar and I added org.osgi.framework.bootdelegation=org.apache.karaf. ...., com.sap.* I tried to do the same with karaf 2.4.1 (ServiceMix) but the sap library are not visible I have an exception jr: com/sap/mw/idoc/IDOC$Exception While it worked with karaf 2.2.2 I never got it to run out of the lib folder SAPJCO can not find the dll if I deploy it with install -s wrap: ..... thank -- View this message in context: http://karaf.922171.n3.nabble.com/ava-lang-NoClassDefFoundErro-KARAF-HOME-lib-tp4040750.html [1] Sent from the Karaf - User mailing list archive at Nabble.com.
Links:
------
[1]
http://karaf.922171.n3.nabble.com/ava-lang-NoClassDefFoundErro-KARAF-HOME-lib-tp4040750.html
Re: Issue when starting karaf from kara_wrapper
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
what Karaf version ?
Thanks,
Regards
JB
On 06/04/2015 08:43 PM, development@mobigov.com wrote:
> Hello all. I am hitting an issue with karaf not starting using the
> wrapper from centos. Here are the error message that appear when I run
> the script
>
> wrapper | Launching a JVM...
> wrapper | JVM exited while loading the application.
> jvm 1 | Error: Could not find or load main class Main
> wrapper | Launching a JVM...
> wrapper | JVM exited while loading the application.
> jvm 2 | Error: Could not find or load main class Main
> wrapper | Launching a JVM...
> wrapper | JVM exited while loading the application.
> jvm 3 | Error: Could not find or load main class Main
> wrapper | Launching a JVM...
> wrapper | JVM exited while loading the application.
> jvm 4 | Error: Could not find or load main class Main
> wrapper | Launching a JVM...
> wrapper | JVM exited while loading the application.
> jvm 5 | Error: Could not find or load main class Main
>
> The jars in the config appear to be in the lib directory. Has anyone
> else had this issue.
>
> Thanks for any help,
>
> David
>
> On 2015-06-04 14:34, Jean-Baptiste Onofré wrote:
>
>> Hi,
>>
>> Take a look in bin/karaf script, you will see the NATIVE_LIB location.
>> If you use wrap, you have to provide the NativeLib header.
>>
>> Regards
>> JB
>>
>> On 06/04/2015 05:56 PM, sekaijin wrote:
>>> hello I test ServiceMix 5 with karaf 2.2.2 I put in $ sapjco3.jar and
>>> I added org.osgi.framework.bootdelegation=org.apache.karaf. ....,
>>> com.sap.* I tried to do the same with karaf 2.4.1 (ServiceMix) but
>>> the sap library are not visible I have an exception jr:
>>> com/sap/mw/idoc/IDOC$Exception While it worked with karaf 2.2.2 I
>>> never got it to run out of the lib folder SAPJCO can not find the dll
>>> if I deploy it with install -s wrap: ..... thank -- View this message
>>> in context:
>>> http://karaf.922171.n3.nabble.com/ava-lang-NoClassDefFoundErro-KARAF-HOME-lib-tp4040750.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com