weird mod_jk log messages

2003-03-20 Thread Dan K.

Hello everyone,

I've looked through the mail archives for this mailing list and haven't
found an answer to the weird mod_jk log message I get.

So to end it once and for all, can any one please tell me why the
following (see log below) is showing up in my mod_jk.log file?  Are you
guys getting this and ignoring it, or do you set the log level to emerg
so they don't show up (they show up using JkLogLevel error)?
Yet, my apps seems to work...?

I'm using Linux (Debian 3.0), mod_jk 1.2.2 binary for Linux i386
downloaded from the tomcat-connectors project, Tomcat 4.0.4 (I know, I
haven't had the chance to upgrade to 4.0.6 or 4.1.x yet but from the logs
posted by others I don't think it's specific to TC 4.0.4).

Here's a snippet of the mod_jk.log output:

[Tue Mar 18 21:51:56 2003]  [jk_ajp_common.c (681)]: ERROR: can't receive
the response message from tomcat, network problems or tomcat is down.
[Tue Mar 18 21:51:56 2003]  [jk_ajp_common.c (1050)]: Error reading reply
from tomcat. Tomcat is down or network problems.
[Tue Mar 18 21:51:56 2003]  [jk_ajp_common.c (1187)]: ERROR: Receiving
from tomcat failed, recoverable operation. err=0

Many thanks in advance.

Regards,
Dan

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



coyote connector: timeout log messages and broken sessions

2003-02-02 Thread THG

Hi, how can i disable the coyote timeout (error) messages
with tomcat 4.1.18 and apache 1.3.x.

there is also a problem with timed out sessions under tomcat.

thanks and best regards,
thorsten


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus

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




Log messages

2002-01-25 Thread James Adams

Is there a class I can use to write log messages to the Tomcat log files
?  Can anyone explain how this is done ?  Also I have looked a wee bit
at java.util.logging - can this also be used, or is it a better solution
?

Thanks for any suggestions.

-James Adams


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Log messages

2002-01-25 Thread Yoav Shapira

Hi,
Look at log4j: 
http://jakarta.apache.org/log4j

We've been using it for a while, both for development and production
logging, and it's just great.  Most of JSR47 (java.util.logging)
is based on log4j, and it's also used by several commercial and/or
big products like JBoss.

Yoav

James Adams wrote:
 
 Is there a class I can use to write log messages to the Tomcat log files
 ?  Can anyone explain how this is done ?  Also I have looked a wee bit
 at java.util.logging - can this also be used, or is it a better solution
 ?
 
 Thanks for any suggestions.
 
 -James Adams
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Log messages

2002-01-25 Thread Brown Bay

With respect to logging, I have a program that has System.out.println that
are definied in certain places. If I disable logging for that context, they
goto catalina.out. Is there a way for me to

1. disable logging into catalina.out or for that matter anywhere at all, so
that those System.out's never get written anywhere or just get lost.

2. be able to set a limit on the size of the file, ie. the file should not
be more than 50KB,

Thanks.

Brown.
- Original Message -
From: Yoav Shapira [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, January 25, 2002 1:06 PM
Subject: Re: Log messages


 Hi,
 Look at log4j:
 http://jakarta.apache.org/log4j

 We've been using it for a while, both for development and production
 logging, and it's just great.  Most of JSR47 (java.util.logging)
 is based on log4j, and it's also used by several commercial and/or
 big products like JBoss.

 Yoav

 James Adams wrote:
 
  Is there a class I can use to write log messages to the Tomcat log files
  ?  Can anyone explain how this is done ?  Also I have looked a wee bit
  at java.util.logging - can this also be used, or is it a better solution
  ?
 
  Thanks for any suggestions.
 
  -James Adams
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Log messages

2002-01-25 Thread Wagoner, Mark

Log4j will do both of these.  You essentially replace your println() calls
with log4j calls.

-Original Message-
From: Brown Bay [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 2:09 PM
To: Tomcat Users List
Subject: Re: Log messages


With respect to logging, I have a program that has System.out.println that
are definied in certain places. If I disable logging for that context, they
goto catalina.out. Is there a way for me to

1. disable logging into catalina.out or for that matter anywhere at all, so
that those System.out's never get written anywhere or just get lost.

2. be able to set a limit on the size of the file, ie. the file should not
be more than 50KB,

Thanks.

Brown.
- Original Message -
From: Yoav Shapira [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, January 25, 2002 1:06 PM
Subject: Re: Log messages


 Hi,
 Look at log4j:
 http://jakarta.apache.org/log4j

 We've been using it for a while, both for development and production
 logging, and it's just great.  Most of JSR47 (java.util.logging)
 is based on log4j, and it's also used by several commercial and/or
 big products like JBoss.

 Yoav

 James Adams wrote:
 
  Is there a class I can use to write log messages to the Tomcat log files
  ?  Can anyone explain how this is done ?  Also I have looked a wee bit
  at java.util.logging - can this also be used, or is it a better solution
  ?
 
  Thanks for any suggestions.
 
  -James Adams
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




HELP!!! How come I don't see my log messages ?!?!?!?!?

2001-04-27 Thread Hawkins, Keith (Keith)
Title: HELP!!! How come I don't see my log messages ?!?!?!?!?







I have set the log level in the server.xml for the servlet_log logger entry to DEBUG.


I have code in my servlet to write a message via HttpServlet.log() inside the init() method.


When I access the servlet my browser displays the page fine, but my log message DOES NOT appear in servlet.log.


WHY???





Help with Tomcat log messages

2001-04-18 Thread Blankenship, David

I have installed Tomcat on a couple of new Windows 2000 servers. I have
everything configured, and my application seems to run fine. When I start
Tomcat it inializes fine. Afterward every 4 seconds or so, it prints out
this message:

2001-04-18 09:57:51 - Ctx(  ): 400 R( /) null

This continues as long as Tomcat is running.

2001-04-18 09:57:51 - Ctx(  ): 400 R( /) null
2001-04-18 09:57:55 - Ctx(  ): 400 R( /) null
2001-04-18 09:57:59 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:03 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:07 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:12 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:16 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:20 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:24 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:28 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:32 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:36 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:40 - Ctx(  ): 400 R( /) null

What does this mean? Is there somewhere to look that explains error codes
such as '400'? How do I make it stop?

Any help would be appreciated.

David Blankenship
KLA-Tencor Control Solutions





RE: Help with Tomcat log messages

2001-04-18 Thread William Kaufman

 What does this mean? Is there somewhere to look that explains 
 error codes such as '400'?

http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html#sec-10

(There are several sites with RFC databases, including
http://www.cis.ohio-state.edu/Services/rfc/index.html and
http://rfc.asuka.net/ .)

There are also constants in both java.net.HttpURLConnection and
javax.servlet.http.HttpServletResponse for these codes.

 How do I make it stop?

Ehhh,... stop trying to access "/"?  Grant access privilege to "/" in your
web server?  It all depends on whether you actually want people to access
that directory, or what you want them to see when they access it.

-- Bill K.


 -Original Message-
 From: Blankenship, David [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 8:17 AM
 To: '[EMAIL PROTECTED]'
 Subject: Help with Tomcat log messages
 
 
 I have installed Tomcat on a couple of new Windows 2000 
 servers. I have
 everything configured, and my application seems to run fine. 
 When I start
 Tomcat it inializes fine. Afterward every 4 seconds or so, it 
 prints out
 this message:
 
 2001-04-18 09:57:51 - Ctx(  ): 400 R( /) null
 
 This continues as long as Tomcat is running.
 
 2001-04-18 09:57:51 - Ctx(  ): 400 R( /) null
 2001-04-18 09:57:55 - Ctx(  ): 400 R( /) null
 2001-04-18 09:57:59 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:03 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:07 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:12 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:16 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:20 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:24 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:28 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:32 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:36 - Ctx(  ): 400 R( /) null
 2001-04-18 09:58:40 - Ctx(  ): 400 R( /) null
 
 What does this mean? Is there somewhere to look that explains 
 error codes
 such as '400'? How do I make it stop?
 
 Any help would be appreciated.
 
 David Blankenship
 KLA-Tencor Control Solutions
 
 



RE: Help with Tomcat log messages

2001-04-18 Thread Darrell Porter

Other than this being a malformed GET operation...

Does the site work at all?

-Original Message-
From: Blankenship, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 8:17 AM
To: '[EMAIL PROTECTED]'
Subject: Help with Tomcat log messages


I have installed Tomcat on a couple of new Windows 2000 servers. I have
everything configured, and my application seems to run fine. When I start
Tomcat it inializes fine. Afterward every 4 seconds or so, it prints out
this message:

2001-04-18 09:57:51 - Ctx(  ): 400 R( /) null

This continues as long as Tomcat is running.

2001-04-18 09:57:51 - Ctx(  ): 400 R( /) null
2001-04-18 09:57:55 - Ctx(  ): 400 R( /) null
2001-04-18 09:57:59 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:03 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:07 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:12 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:16 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:20 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:24 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:28 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:32 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:36 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:40 - Ctx(  ): 400 R( /) null

What does this mean? Is there somewhere to look that explains error codes
such as '400'? How do I make it stop?

Any help would be appreciated.

David Blankenship
KLA-Tencor Control Solutions