You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dave Thieben <da...@lighthousetechnologies.com> on 2002/11/19 17:48:42 UTC

Help with JK2

Anyone have any ideas on this?  I'm beating my head against the monitor.
Thanks.

-----Original Message-----
From: Dave Thieben [mailto:dave_thieben@lighthousetechnologies.com] 
Sent: Tuesday, November 19, 2002 10:12 AM
To: Tomcat Users List
Subject: JK2 Followup -- More


Well, I got JK2 working, for the most part.

Now, the only problem I have is that www.lighthousehome.com loads
everything fine, but lighthousehome.com will not load anything besides
*.jsp (including /images/* and any subfolders, /tech/index.jsp, etc.).

I double checked all my properties files, and can't find any field set
to *.jsp.  I tried to view an image without the www. subdomain, and the
404 is returned from Apache, not Tomcat, so it makes me think there is
something wrong in the apache conf.

Any help is appreciated.


Dave Thieben
Lighthouse Technologies, Inc. dave_thieben@lighthousetechnologies.com

-----------------------
{httpd2.conf}

<VirtualHost 192.168.0.199>
	ServerAdmin support@lighthousetechnologies.com
	DocumentRoot /var/www2/html
	ServerName lighthousehome.com
	ServerAlias www.lighthousehome.com
	ErrorLog /var/log/httpd2/lighthousehome.com-error_log
	CustomLog /var/log/httpd2/lighthousehome.com-access_log common
	
	<Location "/*">
		JkUriSet worker ajp13:localhost:8009
	</Location>

</VirtualHost>

------------------------
{workers2.properties}

[uri:lighthousehome.com/*]
alias=www.lighthousehome.com
group=lb
worker=ajp13:localhost:8009
context=/lighthousetechnologies.com

------------------------
{jk2.properties}

handler.list=channelSocket,request
channelSocket.port=8009

------------------------
{server.xml}

<Host name="lighthousehome.com" debug="0" 
    appBase="/var/tomcat4/webapps/lighthouse" 
    unpackWARs="true" autoDeploy="true">

  <Alias>localhost</Alias>
  <Alias>www</Alias>
  <Alias>www.lighthousehome.com</Alias>
  <Context path="" docBase="lighthousetechnologies.com" debug="1"/>
		
  <Context path="/mfg" docBase="mfg" debug="1"/>

  <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs"  prefix="lighthousehome_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
</Host>



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>