[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.5 Appserver running as a service shutsdown

PeterJ do-not-reply at jboss.com
Fri Mar 16 10:54:55 EDT 2007


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



More information about the jboss-user mailing list