Hmmm... I think what you need to do is
http://192.168.0.2:8080/examples/ 8009 is the AJP port used by tomcat connectors. do the following and see if you get a response. on unix 1. telnet to the box 2. log on 3. issue which netstat 4. run 'nestat -a | grep 8080' you should see something like *.8080 ... LISTEN 5. then do -->telnet localhost 8080 -->GET / HTTP/1.0 you should get a response... also you can try those in your browser http://192.168.0.2:8080/ and it should give you Tomcat's front page. I'm just guessing here but -1 looks like a sentinel of sorts so it was waiting for an EOF but didn't get anything at all so somehow the request issued was invalid or in the wrong format. Which if you think about it makes sense since AJP was designed for communicating with Tomcat internals and a web server while the other one (the one you wish to use) is called an HTTP connector (in 4.0 its called org.apache.catalina.connector.http.HttpConnector) HTH Jan-Michael ----- Original Message ----- From: Andres Montiel <[EMAIL PROTECTED]> Date: Monday, January 27, 2003 8:34 pm Subject: Incomplete read > Setup: > Apache 2.0.40 > Tomcat 4.1.18 > mod_jk2 > RedHat 8.0 > > I am using a minimal setup (taken from the url listed below) but > replacing localhost with 192.168.0.2 (my computer's IP address). I > triedto go the examples folder via http://192.168.0.2/examples. Apache > doesn't give the said subfolder. Rather, it shows an Error 404. I > triedhttp://192.168.0.2:8009/examples but Mozilla says that the > documentcontains no data. > > I checked /var/log/tomcat4/catalina_log.2003-01-28.txt and found > errorsnear the end saying: > > Ajp13Processor[8009][3] [Ajp13] incomplete read, waited #-1 got > only 0 > > I tried looking for an answer at Google found nothing saying why this > was happening nor a solution for it. > > What does the incomplete reads mean? > > - Andres > > http://jakarta.apache.org/tomcat/tomcat-4.1- > doc/jk2/jk2/confighowto.html > > -- > To unsubscribe, e-mail: <mailto:tomcat-user- > [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]>
