|
From: Leif M. <le...@ta...> - 2006-09-13 13:05:30
|
Gaute, Directly from the log file you posted: DVICE | wrapper | 2006/09/11 15:36:49 | ADVICE | wrapper | 2006/09/11 15:36:49 | ------------------------------------------------------------------------ ADVICE | wrapper | 2006/09/11 15:36:49 | Advice: ADVICE | wrapper | 2006/09/11 15:36:49 | The Wrapper consists of a native component as well as a set of classes ADVICE | wrapper | 2006/09/11 15:36:49 | which run within the JVM that it launches. The Java component of the ADVICE | wrapper | 2006/09/11 15:36:49 | Wrapper must be initialized promptly after the JVM is launched or the ADVICE | wrapper | 2006/09/11 15:36:49 | Wrapper will timeout, as just happened. Most likely the main class ADVICE | wrapper | 2006/09/11 15:36:49 | specified in the Wrapper configuration file is not correctly initializing ADVICE | wrapper | 2006/09/11 15:36:49 | the Wrapper classes: ADVICE | wrapper | 2006/09/11 15:36:49 | no.ergo.dirpoller.DirectoryScanner ADVICE | wrapper | 2006/09/11 15:36:49 | While it is possible to do so manually, the Wrapper ships with helper ADVICE | wrapper | 2006/09/11 15:36:49 | classes to make this initialization processes automatic. ADVICE | wrapper | 2006/09/11 15:36:49 | Please review the integration section of the Wrapper's documentation ADVICE | wrapper | 2006/09/11 15:36:49 | for the various methods which can be employed to launch an application ADVICE | wrapper | 2006/09/11 15:36:49 | within the Wrapper: ADVICE | wrapper | 2006/09/11 15:36:49 | http://wrapper.tanukisoftware.org/doc/english/integrate.html ADVICE | wrapper | 2006/09/11 15:36:49 | ------------------------------------------------------------------------ ADVICE | wrapper | 2006/09/11 15:36:49 | Give that a try. Cheers, Leif gau...@ch... wrote: > My application is using Jpoller (http://sourceforge.net/projects/jpoller) to poll a directory for new files. This works fine on it's own, but when I try to use java service wrapper to run it it exits then restarts until wrapper gives up starting the service. > > Any idea why this fails? > > se attached wrapper.log > > sincerely > Gaute > |