> Is the Ready2Run install the best way? Is there a way to install
Jetty/OpenBD to perform better?

I'm not sure if it's the best way, only that it puts OpenBD in the root
context making it behave more like a typical Adobe ColdFusion installation.
If you'd like a more traditional J2EE setup, then I think you'd be better
off running a Java servlet container like Tomcat or Jetty and then deploying
an OpenBD instance per site. I'm no expert, but I think tweaking performance
would involve your JVM more so than Jetty itself, though there are others on
the list who speak better to that than I.

On Thu, Apr 23, 2009 at 10:27 AM, DetailsDotAt <[email protected]> wrote:

>
> Hi Guys,
>
> So far so great.
>
> -I've been convinced to abandon IIS altogether. I prefer being able to
> work from within an XML file vs GUI, and the only reason I was using
> IIS was because I was comfortable with it. Fortunately, with the
> modularity I would like to see within my own project, as long as Jetty
> remains stable, it seems like the better choice for me. Until I
> actually get this project off the ground and running without breaking
> during normal operation (IIS hasn't broke yet), then I will probably
> stick with it.
>
> -I've yet to actually test my code on OpenBD, but it has ran fine on
> BD7 (free version).
>
> The issue I have now is getting the website actually setup.
> Datasources are valid and I've been able to duplicate all non default
> config information from BD7 to OpenBD.. So it looks like I just need
> to get the site mapped out now.
>
> (tangent-->) Is the Ready2Run install the best way? Is there a way to
> install Jetty/OpenBD to perform better?
>
> On to my main issue: WebSite Config via Jetty.xml
>
> This is probably easy, but the lack of documentation (I AM GOOGLING)
> has me a little confused, so I figured I would just post what I am
> trying to achieve, what I currently have, and hammer it out that way.
>
> I am going to be hosting one major website from the server, but will
> need entries for about 10 others. Honestly, Let's just say I need to
> host 10 sites, because even though one will be alot busier, in nature,
> it should be setup the same way.
>
> I assume that all I need to figure out is how to configure jetty.xml
> for two individual sites. Each site will have it's own IP address.
> I'll list both the root domain and it's www. counterpart for sake of
> remembering to include both in the configuration. I'm not sure if
> that's necessary yet. Both sites will be dependant on OpenBD and will
> need to process .cfm, and will need their own individual missing
> document handler. (is this possible?)
>
> Below you will find the general info for each site, plus an excerpt
> from jetty.xml showing how I would configure the sites using the info.
> I haven't been able to get the sites to load.
>
> Sites:
>
> Company.com - 192.168.111.201
> www.Company.com - 192.168.111.201
> webroot - C:\openbd\webroot_cfmlapps\company_www\
> missingdochandler - C:\openbd\webroot_cfmlapps\company_www\404.cfm
>
> Business.com - 192.168.111.211
> www.Business.com - 192.168.111.211
> webroot - C:\openbd\webroot_cfmlapps\business_www\
> missingdochandler - C:\openbd\webroot_cfmlapps\business_www\404.cfm
>
> -----------------------------------------------------------------------
> Jetty.XML
> -----------------------------------------------------------------------
>
> <New id="Handlers"
> class="org.mortbay.jetty.handler.HandlerCollection">
> <Set name="handlers">
> <Array type="org.mortbay.jetty.Handler">
>
> <Item>
> <New id="cfmlWebContext_1"
> class="org.mortbay.jetty.webapp.WebAppContext">
> <Set name="contextPath">/</Set>
> <Set name="war"><SystemProperty name="jetty.home" default="../"/>/
> webroot_cfmlapps/cfmlWebContext_1/</Set>
> <Set name="defaultsDescriptor"><SystemProperty name="jetty.home"
> default="../"/>/etc/webdefault.xml</Set>
> <Set name="VirtualHosts">
> <Array type="java.lang.String">
> <Item>127.0.0.1</Item>
> <Item>localhost</Item>
> </Array>
> </Set>
> </New>
> </Item>
>
>
> <Item>
> <New id="company" class="org.mortbay.jetty.webapp.WebAppContext">
> <Set name="contextPath">/</Set>
> <Set name="war">C:\openbd\webroot_cfmlapps\company_www\</Set>
> <Set name="defaultsDescriptor"><SystemProperty name="jetty.home"
> default="../"/>/etc/webdefault.xml</Set>
> <Set name="VirtualHosts">
> <Array type="java.lang.String">
> <Item>192.168.111.201</Item>
> <Item>Company.com</Item>
> <Item>www.Company.com</Item>
> </Array>
> </Set>
> </New>
> </Item>
>
> <Item>
> <New id="business" class="org.mortbay.jetty.webapp.WebAppContext">
> <Set name="contextPath">/</Set>
> <Set name="war">C:\openbd\webroot_cfmlapps\business_www\</Set>
> <Set name="defaultsDescriptor"><SystemProperty name="jetty.home"
> default="../"/>/etc/webdefault.xml</Set>
> <Set name="VirtualHosts">
> <Array type="java.lang.String">
> <Item>192.168.111.211</Item>
> <Item>Business.com</Item>
> <Item>www.Business.com</Item>
> </Array>
> </Set>
> </New>
> </Item>
>
>
> <Item>
> <New id="RequestLog"
> class="org.mortbay.jetty.handler.RequestLogHandler"/>
> </Item>
> </Array>
> </Set>
> </New>
>
> >
>


-- 
Anthony Hixon, Jr.
Certified Advanced ColdFusion MX 7 Developer
Mobile: (706) 639-3617
[email protected]

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to