|
From: Hubert F. <Hub...@ab...> - 2009-06-23 20:35:18
|
This one? CTRL_LOGOFF_EVENTA signal that the system sends to all console processeswhen a user is logging off. This signal does not indicate which user islogging off, so no assumptions can be made.Note that this signal is received only by services. Interactiveapplications are terminated at logoff, so they are not present when thesystem sends this signal. if yes, i think this should be caught and ignored by the service wrapper. There was a similar issue a time ago. http://www.nabble.com/Windows-service-stopped-on-user-logout-td19346456.html hth hub >>> "Leland, Robert" <rob...@io...> 23.06.09 20.43 Uhr >>> I found a log entry from another application that also starts up as SYSTEM(Local System). It seems for the two times the java application went down a 'logoff' console event occurred 2 seconds before the java application shutdown. I didn't see a entry in the windows security logs for this though. Do you believe creating a separate account for the java process to run on would, prevent this from happening ? ___________________________________ 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: Leland, Robert [mailto:rob...@io...] Sent: Tue 6/23/2009 10:46 AM To: wra...@li...; wra...@li... Cc: Tanuki Software Support Subject: Re: [Wrapper-user] Service Stops with error 143 Thanks for your help, answers are inline. ________________________________ From: Tanuki Software Support [mailto:su...@ta...] 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? I'll need to test the debug option out first to see how much information it produces before we do this on production. 2) What Windows version are you using? Windows 2003 Sp 2 with Xenon Processors. This is NOT a VM. 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. The service is run as SYSTEM. There were login/logouts about 5-10 seconds before and 5-10 seconds after the services stopped. I have poured through the windows logs looking for correlations between the couple of times it has stopped. I will need to go through them one more time and make an abstract of events. I'll be able to spend a good chunk today in the lab trying to reproduce this on our VM systems. 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. No the wrapper.ntservice.interactive property is not set. The service is not GUI based, its a network service. The only external java libraries used is LOG4J 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 <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 <http://www.tanukisoftware.com/> lei...@ta... ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |