Connection reset by peer: socket write error
Hi, i´m in trouble with a Tomcat 4.1.29 (Standalone, no Apache !, Win2K) acting as as Mapserver. It seems to work fine, but writes tons of exceptions to isapi.log and sterr.log. I´ve googled a few hours withe the result, that 'Connection reset by peer' may happen when the client presses the stop button, closes connection etc. That is impossible, i´ve got over 1000 exceptions in my logfile. There must be another reason. isapi.log: [Thu Aug 04 14:44:27 2005] [jk_ajp_common.c (651)]: ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [Thu Aug 04 14:44:27 2005] [jk_ajp_common.c (1009)]: Error reading reply [Thu Aug 04 14:44:27 2005] [jk_ajp_common.c (1146)]: In jk_endpoint_t::service, ajp_get_reply failed in send loop 0 sterr.log: 04.08.2005 14:37:15 org.apache.jk.server.JkCoyoteHandler action SCHWERWIEGEND: Error in action code java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654) at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435) at org.apache.coyote.Response.action(Response.java:222) at org.apache.coyote.Response.finish(Response.java:343) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) at java.lang.Thread.run(Thread.java:534) 04.08.2005 14:37:37 org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached 04.08.2005 14:44:25 org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached Maybe, someone can answer one of the following questions: - What is jk_ajp_common.c ? (Seems to be a native class for the Apache connector) - what is org.apache.jk.server.JkCoyoteHandler exacly responsible for ? - How do i know, what EXACT connection is reseted. - is the reseted connection necessarily a http connection or possibly a database connection ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: source for JDBCRealm?
Hi, i´ve downloaded the sources (search for tomcat-4.1.xx-src.zip) and attached it in Eclipse. Though í've got full access to the classes. The interface is JDBCRealm ! Stephen Charles Huey schrieb: I've been looking around the Apache/Jakarta site, and I can't find the Realm-related stuff (I understand it's separate from Tomcat). We're running Tomcat 4, and I'd like to hack the query JDBCRealm sends to Oracle so username checks are not case insensitive. Btw, which JAR in my Tomcat directories is related to JDBCRealm? Thanks... - 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: Realm(?) authentication
Hi, I've written one step by step for this. It's for Tomcat on Linux, but I don't think Windows is different at all, at least for the realm part. Can't say the same for the installation. You can view it at http://www.connecties.com/cymulacrum/tomcat5/c578.html. This is for JDBC "Or maybe you just think that my writing sucks" i´m reading a lot of this stuff but your writing definetly NOT sucks ! Is is cool, short and very useful, thank you for posting your link. Greetings from Germany... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Authentification against NT Domain Controller
Hi, we´re building an Intranet application running on Tomcat 4.1.30 (Client OS is Win2K). It would be very suitable to authentificate the users against the NT Domain Controller to avoid a second login. I searched this ML and Google but did not find very much about this theme. There is a SourceForce Project called NTDCRealm which seems to fit our needs, but has absolutely no documentation. Probably, we need to nest a custom NTDCRealm Tag in our WebApp context. To learn, how to do this, i searched the Tomcat documentation (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#Standard%20Realm%20Implementations) and again, there is a gap: "It is also possible to write your own Realm implementation, and integrate it with Tomcat 4. However, doing this is beyond the scope of this document. See (FIXME - reference to developer stuff) for more information." Here are my questions: Does this reference to developer stuff exist anywhere ? Does anyone ever made the NTDCRealm to work ? Does anyone knows another (documentatet) Implementation of NT authentification ? Any hints, links, documents about this theme are warmly welcome. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
MS SQL Server 2000 as JNDI Datasource
Hi, i´m looking for a working configuration (like in the JNDI Datasource HOW-TO) for MS Sql Server 2000. We´re using the MS JDBC driver. I´ve searched the mail-archives for hours now, found tons of threads, but no answer. Any suggestions / help / sources for me ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]