Done that but i get the following error:
Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound
Do you have any ideea?
----- Original Message -----
From: "Keith Hatton" <[EMAIL PROTECTED]>
To: "Ant Users List" <user@ant.apache.org>
Sent: Tuesday, November 01, 2005 3:39 PM
Subject: RE: Jboss start and stop scripts
This works for me - on Windoze anyway, I'm sure you can do something
similar on other platforms.
HTH
Keith
<exec dir="${jboss.home}/bin" executable="cmd.exe"
os="Windows 2000,Windows XP">
<arg line="/c shutdown.bat -S"/>
<env key="NOPAUSE" value="true"/>
</exec>
-----Original Message-----
From: Andrei [mailto:[EMAIL PROTECTED]
Sent: 01 November 2005 12:36
To: Ant Users List
Subject: Re: Jboss start and stop scripts
Starting is simple width exec, but how do i stop it from ant?
----- Original Message -----
From: "Petar Tahchiev" <[EMAIL PROTECTED]>
To: "Ant Users List" <user@ant.apache.org>
Sent: Tuesday, November 01, 2005 2:33 PM
Subject: Re: Jboss start and stop scripts
On 01/11/05, Andrei <[EMAIL PROTECTED]> wrote:
Does any body knows how to start and stop jboss using ant?
I am not quite sure whether it is possible but why not try using exec
and pass the run script
--
Regards, Petar!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]