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 29315 invoked from network); 14 May 2000 15:06:44 -0000 Received: from mta5.snfc21.pbi.net (206.13.28.241) by locus.apache.org with SMTP; 14 May 2000 15:06:44 -0000 Received: from Default ([63.203.70.61]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with SMTP id <0FUK00A3V1YYN7@mta5.snfc21.pbi.net> for tomcat-user@jakarta.apache.org; Sun, 14 May 2000 08:06:34 -0700 (PDT) Date: Sun, 14 May 2000 08:06:28 -0700 From: Ivor Durham Subject: JServ to Tomcat migration problem(s). To: tomcat-user Message-id: MIME-version: 1.0 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: multipart/alternative; boundary="----=_NextPart_000_0004_01BFBD7B.4E523260" Importance: Normal X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 X-Priority: 3 (Normal) X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0004_01BFBD7B.4E523260 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am encountering a problem with which I need a little help. I didn't see any relevant item in the FAQ or User/Developer guides. After I successfully installed Tomcat and checked that the examples run properly in the stand-alone configuration via port 8080, I changed my Apache configuration to use the tomcat-apache.conf file instead of my existing jserv.conf. Apache on port 80 successfully serves /test and shows me the Tomcat test index.html, so the basic connection from Apache to Tomcat seems to work. However, attempts to execute servlets via Apache hang. When the connection is broken, Tomcat reports an IOException in connector.readString. I realized that I didn't have the Tomcat version of mod_jserv.so in place, so I retrieved the source distribution and attempted to build it. Executing the compilation recipe from the Users' Guide ("apxs -c *.c -o mod_jserv.so") reports a problem at the link stage because there is already one automatically generated "-o" directive on the loader command line: "-o autochange.so". If I compile with just "apxs -c *.c" and then copy the generated autochange.so to the Apache libexec directory under the name "mod_jserv.so", Apache takes a segmentation fault on start-up. Where should I look next? Is this the right problem to be solving to get servlet invocations to work via Apache? I am running Apache 1.3.9 on Solaris/SPARC 2.7 and JDK 1.2.2. Another question: The generated tomcat-apache.conf file includes an AddType directive that specifies "test/jsp". Should that not be "text/jsp" as it is in the "tomcat.conf" file that comes with the distribution? Is this a typo in org/apache/tomcat/task/ApacheConfig.java where that string is generated? Thanks in advance. Ivor Durham ------=_NextPart_000_0004_01BFBD7B.4E523260 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am encountering a = problem=20 with which I need a little help. I didn't see any relevant item in the = FAQ or=20 User/Developer guides.
 
After = I successfully=20 installed Tomcat and checked that the examples run properly in = the=20 stand-alone configuration via port 8080, I changed my Apache = configuration to=20 use the tomcat-apache.conf file instead of my existing jserv.conf. = Apache on=20 port 80 successfully serves /test and shows me the Tomcat test = index.html,=20 so the basic connection from Apache to Tomcat seems to = work. However,=20 attempts to execute servlets via Apache hang. When the connection is = broken,=20 Tomcat reports an IOException in = connector.readString.
 
I realized that I = didn't have=20 the Tomcat version of mod_jserv.so in place, so I retrieved the source=20 distribution and attempted to build it. Executing the compilation recipe = from=20 the Users' Guide ("apxs -c *.c -o mod_jserv.so") reports a problem = at the=20 link stage because there is already one automatically = generated "-o"=20 directive on the loader command line: "-o autochange.so". If I compile = with just=20 "apxs -c *.c" and then copy the generated autochange.so to the Apache = libexec=20 directory under the name "mod_jserv.so", Apache takes a segmentation = fault on=20 start-up. Where should I look next? Is this the right problem to be = solving to=20 get servlet invocations to work via Apache?
 
I am running Apache = 1.3.9 on=20 Solaris/SPARC 2.7 and JDK 1.2.2.
 
Another question: = The generated=20 tomcat-apache.conf file includes an AddType directive that specifies = "test/jsp".=20 Should that not be "text/jsp" as it is in the "tomcat.conf" file that = comes with=20 the distribution? Is this a typo in = org/apache/tomcat/task/ApacheConfig.java=20 where that string is generated?
 
Thanks in=20 advance.
 
Ivor = Durham
 
------=_NextPart_000_0004_01BFBD7B.4E523260--