tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivor Durham <>
Subject JServ to Tomcat migration problem(s).
Date Sun, 14 May 2000 15:06:28 GMT
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 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")
reports a problem at the link stage because there is already one
automatically generated "-o" directive on the loader command line: "-o". If I compile with just "apxs -c *.c" and then copy the
generated to the Apache libexec directory under the name
"", 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/ where that string is generated?

Thanks in advance.

Ivor Durham

View raw message