I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28.
That servlet has a
System.out.println(userAgent ** : +userAgent); command. On my PC i
found the result of
the same command (and other) in the DOS window that logs the tomcat's
processes (serving the
same servlet).
On the Mac
:
I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28.
That servlet has a
System.out.println(userAgent ** : +userAgent); command. On my PC i
found the result of
the same command (and other) in the DOS window that logs the tomcat's
processes (serving the
same servlet
... i didn't search correctly.
Thank you !
Le Lundi 30 Mai 2005 10:39, Jean-Luc Douville a écrit :
I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28.
That servlet has a
System.out.println(userAgent ** : +userAgent); command. On my PC i
found the result of
the same command
Jean-Luc Douville said:
I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28.
That servlet has a
System.out.println(userAgent ** : +userAgent); command. On my PC i
found the result of
the same command (and other) in the DOS window that logs the tomcat's
processes (serving
The results of System.out.println() are written to a file called
catalina.out which you should find in your tomcat/logs directory.
Rhino
- Original Message -
From: Jean-Luc Douville [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Monday, May 30, 2005 4:39 AM
Subject: Where
hi,
If i give System.out.println in JavaBeans it is displayed on the
command prompt in Windows. How do it see the output of
System.out.println in linux. Is it stored in some file/log?
thanks
--
:)
Atishay Kumar
Btech, SEM VII
DA-IICT
Gandhinagar - 382009
India
ph: +91 9825383948
Well it should appear on the console, unless you do a redirect (I
think you can do that in windows as well) .
On Wed, 29 Sep 2004 08:00:27 +, Atishay Kumar
[EMAIL PROTECTED] wrote:
hi,
If i give System.out.println in JavaBeans it is displayed on the
command prompt in Windows. How do
:27 +, Atishay Kumar
[EMAIL PROTECTED] wrote:
hi,
If i give System.out.println in JavaBeans it is displayed on the
command prompt in Windows. How do it see the output of
System.out.println in linux. Is it stored in some file/log?
thanks
--
:)
Atishay Kumar
Btech, SEM VII
DA
Sometimes it is threaputic to face one's stupidity...
Anyway, it was pilot error... I use JBuilder (which has an embedded
Tomcat) for my development and in versions prior to the latest (JB9 and
before) the url pattern was
http://localhost:8080/servercontext/servletname
..in JB10 this
...
Jerry Ford wrote:
System.out.println text should be going to the file catalina.out in
tomcat's logs directory, if you haven't changed any of the default
logging configurations. At least, that's where they go in my 4.1.27
setup.
Jerry
John B. Moore wrote:
Moved up to Tomcat 4.1.18 (from
as to how to surface the output of the
basic System.out.println...???
Any clues as to what I can try next is appreciated..
John..
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Update:
Well, when things get wierd it is best to go back to basics
I created a very simple servlet with System.out.println statements
and deployed it.. That works fine and the output shows up in the
stdout.log. That means there is something in the servlet code that is
mucking
the logging shows up and all the expected log files show
up.. Looking at the server.xml that is generated by JBuilder I can
not see that it is setting anything special... obviously something
is different.
So.. anyone have any ideas as to how to surface the output of the
basic System.out.println
/logs/catalina.out if you started with startup.xxx
Filip
- Original Message -
From: John B. Moore [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 06, 2004 4:06 PM
Subject: System.out.println, Where art thou?
Moved up to Tomcat 4.1.18 (from 3.x) and I've seemed to have
System.out.println text should be going to the file catalina.out in
tomcat's logs directory, if you haven't changed any of the default
logging configurations. At least, that's where they go in my 4.1.27 setup.
Jerry
John B. Moore wrote:
Moved up to Tomcat 4.1.18 (from 3.x) and I've seemed
How do we use System.out.println(error + e) in the tomcat4.1.18 to see the
error messages in the console..
Thanks -Srini
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the exception like this :
System.out.println(Exception + e.toString());
or
System.out.println(Exception + e.getMessage());
On the other hand I recommend that you to check out log4j or some other logging
mechanism so you can direct your error logs into a file and control what goes out
Sorry about the confusion in the question.. my intention is to find out the
variable values.. I think I got..
Thanks - srini.
-Original Message-
From: Reynir Hübner [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:31 AM
To: Tomcat Users List
Subject: RE: System.out.println
Hi,
I am using System.out.println on my servlet. I am
using Apache Tomcat server. I want to know where does
the System.out.println output goes? Does it write to
some file- stderr or stdout?
Please let me know,
Thanks,
Amit.
__
Do you Yahoo
logs/catalina.out
-Original Message-
From: Amitabh Shukla [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 1:15 PM
To: [EMAIL PROTECTED]
Subject: System.out.println?
Hi,
I am using System.out.println on my servlet. I am
using Apache Tomcat server. I want to know where does
If you are running under windows, stdout
- Original Message -
From: Jackson, Stephen [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 1:17 PM
Subject: RE: System.out.println?
logs/catalina.out
-Original Message-
From: Amitabh
Ok, when i do System.out.println() in one of my servlets, it goes to my app
log, but if the servlet calls a class and the class has System.out.println,
they go to catalina.log... Is this how it's supposed to be? Is there a way to
make those go to my app log?
Thanks.
--
To unsubscribe, e-mail
Hi,
For some reason, for any servlets that are initialized via the web.xml
(load-on-startup), Tomcat is not printing out to my DOS screen any of my
error messages or System.out.prinln in the code, although these are printing
out fine for any other Servlets or JavaBeans, etc.
Is there a setting
Hi Travis
Can you see them in $CATALINA_HOME/logs/catalina.out ???
That's how I debug my stuff
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
parameter, but i couldn't find a setting that enables System.out.prinln for
the init() methode until now.
-Ursprüngliche Nachricht-
Von: Travis Shook [mailto:travis.shook;verizon.net]
Gesendet: Freitag, 15. November 2002 22:03
An: [EMAIL PROTECTED]
Betreff: System.out.println not working
Thanks for the help.
in response to Joel, I'm using Tomcat 4.1.12 - sorry forgot to mention that.
It looks like any servlets initialized at startup ARE printing to
System.out.println catalina.log (now that I know that, I'm ok).
However, its still strange, because any System.out.println
Oops, just saw this. Same version I'm using, so at least I know its not me
:)
-Original Message-
From: josh [mailto:the.josh;gmx.net]
Sent: Friday, November 15, 2002 4:14 PM
To: Tomcat Users List
Subject: AW: System.out.println not working on servlets initialized when
Tomcat starts
Subject: Re: System.out.println
From: Simon [EMAIL PROTECTED]
===
The System.out.println should normal goes to catalina.out under tomcat/logs
Simon.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
What's the most easy way to print out debug messages in Tomcat? The
ability to use System.out.println() seems to have gone in version 4. Is
there any easy way of logging my debug messages to a log file (which is
just used for this)?
Markus
--
To unsubscribe, e-mail: mailto:[EMAIL
Hello all,
I'm porting an application that I developed and tested using JRun. I'm not able to
see my diagnostics messages in the log file that's managed and produced by the Logger.
Could someone please help me get my messages?
thanks in advance
Leila
Hi,
Where do I see the output from System.out.println given in a java class
placed under WEB-INF\classes? I am new to Tomcat and developing a sample
application.
In the JAva Console
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
Check out on the tomcat window.
-Original Message-
From: Javier Alonso [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 4:23 PM
To: Tomcat Users List
Subject: Re: System.out.println
Hi,
Where do I see the output from System.out.println given in a java class
placed under
:51 PM
To: [EMAIL PROTECTED]
Subject: Re: System.out.println
You can see it in the console or window where your tomcat is running.
***
Pedro Gaspar
PT Prime
DMK / GSV
Tel: +351 21 500 41 43
Fax: +351 21 500 45 85
Email: [EMAIL PROTECTED
Hi,
Where do I see the output from System.out.println given in a java class
placed under WEB-INF\classes? I am new to Tomcat and developing a sample
application.
Regards,
Krithika
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
/02 07:04
Hi,
Where do I see the output from System.out.println given in a java class
placed under WEB-INF\classes? I am new to Tomcat and developing a sample
application.
Regards,
Krithika
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
PROTECTED]]
Sent: Friday, February 15, 2002 12:51 PM
To: [EMAIL PROTECTED]
Subject: Re: System.out.println
You can see it in the console or window where your tomcat is running.
***
Pedro Gaspar
PT Prime
DMK / GSV
Tel: +351 21 500 41 43
Fax: +351 21 500
Thanks, I am seeing the output now.
Regards,
Krithika
-Original Message-
From: Pedro F Gaspar [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 12:51 PM
To: [EMAIL PROTECTED]
Subject: Re: System.out.println
You can see it in the console or window where your tomcat is running
i
reckon use log4j.. its a really good looking product!
-Original Message-From: Sam Newman
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, 18 April 2001
5:25 PMTo: [EMAIL PROTECTED]Subject: Re:
Where does System.out.println go under Tomcat
I would strongly suggest you don't
You
got to use those classes to see the System.out.println statements.. (just
starting tomcat will not do).
by use
i mean call some jsp page which uses the classes..
Shuklix
-Original Message-From: Animesh Chaturvedi - US
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 17
Hi
Brian!!
Did
you got the solution to your problem. I am facing the same problem. I am using
unix and running tomcat as standalone.
I am
trying to debug some classes. So I put some System.out.println statements
in them. I have put these classes at the first position in classpath, so
I used to have trouble with this, but now I just use System.err.println();
System.err behaves as you would expect by default.
(Assuming you're not already using err for something else.)
Jason
--
Warning : The
I've put some system out prints in my JSP pages,
but I cannot find the error logs. I've found the logs for the web site (apache's
standards logs) and I've found a servlet.log and a jasper.log under the jakarta
logs directory, but I have no idea where servlet errors go.
Brian
for
HttpServletContext
sam
- Original Message -
From: Brian Burridge
To: [EMAIL PROTECTED]
Sent: Monday, April 16, 2001 3:02 PM
Subject: Where does System.out.println go under Tomcat
I've put some system out prints in my JSP pages, but I cannot find the error
logs. I've found the logs
The logs just go to stdout as normal. Assuming you're using a Unix
variant, when you run startup.sh from a console, the stdout output goes to
the console window by default. If you log out then you'll lose any further
output, but Tomcat will continue as normal.
I redirect stdout and stderr to
PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
From: "Brian Burridge" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Where does System.out.println go under Tomcat
Date: Mon, 16 Apr 2001 10:02:56 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority
did u try using out.println("test")?
"Sam Newman" [EMAIL PROTECTED] on 04/16/2001 09:13:21 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject: Re: Where does System.out.println go under Tomcat
Hmm, well the
I am using Unix, but when I do a System.out.println
the message does not come to my terminal window. Also, I added this to my
startup.sh:
1$TOMCAT_HOME/stdout.log
2$TOMCAT_HOME/stderr.log
and it did not redirect my system.outs to either
log file.
Under both ServletExec and Jrun, any
Hi,
I have recently switch from Jrun 3.0
to tomcat 3.2.1 and everything appears fine except the where does the text from
System.out.println go to, I would have thought that in would go in log in the
tonmcat_home/logs directory but nothing appears here.
Could somebody please give me
Hi
Rob,
Have you configured
tomcat as a service?.In this case all the messages that you write with
System.out.println,are written in jvm.stdout file, in
TOMCAT_HOME/logs.And the errors in jvm.stderr file.
Regards and good
luck.
-Mensaje original-De: Rob Shorney
[mailto
Rob, it will be useful if you tell us if you're
using Tomcat as standalone or with Apache.
regards.
Hi,
I have recently switch from Jrun 3.0 to
tomcat 3.2.1 and everything appears fine except the where does the text from
System.out.println go to, I would have thought
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 09 de abril de 2001 16:14
Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: RE: Help With System.out.println
Hi Rob,
Have you configured tomcat as a service?.In this case all the messages
Would you mind using plain text postings to this mailing list.
Thanx
Gunnar
At 15:12 09.04.2001 +, you wrote:
image001.jpg
Hi,
I have recently switch from Jrun 3.0 to tomcat 3.2.1 and everything
appears fine except the where does the text from System.out.println go to,
I would have
Title: System.out.println() and mystery error message
I just started using Tomcat 3.2.1 and have 2 questions.
First of all, what do I set to view servlet and class output so I can debug my code? The same information
is going to the tomcat.log file that is showing in the Tomcat cmd window (I'm
53 matches
Mail list logo