RE: Orion as a Win2000 service ?
Here is the command we issued to register Orion as a service: D:\JNT "/InstallAsService: Orion" "/SD" -jar d:\\orion.jar -userThreads If you don't use threads, leave off the last switchgood luck! Regards, Tom Pridham -Original Message- From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 3:07 PM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? What command line did u use to run it? -Original Message- From: Thomas Pridham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 11:50 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In our production environment (win2000), we are using JNT to run Orion as a service: http://www.eworksmart.com/jnt/ Works great. One bug is when you issue a stop command, the stop dialog hangs halfway through, but the service is stopped. Can't beat the price, free!!! -Original Message- From: Toth [@HOTMAIL], Adam (E-mail) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 8:19 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In the archive I've found the following: >From:Larry Velez <[EMAIL PROTECTED]> >Subject: Orion as a Win2000 service > >I am running Orion as a service using the following RunSvcExe script: > >Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because >of a bug (or feature) in Win32 Java that does not allow you to log out of >the machine while Orion is running. This defeats the whole purpose of >running Orion as a service. > >### ># This script runs OrionServer as a service ># > >JAVA_HOME=d:\jre\1.3 >ORION_HOME=d:\orion > ># set up java run-time stuff >exe=$JAVA_HOME$\bin\hotspot\jvmi.exe > ># RunExeSvc variables > >debug=false# if true, RunExeSvc will show internal status >home=$ORION_HOME$ # the starting dir of the service > ># Running as an http server. >cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) >## My question is that how can it work? It seems that JVMI does not support .JAR files(?). I've created a .Cmd file (not sure about those scripts, but should do the same): REM ### REM # This script runs OrionServer as a service REM # SET JAVA_HOME=c:\jdk1.3 SET ORION_HOME=c:\orion REM # set up java run-time stuff SET exe=%JAVA_HOME%\jre\bin\hotspot\jvmi.exe REM # RunExeSvc variables SET debug=true# if true, RunExeSvc will show internal status SET home=%ORION_HOME% # the starting dir of the service REM # Running as an http server. REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) %exe% -jar orion.jar But it does not work: C:\orion>REM ### C:\orion>REM # This script runs OrionServer as a service C:\orion>REM # C:\orion>SET JAVA_HOME=c:\jdk1.3 C:\orion>SET ORION_HOME=c:\orion C:\orion>REM # set up java run-time stuff C:\orion>SET exe=c:\jdk1.3\jre\bin\hotspot\jvmi.exe C:\orion>REM # RunExeSvc variables C:\orion>SET debug=true# if true, RunExeSvc will show internal status C:\orion>SET home=c:\orion # the starting dir of the service C:\orion>REM # Running as an http server. C:\orion>REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) C:\orion>c:\jdk1.3\jre\bin\hotspot\jvmi.exe -jar orion.jar jvmi.exe 1.1 - (C)2000 by Bill Giel/KCMDG Java 1.3 VM Invoker (which traps LOGOFF events) ** * Evaluation Version - for licensing information * * contact [EMAIL PROTECTED] * ** Cannot find main class. Any ideas? (Maybe the problem is trivial...) Thank you in advance, Adam
RE: Orion as a Win2000 service ?
What command line did u use to run it? -Original Message- From: Thomas Pridham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 11:50 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In our production environment (win2000), we are using JNT to run Orion as a service: http://www.eworksmart.com/jnt/ Works great. One bug is when you issue a stop command, the stop dialog hangs halfway through, but the service is stopped. Can't beat the price, free!!! -Original Message- From: Toth [@HOTMAIL], Adam (E-mail) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 8:19 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In the archive I've found the following: >From:Larry Velez <[EMAIL PROTECTED]> >Subject: Orion as a Win2000 service > >I am running Orion as a service using the following RunSvcExe script: > >Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because >of a bug (or feature) in Win32 Java that does not allow you to log out of >the machine while Orion is running. This defeats the whole purpose of >running Orion as a service. > >### ># This script runs OrionServer as a service ># > >JAVA_HOME=d:\jre\1.3 >ORION_HOME=d:\orion > ># set up java run-time stuff >exe=$JAVA_HOME$\bin\hotspot\jvmi.exe > ># RunExeSvc variables > >debug=false# if true, RunExeSvc will show internal status >home=$ORION_HOME$ # the starting dir of the service > ># Running as an http server. >cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) >## My question is that how can it work? It seems that JVMI does not support .JAR files(?). I've created a .Cmd file (not sure about those scripts, but should do the same): REM ### REM # This script runs OrionServer as a service REM # SET JAVA_HOME=c:\jdk1.3 SET ORION_HOME=c:\orion REM # set up java run-time stuff SET exe=%JAVA_HOME%\jre\bin\hotspot\jvmi.exe REM # RunExeSvc variables SET debug=true# if true, RunExeSvc will show internal status SET home=%ORION_HOME% # the starting dir of the service REM # Running as an http server. REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) %exe% -jar orion.jar But it does not work: C:\orion>REM ### C:\orion>REM # This script runs OrionServer as a service C:\orion>REM # C:\orion>SET JAVA_HOME=c:\jdk1.3 C:\orion>SET ORION_HOME=c:\orion C:\orion>REM # set up java run-time stuff C:\orion>SET exe=c:\jdk1.3\jre\bin\hotspot\jvmi.exe C:\orion>REM # RunExeSvc variables C:\orion>SET debug=true# if true, RunExeSvc will show internal status C:\orion>SET home=c:\orion # the starting dir of the service C:\orion>REM # Running as an http server. C:\orion>REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) C:\orion>c:\jdk1.3\jre\bin\hotspot\jvmi.exe -jar orion.jar jvmi.exe 1.1 - (C)2000 by Bill Giel/KCMDG Java 1.3 VM Invoker (which traps LOGOFF events) ** * Evaluation Version - for licensing information * * contact [EMAIL PROTECTED] * ** Cannot find main class. Any ideas? (Maybe the problem is trivial...) Thank you in advance, Adam
RE: Orion as a Win2000 service ?
In our production environment (win2000), we are using JNT to run Orion as a service: http://www.eworksmart.com/jnt/ Works great. One bug is when you issue a stop command, the stop dialog hangs halfway through, but the service is stopped. Can't beat the price, free!!! -Original Message- From: Toth [@HOTMAIL], Adam (E-mail) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 8:19 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service ? In the archive I've found the following: >From:Larry Velez <[EMAIL PROTECTED]> >Subject: Orion as a Win2000 service > >I am running Orion as a service using the following RunSvcExe script: > >Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because >of a bug (or feature) in Win32 Java that does not allow you to log out of >the machine while Orion is running. This defeats the whole purpose of >running Orion as a service. > >### ># This script runs OrionServer as a service ># > >JAVA_HOME=d:\jre\1.3 >ORION_HOME=d:\orion > ># set up java run-time stuff >exe=$JAVA_HOME$\bin\hotspot\jvmi.exe > ># RunExeSvc variables > >debug=false# if true, RunExeSvc will show internal status >home=$ORION_HOME$ # the starting dir of the service > ># Running as an http server. >cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) >## My question is that how can it work? It seems that JVMI does not support .JAR files(?). I've created a .Cmd file (not sure about those scripts, but should do the same): REM ### REM # This script runs OrionServer as a service REM # SET JAVA_HOME=c:\jdk1.3 SET ORION_HOME=c:\orion REM # set up java run-time stuff SET exe=%JAVA_HOME%\jre\bin\hotspot\jvmi.exe REM # RunExeSvc variables SET debug=true# if true, RunExeSvc will show internal status SET home=%ORION_HOME% # the starting dir of the service REM # Running as an http server. REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) %exe% -jar orion.jar But it does not work: C:\orion>REM ### C:\orion>REM # This script runs OrionServer as a service C:\orion>REM # C:\orion>SET JAVA_HOME=c:\jdk1.3 C:\orion>SET ORION_HOME=c:\orion C:\orion>REM # set up java run-time stuff C:\orion>SET exe=c:\jdk1.3\jre\bin\hotspot\jvmi.exe C:\orion>REM # RunExeSvc variables C:\orion>SET debug=true# if true, RunExeSvc will show internal status C:\orion>SET home=c:\orion # the starting dir of the service C:\orion>REM # Running as an http server. C:\orion>REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) C:\orion>c:\jdk1.3\jre\bin\hotspot\jvmi.exe -jar orion.jar jvmi.exe 1.1 - (C)2000 by Bill Giel/KCMDG Java 1.3 VM Invoker (which traps LOGOFF events) ** * Evaluation Version - for licensing information * * contact [EMAIL PROTECTED] * ** Cannot find main class. Any ideas? (Maybe the problem is trivial...) Thank you in advance, Adam
RE: Orion as a Win2000 service ?
I have to reply to my own question, since I got a quick response from the author of JVMI. The solution is to put orion.jar to classpath and invoke the main class: c:\jdk1.3\jre\bin\hotspot\jvmi.exe -cp orion.jar com.evermind.server.ApplicationServer It's seems to be working. Sorry if it was obvious, Adam
RE: Orion as a Win2000 service ?
In the archive I've found the following: >From:Larry Velez <[EMAIL PROTECTED]> >Subject: Orion as a Win2000 service > >I am running Orion as a service using the following RunSvcExe script: > >Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because >of a bug (or feature) in Win32 Java that does not allow you to log out of >the machine while Orion is running. This defeats the whole purpose of >running Orion as a service. > >### ># This script runs OrionServer as a service ># > >JAVA_HOME=d:\jre\1.3 >ORION_HOME=d:\orion > ># set up java run-time stuff >exe=$JAVA_HOME$\bin\hotspot\jvmi.exe > ># RunExeSvc variables > >debug=false# if true, RunExeSvc will show internal status >home=$ORION_HOME$ # the starting dir of the service > ># Running as an http server. >cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) >## My question is that how can it work? It seems that JVMI does not support .JAR files(?). I've created a .Cmd file (not sure about those scripts, but should do the same): REM ### REM # This script runs OrionServer as a service REM # SET JAVA_HOME=c:\jdk1.3 SET ORION_HOME=c:\orion REM # set up java run-time stuff SET exe=%JAVA_HOME%\jre\bin\hotspot\jvmi.exe REM # RunExeSvc variables SET debug=true# if true, RunExeSvc will show internal status SET home=%ORION_HOME% # the starting dir of the service REM # Running as an http server. REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) %exe% -jar orion.jar But it does not work: C:\orion>REM ### C:\orion>REM # This script runs OrionServer as a service C:\orion>REM # C:\orion>SET JAVA_HOME=c:\jdk1.3 C:\orion>SET ORION_HOME=c:\orion C:\orion>REM # set up java run-time stuff C:\orion>SET exe=c:\jdk1.3\jre\bin\hotspot\jvmi.exe C:\orion>REM # RunExeSvc variables C:\orion>SET debug=true# if true, RunExeSvc will show internal status C:\orion>SET home=c:\orion # the starting dir of the service C:\orion>REM # Running as an http server. C:\orion>REM cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) C:\orion>c:\jdk1.3\jre\bin\hotspot\jvmi.exe -jar orion.jar jvmi.exe 1.1 - (C)2000 by Bill Giel/KCMDG Java 1.3 VM Invoker (which traps LOGOFF events) ** * Evaluation Version - for licensing information * * contact [EMAIL PROTECTED] * ** Cannot find main class. Any ideas? (Maybe the problem is trivial...) Thank you in advance, Adam
RE: Orion as a Win2000 service
Have you tried this: Right click the service and bring up the properties dialog. On the second tab, check the box "Interact with Desktop". When you start the service, the app should start in a command prompt window. The only issue with this is that the command prompt window will not show if you are accessing the box with Microsoft's terminal services (which I may add is very buggy!). Regards, Tom Pridham -Original Message- From: Kevin Duffey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 8:38 AM To: Orion-Interest Subject: RE: Orion as a Win2000 service It's a good program with the exception of shutting down the service. For some reason, it doesn't ever shut down (the service) so you have to manually stop the service, then restart it (which does work). There may be a newer version than what I have. My only other complaint is that it always uses javaw and doesn't allow you to specify java to see a console window for output, which I then have to specify the output file to Orion and constantly open to see any output. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, January 16, 2001 12:51 AM > To: Orion-Interest > Subject: SV: Orion as a Win2000 service > > > Search the list for JNt, dont remember but some ppl, posted a > howto for this > program, even works when you log off the box ;) > > Klaus > > -Opprinnelig melding- > Fra: Thomas Pridham [mailto:[EMAIL PROTECTED]] > Sendt: 15. januar 2001 17:59 > Til: Orion-Interest > Emne: Orion as a Win2000 service > > > Is anyone running Orion as a Windows 2000 service. I tried to setup the > service as recommended by www.orionsupport.com but the application > (RunExecSvc) just dies everytime we try to run it. Is there > another way to > do this? Any help would be greatly appreciated. > > Thanks, > Tom Pridham > Software Engineer > Computer Management Consultants > 6951 Pistol Range Road > Tampa, FL 33536 > 813-935-7332 ext. 165 > 813-854-4538 - Fax > http://www.cmctpa.com > http://www.oakscape.com >
RE: Orion as a Win2000 service
Make sure that you aren't writing anything to the console from your app if you want to run as a service. Hope that helps, Amir -Original Message- From: Thomas Pridham [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 10:59 AM To: Orion-Interest Subject: Orion as a Win2000 service Is anyone running Orion as a Windows 2000 service. I tried to setup the service as recommended by www.orionsupport.com but the application (RunExecSvc) just dies everytime we try to run it. Is there another way to do this? Any help would be greatly appreciated. Thanks, Tom Pridham Software Engineer Computer Management Consultants 6951 Pistol Range Road Tampa, FL 33536 813-935-7332 ext. 165 813-854-4538 - Fax http://www.cmctpa.com http://www.oakscape.com
RE: Orion as a Win2000 service
It's a good program with the exception of shutting down the service. For some reason, it doesn't ever shut down (the service) so you have to manually stop the service, then restart it (which does work). There may be a newer version than what I have. My only other complaint is that it always uses javaw and doesn't allow you to specify java to see a console window for output, which I then have to specify the output file to Orion and constantly open to see any output. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, January 16, 2001 12:51 AM > To: Orion-Interest > Subject: SV: Orion as a Win2000 service > > > Search the list for JNt, dont remember but some ppl, posted a > howto for this > program, even works when you log off the box ;) > > Klaus > > -Opprinnelig melding- > Fra: Thomas Pridham [mailto:[EMAIL PROTECTED]] > Sendt: 15. januar 2001 17:59 > Til: Orion-Interest > Emne: Orion as a Win2000 service > > > Is anyone running Orion as a Windows 2000 service. I tried to setup the > service as recommended by www.orionsupport.com but the application > (RunExecSvc) just dies everytime we try to run it. Is there > another way to > do this? Any help would be greatly appreciated. > > Thanks, > Tom Pridham > Software Engineer > Computer Management Consultants > 6951 Pistol Range Road > Tampa, FL 33536 > 813-935-7332 ext. 165 > 813-854-4538 - Fax > http://www.cmctpa.com > http://www.oakscape.com >
RE: Orion as a Win2000 service
I have had great success using JNT from http://www.eworksmart.com/jnt to install, simply go to the directory where you install JNT and issue the command (replacing drive letters and orion paths, of course): D:\jnt "/InstallAsService: Orion" "/SD" -jar D:\\orion.jar The only problem I have encountered is that it does not shut down cleanly, because I don't know what the shutdown.method property should be set to to shut it down, if anyone out there does know I'd love to hear... Works like charm otherwise though. Cheers Mac Ferguson -Original Message- From: Thomas Pridham To: Orion-Interest Sent: 1/15/01 11:58 AM Subject: Orion as a Win2000 service Is anyone running Orion as a Windows 2000 service. I tried to setup the service as recommended by www.orionsupport.com but the application (RunExecSvc) just dies everytime we try to run it. Is there another way to do this? Any help would be greatly appreciated. Thanks, Tom Pridham Software Engineer Computer Management Consultants 6951 Pistol Range Road Tampa, FL 33536 813-935-7332 ext. 165 813-854-4538 - Fax http://www.cmctpa.com http://www.oakscape.com
RE: Orion as a Win2000 service
Title: RE: Orion as a Win2000 service I am running Orion as a service using the following RunSvcExe script: Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because of a bug (or feature) in Win32 Java that does not allow you to log out of the machine while Orion is running. This defeats the whole purpose of running Orion as a service. ### # This script runs OrionServer as a service # JAVA_HOME=d:\jre\1.3 ORION_HOME=d:\orion # set up java run-time stuff exe=$JAVA_HOME$\bin\hotspot\jvmi.exe # RunExeSvc variables debug=false # if true, RunExeSvc will show internal status home=$ORION_HOME$ # the starting dir of the service # Running as an http server. cmdline=$exe$ (YOUR ORION COMMAND LINE HERE) ## Larry http://alltrue.com -Original Message- From: Thomas Pridham [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 11:59 AM To: Orion-Interest Subject: Orion as a Win2000 service Is anyone running Orion as a Windows 2000 service. I tried to setup the service as recommended by www.orionsupport.com but the application (RunExecSvc) just dies everytime we try to run it. Is there another way to do this? Any help would be greatly appreciated. Thanks, Tom Pridham Software Engineer Computer Management Consultants 6951 Pistol Range Road Tampa, FL 33536 813-935-7332 ext. 165 813-854-4538 - Fax http://www.cmctpa.com http://www.oakscape.com