File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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.
I agree. Here's the link:
subject: How to restart the jboss server through java
To run and restart the jboss server through java
Issues Re Environment and Path Variables In Windows XP For JBoss and ANT
Jboss not starting aka shutting down
The console/command window disappears (jboss via run.bat)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014