tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivor Durham <ivor.dur...@webprint.com>
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 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


Mime
View raw message