ramya lekha wrote:
Hi

I had attached the httpd.conf file along with this mail...
The Directory root is set to usr/abcd-web and our application "testapp" is
under usr/apache/tomcat/webapp.... So when ever the url
spixxl.xxx.com/testapp is called it is searching under usr/abcd-web instead
of usr/apache/tomcat/webapp.... The error in the mod_jk.log file is
displayed below:

[Wed Jun 04 20:51:44 2008] [943571:3223019520] [debug] jk_shm.c (471):
Reseting the shared memory for child 6
[Wed Jun 04 20:51:44 2008] [943571:3223019520] [debug] jk_shm.c (262):
Duplicated shared memory lock /usr/apache/logs/mod_jk.shm.942337.lock
[Wed Jun 04 20:51:44 2008] [943571:3223019520] [debug] mod_jk.c (2730):
Attached shm:/usr/apache/logs/mod_jk.shm.942337 (28672 bytes)
[Wed Jun 04 20:51:44 2008] [943571:3223019520] [debug] mod_jk.c (2740):
Initialized mod_jk/1.2.26
[Wed Jun 04 21:04:16 2008] [943458:3223019520] [debug] mod_jk.c (3033):
missing uri map for spixxl.xxx.com:/testapp/test.jsp

And the workers.properties I wrote is :

# Define some properties
workers.tomcat_home=/usr/apache/tomcat
workers.java_home=/usr/opt/java141
ps=/
worker.list=worker1
# Set properties for worker1(ajp13)
worker.worker1.type=ajp13
worker.worker1.host=spixxl.xxx.com
worker.worker1.port=2004
worker.worker1.connection_pool_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=60

Do let me know if anything more is needed..


Well, yes probably.

1) You should have, in your Apache configuration, some instructions telling Apache which URI's should be handled by mod_jk.
Something like

JkMount /testapp  ajp13
JkMount /testapp/* ajp13

or
<Location /testapp>
  SetHandler Jakarta-servlet
 ..
</Location>


2) in your spixxl.xxx.com Tomcat server.xml configuration, you should have a <Connector> element referencing port 2004
Something like
<!-- Define an AJP 1.3 Connector on port 2004 -->
<Connector port="2004" enableLookups="false" redirectPort="xxxx" protocol="AJP/1.3" />

From the error message you show, it looks like it's the first item above
that may be incorrect.

> [Wed Jun 04 21:04:16 2008] [943458:3223019520] [debug] mod_jk.c (3033):
> missing uri map for spixxl.xxx.com:/testapp/test.jsp


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to