What do you have in your server.xml and your apache conf file. I have just
implemented almost the same thing.
Could not get jk2 or jk to do what I wanted it to do. So mod_webapp were
the ticket...
server.xml:
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="/web/test/webapps/mpsdemo"
acceptCount="10" debug="0"/>
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8021" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="/web/test/webapps/cpm_test"
acceptCount="10" debug="0"/>
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
httpd.conf
LoadModule webapp_module modules/mod_webapp.so
The following are included in my vhost configuration, just add the following
lines inside your vhost. the "/" mounts it at the root.
Vhost1:
WebAppConnection mpstest warp localhost:8008
WebAppDeploy . mpstest /
Vhost2:
WebAppConnection cpm_test warp localhost:8021
WebAppDeploy . cpm_test /cpm_test
----- Original Message -----
From: "Alberto Puerta" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2003 2:26 PM
Subject: Problem with webapp connector
> Hi list.
>
> I've installed apache 2.0.45 and Tomcat 4.1.24, compiled webapp connector
> and it works fine but when i put the sistem in production i get this
error:
>
> [Wed Jun 11 09:11:55 2003] [notice] Apache/2.0.45 (Unix)
> mod_webapp/1.2.0-dev configured -- resuming normal operations
> [Wed Jun 11 10:43:25 2003] [error] Cannot read packet
>
(/usr/local/software/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/pr_warp
> _config.c:230)
> [Wed Jun 11 10:43:25 2003] [error] Cannot configure connection "conZamora"
>
> The sistem works 1 hour and then the connector crashes and the server goes
> down.
> Any idea? I gonna try jk2 connector but i prefer webapp.
>
> Thanks a lot.
>
> ------------------------------------------------
> Administraci�n de Sistemas
> [EMAIL PROTECTED]
> http://www.renr.es <http://www.renr.es/>
> Tel: 96.598.71.85 - Fax: 96.592.43.12
> Recursos en la red, S.L.U.
> Pintor Cabrera, 22 Esc. B-3�
> 03003 Alicante (Espa�a)
> ------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]