Hello,
Recently I setup mod_jk to try to get Tomcat to play with Apache. I
created a new <Host> with my domain name. When I point my browser to
http://mydomain.com it redirects to the default Tomcat page that
normally runs on "http://localhost:8080" right after installation only
all of the images are missing.
I have a webapp named "booga" in the "webapps" directory.
I have checked the logs and my "booga" logs are complaining of missing
images ("/tomcat-power.gif" and "/jakarta-banner.gif").
Also if I go to "http://www.mydomain.com:8080/booga/" it works fine.
I have played with this for a long time and need some objective eyes...
can anyone see anything wrong with my configuration below to shed some
light for me....
Thanks much,
Paul
Here are my configuration file entries:
server.xml:
------------------
....
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 USED -->
<Connector className="
org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="
org.apache.jk.server.JkCoyoteHandler"/>
....
<Host name="mydomain.com" debug="0" appBase="webapps" unpackWARs="true"
autoDeploy="true">
<Context path="" docBase="booga" debug="0"/>
<Alias>www.mydomain.com</Alias>
</Host>
....
workers.properties:
------------------
worker.list=booga
#worker booga
worker.booga.port=8009
worker.booga.host=localhost
worker.booga.type=ajp13
httpd.conf (virtualhost config)
-------------------
<VirtualHost my.ip.add.ress>
ServerAdmin webmaster@(protected)
DocumentRoot /usr/local/tomcat/webapps/booga
ServerName www.mydomain.com
ServerAlias mydomain.com
ErrorLog /var/log/apache/booga-error_log
CustomLog /var/log/apache/booga-access_log combined
<IfModule mod_jk.c>
JkWorkersFile "/usr/local/tomcat/conf/workers.properties"
JkMount /*.jsp booga
JkMount /servlet/* booga
JkLogFile /var/log/apache/mod_jk.log-booga
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardDirectories
</IfModule>
My Version Configuration
------------------
jakarta-tomcat-4.1.24
j2sdk1.4.1_02
Apache/1.3.26
mod_jk
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)