|
From: Kit P. <kit...@gm...> - 2007-07-30 16:26:42
|
I'm having a problem with getting the classloader's config file to the classloader's Launcher. here's the output of the wrapper: wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1 | jvm 1 | jvm 1 | WrapperSimpleApp: Encountered an error running main: java.io.FileNotFoundException: "/home/tsb/deploy/conf/servicemix.conf" (No such file or directory) jvm 1 | java.io.FileNotFoundException: "/home/tsb/deploy/conf/servicemix.conf" (No such file or directory) jvm 1 | at java.io.FileInputStream.open(Native Method) jvm 1 | at java.io.FileInputStream.<init>(FileInputStream.java:106) jvm 1 | at java.io.FileInputStream.<init>(FileInputStream.java :66) jvm 1 | at org.codehaus.classworlds.Launcher.main(Launcher.java:435) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke ( NativeMethodAccessorImpl.java:39) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:597) jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run( WrapperSimpleApp.java:240) jvm 1 | at java.lang.Thread.run(Thread.java:619) wrapper | <-- Wrapper Stopped And, here's the config: <snip> wrapper.java.command=java # Java Main class. This class must implement the WrapperListener interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp wrapper.app.parameter.1=org.codehaus.classworlds.Launcher # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=../lib/classworlds-1.0.1.jar wrapper.java.classpath.3=../. wrapper.java.classpath.4=../conf # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=../lib # Java Additional Parameters #wrapper.java.additional.1= #wrapper.java.additional.1=-Dderby.system.home="var" #wrapper.java.additional.2=- Dderby.storage.fileSyncTransactionLog=true wrapper.java.additional.1=-Dcom.sun.management.jmxremote wrapper.java.additional.2=-Dclassworlds.conf="/home/tsb/deploy/conf/servicemix.conf" wrapper.java.additional.3=-Dservicemix.home= "." </snip> I'm running the thing from the deploy/ subdir - but, I don't think this is a classpath issue, and the Launcher is looking for file path. Any ideas? Anything obvious? TIA, Kit -- Kit Plummer Nobody-in-Charge @ Black:Hole:Logic http://www.blackholelogic.com |