Vu,

As always please check the knowledge base before asking questions such as
this - it saves everyone time!

A query for "NT service"

        http://kb.atlassian.com/search.jsp?query=NT+service

yields

        http://kb.atlassian.com/content/orionsupport/articles/orserv.html

which looks like exactly what you're asking ;)

Cheers,
Mike


Mike Cannon-Brookes :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
     Supporting YOUR J2EE World


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Vu Le Hung
Sent: Monday, November 12, 2001 3:38 PM
To: Orion-Interest
Subject: How can I start Orion Server as a service in Windows NT/2000 ?


Dear all,
I'm trying to find a way to start Orion Server as a service in
WindowsNT/2000( i.e. Orion will be started automatically when my computer
startup without any user interaction).
Any one know how to do this ?
I tried this as below but it failed :
    1. Write an small  Win32 application "startorion.exe" that calls
"java -jar orion.jar"
    2. Register it as a automatic service (named MyService) with Win2000
using "Service Installation Wizard" tool in the Windows 2000 Server Resource
Kit.
    3. Restart my computer.
Then I can find item "MyService"  in the list of all available services in
my computer. But this service can not be start.
Any idea ??? Thanks in advance.

Vu Le Hung






Reply via email to