Re: AW: Maybe a stupid (Windows related) question

2022-03-24 Thread Rony G. Flatscher (Apache)
Hi Konstantin, On 23.03.2022 23:29, Konstantin Kolinko wrote: > ср, 23 мар. 2022 г. в 14:12, Rony G. Flatscher (Apache) : >> skip... >> >> startup.bat uses start to run catalina.bat in a new cmd window with: >> >> call "%EXECUTABLE%" start %CMD_LINE_ARGS% >> >> catalina.bat then starts Tomcat

Re: AW: Maybe a stupid (Windows related) question

2022-03-23 Thread Konstantin Kolinko
ср, 23 мар. 2022 г. в 14:12, Rony G. Flatscher (Apache) : > > skip... > > startup.bat uses start to run catalina.bat in a new cmd window with: > > call "%EXECUTABLE%" start %CMD_LINE_ARGS% > > catalina.bat then starts Tomcat as: > > %_EXECJAVA% %CATALINA_LOGGING_CONFIG% %LOGGING_MANAGER%

Re: AW: Maybe a stupid (Windows related) question

2022-03-23 Thread Rony G. Flatscher (Apache)
inal. > > Try "1>D:\orx.debug\work_rii_tomcat\test.log 2>&1" Thank you, this does not change the behaviour. ---rony > > > -Original Message- > From: Rony G. Flatscher (Apache) > Sent: Wednesday, March 23, 2022 6:12 AM > To: users@tomca

RE: AW: Maybe a stupid (Windows related) question

2022-03-23 Thread EXT-Denton, Sam T
>&1" -Original Message- From: Rony G. Flatscher (Apache) Sent: Wednesday, March 23, 2022 6:12 AM To: users@tomcat.apache.org Subject: Re: AW: Maybe a stupid (Windows related) question On 23.03.2022 11:45, Thomas Hoffmann (Speed4Trade GmbH) wrote: >> -Ursprüng

Re: Maybe a stupid (Windows related) question

2022-03-23 Thread Rony G. Flatscher (Apache)
On 23.03.2022 13:22, Mark Thomas wrote: > On 23/03/2022 10:34, Rony G. Flatscher (Apache) wrote: >> The use case is testing Tomcat 10 in various ways, including running it in >> debug mode and attaching >> via IntelliJ for inspection. > > You can still do this when Tomcat is running as a service.

Re: Maybe a stupid (Windows related) question

2022-03-23 Thread Mark Thomas
On 23/03/2022 10:34, Rony G. Flatscher (Apache) wrote: The use case is testing Tomcat 10 in various ways, including running it in debug mode and attaching via IntelliJ for inspection. You can still do this when Tomcat is running as a service. Just set the appropriate properties. Mark

Re: Maybe a stupid (Windows related) question

2022-03-23 Thread Rony G. Flatscher (Apache)
On 23.03.2022 12:11, Rony G. Flatscher (Apache) wrote: > On 23.03.2022 11:51, Konstantin Kolinko wrote: >> вт, 22 мар. 2022 г. в 20:21, Rony G. Flatscher (Apache) : >>> For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and >>> start it up using >>>

Re: AW: Maybe a stupid (Windows related) question

2022-03-23 Thread Rony G. Flatscher (Apache)
On 23.03.2022 11:45, Thomas Hoffmann (Speed4Trade GmbH) wrote: >> -Ursprüngliche Nachricht- >> Von: Rony G. Flatscher (Apache) >> Gesendet: Mittwoch, 23. März 2022 11:34 >> An: users@tomcat.apache.org >> Betreff: Re: Maybe a stupid (Windows related) ques

Re: Maybe a stupid (Windows related) question

2022-03-23 Thread Rony G. Flatscher (Apache)
On 23.03.2022 11:51, Konstantin Kolinko wrote: > вт, 22 мар. 2022 г. в 20:21, Rony G. Flatscher (Apache) : >> For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and >> start it up using >> %CATALINA_HOME%\bin\startup.bat. >> >> >> >> Probably I have been doing something wrong

Re: Maybe a stupid (Windows related) question

2022-03-23 Thread Konstantin Kolinko
вт, 22 мар. 2022 г. в 20:21, Rony G. Flatscher (Apache) : > > For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and > start it up using > %CATALINA_HOME%\bin\startup.bat. > > > > Probably I have been doing something wrong in the past hours and not seeing > the forest for the

AW: Maybe a stupid (Windows related) question

2022-03-23 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Rony G. Flatscher (Apache) > Gesendet: Mittwoch, 23. März 2022 11:34 > An: users@tomcat.apache.org > Betreff: Re: Maybe a stupid (Windows related) question > > On 22.03.2022 20:18, Christopher Schultz wrote: > > ... cut

Re: Maybe a stupid (Windows related) question

2022-03-23 Thread Rony G. Flatscher (Apache)
On 22.03.2022 20:18, Christopher Schultz wrote: ... cut ... > You still can't really "background" the process the way you can on *nix. > Sure, you can get your > command-prompt back, but if you kill cmd.exe, so does your child process die. > And if you log out, > that process dies as well.

Re: Maybe a stupid (Windows related) question

2022-03-22 Thread Christopher Schultz
All, On 3/22/22 15:12, Christopher Schultz wrote: Rony, On 3/22/22 13:21, Rony G. Flatscher (Apache) wrote: For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and start it up using %CATALINA_HOME%\bin\startup.bat. This will create by default a separate process (terminal,

Re: Maybe a stupid (Windows related) question

2022-03-22 Thread Christopher Schultz
Rony, On 3/22/22 13:21, Rony G. Flatscher (Apache) wrote: For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and start it up using %CATALINA_HOME%\bin\startup.bat. This will create by default a separate process (terminal, commandline window) in which Tomcat runs and

RE: Maybe a stupid (Windows related) question

2022-03-22 Thread jonmcalexander
> -Original Message- > From: Rony G. Flatscher (Apache) > Sent: Tuesday, March 22, 2022 12:21 PM > To: users@tomcat.apache.org > Subject: Maybe a stupid (Windows related) question > > For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 an

Re: Maybe a stupid (Windows related) question

2022-03-22 Thread Noelette Stout
maybe redirect stderr to stdout then redirect to the log: startup.bat 2>&1 1>yourFile.log I believe that kind of redirection works in Windows as well as Linux (but it's been a while since I had to do that sort of thing in Windows, so I may be mistaken) On Tue, Mar 22, 2022 at 11:26 AM Rob

Re: Maybe a stupid (Windows related) question

2022-03-22 Thread Rob Sargent
On 3/22/22 11:21, Rony G. Flatscher (Apache) wrote: For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and start it up using %CATALINA_HOME%\bin\startup.bat. This will create by default a separate process (terminal, commandline window) in which Tomcat runs and dispatches

Maybe a stupid (Windows related) question

2022-03-22 Thread Rony G. Flatscher (Apache)
For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and start it up using %CATALINA_HOME%\bin\startup.bat. This will create by default a separate process (terminal, commandline window) in which Tomcat runs and dispatches all output including stdout and stderr output into that