tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eoin McCarthy <>
Subject RE: Solaris 8, apache and mod_jk - problem with jsps and servlets
Date Mon, 19 Feb 2001 13:26:24 GMT


Got this working, more by accident than anything else. 

Load mod_alias BEFORE mod_jk. Servlets and jsps then work fine.

Reverse this and servlets can't be found and jsps are served as code. 


-----Original Message-----
From: Eoin McCarthy 
Sent: Monday, February 05, 2001 11:50 AM
To: ''
Subject: RE: Solaris 8, apache and mod_jk - problem


Just tried this. Unfortunately, it didn't work - java/lib/tools.jar was
already on the classpath
on startup and copying it to $TOMCAT_HOME/lib didn't have any effect. 


-----Original Message-----
From: Thomas Bezdicek []
Sent: Monday, February 05, 2001 11:13 AM
Subject: AW: Solaris 8, apache and mod_jk - problem


We had the same problem and solved it by copying the tools.jar into

BTW: dont use the Hotspot-Engine with -server Parameter it would
crash at sometime with signal 11, it is a bug, use -client Parameter.

regards, tom

-----Ursprngliche Nachricht-----
Von: Eoin McCarthy []
Gesendet: Montag, 05. Februar 2001 11:56
An: ''
Betreff: Solaris 8, apache and mod_jk - problem


I'm trying to configure apache 1.3.9  and tomcat 3.2 with mod_jk under
Solaris 8.  I'm using the example contexts supplied with the

A standalone configuration of tomcat serves the contexts OK as does tomcat
with apache using mod_jserv. However, I
can't get jsps to run using mod_jk - when I try to run one I just get the
source code. Servlets are also problematic:
for the provided webapps/examples context, the servlets run OK if I do not
explicitly specify that context in the server.xml file.
If I specify it, tomcat complains that it can't find the file (and yes, I
have the location right).

I suspect that the file is the problem seeing as I'm
following the off-the-shelf configurations for
tomcat. However, the provided file refers to DLLs,
indicating a win32 setup. I've set the paths required as per
my system but I may be missing something - the output from the mod_jk logs
seems to indicate that mod_jk can't find a worker for
jsps. I've tried both ajp12 and ajp13.

The configuration files I'm using are attached.

Any help would be greatly appreciated.
Eoin McCarthy





To unsubscribe, e-mail:
For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message