Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
How to restart the jboss server through java
Joined: Jan 29, 2007
Mar 27, 2007 06:28:00
i am trying to run and restart the
server through the
programm where server present in C:\jboss\bin. Please can any one help how to make this . my code to run the run.bat file goes below
cmd = "C:\\jboss\\bin\run.bat";
Runtime runtime = Runtime.getRuntime();
Process porc = runtime.exec(cmd);
but i need to restart aslo.......their is no sucessful result...
thanks in advance.
[ March 27, 2007: Message edited by: umesh bs ]
Joined: Apr 14, 2004
Mar 27, 2007 07:06:00
Please don't post the
in more than one forum.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to restart the jboss server through java
Jboss not starting aka shutting down
To run and restart the jboss server through java
The console/command window disappears (jboss via run.bat)
Issues Re Environment and Path Variables In Windows XP For JBoss and ANT
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015