RE: How can I start Orion Server as a service in Windows NT/2000 ?

2001-11-14 Thread SAURUGGER,PETER (A-PaloAlto,ex2)



Most 
likely you have not shut down another HTTP server which is listening on the same 
port (probably IIS). Either disable the other service, or use the Orion HTTP 
server on a different port. 

  -Original Message-From: Vu Le Hung 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 13, 2001 
  7:00 PMTo: Orion-InterestSubject: Re: How can I start 
  Orion Server as a service in Windows NT/2000 ?
  Dear all,
  I tried many ways as some of you 
  proposed
   1. Use JNT
   2. Use JVMI2 
   3. Use RunExecSvc
  What I got is that I hadOrion service added 
  to my system (as a Automatic service) but 
   - This service does not start 
  automatically when my computer boots up.
   - Even after I start it by 
  hand successfully, the Http Server doesn'tstart 
  withtheOrion service. (i.e. I can't 
  get to my home page installed in my computer by typing my IP address in 
  IE)
  
  
  Any one know why ??? Please give me an idea. 
  Thanks.
  
  By the way, my system configuration is 
  :
   + PIII 667MHz 128MB 
  RAM
   + Win2000 Advanced 
  Server
   + JDK1.3
   + Orion 1.4.5 demo 
  version.
  My website work fine when I start 
  Orionmanually. 
  
  
  
  
  
 
   
  Yours,

  
  
  
  
  
Vu Le Hung 
  
  
  
  
  
  
  
   
  
  
  - Original Message - 
  
From: 
Justin 
Crosbie 
To: Orion-Interest 
Sent: Monday, November 12, 2001 4:49 
PM
Subject: RE: How can I start Orion 
Server as a service in Windows NT/2000 ?

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:38To: Orion-InterestSubject: 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" 
  inthe list of all available services 
  in my computer. But this service can not be start.
  Any idea ??? Thanks in advance.
   
  Vu Le Hung
  
   
  
  
   
  


RE: How can I start Orion Server as a service in Windows NT/2000 ?

2001-11-13 Thread Antonio Vazquez



Hi 
Justin,
that 
works fine to start orion as a service, but if you want to stop it through 
services panel, it doesn't works.

Are 
there any method to stop it through services panel?

Regards 
Antonio

  -Mensaje original-De: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]En nombre de Justin 
  CrosbieEnviado el: lunes, 12 de noviembre de 2001 
  10:49Para: Orion-InterestAsunto: RE: How can I start 
  Orion Server as a service in Windows NT/2000 ?
  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:38To: Orion-InterestSubject: 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" 
inthe list of all available services in 
my computer. But this service can not be start.
Any idea ??? Thanks in advance.
 
Vu Le Hung

 


 



Re: How can I start Orion Server as a service in Windows NT/2000 ?

2001-11-13 Thread Vu Le Hung



Dear all,
I tried many ways as some of you 
proposed
 1. Use JNT
 2. Use JVMI2 
 3. Use RunExecSvc
What I got is that I hadOrion service added 
to my system (as a Automatic service) but 
 - This service does not start 
automatically when my computer boots up.
 - Even after I start it by hand 
successfully, the Http Server doesn'tstart withtheOrion service. (i.e. I can't get to my home page 
installed in my computer by typing my IP address in IE)


Any one know why ??? Please give me an idea. 
Thanks.

By the way, my system configuration is 
:
 + PIII 667MHz 128MB 
RAM
 + Win2000 Advanced 
Server
 + JDK1.3
 + Orion 1.4.5 demo 
version.
My website work fine when I start 
Orionmanually. 





   
 
Yours,
  





  Vu Le Hung 







 


- Original Message - 

  From: 
  Justin 
  Crosbie 
  To: Orion-Interest 
  Sent: Monday, November 12, 2001 4:49 
  PM
  Subject: RE: How can I start Orion Server 
  as a service in Windows NT/2000 ?
  
  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:38To: Orion-InterestSubject: 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" 
inthe list of all available services in 
my computer. But this service can not be start.
Any idea ??? Thanks in advance.
 
Vu Le Hung

 


 



RE: How can I start Orion Server as a service in Windows NT/2000 ?

2001-11-12 Thread Mike Cannon-Brookes

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









Ad: How can I start Orion Server as a service in Windows NT/2000 ?

2001-11-12 Thread tore-velle . nilsen


Download JVMI2 from this site :  http://www.kcmultimedia.com/jvmi/

Copy the jvmi-folder  to the hotspot directory of the installed JRE
Set an environment variable (PATH) to point to the bin-folder: e.g. C:
\jdk1.3.1_01\jre\bin\hotspot\jvmi2\bin
detatch the service-description file (runAsService.xml) to Orion directory,
edit the file
Start a command editor, set current directory to Orion (C:\orion)
test the application from command line by typing: jvmi2 -cp c:
\orion\orion.jar com.evermind.server.ApplicationServer

To install Orion as a service
 jvmi2 -f runAsService.xml

To remove Orion service:
from the Orion directory, run : jvmi -r orion (orion is the service-name
from the xml install description)

(See attached file: runAsService.xml)

-- Tore Velle o)
[EMAIL PROTECTED]
Phone: +4790911252



runAsService.xml
Description: Binary data


RE: How can I start Orion Server as a service in Windows NT/2000 ?

2001-11-12 Thread Justin Crosbie



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:38To: Orion-InterestSubject: 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" 
  inthe list of all available services in 
  my computer. But this service can not be start.
  Any idea ??? Thanks in advance.
   
  Vu Le Hung
  
   
  
  
   



How can I start Orion Server as a service in Windows NT/2000 ?

2001-11-11 Thread Vu Le Hung



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" 
inthe list of all available services in my 
computer. But this service can not be start.
Any idea ??? Thanks in advance.
 
Vu Le Hung