Re: [JBoss-dev] Server restart

2002-06-04 Thread Peter Fagerlund
Periscope up ! . A java shell - Transcipting Syntax'es would be cool . http://www.google.com/search?hl=en&q=JShell http://homepage.mac.com/pcbeard/JShell/ Restarting the VM should involve a native memory clean up ? . /5 points on 04-06-2 03.39, Dain Sundstrom at [EMAIL PROTECTED]

Re: [JBoss-dev] Server restart

2002-06-03 Thread Dain Sundstrom
I should have been more clear; I meant restart the VM. If you code the shell script, I'll figure out the batch stuff (along time ago I ran a BBS on DOS, so I know batch scripts fairly well). -dain Jason Dillon wrote: > Do you mean restart the VM or restart the Server inside the same VM? The

Re: [JBoss-dev] Server restart

2002-06-03 Thread Jason Dillon
Do you mean restart the VM or restart the Server inside the same VM? The latter is possible with Server.shutdown(), then Server.start() should work in theory... though I have not tested this at all... could be that there is more work to be done here to make this work... though I am not sure th

Re: [JBoss-dev] Server restart

2002-06-01 Thread Dain Sundstrom
A lot of deployments need to write scripts to restart the server everyday to clean up resources captured by poorly written application code. Also it would be nice for a management console to be able to restart the server. At this point my ideas for the testsuite are pure speculation. I think

Re: [JBoss-dev] Server restart

2002-06-01 Thread Jason Dillon
In theory this should work, you can call jboss.system:type=Server exit and the vm should exit and return to the shell, though it may take some time for this to happen depending on how quickly the shutdown hook executes. Can you explain more of why this would be useful, to restart the server

[JBoss-dev] Server restart

2002-06-01 Thread Dain Sundstrom
It would be useful to be able to restart the JBoss server while in our testsuite, but can we restart a JBoss server from an MBean? I don't think we can, but I have an idea on how we can. We use an MBean to shutdown the server using the normal hooks, but we make the server exit with a special