|
From: Leif M. <le...@ta...> - 2006-08-09 23:50:52
|
Andreas showed you this page, which shows how to install a working application as a service: http://wrapper.tanukisoftware.org/doc/english/launch-win.html#service Before you do so however, you need to be getting it working as a standalone console application. See this page: http://wrapper.tanukisoftware.org/doc/english/introduction.html It looks like you are attempting to use the "ADVANCED" integration method 3 to get running. Please don't until you understand Eclipse, Java, and the Wrapper a little bit more. You will only cause yourself headaches. Please start out by using integration method #1 to get up and running. Read over that page thoroughly and then post back if you have any questions. The problem you are running into below is with your classpath. It is not finding your classes. You most likely do not want to be placing your wrapper files in your package however. Cheers, Leif tweety123 wrote: > When I run JSWrapper.bat (i.e. App.bat renamed), I get the error : > > wrapper | --> Wrapper Started as Console > wrapper | Launching a JVM... > jvm 1 | java.lang.NoClassDefFoundError: JSWrapper > jvm 1 | Exception in thread "main" > wrapper | JVM exited while loading the application. > > > This' my folder structire: > Under 'Test' project folder, I have put: > 1. the bin folder which contains the batch files > 2. conf folder containing wrapper.conf > 3. the class, java file which implements WrapperListener class. > > Is there anything wrong with the directory structure? > > |