|
From: Kannan E. <kan...@gm...> - 2007-07-03 06:55:31
|
Hi, I am the following the thread here http://www.nabble.com/Trouble-using-wrapper.commandfile-property-to-generate-a-thread-dump-tf3864442.html I want a thread dump. I have a wrapper.conf file where I gave the following lines wrapper.commandfile=./commands.bat wrapper.ntservice.console=true I have put the "commands.bat" file in the same directory as wrapper.conf. To start with it is empty. I am following the link http://wrapper.tanukisoftware.org/doc/english/prop-commandfile.html which says that if you add the command "DUMP" to the commands.bat file it is supposed to take a thread dump on to the wrapper log file. I can see the JVM being started in the wrapper log file. However, when I add the DUMP command, I am not able to see any results there. Infact I tried most other commands like STOP etc which did not work. Can someone tell me, how can I be sure that the file is getting picked up? Regards, Kannan -- Regards, Kannan Ekanath |
|
From: Gary H. <ghi...@fe...> - 2007-07-06 02:07:40
|
I believe the commandfile path is relative to the wrapper.exe file, NOT the wrapper.conf file.=20 =20 ________________________________ From: wra...@li... [mailto:wra...@li...] On Behalf Of Kannan Ekanath Sent: Monday, July 02, 2007 11:55 PM To: Wra...@li... Subject: [Wrapper-user] Commands not being executed in the command file =20 Hi, I am the following the thread here http://www.nabble.com/Trouble-using-wrapper.commandfile-property-to-gene rate-a-thread-dump-tf3864442.html=20 I want a thread dump. I have a wrapper.conf file where I gave the following lines wrapper.commandfile=3D./commands.bat wrapper.ntservice.console=3Dtrue I have put the "commands.bat" file in the same directory as wrapper.conf. To start with it is empty. I am following the link http://wrapper.tanukisoftware.org/doc/english/prop-commandfile.html which says that if you add the command "DUMP" to the commands.bat file it is supposed to take a thread dump on to the wrapper log file. I can see the JVM being started in the wrapper log file. However, when I add the DUMP command, I am not able to see any results there. Infact I tried most other commands like STOP etc which did not work. Can someone tell me, how can I be sure that the file is getting picked up?=20 Regards, Kannan --=20 Regards, Kannan Ekanath=20 |
|
From: Madhav V. <jse...@fi...> - 2007-07-06 19:20:08
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <p class="MsoNormal">Hi<br> <br> </p> <p class="MsoNormal">We see a new issue with the JavaServiceWrapper. This NT service has been working fine<br> for years. We restarted the machine last weekend...and the NT service stopped today, with<br> these log entries.<br> <font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br> INFO | jvm 1 | 2007/07/06 14:18:33 | JVM Process has not received any CPU time for 429496422 seconds. Extending timeouts.<br> INFO | jvm 1 | 2007/07/06 14:20:33 | Wrapper Manager: The Wrapper code did not ping the JVM for 120 seconds. Quit and let the Wrapper resynch.<br> INFO | jvm 1 | 2007/07/06 14:20:34 | Shutting down xxxxxx Server.......<br> INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Events Manager...<br> INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Configuration Manager...<br> INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Log Manager...<br> INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Ping Manager...<br> INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Job Manager...<br> INFO | jvm 1 | 2007/07/06 14:20:34 | xxxxx Server has been shutdown successfully.<br> </span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br> 1. Is this is a known issue with wrapper?.<br> 2. is it possible to restart the JVM in this case?<br> </span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks in advance.<br> </span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks<br> Madhav<br> </span></font></p> </body> </html> |
|
From: Leif M. <le...@ta...> - 2007-07-06 23:13:02
|
Madhav, There have been some timer related bugs in past versions. What version are you using? Here in the release notes: http://wrapper.tanukisoftware.org/doc/english/release-notes.html Cheers, Leif Madhav Vodnala wrote: > > Hi > > We see a new issue with the JavaServiceWrapper. This NT service has > been working fine > for years. We restarted the machine last weekend...and the NT service > stopped today, with > these log entries. > > > INFO | jvm 1 | 2007/07/06 14:18:33 | JVM Process has not received > any CPU time for 429496422 seconds. Extending timeouts. > INFO | jvm 1 | 2007/07/06 14:20:33 | Wrapper Manager: The Wrapper > code did not ping the JVM for 120 seconds. Quit and let the Wrapper > resynch. > INFO | jvm 1 | 2007/07/06 14:20:34 | Shutting down xxxxxx > Server....... > INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Events Manager... > INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Configuration > Manager... > INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Log Manager... > INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Ping Manager... > INFO | jvm 1 | 2007/07/06 14:20:34 | Stopping Job Manager... > INFO | jvm 1 | 2007/07/06 14:20:34 | xxxxx Server has been > shutdown successfully. > > > 1. Is this is a known issue with wrapper?. > 2. is it possible to restart the JVM in this case? > > Thanks in advance. > > Thanks > Madhav > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |