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, [email protected] 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
