RE: Can service output be redirected to the terminal window?

2009-12-09 Thread George Sexton
 -Original Message-
 From: Vadim Letitchevski [mailto:vletitchev...@teledyne.com]
 Sent: Friday, December 04, 2009 4:49 PM
 To: Tomcat Users List
 Subject: RE: Can service output be redirected to the terminal window?
 
  I am working under Linux actually.

Open a new window and change to the log directory. Type the command:

tail --follow=name file name


Now any time additional data is added to file name it will be echoed on
that terminal.

 
 
 Thanks
 Vadim.
 
 -Original Message-
 From: André Warnier [mailto:a...@ice-sa.com]
 Sent: Friday, December 04, 2009 3:46 PM
 To: Tomcat Users List
 Subject: Re: Can service output be redirected to the terminal window?
 
 Vadim Letitchevski wrote:
 
  I am new to Tomcat.
  1. I have several services written under axis2. I deployed them
 statically into Tomcat but don't seem to be able to list those
 services.
  2. I have noticed that startup.bat  (under Windows) starts the
 separate terminal for the service output in oppose to startup.sh (in
 Unix).
  Is there way to direct my service output into the separate terminal
 window? I was using the apache axis2 server until now, but have to
 switch to Tomcat because I do not know how to make apache server to use
 SSL (how to configure it?) My service uses println output, it is a test
 utility and I want to keep it simple even if it is not most beautiful
 or optimal solution.
 
 Vadim, I cannot really answer your question; but it is not very clear
 here if your question relates to Tomcat under Windows, or under Unix.
 Maybe this is due to the fact that the word service under Windows can
 be confusing.
 Under Windows, startup.bat is used to run Tomcat in a console window,
 not as a Windows Service. Running Tomcat as a Windows Service
 happens through another mechanism, which does not use startup.bat.


George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Can service output be redirected to the terminal window?

2009-12-07 Thread Vadim Letitchevski
 
Hi Andre.

I am using CentOS 5.
The binary distribution of Tomcat 6.0.20 is downloaded from Tomcat website.

Thanks 
Vadim. 


-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Saturday, December 05, 2009 4:08 AM
To: Tomcat Users List
Subject: Re: Can service output be redirected to the terminal window?

Vadim Letitchevski wrote:
  I am working under Linux actually.

Ok, then what kind of Linux ?
Also, tell us the version of Tomcat you are talking about, and whether you 
installed it from the pre-packaged version offered by your Linux version, or 
directly from the Tomcat website.
It matters, so that we know which startup scripts may be involved.

If you installed it from a package from your Linux distribution, then look into 
the startup script in /etc/init.d/tomcat...
Usually, that is where redirections of STDOUT happen.

 
 
 Thanks
 Vadim. 
 
 -Original Message-
 From: André Warnier [mailto:a...@ice-sa.com]
 Sent: Friday, December 04, 2009 3:46 PM
 To: Tomcat Users List
 Subject: Re: Can service output be redirected to the terminal window?
 
 Vadim Letitchevski wrote:
  
 I am new to Tomcat.
 1. I have several services written under axis2. I deployed them statically 
 into Tomcat but don't seem to be able to list those services.
 2. I have noticed that startup.bat  (under Windows) starts the separate 
 terminal for the service output in oppose to startup.sh (in Unix).
 Is there way to direct my service output into the separate terminal window? 
 I was using the apache axis2 server until now, but have to switch to Tomcat 
 because I do not know how to make apache server to use SSL (how to configure 
 it?) My service uses println output, it is a test utility and I want to keep 
 it simple even if it is not most beautiful or optimal solution.

 Vadim, I cannot really answer your question; but it is not very clear here if 
 your question relates to Tomcat under Windows, or under Unix.
 Maybe this is due to the fact that the word service under Windows can be 
 confusing.
 Under Windows, startup.bat is used to run Tomcat in a console window, not as 
 a Windows Service. Running Tomcat as a Windows Service 
 happens through another mechanism, which does not use startup.bat.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Can service output be redirected to the terminal window?

2009-12-05 Thread André Warnier

Vadim Letitchevski wrote:

 I am working under Linux actually.


Ok, then what kind of Linux ?
Also, tell us the version of Tomcat you are talking about, and whether 
you installed it from the pre-packaged version offered by your Linux 
version, or directly from the Tomcat website.

It matters, so that we know which startup scripts may be involved.

If you installed it from a package from your Linux distribution, then 
look into the startup script in /etc/init.d/tomcat...

Usually, that is where redirections of STDOUT happen.




Thanks 
Vadim. 


-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Friday, December 04, 2009 3:46 PM

To: Tomcat Users List
Subject: Re: Can service output be redirected to the terminal window?

Vadim Letitchevski wrote:
 
I am new to Tomcat.

1. I have several services written under axis2. I deployed them statically into 
Tomcat but don't seem to be able to list those services.
2. I have noticed that startup.bat  (under Windows) starts the separate 
terminal for the service output in oppose to startup.sh (in Unix).
Is there way to direct my service output into the separate terminal window? I 
was using the apache axis2 server until now, but have to switch to Tomcat 
because I do not know how to make apache server to use SSL (how to configure 
it?) My service uses println output, it is a test utility and I want to keep it 
simple even if it is not most beautiful or optimal solution.


Vadim, I cannot really answer your question; but it is not very clear here if 
your question relates to Tomcat under Windows, or under Unix.
Maybe this is due to the fact that the word service under Windows can be 
confusing.
Under Windows, startup.bat is used to run Tomcat in a console window, not as a Windows Service. Running Tomcat as a Windows Service 
happens through another mechanism, which does not use startup.bat.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Can service output be redirected to the terminal window?

2009-12-05 Thread Pid

On 05/12/2009 12:08, André Warnier wrote:

Vadim Letitchevski wrote:

I am working under Linux actually.


Ok, then what kind of Linux ?
Also, tell us the version of Tomcat you are talking about, and whether
you installed it from the pre-packaged version offered by your Linux
version, or directly from the Tomcat website.
It matters, so that we know which startup scripts may be involved.

If you installed it from a package from your Linux distribution, then
look into the startup script in /etc/init.d/tomcat...
Usually, that is where redirections of STDOUT happen.


Lots of questions from the OP.

It would have helped if he'd specified the exact Tomcat, Java and OS 
versions to start with.  Hint hint.


1. Listing services - please explain what you mean by this.  Where do 
you want to list them?  Are they actually deployed  working as expected?


2. On linux the standard output log file for an Apache.org original 
Tomcat is in tomcat/logs/catalina.out.  If you've got a repackaged 
version from your linux distro, anyone's guess where it is; see André's 
comment above.


3. SSL.  Read the docs, unless you posted this in a separate thread.

4. System.out.println is SLOW.  Try log4j instead it is really simple to 
implement.  It is worth the effort to start out doing things properly, 
you invariably save time later.



p



Thanks Vadim.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, December 04,
2009 3:46 PM
To: Tomcat Users List
Subject: Re: Can service output be redirected to the terminal window?

Vadim Letitchevski wrote:


I am new to Tomcat.
1. I have several services written under axis2. I deployed them
statically into Tomcat but don't seem to be able to list those services.
2. I have noticed that startup.bat (under Windows) starts the
separate terminal for the service output in oppose to startup.sh (in
Unix).
Is there way to direct my service output into the separate terminal
window? I was using the apache axis2 server until now, but have to
switch to Tomcat because I do not know how to make apache server to
use SSL (how to configure it?) My service uses println output, it is
a test utility and I want to keep it simple even if it is not most
beautiful or optimal solution.


Vadim, I cannot really answer your question; but it is not very clear
here if your question relates to Tomcat under Windows, or under Unix.
Maybe this is due to the fact that the word service under Windows
can be confusing.
Under Windows, startup.bat is used to run Tomcat in a console window,
not as a Windows Service. Running Tomcat as a Windows Service
happens through another mechanism, which does not use startup.bat.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Can service output be redirected to the terminal window?

2009-12-04 Thread André Warnier

Vadim Letitchevski wrote:
 
I am new to Tomcat.

1. I have several services written under axis2. I deployed them statically into 
Tomcat but don't seem to be able to list those services.
2. I have noticed that startup.bat  (under Windows) starts the separate 
terminal for the service output in oppose to startup.sh (in Unix).
Is there way to direct my service output into the separate terminal window? I 
was using the apache axis2 server until now, but have to switch to Tomcat 
because I do not know how to make apache server to use SSL (how to configure 
it?) My service uses println output, it is a test utility and I want to keep it 
simple even if it is not most beautiful or optimal solution.

Vadim, I cannot really answer your question; but it is not very clear 
here if your question relates to Tomcat under Windows, or under Unix.
Maybe this is due to the fact that the word service under Windows can 
be confusing.
Under Windows, startup.bat is used to run Tomcat in a console window, 
not as a Windows Service. Running Tomcat as a Windows Service 
happens through another mechanism, which does not use startup.bat.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Can service output be redirected to the terminal window?

2009-12-04 Thread Vadim Letitchevski
 I am working under Linux actually.


Thanks 
Vadim. 

-Original Message-
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Friday, December 04, 2009 3:46 PM
To: Tomcat Users List
Subject: Re: Can service output be redirected to the terminal window?

Vadim Letitchevski wrote:
  
 I am new to Tomcat.
 1. I have several services written under axis2. I deployed them statically 
 into Tomcat but don't seem to be able to list those services.
 2. I have noticed that startup.bat  (under Windows) starts the separate 
 terminal for the service output in oppose to startup.sh (in Unix).
 Is there way to direct my service output into the separate terminal window? I 
 was using the apache axis2 server until now, but have to switch to Tomcat 
 because I do not know how to make apache server to use SSL (how to configure 
 it?) My service uses println output, it is a test utility and I want to keep 
 it simple even if it is not most beautiful or optimal solution.
 
Vadim, I cannot really answer your question; but it is not very clear here if 
your question relates to Tomcat under Windows, or under Unix.
Maybe this is due to the fact that the word service under Windows can be 
confusing.
Under Windows, startup.bat is used to run Tomcat in a console window, not as a 
Windows Service. Running Tomcat as a Windows Service 
happens through another mechanism, which does not use startup.bat.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org