On Tue, Oct 5, 2010 at 12:30 AM, Moss <[email protected]> wrote:

>    <!-- Define an AJP 1.3 Connector on port 8009 -->
>    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
>

If that's all you have in server.xml and you don't have virtual hosts *for
Tomcat* defined anywhere else (e.g. a Context.xml file), then that's your
problem.


So everything looks normal. But when I go to http://www.daylocker.com/
> what I get is the Tomcat intro page
>

Exactly, because Tomcat doesn't know what host you're looking for, so it
serves up the default. Without defining a virtual host in Tomcat, it doesn't
know what ajp://local.daylocker.com is. You also have some potential host
name mismatches between Apache and Tomcat going on, so you might need some
aliases in Tomcat.

You'll need to define a virtual host in Tomcat. Add this to Tomcat's
server.xml, right before the close </Engine> tag towards the bottom of the
file:
<Host name="local.daylocker.com">
  <Alias>www.daylocker.com</Alias>
  <Alias>daylocker.com</Alias>
  <Context path="" docBase="/path/to/your/webapp" />
</Host>

Bounce Tomcat and Apache and you should be good.



> It tells me I've set up Tomcat successfully which is great, but openbd
> does not kick in.
>

I'm sure OpenBD is running fine--you can always check this by hitting your
webapp directly on port 8080, e.g. http://localhost:8080/webappname

-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to