[H-GEN] tomcat and apache
deadcat
deadcat at faelixian.com
Thu Jan 29 22:08:14 EST 2004
the problem is i dont seem to be able to get jsp pages served. just a
page that has <%= 2+2 %> doesnt render.
I already have
> JkMount /*.jsp ajp13
in my httpd.conf, which should affect all sites hosted by the server.
my workers.properties file has:
workers.tomcat_home=/tomcat/jakarta-tomcat-4.1.24
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=ajp13
worker.ajp13.type=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.lbfactor=1
however, I'm concerned that perhaps there's a problem with naming a
worker "ajp13", as opposed to "local" or "remote"?
(read from
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/Tomcat-Workers-HowTo.html)
the only web.xml file I have is the one that comes with tomcat, and it
has not been modified.
I've attached a copy of the server.xml file that's being used.
thanks,
dc.
Sarah Hollings wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> deadcat wrote:
>
>> [ Humbug *General* list - semi-serious discussions about Humbug and ]
>> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>>
>> Hi,
>>
>> I need help getting tomcat to render jsp pages.
>> Our server is running apache 1.3.27, and tomcat jakarta-tomcat-4.1.24.
>> We've got it set up to serve up a web app on one particular vhost, but
>> we also need it to render just normal jsp pages on at least two other
>> vhosts.
>>
>> If you can help me, please either email me or chat to me on irc.
>>
>> thanks!
>>
>> DC.
>
>
> What is the issue/error message? Probably need a bit more information
> (maybe post your server.xml, httpd.conf and web.xml files)
>
> IIRC if you're using mod_jk you should be able to just put something like:
>
> JkMount /*.html ajp13
> JkMount /*.jsp ajp13
>
> inside the virtual host stanza for the FQDN serving the JSP's and:
>
> JkMount /servlet/* ajp13
>
> inside the stanza for the servlets. That's assuming ajp13 defined in
> your workers.properties etc. The debian packaged version sets a lot of
> this stuff up for you.
>
> Rgds,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.xml
Type: text/xml
Size: 21540 bytes
Desc: not available
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20040130/308b2517/attachment.xml>
More information about the General
mailing list