Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: What does this mean? ajp13.service() Error sending initial post -1 0 0

Hooper, Brian

2004-01-20


Not sure about your problem, but I recently ran across this URL:
http://jspisapi.neurospeech.com/

Anyone have any experience with this product?

Coincidently I'm having some weird problems using 4.1.29, IIS 5, and JK2. If a user goes to a jsp page, it takes a really long time initially (~10 seconds for a simple page). They can click on other pages that pop up immediately, but if they wait for a while, the next page request takes a long time. If I look at the NT event log there are a lot of application warnings from "Apache Jakarta Connector2". I was going to ask the list about it but I wanted to see if TC5 fixes the problem. Interestingly the problem only appeared on my production server, never on my dev server.

-----Original Message-----
From: Rasmus Munk [mailto:munk@(protected)]
Sent: Tuesday, January 20, 2004 9:22 AM
To: 'Tomcat Users List'
Subject: RE: What does this mean? ajp13.service() Error sending initial post -1 0 0


Nothing happens, but i guess that is because I have no mapping for the root! The strange thing about my error is this:

It happens only somtimes. It seems like I caused by the folowing conditions:

1. The size of the POST is something like 10k or bigger.
2. The last call to tomcat is more than 2 minutes old!!

I know it sounds incredible, but this is what I have come to to after several days of testing.

As I cannot make the connector work, does anyone know if it is possible to run tomcat in-process, thereby passing the requests from IIS using som sort of other technique than the HTTP redirecting?

-Rasmus

-----Original Message-----
From: Edson Alves Pereira [mailto:eapereira@(protected)]
Sent: 20. januar 2004 15:12
To: 'Tomcat Users List'
Subject: RE: What does this mean? ajp13.service() Error sending initial post -1 0 0

 What happens if you type ( http://127.0.0.1/index.jsp ) in your browser?

> ----------
> De:  Rasmus Munk[SMTP:munk@(protected)]
> Responder:  Tomcat Users List
> Enviada:  terça-feira, 20 de janeiro de 2004 9:06
> Para:  'Tomcat Users List'
> Assunto:  What does this mean? ajp13.service() Error sending initial
> post -1 0 0
>
> Hi
>
> I am running tomcat 4.1.29 on IIS 5.0 and j2k 2.0.2 (have also tried
> older
> versions)
>
> Sometimes I get this error in the j2k.log:
>
> [Tue Jan 20 13:03:18 2004] (error ) [jk_worker_ajp13.c (380)]
> ajp13.service() Error sending initial post -1 0 0
>
> the log continues:
>
> [Tue Jan 20 13:03:18 2004] (debug ) [jk_handler_response.c (155)]
> handler.response() Header[0] [Content-Encoding] = [gzip] [Tue Jan 20
> 13:03:18 2004] (debug ) [jk_handler_response.c (155)]
> handler.response() Header[1] [Content-Type] =
> [text/xml;charset=ISO-8859-1] [Tue Jan 20 13:03:18 2004] (debug )
> [jk_handler_response.c (155)]
> handler.response() Header[2] [Content-Length] = [199] [Tue Jan 20
> 13:03:18 2004] (debug ) [jk_handler_response.c (172)]
> handler.response(): status=200 headers=3 [Tue Jan 20 13:03:18 2004]
> (debug ) [jk_service_iis.c (93)] Into jk_ws_service_t::head [Tue Jan
> 20 13:03:18 2004] (debug ) [jk_service_iis.c (227)] Into
> jk_ws_service_t::write [Tue Jan 20 13:03:18 2004] (debug )
> [jk_isapi_plugin.c (516)] HttpExtensionProc service() returned OK
>
> But the request is not passed to Tomcat, and a response i never sent
> to the browser!!
>
> Anya ideas?
>
> Thanks,
>
> Rasmus
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.