|
From: Christian M. <chr...@ta...> - 2012-05-07 09:01:00
|
Hello jeroen,
I'm very sorry, I didn't somehow missed your mail.
The JVM should exit by itself if the monitoring Wrapper process was
terminated.
Can you please try the following:
wrapper.java.outfile=../logs/app-out.txt
wrapper.java.errfile=../logs/app-err.txt
The following properties will cause the JVM to redirect it's output
directly to a file and omitting the Wrapper's logging functionality.
When the JVM is running and the Wrapper forcibly killed by your cluster
manager, there should be the following output in the app-out.txt file:
WrapperManager Error: The backend was closed unexpectedly. Restart to
resync with the Wrapper.
The JVM should then actually stop, but actually not being able to restart,
since the Wrapper process is already gone. Could you please send me your
conf file, so I could take a look and understand a bit better how your jvm
is being launched?
It's no problem to use the same wrapper.exe, wrapper.dll and wrapper.jar
files for multiple processes, since each process will run in different
virtual memory space.
Best Regards,
Christian
On Mon, May 7, 2012 at 5:04 PM, jeroen vranckx <jvr...@gm...>wrote:
> Hey christian,
>
> I don't know if you got my last post, as it was bounced for revision due
> to "too long".
>
> I would like to thank for your help and suggestions that you have given me
> these past weeks. It's really been a great help to me as everything was new
> to me.
> I also want to mention you in my thesis ("you will be quoted"), so i would
> like to know which function you have with tanukisoftware. You are one of
> the programmers that helped develop the java service wrapper?
>
> AND; to make it complete, i have a question for you concerning
> implementation of the java service wrapper. It's recommended that you copy
> the needed wrapper files(wrapper.jar, wrapper.dll and wrapper.exe) to the
> source directory of your own application.
>
> Now, they asked me the following:
> We have multiple java-applications which use the java service wrapper. we
> want to know if it's possible to reuse the same Wrapper.exe, wrapper.dll,
> wrapper.jar.
> So what i did was: Let's make a little map for the wrapper which contains
> all wrapper source-files. I only copy the wrapper.conf file to the java-app
> source dir.
> I configure it in such a manner, that the java-application uses the
> wrapper.exe, wrapper.dll and wrapper.jar in the java service wrapper source
> dir.
>
> I tried it with one application, and this method does work. However, if I
> resuse the wrapper.exe, wrapper.dll, wrapper.jar, what will be the
> consequences? Is it possible?
>
> thanks in advance
>
> Grtz,
> Jeroen Vranckx
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
|