how 2 start tomcat from ms-dos command prompt without creating a new window ?

2003-07-24 Thread Me myself
i have an question about how to start the tomcat servlet container as
an windows-process from the ms-dos command prompt without getting a new
cmd-window.
Its that when i start my java server with STARTUP it makes a new
command window and starts the new process in this
new window.
i know what in unix one can write nohup before calling the startscript
too not to kill the process if u close ur telnet window,
there has to be a way 2 do this, i hope u understand my question,
thanx
_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og 
dine venner

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: how 2 start tomcat from ms-dos command prompt without creating a new window?

2003-07-24 Thread Me myself
Yes, but, would tomcat then start with the windows startup ?

and every time i take down the server for a new deployment, would i then 
need to restart windows all over again for tomcat to start ? That ain't a 
very good solution, is there not any other way i can do this ?

Thanx for ur response.



From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: how 2 start tomcat from ms-dos command prompt without creating 
a new window ?
Date: Thu, 24 Jul 2003 15:26:42 -0400

Install Tomcat as a service.

John

Me myself wrote:

i have an question about how to start the tomcat servlet container as
an windows-process from the ms-dos command prompt without getting a new
cmd-window.
Its that when i start my java server with STARTUP it makes a new
command window and starts the new process in this
new window.
i know what in unix one can write nohup before calling the startscript
too not to kill the process if u close ur telnet window,
there has to be a way 2 do this, i hope u understand my question,
thanx
_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg 
og dine venner

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Hotmail snakker ditt språk! 
http://www.hotmail.msn.com/cgi-bin/sbox?rru=dasp/lang.asp - Få Hotmail på 
norsk i dag

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: how 2 start tomcat from ms-dos command prompt without creating a new window ?

2003-07-24 Thread Mike Curwen

 -Original Message-
 From: Me myself [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, July 24, 2003 2:32 PM
 To: [EMAIL PROTECTED]
 Subject: Re: how 2 start tomcat from ms-dos command prompt 
 without creating a new window ?
 
 
 
 Yes, but, would tomcat then start with the windows startup ?
 

Yes, that's the whole point of a Windows Service. You can also set it to
start Manually.

 and every time i take down the server for a new deployment, 
 would i then 
 need to restart windows all over again for tomcat to start ? 

No, you just restart the service. This is all in the Services control
panel app.


 That ain't a 
 very good solution, is there not any other way i can do this ?

You could also just open a command window (or write a batch script) that
says catalina.bat run


 
 Thanx for ur response.
 
 
 
 From: John Turner [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: how 2 start tomcat from ms-dos command prompt without 
 creating
 a new window ?
 Date: Thu, 24 Jul 2003 15:26:42 -0400
 
 
 Install Tomcat as a service.
 
 John
 
 Me myself wrote:
 
 
 i have an question about how to start the tomcat servlet 
 container as 
 an windows-process from the ms-dos command prompt without getting a 
 new cmd-window.
 
 Its that when i start my java server with STARTUP it makes a new 
 command window and starts the new process in this new window.
 
 i know what in unix one can write nohup before calling the 
 startscript 
 too not to kill the process if u close ur telnet window, 
 there has to 
 be a way 2 do this, i hope u understand my question, thanx
 
 _
 MSN Messenger http://www.msn.no/messenger - Den korteste 
 veien mellom 
 deg
 og dine venner
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 _
 Hotmail snakker ditt språk! 
 http://www.hotmail.msn.com/cgi-bin/sbox?rru=dasp/lang.asp - 
 Få Hotmail på 
 norsk i dag
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how 2 start tomcat from ms-dos command prompt without creating a new window ?

2003-07-24 Thread Munteanu Gabriel
There is another solution that I use:
in my startup.bat i have a line like this:
call %EXECUTABLE% start %CMD_LINE_ARGS%
and I changed it in:
call %EXECUTABLE% run %CMD_LINE_ARGS%

and now it doesn't make another window, it remains in the one that starts
the process.

I hope it helps.

Gabi
P.S. this tip is in catalina.sh - try to read its command arguments.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how 2 start tomcat from ms-dos command prompt without creating a new window ?

2003-07-24 Thread Simon Pabst
try the dos start command:
start tomcat\bin\startup.bat
(start /? for help)
At 19:17 24.07.2003 +, you wrote:

i have an question about how to start the tomcat servlet container as
an windows-process from the ms-dos command prompt without getting a new
cmd-window.
Its that when i start my java server with STARTUP it makes a new
command window and starts the new process in this
new window.
i know what in unix one can write nohup before calling the startscript
too not to kill the process if u close ur telnet window,
there has to be a way 2 do this, i hope u understand my question,
thanx
_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg 
og dine venner

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]