From ed@jsq.co.uk Mon Jul 3 09:53:28 2000 Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 21657 invoked from network); 3 Jul 2000 09:53:28 -0000 Received: from www.jsq.co.uk (HELO topdog.jsq.co.uk) (195.62.204.130) by locus.apache.org with SMTP; 3 Jul 2000 09:53:28 -0000 Received: from edh (ted [192.168.1.16]) by topdog.jsq.co.uk (8.9.3/8.8.7) with SMTP id KAA06358 for ; Mon, 3 Jul 2000 10:02:24 +0100 Message-ID: <002601bfe4d5$8de49cc0$1001a8c0@jsq.co.uk> From: "Ed" To: References: <000c01bfe2b2$7b02cb60$39117118@rct1.bc.wave.home.com> <39605DBF.A32853C2@cgsgroup.it> Subject: Re: HANDLER THREAD PROBLEM Date: Mon, 3 Jul 2000 11:00:44 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0023_01BFE4DD.EF877300" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0023_01BFE4DD.EF877300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You should not be trying to directly communicate to the 8007 port at = all. Stop it. You talk to the web-server then *it* talks to the 8007 = port. It is supposed to be transaparent. ----- Original Message -----=20 From: Maurizio Calcara=20 To: tomcat-user@jakarta.apache.org=20 Sent: Monday, July 03, 2000 10:32 AM Subject: Re: HANDLER THREAD PROBLEM Hi Rob,=20 thank's for your help.=20 Unfortunately I'm trying to use ajpv12 as communication protocol = (ajpv12://localhost:8007), but Netscape says "Netscape is unable to = locate the server ajpv12:.".=20 Are there other configurations that have to be made on the server ??=20 Thank you again,=20 Maurizio=20 "Rob S." wrote:=20 'allo,We did the same thing when we were installing Tomcat =3D) The = protocol used to communicate with Tomcat on port 8007 is ajpv12. You're = trying to use HTTP. By default, that port is meant for webserver-Tomcat = communication.Hope it helps!- r=20 -----Original Message-----=20 From: maurizio@cgsgroup.it [mailto:maurizio@cgsgroup.it]On Behalf = Of Maurizio Calcara=20 Sent: June 30, 2000 9:14 AM=20 To: tomcat-user@jakarta.apache.org=20 Subject: HANDLER THREAD PROBLEM Hi,=20 I'm installing "Tomcat 3.1" on a Linux RedHat 6.1 system = running a 2.2.15 kernel and the "jdk1.2.2" Java version.=20 By using Tomcat in stand-alone mode it works fine.=20 When I try to use Tomcat with Apache (both 1.3.9 and 1.3.12) by = means the "mod_jserv.so" (I try to connect to "http://localhost:8007", = the default settings) the console produces the following error:=20 HANDLER THREAD PROBLEM: java.io.IOException: Stream = brokenjava.io.IOException: Stream broken=20 at = org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextRequest(A= jp12ConnectionHandler.java:386)=20 at = org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnect= ion(Ajp12ConnectionHandler.java:134)=20 at = org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:= 338)=20 at java.lang.Thread.run(Thread.java:475) Please, Is there anybody that solved this problem???=20 Any idea??=20 Thanks,=20 Maurizio Calcara=20 --=20 dr. Maurizio Calcara m.calcara@cgsgroup.it =20 --=20 dr. Maurizio Calcara m.calcara@cgsgroup.it =20 ------=_NextPart_000_0023_01BFE4DD.EF877300 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
You should not be trying to directly communicate to = the 8007=20 port at all.  Stop it.  You talk to the web-server then *it* = talks to=20 the 8007 port.  It is supposed to be transaparent.
----- Original Message -----
From:=20 Maurizio=20 Calcara
To: tomcat-user@jakarta.apache.org=
Sent: Monday, July 03, 2000 = 10:32=20 AM
Subject: Re: HANDLER THREAD = PROBLEM

Hi Rob,
thank's for your help.
Unfortunately = I'm trying=20 to use ajpv12=20 as communication protocol=20 (ajpv12://localhost:8007), but Netscape says "Netscape is = unable to=20 locate the server ajpv12:.".
Are = there=20 other configurations that have to be made on the server ??=20

Thank you again,
    Maurizio=20

"Rob S." wrote:=20

'allo,We did the=20 same thing when we were installing Tomcat =3D) The protocol used to communicate with = Tomcat on=20 port 8007 is ajpv12.  You're trying to use HTTP.  By = default, that=20 port is meant for webserver-Tomcat communication.Hope it=20 helps!- r=20
-----Original Message-----
From: = maurizio@cgsgroup.it [mailto:maurizio@cgsgroup.it]O= n=20 Behalf Of Maurizio Calcara
Sent: June 30, = 2000 9:14=20 AM
To:=20 tomcat-user@jakarta.apache.org
Subject: HANDLER = THREAD=20 PROBLEM
Hi,
I'm installing  = "Tomcat  3.1"=20 on a Linux RedHat 6.1  system running  a  = 2.2.15 =20 kernel and the "jdk1.2.2" Java version.
By using Tomcat in = stand-alone=20 mode it works fine.=20

When I try to use Tomcat with Apache (both 1.3.9 and 1.3.12) by = means=20 the "mod_jserv.so" (I try to connect to "http://localhost:8007",  = the default=20 settings) the console produces the following error:=20

HANDLER THREAD PROBLEM: java.io.IOException: Stream=20 brokenjava.io.IOException: Stream broken
 at=20 = org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextRequest(A= jp12ConnectionHandler.java:386)=20
 at=20 = org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnect= ion(Ajp12ConnectionHandler.java:134)=20
 at=20 = org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:= 338)=20
 at java.lang.Thread.run(Thread.java:475)


Please,  Is there anybody that solved this problem??? =
Any=20 idea??
Thanks,
    Maurizio Calcara =

-- 

dr. Maurizio Calcara
m.calcara@cgsgroup.it
 
-- 

dr. Maurizio Calcara
m.calcara@cgsgroup.it
  ------=_NextPart_000_0023_01BFE4DD.EF877300--