Hi Chris, Yes, you could look at the installed version of Tomcat and see what changes have been made to it in order to make it work properly. To be honest, I learned a lot from the Jetty configuration that Alan released earlier - although it took some doing to figure out how to translate his Jetty configuration to Tomcat, and then get Apache tied into that.
I could not figure out a way around editing the server.xml file. I can only guess that the mod_jrun.so files and mod_servletexec.so files do a little extra to pass on domain specific information off to the J2EE server when running CF7/8 or BDJX. That function is not present in the mod_jk.so, so we still have to edit the server.xml file manually. mod_jk is open though, so maybe we could update that some time in the future and not have to update the server.xml file either. ;) Time will tell! I'll be working on the documentation and making the script more multi-platform compatible as much as time allows. I'd be willing to provide the source of the scripts to anyone who's interested. Thanks for the thanks! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Chris Jordan wrote: > Brilliant! Thanks so much for this! I imagine that even if I can't use > the script as-is (can't remember if we're runnong CentOS5 or not but > chances are good that we are), I could still look at the source of your > script (or your documentation) to figure out how to manually make these > changes. Could I not? > > I'm looking forward to updates on the documentation and the status of > the script! Thanks for your contribution to the community! :o) > Chris > > On Thu, Sep 18, 2008 at 2:36 PM, Jordan Michaels <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Many many folks have been asking for a setup that's very similar to how > CF7/CF8/BDJX are set up in that the J2EE engine is "in the background" > and Apache simply processes site CFM files. This installer is hopefully > a step in that direction. > > For anyone who's interested in this, I've got a "alpha" version of a > CentOS5/RHEL5 installer here: > > http://clubwheat.viviotech.net/openbd_rhel5.sh > > This installer sets up isolated instances of Sun's JRE, OpenBD, and > Tomcat, specifically for the purpose of processing CFML templates. > > It is meant to be run from the command-line as the root user. So... > > # sh openbd_rhel5.sh > > This set up configures tomcat to make OpenBD the default processor for > all CFM files regardless of their host name or what directory they > originate from. > > There is one caveat, you will need to update the "[OpenBD Install > Dir]/tomcat/server.xml" file with a new "<Host>" entry for each web site > that you have listed as an Apache VirtualHost. I am in the process of > writing up some documentation that will explain this in great detail, > but for now, a simple host entry with just the site URL (IE: > www.mysite.com <http://www.mysite.com>) and the directory that files > are coming from is all the > tomcat <Host> entry will need. > > I will be writing documentation, and updating the installer to be more > multi-system compatible as time allows. Please let me know your > experiences, and (if you dare) feel free to offer patches! =D > > -- > Warm regards, > Jordan Michaels > Vivio Technologies > http://www.viviotech.net/ > Open BlueDragon Steering Committee > Adobe Solution Provider > > > > > > -- > 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 !! -~----------~----~----~----~------~----~------~--~---
