Hi Vu,
 
You need the JNT application from http://www.eworksmart.com/JNT/
 
Install this and type a command similar to the following, from where you installed Orion:
    jnt "/InstallAsService:Orion Application Server" "/SD[ORION_HOME]" -jar orion.jar
 
where [ORION_HOME] is where you installed Orion. Worked for me, anyway. I had a job getting other java apps to run using this tool though :(
 
This has come up in the list before, so do a search on the archive for more info.
 
One thing I have noticed is that Orion runs slower this way than if you start it from a command prompt. Anyone know anything about this? I've asked this before.
 
Cheers,
Justin
-----Original Message-----
From: Vu Le Hung [mailto:[EMAIL PROTECTED]]
Sent: 12 November 2001 04:38
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