Okay, so I'm playing around some more with this today, and it looks like the problem is that it (tomcat?) is not seeing /var/www/html as my webroot. All of my sites (ColdFusion, PHP, etc.) are under the path /var/www/html/sitename. So vangemerts.com is under /var/www/html/vangemerts.
I installed obenbd to /var/www/openbd. It looks like tomcat is trying to use /var/www/openbd/tomcat/webapps/ROOT as the webroot and is expecting all sites to be under that path. I thought that setting the docBase in the contexts element of server.xml was supposed to tell tomcat where to go look for the files that make up my site. Am I wrong in this? Also, where exactly is the WEB-INF directory that's pertinant to OpenBD located? I can find several WEB-INF directories, but they just contain a single file called web.xml. Where is the OpenBD Administrator located? How do I get to it? Maybe what I should be doing is testing with that application and not my own application at this point. Really, right now I'd be happy to se ANY CF page run. Chris On Sun, Dec 7, 2008 at 2:08 AM, Chris Jordan <[EMAIL PROTECTED]>wrote: > Hi Jordan, > > Unfortunately that didn't help. I switched the host element to look just > like the example you gave (I cut and pasted it from your email), and *still* > when I go to http://www.vangemerts.com/ I get a tomcat page that says > (among other things), "If you're seeing this page via a web browser, it > means you've setup Tomcat successfully. Congratulations!" If I go to > http://www.vangemerts.com/index.cfm then I get a message from OpenBD > telling me that the file doesn't exist. I'm really confused. :o/ > > Thanks for any and all help you can give me. > > Chris > > On Sat, Dec 6, 2008 at 7:42 PM, Jordan Michaels <[EMAIL PROTECTED]>wrote: > >> >> Hi Chris, >> >> In the following example: >> <Host name="[ENTER DOMAIN NAME]" appBase="webapps" >> unpackWARs="true" autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false"> >> <Context path="" docBase="[ENTER SYSTEM PATH]" /> >> </Host> >> >> The only changes that need to be made are the [ENTER DOMAIN NAME] and >> [ENTER SYSTEM PATH] values. Once you've udpated those appropriately, it >> should work like you're wanting it to. Don't change the "appBase" value in >> particular. >> >> So...that said, this should work: >> >> <Host name="www.vangemerts.com" appBase="webapps" >> unpackWARs="true" autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false"> >> <Context path="" docBase="/var/www/html/vangemerts/" /> >> </Host> >> >> Let me know if that helps or not! >> >> -Jordan >> >> >> >> ----- Original Message ----- >> From: "Chris Jordan" <[EMAIL PROTECTED]> >> To: [email protected] >> Sent: Saturday, December 6, 2008 9:43:37 AM GMT -08:00 US/Canada Pacific >> Subject: [OpenBD] Re: OpenBD not deployed after running CentOS5/RHEL5 >> installer >> >> D'oh! sure... and did I not specify that I was talking about server.xml? >> Oops. Sorry. You are correct, that's exactly what I'm talking about. Here's >> the host information from the file. If you need the whole file, let me know. >> Thanks! >> >> Chris >> >> <Host name="localhost" appBase="webapps" >> unpackWARs="true" autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false"> >> >> <!-- SingleSignOn valve, share authentication between web applications >> Documentation at: /docs/config/valve.html --> >> <!-- >> <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> >> --> >> <!-- Access log processes all example. >> Documentation at: /docs/config/valve.html --> >> <!-- >> <Valve className="org.apache.catalina.valves.AccessLogValve" >> directory="logs" >> prefix="localhost_access_log." suffix=".txt" pattern="common" >> resolveHosts="false"/> >> --> >> >> </Host> >> <Host name=" www.vangemerts.com " appBase="/var/www/html/vangemerts/" >> unpackWARs="true" autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false"> >> >> <Context path="" docBase="/var/www/html/vangemerts/" /> >> <Alias> vangemerts.com </Alias> >> </Host> >> >> >> >> >> On Sat, Dec 6, 2008 at 11:33 AM, Matthew Woodward < [EMAIL PROTECTED]> wrote: >> >> >> >> Chris Jordan wrote: >> >> >> I think the problem is with my appBase, but I'm a little confused. What is >> appBase supposed to point to? >> >> Are you talking about the Tomcat server.xml file? Can you post the XML you >> currently have for your host? >> >> -- >> Matt Woodward >> [EMAIL PROTECTED] >> http://www.mattwoodward.com/blog >> >> Please do not send me proprietary file formats such as Word, PowerPoint, >> etc. as attachments. >> http://www.gnu.org/philosophy/no-word-attachments.html >> >> >> >> >> -- >> http://cjordan.us >> >> >> >> >> >> > > > -- > http://cjordan.us > -- http://cjordan.us --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official blog @ http://blog.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
