XXX unknowon type 0 in catalina log of Tomcat 5.0.28
Hi, in our Tomcat 5.0.28 catalina log I've seen the following lines. (see below) The first part are GC logs, that's okay as it was set in the JVM_OPTS, but the XXX unknowon type 0 is quite strange. What's the reason for this. Does anyone know this kind of error message? I've just found out using google that it's coming from some kind of Tomcat connector class. Does it do any harm? What's the reason for this message and how to prevent it? We have an Apache 2.x, mod_jk2, 2x Tomcat 5.0.28 setup on Solaris 2.9. Greetings Michael space 322112K, 100% used space 13696K, 99% used space 13696K, 0% used space 699072K, 0% used space 262144K, 20% used s pace 3776K, 0% used space 332032K, 99% used space 13696K, 0% used space 699072K, 1% used space 262144K, 20% used space 3776K, 100% used space 332032K, 99% used space 13696K, 0% used space 699072K, 1% used space 262144K, 20% used space 308 288K, 0% used space 20608K, 99% used space 20608K, 0% used space 699072K, 2% used space 262144K, 20% usedCaused by: Cau sed by: Caused by: XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 space 308288K, 100% used space 20608K, 99% used space 20608K, 0% used space 699072K, 2% used space 262144K, 26% used s pace 3584K, 0% used space 325312K, 99% used space 20608K, 0% used space 699072K, 3% used space 262144K, 26% usedXXX unk nowon type 0 XXX unknowon type 0 space 3584K, 100% used space 325312K, 99% used space 20608K, 0% used space 699072K, 3% used space 262144K, 26% used sp ace 295232K, 0% used space 27136K, 98% used space 27136K, 0% used space 699072K, 3% used space 262144K, 26% usedXXX unk nowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XXX unknowon type 0 in catalina log of Tomcat 5.0.28
Hi, Even thought I don't usually support the connectors, and certainly not mod_jk2 (which is now unsupported in case you missed the announcement), the sheer fascination with this XXX message prompted me to search the source code. The message is from org.apache.tomcat.util.bug.C2BConverter, a utility class used by the connectors. It's in the jakarta-tomcat-connectors CVS module if you're interested. The message is a DEBUG-level message, so it's not a cause for major concern, but curious nonetheless. It's from the convert(MessageBytes) method and occurs when the argument is not null, doesn't contain raw bytes, doesn't contain a string, and doesn't contain characters. Cool, huh? ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Michael Echerer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 9:04 AM To: [EMAIL PROTECTED] Subject: XXX unknowon type 0 in catalina log of Tomcat 5.0.28 Hi, in our Tomcat 5.0.28 catalina log I've seen the following lines. (see below) The first part are GC logs, that's okay as it was set in the JVM_OPTS, but the XXX unknowon type 0 is quite strange. What's the reason for this. Does anyone know this kind of error message? I've just found out using google that it's coming from some kind of Tomcat connector class. Does it do any harm? What's the reason for this message and how to prevent it? We have an Apache 2.x, mod_jk2, 2x Tomcat 5.0.28 setup on Solaris 2.9. Greetings Michael space 322112K, 100% used space 13696K, 99% used space 13696K, 0% used space 699072K, 0% used space 262144K, 20% used s pace 3776K, 0% used space 332032K, 99% used space 13696K, 0% used space 699072K, 1% used space 262144K, 20% used space 3776K, 100% used space 332032K, 99% used space 13696K, 0% used space 699072K, 1% used space 262144K, 20% used space 308 288K, 0% used space 20608K, 99% used space 20608K, 0% used space 699072K, 2% used space 262144K, 20% usedCaused by: Cau sed by: Caused by: XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 space 308288K, 100% used space 20608K, 99% used space 20608K, 0% used space 699072K, 2% used space 262144K, 26% used s pace 3584K, 0% used space 325312K, 99% used space 20608K, 0% used space 699072K, 3% used space 262144K, 26% usedXXX unk nowon type 0 XXX unknowon type 0 space 3584K, 100% used space 325312K, 99% used space 20608K, 0% used space 699072K, 3% used space 262144K, 26% used sp ace 295232K, 0% used space 27136K, 98% used space 27136K, 0% used space 699072K, 3% used space 262144K, 26% usedXXX unk nowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XXX unknowon type 0 in catalina log of Tomcat 5.0.28
Hi, Hi, Even thought I don't usually support the connectors, and certainly not mod_jk2 (which is now unsupported in case you missed the announcement), Read this, but currently everything runs smooth except some not really perfectly 1:1 balanced load, thus we'll migrate back to mod_jk1.2 later. the sheer fascination with this XXX message prompted me to search the source code. The message is from org.apache.tomcat.util.bug.C2BConverter, a utility There's a package named bug in Tomcat... uh... Well, glad to see that you developer guys concentrate all code bugs in a single package. That's really cool, I always tried that myself... ;-) class used by the connectors. It's in the jakarta-tomcat-connectors CVS module if you're interested. The message is a DEBUG-level message, so it's not a cause for major concern, but curious nonetheless. It's from the convert(MessageBytes) method and occurs when the argument is not null, doesn't contain raw bytes, doesn't contain a string, and doesn't contain characters. Cool, huh? ;) Thanks, then I won't mind this log entry any longer. Cheers, Michael Yoav Shapira http://www.yoavshapira.com -Original Message- From: Michael Echerer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 9:04 AM To: [EMAIL PROTECTED] Subject: XXX unknowon type 0 in catalina log of Tomcat 5.0.28 Hi, in our Tomcat 5.0.28 catalina log I've seen the following lines. (see below) The first part are GC logs, that's okay as it was set in the JVM_OPTS, but the XXX unknowon type 0 is quite strange. What's the reason for this. Does anyone know this kind of error message? I've just found out using google that it's coming from some kind of Tomcat connector class. Does it do any harm? What's the reason for this message and how to prevent it? We have an Apache 2.x, mod_jk2, 2x Tomcat 5.0.28 setup on Solaris 2.9. Greetings Michael space 322112K, 100% used space 13696K, 99% used space 13696K, 0% used space 699072K, 0% used space 262144K, 20% used s pace 3776K, 0% used space 332032K, 99% used space 13696K, 0% used space 699072K, 1% used space 262144K, 20% used space 3776K, 100% used space 332032K, 99% used space 13696K, 0% used space 699072K, 1% used space 262144K, 20% used space 308 288K, 0% used space 20608K, 99% used space 20608K, 0% used space 699072K, 2% used space 262144K, 20% usedCaused by: Cau sed by: Caused by: XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 space 308288K, 100% used space 20608K, 99% used space 20608K, 0% used space 699072K, 2% used space 262144K, 26% used s pace 3584K, 0% used space 325312K, 99% used space 20608K, 0% used space 699072K, 3% used space 262144K, 26% usedXXX unk nowon type 0 XXX unknowon type 0 space 3584K, 100% used space 325312K, 99% used space 20608K, 0% used space 699072K, 3% used space 262144K, 26% used sp ace 295232K, 0% used space 27136K, 98% used space 27136K, 0% used space 699072K, 3% used space 262144K, 26% usedXXX unk nowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 XXX unknowon type 0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Log on Tomcat
Ok, thanks!! I'll try this. - Original Message - From: John Bullock [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 16:14 Subject: RE: Log on Tomcat Ohhh... I see what the question was now... *doh* I thought he was asking how to System.out.println into a class. :) [ j o h n ] -Original Message- From: Shrotriya, Sumit [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 12:03 PM To: 'Tomcat Users List' Subject: RE: Log on Tomcat Yes add these loggers Logger className=org.apache.catalina.logger.SystemErrLogger / Logger className=org.apache.catalina.logger.SystemOutLogger / ~Sumit -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:44 AM To: Tomcat Users List Subject: Log on Tomcat Hi everybody! Is it possible put on log what i write with System.out.println in my classes? Thanks in advanced. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Log on Tomcat
Hi everybody! Is it possible put on log what i write with System.out.println in my classes? Thanks in advanced.
RE: Log on Tomcat
Depending on what you're getting at... you can just read and write from a text file referenced in the class file... however, System.out.println'ing stuff to a .java file and compiling on the fly, etc... would be quite a mess... [ j o h n ] -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 10:44 AM To: Tomcat Users List Subject: Log on Tomcat Hi everybody! Is it possible put on log what i write with System.out.println in my classes? Thanks in advanced. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Log on Tomcat
try tail -f catalina.out that may be what you are looking for. Dont know about tail on window$ -rick -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:44 AM To: Tomcat Users List Subject: Log on Tomcat Hi everybody! Is it possible put on log what i write with System.out.println in my classes? Thanks in advanced. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Log on Tomcat
Yes add these loggers Logger className=org.apache.catalina.logger.SystemErrLogger / Logger className=org.apache.catalina.logger.SystemOutLogger / ~Sumit -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:44 AM To: Tomcat Users List Subject: Log on Tomcat Hi everybody! Is it possible put on log what i write with System.out.println in my classes? Thanks in advanced. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Log on Tomcat
Ohhh... I see what the question was now... *doh* I thought he was asking how to System.out.println into a class. :) [ j o h n ] -Original Message- From: Shrotriya, Sumit [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 12:03 PM To: 'Tomcat Users List' Subject: RE: Log on Tomcat Yes add these loggers Logger className=org.apache.catalina.logger.SystemErrLogger / Logger className=org.apache.catalina.logger.SystemOutLogger / ~Sumit -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:44 AM To: Tomcat Users List Subject: Log on Tomcat Hi everybody! Is it possible put on log what i write with System.out.println in my classes? Thanks in advanced. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: access log for Tomcat
I am trying to write this request interceptor but I am not sure what methods I need to implement. Can someone give me some advice on this? currently I have implemented the reqiestMap method. For my logging I want to be able to capture username, http response, ... So does it matter where I specify this interceptor in the server.xml file? In other words are the callbacks called at random or are they called in the order that they appear in the server.xml file? Other than the javadocs in the code is there any documentation on how to implement a RequestInterceptor? Thanks, Zach H. -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:52 AM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat You would have to write the Java code yourself to implement this new RequestInterceptor. You could hard code all of the parameters for your logging into the code, or you could make them parameters from the server.xml file (which would be better), but this is a you do it all yourself kind of effort. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:27 AM To: '[EMAIL PROTECTED]' Subject: RE: access log for Tomcat I assume that this means that I have to do it all myself in terms of setting up different options to log? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat There isn't a module for Tomcat that does this that I know of (and nothing built into Tomcat, regardless of what Luba says), although it should be fairly easy to do - you need to write a RequestInterceptor that just logs, not intercepts, the requests. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 7:45 AM To: '[EMAIL PROTECTED]' Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender by email, delete and destroy this message and its attachments. **
RE: access log for Tomcat
There is no documentation other than source and javadoc. The order in the server.xml file SEEMS to be the order they are called, but that doesn't matter. If you want general logging, you might check out the RequestInterceptor that I wrote. Its at: http://www.aswethink.com/employees/randy/tomcat/RequestLogger.html Randy -Original Message- From: Hensley, Zachary [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 9:28 AM To: '[EMAIL PROTECTED]' Subject: RE: access log for Tomcat I am trying to write this request interceptor but I am not sure what methods I need to implement. Can someone give me some advice on this? currently I have implemented the reqiestMap method. For my logging I want to be able to capture username, http response, ... So does it matter where I specify this interceptor in the server.xml file? In other words are the callbacks called at random or are they called in the order that they appear in the server.xml file? Other than the javadocs in the code is there any documentation on how to implement a RequestInterceptor? Thanks, Zach H. -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:52 AM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat You would have to write the Java code yourself to implement this new RequestInterceptor. You could hard code all of the parameters for your logging into the code, or you could make them parameters from the server.xml file (which would be better), but this is a you do it all yourself kind of effort. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:27 AM To: '[EMAIL PROTECTED]' Subject: RE: access log for Tomcat I assume that this means that I have to do it all myself in terms of setting up different options to log? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat There isn't a module for Tomcat that does this that I know of (and nothing built into Tomcat, regardless of what Luba says), although it should be fairly easy to do - you need to write a RequestInterceptor that just logs, not intercepts, the requests. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 7:45 AM To: '[EMAIL PROTECTED]' Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender by email, delete and destroy this message and its attachments. **
RE: access log for Tomcat
There isn't a module for Tomcat that does this that I know of (and nothing built into Tomcat, regardless of what Luba says), although it should be fairly easy to do - you need to write a RequestInterceptor that just logs, not intercepts, the requests. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 7:45 AM To: '[EMAIL PROTECTED]' Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David
RE: access log for Tomcat
I assume that this means that I have to do it all myself in terms of setting up different options to log? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat There isn't a module for Tomcat that does this that I know of (and nothing built into Tomcat, regardless of what Luba says), although it should be fairly easy to do - you need to write a RequestInterceptor that just logs, not intercepts, the requests. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 7:45 AM To: '[EMAIL PROTECTED]' Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David
RE: access log for Tomcat
You would have to write the Java code yourself to implement this new RequestInterceptor. You could hard code all of the parameters for your logging into the code, or you could make them parameters from the server.xml file (which would be better), but this is a you do it all yourself kind of effort. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:27 AM To: '[EMAIL PROTECTED]' Subject: RE: access log for Tomcat I assume that this means that I have to do it all myself in terms of setting up different options to log? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat There isn't a module for Tomcat that does this that I know of (and nothing built into Tomcat, regardless of what Luba says), although it should be fairly easy to do - you need to write a RequestInterceptor that just logs, not intercepts, the requests. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 7:45 AM To: '[EMAIL PROTECTED]' Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David
Re: access log for Tomcat
On Mon, Jun 18, 2001 at 07:08:51AM -0400, Randy Layman wrote: There isn't a module for Tomcat that does this that I know of (and nothing built into Tomcat, regardless of what Luba says), although it should be fairly easy to do - you need to write a RequestInterceptor that just logs, not intercepts, the requests. I think I heard Tomcat 4.0 will ship with a pre-setup access log facility. Cheers, Neil
access log for Tomcat
Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David
Re: access log for Tomcat
David: There is a global entry: !-- Global logger unless overridden at lower levels -- Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/ Are yousaying that this doesn't work? - Original Message - From: David Rosenstark To: '[EMAIL PROTECTED]' Sent: Sunday, June 17, 2001 7:44 AM Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David
Re: access log for Tomcat
Similar logging capacity exists in version 3: \conf\server.xml: Logging in Tomcat is quite flexible; we can either have a log file per module (example: ContextManager) or we can have one for Servlets and one for Jasper, or we can just have one tomcat.log for both Servlet and Jasper. Right now there are three standard log streams, "tc_log", "servlet_log", and "JASPER_LOG". - Original Message - From: Luba Powell To: [EMAIL PROTECTED] Sent: Sunday, June 17, 2001 8:50 AM Subject: Re: access log for Tomcat David: There is a global entry: !-- Global logger unless overridden at lower levels -- Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/ Are yousaying that this doesn't work? - Original Message - From: David Rosenstark To: '[EMAIL PROTECTED]' Sent: Sunday, June 17, 2001 7:44 AM Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David
RE: access log for Tomcat
the tc_log is not an access log writing down every request as it comes in -- it is just the data you see in the Tomcat window when you run it and through the server.xml file you can redirect it to a file. So, no, I do not see an access_log type of log feature in Tomcat to the best of my knowledge -Original Message-From: Luba Powell [mailto:[EMAIL PROTECTED]]Sent: Sunday, June 17, 2001 2:57 PMTo: [EMAIL PROTECTED]Subject: Re: access log for Tomcat Similar logging capacity exists in version 3: \conf\server.xml: Logging in Tomcat is quite flexible; we can either have a log file per module (example: ContextManager) or we can have one for Servlets and one for Jasper, or we can just have one tomcat.log for both Servlet and Jasper. Right now there are three standard log streams, "tc_log", "servlet_log", and "JASPER_LOG". - Original Message - From: Luba Powell To: [EMAIL PROTECTED] Sent: Sunday, June 17, 2001 8:50 AM Subject: Re: access log for Tomcat David: There is a global entry: !-- Global logger unless overridden at lower levels -- Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/ Are yousaying that this doesn't work? - Original Message - From: David Rosenstark To: '[EMAIL PROTECTED]' Sent: Sunday, June 17, 2001 7:44 AM Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David
NCSA Combined log format. Tomcat limitations?
Ok, the scenario: Who m I? I've no idea about Tomcat, my first contact with it has been an hour ago. I've been LiNUX user for several years and I know how Java servlets serves works, so I think I'm an average system administrator. I've been application programmer for several years also, so I'm an average developer also. I've some contact with Enhydra that perhaps you know, but I've never installed or use it in a production environment. Hope this information helps. What's the matter? In a project, we need some collaborators each one with his own http server and operating system, give us they http logs in NCSA Combined format for generate stats for third parties. Well, one of those collaborators told us that they cannot generate NCSA Combined logs because they're using TomCat... As I CANNOT reproduce each collaborator system environment conditions, you will understand that's not reasonable that I must install a TomCat server just to see if this is true. I've seen that TomCat could be installed standalone or dependant of another web server like Apache or IIS. I think the situation of this collaborator is 'standalone' because another manner should provide they the logs of its apache or IIS web server without troubles. The trouble in a brief? Just two questions: Can TomCat as standalone server produce NCSA Combined logs? if yes... in a brief: How? Please note that by evident reasons I'm not suscribed to TomCat Users list, so if there's an answer, please, send it to my own mail box: fmmarzoa at e-samuelson.com THANKS A LOT everyone in advance, excuse my poor english and have a good one, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Access Log for Tomcat in standAlone mode or Running Apache with Tomcat.
I Already did that after reading the doc first time! It just doesn't work. Tomcat is running on Mandrake 7.1, everythings is well setup, but I receive apj12 error and mod_jk problem... I did compile the source on the same OS version, but it didn't change nothing realy! It seems to be apache that doesn't recognize Tomcat! Nabil. you will have to include the config file ( tomcat-apache) of tomcat in httpd of apache then start tomcat and start apache Moursli Nabil wrote: Can anyone help me with this, I can't run TOMCAT with Apache, so the only issu I see is to run Tomcat in standAlone mode. If anyone know how to manage Acces Log on Tomcat. That would be great. Or if you know how to make Apache Run with Tomcat let me know. Thx in advance. Nabil. CMG-Admiral. - Original Message - From: Russell Freeman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 29, 2000 3:09 PM Subject: "root-relative" URLs don't work(Tomcat 3.1) Whenever I have a web page that references a "root-relative" resource, e.g. "/style.css", tomcat can't see to resolve it properly. It seems to be ignoring the web site root as specified in server.xml. Obviously if the resource lives in the same location as the current page I can drop the leading forward-slash. However this won't work for resources in different locations. I've tried turning on debug for the webapp but I'm not seeing anything. Any help appreciated Russ
Re: Access Log for Tomcat in standAlone mode or Running Apache with Tomcat.
In fact I get an segmentation faulft on any call to Tomcat from Apache. I have apache 1.3.12 and Tomcat 3.1. - Original Message - From: Krishna Kant [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 30, 2000 8:58 AM Subject: Re: Access Log for Tomcat in standAlone mode or Running Apache with Tomcat. you will have to include the config file ( tomcat-apache) of tomcat in httpd of apache then start tomcat and start apache Moursli Nabil wrote: Can anyone help me with this, I can't run TOMCAT with Apache, so the only issu I see is to run Tomcat in standAlone mode. If anyone know how to manage Acces Log on Tomcat. That would be great. Or if you know how to make Apache Run with Tomcat let me know. Thx in advance. Nabil. CMG-Admiral. - Original Message - From: Russell Freeman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 29, 2000 3:09 PM Subject: "root-relative" URLs don't work(Tomcat 3.1) Whenever I have a web page that references a "root-relative" resource, e.g. "/style.css", tomcat can't see to resolve it properly. It seems to be ignoring the web site root as specified in server.xml. Obviously if the resource lives in the same location as the current page I can drop the leading forward-slash. However this won't work for resources in different locations. I've tried turning on debug for the webapp but I'm not seeing anything. Any help appreciated Russ
Re: Access Log for Tomcat in standAlone mode or Running Apache with Tomcat.
you will have to include the config file ( tomcat-apache) of tomcat in httpd of apache then start tomcat and start apache Moursli Nabil wrote: Can anyone help me with this, I can't run TOMCAT with Apache, so the only issu I see is to run Tomcat in standAlone mode. If anyone know how to manage Acces Log on Tomcat. That would be great. Or if you know how to make Apache Run with Tomcat let me know. Thx in advance. Nabil. CMG-Admiral. - Original Message - From: Russell Freeman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 29, 2000 3:09 PM Subject: "root-relative" URLs don't work(Tomcat 3.1) Whenever I have a web page that references a "root-relative" resource, e.g. "/style.css", tomcat can't see to resolve it properly. It seems to be ignoring the web site root as specified in server.xml. Obviously if the resource lives in the same location as the current page I can drop the leading forward-slash. However this won't work for resources in different locations. I've tried turning on debug for the webapp but I'm not seeing anything. Any help appreciated Russ