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
Murach's Java Servlets and JSP
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.
It is sorta covered in the
JavaRanch Style Guide
subject: How to restart the jboss server through java
To run and restart the jboss server through java
The console/command window disappears (jboss via run.bat)
Jboss not starting aka shutting down
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-2014