A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
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.
rocket mass heater
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