Web Log Problem in isapi_redirector2.dll

2004-06-21 Thread klyik
Hi,

I am currently connecting a Tomcat 5.0 together with an IIS 4.0 over a Windows 
NT 4.0 Platform. Everything works fine except for the log file generated per 
forwarded request:

The original GET request is for:
http://localhost/jsp-examples/jsp2/misc/dynamicattrs.jsp

But the Log file entry in the IIS side becomes:
06:36:19 127.0.0.1 - GET /jakarta/isapi_redirector2.dll - 500 Mozilla/4.
0+(compatible;+MSIE+6.0;+Windows+NT+4.0;+H010818;+.NET+CLR+1.0.3705) - -

This result highly affects the effectiveness of the Web Report. All jsp pages 
will be record as ispai_redirector2.dll, which make the statistics not very 
useful.

Is there any way to configure the redirector such that the GET request is to the 
jsp pages?

I am not sure if this is the problem of IIS or the redirector. If it is the 
former case, does it mean even when using Apache Httpd, the log will become the 
same?

Thank you.

All the best,
Richter Yik

-
This mail sent through IMP: http://horde.org/imp/

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



Re: Web Log Problem in isapi_redirector2.dll

2004-06-21 Thread Alex

Yes, that is correct.  I don't believe there is a way.  It's how it works.
IIS is logging what you are doing on that machine.  You are accessing the
isapi dll.  You aren't accessing the jsp -- that's being done across the
ajp13 connection.  Ideall, you should be setting up some nice logging
facility on the app servers and doing trend analysis from there.



On Mon, 21 Jun 2004 [EMAIL PROTECTED] wrote:

 Date: Mon, 21 Jun 2004 16:47:05 +0800
 From: [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Web Log Problem in isapi_redirector2.dll

 Hi,

 I am currently connecting a Tomcat 5.0 together with an IIS 4.0 over a Windows
 NT 4.0 Platform. Everything works fine except for the log file generated per
 forwarded request:

 The original GET request is for:
 http://localhost/jsp-examples/jsp2/misc/dynamicattrs.jsp

 But the Log file entry in the IIS side becomes:
 06:36:19 127.0.0.1 - GET /jakarta/isapi_redirector2.dll - 500 Mozilla/4.
 0+(compatible;+MSIE+6.0;+Windows+NT+4.0;+H010818;+.NET+CLR+1.0.3705) - -

 This result highly affects the effectiveness of the Web Report. All jsp pages
 will be record as ispai_redirector2.dll, which make the statistics not very
 useful.

 Is there any way to configure the redirector such that the GET request is to the
 jsp pages?

 I am not sure if this is the problem of IIS or the redirector. If it is the
 former case, does it mean even when using Apache Httpd, the log will become the
 same?

 Thank you.


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



Log problem

2001-08-20 Thread Kenny Ma

if i use log(testing) in Servlet using Tomcat
where will this log going to ?

How can I log somthing to a file from Servlet ?
I use System.err.println(Testing) when I am using Jserv before

But i cant now when using Tomcat 3.2.2

Can anyone help me ?
It's very troblem when debuging servlet program if i cant print log to file

Thanks


/* Kenny Ma
   [EMAIL PROTECTED] */




Re: Log problem

2001-08-20 Thread Dmitri Colebatch

have a look in the $TOMCAT_HOME/logs directory.  Assuming you've changed
server.xml so that tc_log has a path=logs/tomcat.log then you will be
capturing all logging in the files in the logs directory.  From memory,
serlvet.log(testing) will go into logs/servlet.log.

cheesr
dim

On Mon, 20 Aug 2001, Kenny Ma wrote:

 if i use log(testing) in Servlet using Tomcat
 where will this log going to ?
 
 How can I log somthing to a file from Servlet ?
 I use System.err.println(Testing) when I am using Jserv before
 
 But i cant now when using Tomcat 3.2.2
 
 Can anyone help me ?
 It's very troblem when debuging servlet program if i cant print log to file
 
 Thanks
 
 
 /* Kenny Ma
[EMAIL PROTECTED] */
 
 




Re: Log problem

2001-08-20 Thread Rob S.

You could always run them in a debugger w/JBuilder =)

Look into Log4J, another Jakarta subproject.  It's good logging stuff.

I'm not sure where, but I just checked the javadoc for the log() method:

Writes the specified message to a servlet log file, prepended by the servlet's name

There are three log files in tc 3.x - servlet, jasper, and tomcat.

- r

On Mon, 20 Aug 2001 22:52:26 +0800 [EMAIL PROTECTED] wrote:
 if i use log(testing) in Servlet using Tomcat
 where will this log going to ?
 
 How can I log somthing to a file from Servlet ?
 I use System.err.println(Testing) when I am using Jserv before
 
 But i cant now when using Tomcat 3.2.2
 
 Can anyone help me ?
 It's very troblem when debuging servlet program if i cant print log to file
 
 Thanks
 
 
 /* Kenny Ma
[EMAIL PROTECTED] */






RE: Log problem

2001-08-20 Thread Michael Weissenbacher

jakarta log4j ist definately worth a try, it solved many of my logging
problems...
but to answer your questions: usually System.out and System.err print to the
console that started tomcat unless you 'ed into a file. the log() method of
a servlet goes into servlet.log in tomcat's logs subdir.

regards
michael

-Original Message-
From: Kenny Ma [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 4:52 PM
To: [EMAIL PROTECTED]
Subject: Log problem


if i use log(testing) in Servlet using Tomcat
where will this log going to ?

How can I log somthing to a file from Servlet ?
I use System.err.println(Testing) when I am using Jserv before

But i cant now when using Tomcat 3.2.2

Can anyone help me ?
It's very troblem when debuging servlet program if i cant print log to file

Thanks


/* Kenny Ma
   [EMAIL PROTECTED] */




Re: Log problem

2001-08-20 Thread Boris Niyazov




if i use log(testing) in Servlet using Tomcat
where will this log going to ?

to the $TOMCAT_HOME/servlet.log if you defined one in server.xml, for ex:

Logger name=servlet_log
path=logs/servlet.log
verbosityLevel = DEBUG
timestampFormat=-MM-dd HH:mm:ss
/



How can I log somthing to a file from Servlet ?
I use System.err.println(Testing) when I am using Jserv before


I recall Jserv also provides log method so you could specify a log file in its 
config to log messages.


  - Boris


But i cant now when using Tomcat 3.2.2

Can anyone help me ?
It's very troblem when debuging servlet program if i cant print log to file

Thanks


/* Kenny Ma
   [EMAIL PROTECTED] */