Try adding the following to your workers2.properties
Try adding the followign to your workers2.properties
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
and add this to [uri:/jsp-examples]
worker=ajp13:localhost:8009
Hope this helps,
Yiannis
================================================
workers2.properties :
[shm]
file=/usr/local/jakarta-tomcat-5/work/jk2.shm
size=1048576
[channel.socket:localhost:8009]
tomcatId=localhost:8009
info=Ajp13 forwarding over socket
[uri:/jsp-examples/*]
[logger.file:0]
level=DEBUG
file=/usr/local/apache/logs/jk2.log
----------------------
server.xml
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Listener
className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
forwardAll="false"
noRoot="false"/>
<Listener className="org.apache.jk.config.ApacheConfig"
modJk="/usr/local/apache/modules/mod_jk2.so"
workersConfig="/usr/local/apache/conf/workers2.properties"/>
<GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" />
<Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
port="8009"
enableLookups="false"
redirectPort="8443"
debug="0"
protocol="AJP/1.3" />
<Engine name="Catalina" defaultHost="localhost" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
verbosity="4"
prefix="catalina_log." suffix=".log"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="0" resourceName="UserDatabase"/>
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Listener className="org.apache.jk.config.ApacheConfig"
append="true"
forwardAll="false"
modJk="/usr/local/apache/modules/mod_jk2.so" />
<Logger className="org.apache.catalina.logger.FileLogger"
verbosity="4"
directory="logs" prefix="localhost." suffix=".log"
timestamp="true"/>
</Host>
</Engine>
</Service>
</Server>
----------------------------------------------------------------------------
---
If you are not the intended recipient please notify the author by
replying to
this email. Internet communications are not secure and therefore Red
Squared
plc does not accept legal responsibility for the contents of this
message.
Although we operate anti-virus programs, Red Squared does not accept
responsibility for any damage that may be caused by viruses being
passed.
Any views or opinions presented are solely those of the author and do not
necessarily represent those of Red Squared.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Note:__________________________________________________________________
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________