[jboss-dev] JBoss kills started process

Jaikiran Pai jpai at redhat.com
Thu Nov 5 07:12:27 EST 2009


Krzysztof,

The best place to discuss questions like this, is the user forum http://www.jboss.org/index.html?module=bb. Please open a new topic here http://www.jboss.org/index.html?module=bb&op=viewforum&f=61. We can discuss this in your new thread.

regards,
-Jaikiran


Krzysztof Tomaszewski wrote:
> During shutdown JBoss 4.2.1 stops (kills?) processes started by
> Runtime.getRuntime().exec(...)
>
> I've created a MBean to control other program needed to work while my
> aplication under JBoss is running. This process is started by
> Runtime.getRuntime().exec(...) in MBean.start() method. In
> MBean.stop() I'd like to send some message to this process - but it is
> already dead.
>
> Q1: why JBoss stops process started by Runtime.getRuntime().exec(...).
> This not conforms to Java specification. Normal Java program doesn't
> stop process started by Runtime.getRuntime().exec(...).
>
> Q2: how I can change this behaviour of JBoss (I found nothing in documentation)?
>
> Kind regards,
> Krzysztof Tomaszewski
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
>   




More information about the jboss-development mailing list