|
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 |