Thanks for the suggesstions...

My original email yesterday included a link to a tool that ALMOST did
what we needed.  The problem was that jBoss needs to be launched from a
particular directory, because instantDB specifies the files it needs as
relative from the jBoss/bin directory, when you start as a service it
can't find files it needs.

My original email specified a tool for starting java applications as
services, with a really cool way of providing a hook for handling
shutdown events from Windows 2000.  It is available at:
http://www.roeschter.com/index.html

We modified the small C application that is actually installed as the
service to chdir to the directory it starts up in BEFORE executing
jBoss.  We also wrote a small java class that both provides a generic
shutdown handler, and will call the main() method of any class provided
to it as a parameter (via reflection).  As soon as this this deadline is
out of my way, I want to clean up all this stuff and put it in the
'contrib' module under CVS for all to use.

And thanks to the person who pointed out there was already something in
'contrib' that looked like it did what we needed...  After looking at it
though, I couldn't get it to work under Win2000, and it appeared to have
the same starting-in-the-wrong-directory-to-make-instantDB-happy
problem.  I was going on my second all-nighter by the time I looked at
it though, so the prblems might have been my fault.

-db



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

Reply via email to