Hi,

  We have recently replaced Weblogic with jBoss in a high profile
application.  We are very pleased with our results so far.

  We are preparing to enter testing with our application, and we have
been spending the past few days configuring our testing environment.  We
need to make jBoss start as a service under 2000.

  There are many packages around the web that promise to 'start any
executable as a service', and we have one of these up and running, using
a batch file to start jBoss.  But there is a very elegant package for
starting java programs as services we would like to use, located at

http://www.roeschter.com/index.html

  The problem we are having is that jBoss wants to start from a
particular directory (the jBoss/bin directory), and we can't really
control this when starting as a service.  We get a little farther when
we specify -Duser.dir=<path_to_jBoss_bin>, but now we fail when
instantdb is looking for a file.

  I guess the question I'm asking could be phrased a couple different
ways:  1) Is there a way to start jBoss in such a manner that it doesn't
care where you are launching it from?  if not, 2) is there a way to
specify (via a registry entry or something) the working directory for a
service under NT/2000?

  We are a group of pretty competent developers, and can contribute our
work back to jBoss...  based on the example from the service-starting
package above, we have a 'wrapper' that implements stoppable and starts
jBoss...  between that and the Free .exe file from that site, it would
make a nice add-on for jBoss when running in the (crippled) windows
NT/2000 environment.


-David Bock
Software Engineer,
FGM, inc.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to