----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
oh, please, if you're are not sure do not desinform others ...
*********************************************************************
* Boris Niyazov Ph: 212-854-4094 Fax: 212-854-1749 *
* Systems Manager Email: [EMAIL PROTECTED] *
* Columbia Law School URL: http://www.law.columbia.edu *
*********************************************************************
>
>log() is a method of JSDK 2.1 and JServ only supports JSDK 2.0 that's why
>you can't use log() in servlets that you want to deploy with JServ
>
>
>
>
>-----Original Message-----
>From: Michal Galinski [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, February 07, 2001 12:52 PM
>To: Apache JServ mailing list
>Subject: log() method problem
>
>
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files. Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>Hi all,
>
>I have installed Apache 1.3 with JServ 1.0 a couple days ago. I use WinNT
>4.0 and WebMacro 0.94. Everything works fine except log() method in my
>servlet.
>When I try to write to log file using log(String msg) in my servlet I get
>an exception:
>
>java.lang.AbstractMethodError
> at javax.servlet.GenericServlet.getServletName(GenericServlet.java:368)
> at javax.servlet.GenericServlet.log(GenericServlet.java:300)
> at CommuServlet.doGet(CommuServlet.java:22)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> at
>org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:484)
>
>But if I get ServletContext and use servletContext.log("error message") no
>exception occure. (before I use IPlanet web sever and I have a lots of
>servlet and changing every log line is very dificult).
>
>Anyway it should works property, shouldn't it?
>
>Michal Galinski
>
>
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Search Archives:
><http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
>Problems?: [EMAIL PROTECTED]
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Search Archives:
><http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
>Problems?: [EMAIL PROTECTED]
>
- Boris
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]