|
From: Christian M. <chr...@ta...> - 2010-08-10 08:13:48
|
Tasso, The temp directory of Visual VM and the java application run as service is different, so they can not find each other instantly. However there is a workaround to achieve what you are trying to do. Please set the environment variable TMP for the wrapper process in your conf file: set.TMP=C:\tmp and start the wrapper as service. Now start a console and set the TMP environment variable to the same value you specified in the conf file: set TMP=C:\tmp after that start jvisualvm C:\Program Files\...\jvisualvm.exe Visual VM should now be able to list the java process. Hope this works out for you. Cheers, Christian On Mon, Aug 9, 2010 at 10:24 PM, Tasso Angelidis <ta...@rb...> wrote: > If I run my application with the wrapper as Windows service Java Visual VM > doesn’t detect it. But if I run the application using console mode of the > wrapper it gets detected. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |