----------------------------------------------------------------
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 Guys/Gals
I get a problem on my system:
Suse Linux 6.3 (Kernel 2.2.13)
JSDK 2.0
JDK 1.2.2
Apache 1.3.2
JServ 1.1.2
When I call HttpServletRequest.req.getRemoteUser() I get no exception and
no result. I guess it is timing out on the DNS or something,but I am
catching exceptions catch (Exception e){e.printStackTrace();}
I log the output and using log(InetAddress.getLocalHost().toString())
will log correctly but log(HttpServletRequest.req.getRemoteUser()); does
not.
Since my code structured like this:
try{
log("Before Lookup");
HttpServletRequest.req.getRemoteUser();
log("After Lookup");
}catch (Exception e){
e.printStackTrace();
}
There should be a log of either the exception of the ("After Lookup") in
either my log jserv.log (which I know is working because I log a lot of
things) or a stack trace in mod_jserv.log (which I know is working since
I can induce exceptions and they log)
Am I missing something here?
Probably this could be considered off topic, however if I do the same on
tomcat it works.. so it makes me think maybe it is a Jserv problem.
Thanx for any pointers.
Chris
flames >
--
--------------------------------------------------------------
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]