Jordan, I added the trailing slashes to my system paths and installed the /opt/openbd/, but it still isn't working. I am getting a different response from the server though.
At first I was getting nothing at all, just a blank page. Then I realized that the old tomcat process from when it was installed to /var/www/openbd/tomcat was still running. I killed it, and then restarted tomcat via your openbd_ctl.sh script. After doing that, I get the following: HTTP Status 404 - / ------------------------------ *type* Status report *message* */* *description* *The requested resource (/) is not available.* ------------------------------ Apache Tomcat/6.0.16 So, I'm lost again. I uninstalled openbd (again via your script) and re-installed it to my /var/www/openbd directory (which the install script creates for me since I have the uninstall script remove the directory), and after making the manual changes to server.xml, I'm back to getting the tomcat welcome page. So, I unstalled again and reinstalled to the /opt/openbd directory once more. After making the manual changes to server.xml I'm stuck with my 404 error again. Any other thoughts as to what I can do to solve this problem? Thanks, Chris On Mon, Dec 8, 2008 at 8:41 PM, Chris Jordan <[EMAIL PROTECTED]>wrote: > Jordan, > > No worries on the delayed response. I know we all have day jobs. :o) > > I'd be happy to try those things. There isn't any *real* reason I couldn't > install to /opt/openbd/. In fact, I almost tried that today, but work got in > my way. > > I'll report back when I've taken these steps. > > Chris > > > On Mon, Dec 8, 2008 at 7:24 PM, Jordan Michaels <[EMAIL PROTECTED]>wrote: > >> >> Hi Chris, >> >> Okay, sorry for the delayed response. Crazy day. One emergency after >> another. >> >> So... I took a few minutes to look this over and I found a few >> "potentials". I'm not sure if they are the issue or not but they are >> worth a shot. >> >> First, in your server.xml configs, add the trailing / to your system >> paths. In my tests, I have the trailing slashes and they appear to be >> working for me, so I would try that. It's small, but it may make the >> difference. >> >> Next, would it be possible for you to install to /opt/openbd/? Purely >> for testing sake? If that works like it's supposed to, then there may be >> a non-dynamic variable in the config that I forgot about and need to get >> changed over to being written by the install process. >> >> Thank you SO MUCH for helping me make this installer better. I really >> appreciate it. >> >> Warm regards, >> Jordan Michaels >> Vivio Technologies >> http://www.viviotech.net/ >> Open BlueDragon Steering Committee >> Adobe Solution Provider >> >> >> Chris Jordan wrote: >> > Okay, it still isn't working. It's just a path issue I'm sure of it. >> > When I point my browser to http://vangemerts.com I get the file located >> > at $CATALINA_HOME/webapps/ROOT/index.html. >> > >> > My host entry in server.xml looks like this: >> > >> > >> > <Host name="vangemerts.com <http://vangemerts.com>" >> appBase="webapps" >> > unpackWARs="true" autoDeploy="true" >> > xmlValidation="false" xmlNamespaceAware="false"> >> > <Context path="" docBase="/var/www/html/vangemerts" /> >> > </Host> >> > >> > I have also tried (with the alias for www.vangemerts.com >> > <http://www.vangemerts.com>): >> > >> > <Host name="vangemerts.com <http://vangemerts.com>" >> appBase="webapps" >> > unpackWARs="true" autoDeploy="true" >> > xmlValidation="false" xmlNamespaceAware="false"> >> > <Context path="" docBase="/var/www/html/vangemerts" /> >> > <Alias>www.vangemerts.com <http://www.vangemerts.com></Alias> >> > </Host> >> > I do a restart of tomcat in between changes because I'm guessing that's >> > the right thing to do. I just run ./openbd_ctl.sh restart. >> > >> > The install seems to go flawlessly. The only default I don't take is the >> > very first one (where do I want to install). The default is /opt/openbd/ >> > and I choose instead /var/www/openbd/. That shouldn't matter should it? >> > >> > It would appear that tomcat is ignoring my docBase context and instead >> > looking for all files to be under the webapps/ROOT directory. >> > >> > Hmm... :o/ >> > >> > Sorry to be such a pain. I hope we can work this out, though. >> > >> > Chris >> > >> > >> > On Mon, Dec 8, 2008 at 11:49 AM, Jordan Michaels <[EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]>> wrote: >> > >> > >> > Awesome. Thanks. I look forward to hearing how it goes! >> > >> > Warm regards, >> > Jordan Michaels >> > Vivio Technologies >> > http://www.viviotech.net/ >> > Open BlueDragon Steering Committee >> > Adobe Solution Provider >> > >> > >> > Chris Jordan wrote: >> > > Jordan, >> > > >> > > The only link I could find about the installer was in an old >> > thread. So, >> > > yes, I think I was using the alpha version. Let me uninstall and >> try >> > > again with the latest version and see if that fixes things. I'll >> > report >> > > back shortly. :o) >> > > >> > > Chris >> > > >> > > On Mon, Dec 8, 2008 at 10:35 AM, Jordan Michaels >> > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> >> wrote: >> > > >> > > >> > > Chris, >> > > >> > > Which version of the installer are you using? Is it the one I >> > posted as >> > > an Alpha test or the one I released later as a bug fix. You >> > indicated >> > > that there are several instances of the WEB-INF directory and >> that >> > > indicates that it's the earlier version. I fixed that >> > particular issue >> > > (multiple WEB-INF directories) when I released the later >> > version of the >> > > installer. >> > > >> > > This may have something to do with what's happening here. I >> > made several >> > > configuration tweaks in the latest version - although I must >> > admit I've >> > > never encountered what's happening with you. >> > > >> > > I still suspect it's a configuration issue, however. I know >> > having the >> > > main web site files separate from the "webapps" directory was >> > one of the >> > > main goals of the installer project. I know it works too, as >> I've >> > > deployed it on a few different servers now - namely, we're >> > developing >> > > Vivio's updated site on one of them. >> > > >> > > The most recent version of the installer can be found here: >> > > http://openbd.viviotech.net/ >> > > >> > > in the "installer" directory. >> > > >> > > or direct: >> > > >> > >> http://openbd.viviotech.net/downloader.cfm/id/48/file/openbd_rhel.sh >> > > >> > > Is that the one you're using? >> > > >> > > Thanks Chris. >> > > >> > > Warm regards, >> > > Jordan Michaels >> > > Vivio Technologies >> > > http://www.viviotech.net/ >> > > Open BlueDragon Steering Committee >> > > Adobe Solution Provider >> > > >> > > >> > > Chris Jordan wrote: >> > > > 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 >> > <http://vangemerts.com> <http://vangemerts.com> >> > > <http://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] <mailto:[EMAIL PROTECTED]> >> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> >> > > > <mailto:[EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]> >> > > <mailto:[EMAIL PROTECTED] >> > <mailto:[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] <mailto:[EMAIL PROTECTED]> >> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> >> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> > <mailto:[EMAIL PROTECTED] <mailto:[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 >> > <http://www.vangemerts.com> <http://www.vangemerts.com> >> > > <http://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] >> > <mailto:[EMAIL PROTECTED]> >> > > <mailto:[EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]>> >> > > > <mailto:[EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]> >> > > <mailto:[EMAIL PROTECTED] >> > <mailto:[EMAIL PROTECTED]>>>> >> > > > To: [email protected] >> > <mailto:[email protected]> >> > > <mailto:[email protected] >> > <mailto:[email protected]>> <mailto:[email protected] >> > <mailto:[email protected]> >> > > <mailto:[email protected] <mailto: >> [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 >> > <http://www.vangemerts.com> >> > > <http://www.vangemerts.com> <http://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 <http://vangemerts.com> >> > <http://vangemerts.com> >> > > <http://vangemerts.com> </Alias> >> > > > </Host> >> > > > >> > > > >> > > > >> > > > >> > > > On Sat, Dec 6, 2008 at 11:33 AM, Matthew Woodward < >> > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] >> > >> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> >> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> > <mailto:[EMAIL PROTECTED] <mailto:[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] <mailto:[EMAIL PROTECTED] >> > >> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> >> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> > <mailto:[EMAIL PROTECTED] <mailto:[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 >> > > > >> > > > > >> > > >> > > >> > > >> > > >> > > >> > > -- >> > > http://cjordan.us >> > > >> > > > >> > >> > >> > >> > >> > >> > -- >> > 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 !! -~----------~----~----~----~------~----~------~--~---
