Date: Tue, 16 Apr 2002 13:34:40 +0200 From: Fredrick Nilsson <fredrick.nilsson@framfab.se> To: 'Adrian Thiele' <athiele@charter.net> Cc: freebsd-java@FreeBSD.ORG Subject: RE: FreeBSD +Linux Tomcat 4.0.3 + Linux j2sdk1.4.1 +mod_webapp = VERY SLOW Message-ID: <E6D22E487D45D411931B00508BCF93E7062569B6@storeg001.framfab.se>
next in thread | raw e-mail | index | archive | help
btw, if I use coyote, i don't have to use anything else to get apache-tomcat
to work?
is this all I have to do:
Add the following XML fragment to $TOMCAT_HOME/conf/modules.xml:
<module name="CoyoteConnector"
javaClass="org.apache.coyote.tomcat3.CoyoteInterceptor"/>
Add the following XML fragment to $TOMCAT_HOME/conf/server.xml as a child of
the ContextManager element:
<CoyoteConnector port="8081"
secure="false"
maxThreads="100"
maxSpareThreads="50"
minSpareThreads="10" />
and then I'll be able to process .jsp files on my apache server?
.f
-----Original Message-----
From: Fredrick Nilsson
Sent: Tuesday, April 16, 2002 13:28
To: 'Adrian Thiele'
Cc: freebsd-java@FreeBSD.ORG
Subject: RE: FreeBSD +Linux Tomcat 4.0.3 + Linux j2sdk1.4.1 +mod_webapp
= VERY SLOW
so I guess I need both mod_jk _and_ mod_webapp to get apache 2 and tomcat 4
to work together?
I'm a bit confused since the documentation I have found so far indicates
different things.
I would appriciate if someone, who has apache-tomcat up, could explain
exactly how to do. this would help me _a lot_! =)
thanks anyway Adrian!
.fredrick
-----Original Message-----
From: Adrian Thiele [mailto:athiele@charter.net]
Sent: Tuesday, April 16, 2002 09:23
To: Fredrick Nilsson
Cc: freebsd-java@FreeBSD.ORG
Subject: Re: FreeBSD +Linux Tomcat 4.0.3 + Linux j2sdk1.4.1 +mod_webapp
= VERY SLOW
I you goto jakarta.apache.org you can get the
jakarta-tomcat-connectors-4.0.4-b2.ta.gz tarball from the jakarta-source
download page.
I have not seen a port package , but I could be wrong.
The jakarta-tomcat-connectors has mod_webapp , coyote (jars
available as binaries), mod_jk, and everything else you need. Coyote
apparently can speed up stand-alone
http serving and connect mod_jk via ajc14. I assume it improves speed ?
Documentation is thin.
Adrian
Fredrick Nilsson wrote:
>btw, where do I find and install mod_webbap? How about mod_jk, is it
better?
>
>.fredrick
>
>-----Original Message-----
>From: Rik Scarborough [mailto:RikSca@kc.rr.com]
>Sent: Tuesday, April 16, 2002 09:55
>To: Adrian Thiele
>Cc: freebsd-java@FreeBSD.ORG
>Subject: Re: FreeBSD +Linux Tomcat 4.0.3 + Linux j2sdk1.4.1 +mod_webapp
>= VERY SLOW
>
>
>On Mon, 15 Apr 2002, Adrian Thiele wrote:
>
>>Rik Scarborough wrote:
>>
>>>On Mon, 15 Apr 2002, Adrian wrote:
>>>
><snip>
>
>>>I've gotten mod_webapp to run under Apache 1.3 but I am having a lot of
>>>trouple getting it to run under Apache2. Very little of the
>>>documentation even talks about running it under Apache2.
>>>
>>>
>> Hey could I see your warp connector part of server.xml ?
>>
>
>It's unchanged from the initial install.
>
>
>
> <!-- Define an Apache-Connector Service -->
> <Service name="Tomcat-Apache">
>
> <Connector className="org.apache.catalina.connector.warp.WarpConnector"
> port="8008" minProcessors="5" maxProcessors="75"
> enableLookups="true" appBase="webapps"
> acceptCount="10" debug="0"/>
>
> <!-- Replace "localhost" with what your Apache "ServerName" is set to
>-->
> <Engine className="org.apache.catalina.connector.warp.WarpEngine"
> name="Apache" debug="0">
>
> <!-- Global logger unless overridden at lower levels -->
> <Logger className="org.apache.catalina.logger.FileLogger"
> prefix="apache_log." suffix=".txt"
> timestamp="true"/>
>
> <!-- Because this Realm is here, an instance will be shared globally
>-->
> <Realm className="org.apache.catalina.realm.MemoryRealm" />
>
> </Engine>
>
> </Service>
>
>
>> Have you tried the coyote connector ?
>>
>
>No. I have not been able to find any documentation to it, so I have no
>idea how to use it.
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E6D22E487D45D411931B00508BCF93E7062569B6>
