Let me see if I understand this correctly. You service is launching another 
executable. You called it myfoo.exe. Did you write this executable also, or is 
this simply java.exe?

Snce Java is platform independent, it does not handle any Windows events. It 
does, however, handle signals such as SIG_INT, which jboss does handle by 
performing an orderly shutdown of the app server. If the executable that your 
service launches is one that you wrote, you can code it to handle Windows event.

The way JavaService works is that it uses JNI to load and execute the JVM, it 
does not fire up another executable to run the app server. In addition, 
JavaService handles the various Windows events.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028797#4028797

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028797
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to