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 63259 invoked from network); 15 Feb 2001 23:53:23 -0000 Received: from dsl-64-128-23-17.telocity.com (HELO linuxmmx.com) (root@64.128.23.17) by h31.sny.collab.net with SMTP; 15 Feb 2001 23:53:23 -0000 Received: from primus (primus [192.168.1.6]) by linuxmmx.com (8.11.0/8.8.7) with ESMTP id f1FNtdm06198 for ; Thu, 15 Feb 2001 17:55:39 -0600 Message-ID: <006601c097ab$968defa0$0601a8c0@primus> From: "Michael Mikolajczyk" To: References: <005801c0977d$6af80840$0601a8c0@primus> Subject: Re: HANDLER THREAD PROBLEM: java.net.SocketException Invalid argument Date: Thu, 15 Feb 2001 18:01:18 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0063_01C09779.4B8D43C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------=_NextPart_000_0063_01C09779.4B8D43C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I finally figured it out. The problem is with the version of java I was = using: (Kaffe Virtual Machine Copyright (c) 1996-2000 Transvirtual Technologies, Inc. All rights reserved Engine: Just-in-time v3 Version: 1.0.6 Java Version: 1.1) After pointing Tomcat to: {java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)} everything worked fine. Easy fix, sometimes you forget to look at those = simple things first. Michael Mikolajczyk ----- Original Message -----=20 From: Michael Mikolajczyk=20 To: tomcat-user@jakarta.apache.org=20 Sent: Thursday, February 15, 2001 12:30 PM Subject: HANDLER THREAD PROBLEM: java.net.SocketException Invalid = argument I am using Linux RedHat 7.0, Tomcat 3.2.1, Apache 1.3.14-3 and I get an exception when I try to route the request to tomcat through Apache. The error is as following # HANDLER THREAD PROBLEM: java.net.SocketException: Invalid argument java.net.SocketException: Invalid argument at = java.net.PlainSocketImpl.socketSetOption(PlainSocketImpl.java:native) at = java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:158) at java.net.Socket.setSoLinger(Socket.java:106) at = org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnect= ion(Ajp12ConnectionHandler.java:122) at = org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)= at = org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498= ) at java.lang.Thread.run(Thread.java:325) Thank you for your help. Mike Mikolajczyk ------=_NextPart_000_0063_01C09779.4B8D43C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I finally figured it out.  The = problem is with=20 the version of java I was using:

(Kaffe Virtual Machine
Copyright (c) = 1996-2000
Transvirtual=20 Technologies, Inc.  All rights reserved
Engine: Just-in-time=20 v3   Version: 1.0.6   Java Version: 1.1)
 
After pointing Tomcat to:

{java version "1.3.0"
Java(TM) 2 Runtime Environment, = Standard=20 Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed=20 mode)}
 
everything worked fine.  Easy fix, sometimes you forget to = look at=20 those simple things first.
 
Michael Mikolajczyk
----- Original Message -----
From:=20 Michael=20 Mikolajczyk
To: tomcat-user@jakarta.apache= .org=20
Sent: Thursday, February 15, = 2001 12:30=20 PM
Subject: HANDLER THREAD = PROBLEM:=20 java.net.SocketException Invalid argument


I am using Linux RedHat 7.0, Tomcat 3.2.1, Apache = 1.3.14-3
and=20 I get an exception when I try to route the request
to = tomcat=20 through Apache.
The error is as following
# HANDLER THREAD PROBLEM: java.net.SocketException: Invalid=20 argument
java.net.SocketException: Invalid=20 argument
        at=20 = java.net.PlainSocketImpl.socketSetOption(PlainSocketImpl.java:native)
=        =20 at=20 = java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:158)
 &nb= sp;     =20 at=20 = java.net.Socket.setSoLinger(Socket.java:106)
    &= nbsp;  =20 at=20 = org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnect= ion(Ajp12ConnectionHandler.java:122)
     &nb= sp; =20 at=20 = org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)=
       =20 at=20 = org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498= )
       =20 at java.lang.Thread.run(Thread.java:325)
 
Thank you for your help.
Mike Mikolajczyk
------=_NextPart_000_0063_01C09779.4B8D43C0--