|
From: Tanuki S. S. <su...@ta...> - 2009-06-22 22:51:00
|
Robert, We will do some more research into what could be causing this today. I have a few questions: 1) Is this something that you have been able to reproduce? If so, would it be possible for you to set the wrapper.debug=true property and run this again? 2) What Windows version are you using? 3) Do you know if anything else happened on the system at the time that the 2 Wrappers terminated? A User logout, or the stopping of some other process? >From the log, the exit originated with the Java process, not the Wrapper. 4) Is the wrapper.ntservice.interactive propery set for one or both of the services? If so, is there a GUI of some sort being displayed? This would include a status bar icon. Sincerely, Leif Mortenson Tanuki Software, Ltd. On Tue, Jun 23, 2009 at 3:40 AM, Leland, Robert<rob...@io...> wrote: > We use jdk1.6.0_12\bin\java.exe to launch our application. > > The wrapper.log doesn't have any interesting information. The strange thing is that we have two copies of the wrapper running for the same application on the same machine and they both terminated at the same exact time. > Here is the log from one instance (they are both the same) > > STATUS | wrapper | 2009/06/18 04:08:54 | --> Wrapper Started as Service > STATUS | wrapper | 2009/06/18 04:08:54 | Java Service Wrapper Standard Edition 3.3.2 > STATUS | wrapper | 2009/06/18 04:08:54 | Copyright (C) 1999-2009 Tanuki Software, Ltd. All Rights Reserved. > STATUS | wrapper | 2009/06/18 04:08:54 | http://wrapper.tanukisoftware.org > STATUS | wrapper | 2009/06/18 04:08:54 | Licensed to Production Server > STATUS | wrapper | 2009/06/18 04:08:54 | > STATUS | wrapper | 2009/06/18 04:08:54 | Launching a JVM... > STATUS | wrapper | 2009/06/22 10:07:12 | <-- Wrapper Stopped > STATUS | wrapper | 2009/06/22 11:49:57 | --> Wrapper Started as Service > > ___________________________________ > Robert Leland INTEGRITYOne Partners > P: (703) 581-6522 1900 Campus Commons Drive, Suite 150 > F: (703) 476-7405 Reston, VA 20191 > rob...@io... > > BUSINESS CONSULTING | TECHNOLOGY | INNOVATION R&D > > ________________________________ > > From: Leif Mortenson [mailto:lei...@ta...] > Sent: Mon 6/22/2009 12:39 PM > To: wra...@li... > Subject: Re: [Wrapper-user] Service Stops with error 143 > > > > Robert, > Could you please post the last 30 seconds or so of your wrapper.log? > It should provide a little more information about where this exit code > originated. > > Are you by any chance running the javaw.exe version of java rather > than java.exe? We had another user recently report the same exit code > and the problem was tracked back to that. When using the Wrapper, > there is no reason to ever make use of the javaw.exe binary because > the Wrapper is handling all console output. > > javaw does not behave reliably when run as a Windows service. It is > able to receive signals both as a console application and as a Windows > application. The problems arise because the order in which the > signals are received by javaw is not consistent. > > Starting with the 3.3.6 release, we will be warning against the use of > javaw when running as a service until a way can be found to reliably > trap all signals received from the system. > > Cheers, > Leif -- Leif Mortenson Representative Director Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel/Fax: +81-3-3878-3211 http://www.tanukisoftware.com lei...@ta... |