Hi Aaron, Off work today and this is on my other machine will get it written up step by step for you and posted tomorrow. The installer is fine but there are a few bugs with it that you may encounter also the standard tomcat approach with manual single instance install makes it easier to tweak memory settings with a GUI, but not a big deal. yes I use arr as you describe with static assets coming from iis, I also use some tweaks to make sure actual client ip address gets passed through and cgi.http_host is correct.
The key to multiple sites Is first test it just with tomcat by browsing port 8080 then put iis in the mix. Happy to help tomorrow what time zone you on? Thanks Alex On Wednesday, 30 November 2011, Aaron J. White <[email protected]> wrote: > Hey Guys, thanks for the info. > > I am trying a combination of both of your ideas. > I used the vivio tech installer, but did not select the option for > ISAPI and am instead using IIS ARR. I am basically at the same > stopping point that I was at with Jetty. I can see the openbd admin > screen, but I don't know what to do after that to setup multiple sites > linked to different openbd applications. > > @Alex: Could you give an example of the rewrite rule you use to > forward to tomcat? > ** I think it makes sense for Tomcat to serve cfm/cfc/cfml files and > IIS to serve everything else (js/css/images). Do you have tomcat serve > everything? > ** here is my regex rewrite rule: (?:([^:/?#]+):)?(?://([^/?#]*))?([^? > #]*\.(?:cfc|cfm|cfml))(?:\?([^#]*))?(?:#(.*))? > ** I have the cfml files being served by tomcat, but all the css/ > images are missing because IIS is looking under a different folder > (how would I fix that?). > > @Ben: Could you give an example of the configuration file for a site > outside of the C:\openbd\ folder? > ** I also don't get how the OpenBD admin is going to be connected to > sites above it's physical path? > *** Does every site have it's own OpenBD admin, or is every site > administered with the same admin screen regardless of physical path? > *** How would I get to the openbd admin from any site on my server? > (i.e. mysite.com/openbd/admin or openbd.mysite.com) > > Sorry about all the questions. Thanks for the help this far. > > On Nov 29, 9:50 pm, Benjamin Davis <[email protected]> > wrote: >> There is also the Windows Installer that was made by Jordan Michaels. This >> isn't listed on the Open BD site anymore. Not sure why. And the installer >> is running version 1.4. After you run the installer you can upgrade the >> OpenBD version pretty smoothly. This is what I have used for my production >> and development servers. You can get the installer here: http://openbd.viviotech.net/ >> >> The installer will install Tomcat as a Windows Service and also load >> OpenBD. You can then change what you need in the config file to setup your >> own sites. They also don't need to be loaded within the Tomcat folder. >> >> As part of the install, there is the open to have the installer setup IIS >> 7. This will install the Tomcat ISAPI connector and configure IIS for >> OpenBD. Then you are pretty much ready to go. The only key that I can >> think of right now off the top of my head, is that you will need to create >> a virtual directory in your IIS site named jakarta that points to >> [drive]:\OpenBD\connector. >> >> I haven't personally tried ARR instead of the ISAPI connector yet. It >> sounds like a better setup. I just know that the installer is great to get >> running fast. >> Ben >> >> >> >> >> >> >> >> On Tue, Nov 29, 2011 at 5:35 PM, Alex Skinner <[email protected]> wrote: >> > Hi Aaron, >> >> > I can't help with Jetty, personally i think Tomcat is more Windows >> > friendly / intuitive. >> >> > However I thoroughly recommend IIS7 ARR in front of native tomcat, >> > everyone is right Linux is great if you know it, if not you can spend a >> > long time fiddling. Jetty also looks great but you cant match tomcat for >> > ease of install. >> >> > Steps >> >> > 1. Install Java >> > 2. Install Windows tomcat as a service and make sure it starts on startup >> > as a service >> > 3. Install IIS ARR Application request routing and proxy requests to >> > tomcat it just uses simple rewrite rules >> >> > This is a reasonable description >> >> >http://www.iisadmin.co.uk/?p=326 >> >> > 4. Drop your war file in your webapps folder and it will start up. >> >> > If you can wait I'm preparing a guide for hopeful inclusion in the wiki on >> > single instance tomcat install using ARR should be done on Thursday. >> >> > Many thanks >> >> > Alex >> >> > Thanks >> >> > Alex >> >> > On 30 November 2011 00:28, Aaron J. White <[email protected]> wrote: >> >> >> Hey guys, not to be annoying, but is anyone still interested in >> >> helping me solve this? >> >> >> If not, that's fine. I'm thinking the $80 a month or so for coldfusion >> >> 9 may not be so bad considering I probably don't understand the >> >> "stack" enough to run openbd or railo. >> >> >> On Nov 26, 3:56 pm, "Aaron J. White" <[email protected]> wrote: >> >> > Still haven't gotten this to work. I'm just getting "index.cfm not >> >> > found" from jetty. There must be something wrong with my setup. Anyway >> >> > to get jetty to give more details on the error? >> >> >> > On Nov 23, 7:26 am, "Aaron J. White" <[email protected]> wrote: >> >> >> > > Hello Paul & Matt, >> >> >> > > Thanks for the extra information. >> >> >> > > @Paul: If it's not asking to much could you please send the >> >> > > screenshots of the ARR setup? I had something working, but I don't >> >> > > think it was right. I could only enable the proxy at the server level. >> >> > > I couldn't enable the proxy by changing the rewrite rule at the site >> >> > > level. >> >> >> > > @Everyone: I did have IIS ARR forwarding to Jetty about two days ago, >> >> > > but I ended up changing some Jetty options and completely messing it >> >> > > up. I am trying to setup IIS and Jetty so that I can serve multiple >> >> > > cfml applications to different websites. My issue was that once ARR >> >> > > got .cfm/cfc/.cfml request sent to Jetty on port 8081 Jetty would only >> >> > > show the "fresh install" page of the openbd context. >> >> > > Here is what I tried. Could someone please point out the step I >> >> > > missed? >> >> >> > > 1. I unzipped the bootstrap application files into the root of >> >> > > mysecondsite.com. >> >> > > 2. I copied the openbd.xml file in c:/jetty-openbd/contexts and >> >> > > renamed it to "mysecondsite.xml". >> >> > > 3. I modified mysecondsite.xml to the below: >> >> > > <Configure class="org.eclipse.jetty.webapp.WebAppContext"> >> >> > > <Set name="contextPath">/</Set> >> >> > > <Set name="war">C://hostingspaces/awhite/ mysecondsite.com/wwwroot</ >> >> > > Set> >> >> > > <!---virtual hosts ---> >> >> > > <Set name="virtualHosts"> >> >> > > <Array type="String"> >> >> > > <Item>www.mysecondsite.com</Item> >> >> > > </Array> >> >> > > </Set> >> >> > > <!-- disable cookies --> >> >> > > <Get name="sessionHandler"> >> >> > > <Get name="sessionManager"> >> >> > > <Set name="usingCookies" type="boolean">true</Set> >> >> > > </Get> >> >> > > </Get> >> >> > > </Configure> >> >> >> > > 4. Restarted the Jetty service, and it still didn't work. Going >> >> tohttp://www.mysecondsite.com/index.cfmstillsentme to the index of >> >> > > the openbd context. >> >> >> > > Things didn't start going downhill until I tried modifying the >> >> > > open.xml file. I thought I needed to enable virtualhost for the openbd >> >> > > context. Once I did that ARR was still forwarding to Jetty, but I was >> >> > > getting a 404 error. >> >> >> > > Any ideas? >> >> >> > > On Nov 22, 4:39 am, Paul Kukiel <[email protected]> wrote: >> >> >> > > > Yep and this page also has some extra steps to send across the >> >> original >> >> > > > host information: >> >> >> > > > http://learn.iis.net/page.aspx/711/modifying-http-response-headers/ >> >> >> > > > Paul. >> >> >> > > > On Tue, Nov 22, 2011 at 9:34 PM, Alex Skinner <[email protected]> >> >> wrote: >> >> > > > > Yes also check out <Valve >> >> > > > > className="org.apache.catalina.valves.RemoteIpValve" /> >> >> >> > > > > within your hosts this will remap the forwarded-for that haproxy >> >> and IIS >> >> > > > > proxy store the actual client ip address and put it back into the >> >> cgi >> >> > > > > variable so it appears like the proxy isn't there >> >> >> > > > > A >> >> >> > > > > On 22 November 2011 10:15, Paul Kukiel <[email protected]> wrote: >> >> >> > > > >> Basically user URL rewrite and ARR in IIS 7+ to do a reverse >> >> proxy to >> >> > > > >> OpenBD. I use this same method to proxy jira ( tomcat ). If >> >> you only have >> >> > > > >> 1 instance of OPEN it will be really easy. If you need more >> >> infor I can >> >> > > > >> send some screenshots. >> >> >> > > > >> Paul. >> >> >> > > > >> On Mon, Nov 21, 2011 at 6:11 PM, Aaron J. White < >> >> [email protected]>wrote: >> >> >> > > > >>> @Paul: Could you please elaborate? Do you happen to have a >> >> working >> >> > > > >>> rewrite rule for for .cfm/.cfc extensions? >> >> >> > > > >>> @Matt: I'm married to IIS for the moment. I would like IIS to >> >> be in >> >> > > > >>> front so nothing I currently have setup will break. >> >> > > > >>> I would be happy with one instance of openbd serving all cfml, >> >> but >> >> > > > >>> whichever one is easier will work for me. >> >> >> > > > >>> On Nov 21, 12:22 am, Matthew Woodward <[email protected] > >> >> wrote: >> >> > > > >>> > On Sun, Nov 20, 2011 at 10:09 PM, Aaron J. White < >> >> [email protected]> >> >> > > > >>> wrote: >> >> >> > > > >>> > > Hello All, >> >> >> > > > >>> > > I would like to run multiple openbd cfml applications with >> >> Jetty >> >> > > > >>> > > behind IIS. Has anyone ever done this and know of a good >> >> guide or is >> >> > > > >>> > > able to walk me through it? >> >> >> > > > >>> > Do you want a single instance of OpenBD serving all CFML >> >> across the >> >> > > > >>> board, >> >> > > > >>> > or isolated instances per app? >> >> >> > > > >>> > If you want a single instance install the Jetty Ready2Run >> >> version is >> > ... >> >> read more ยป > > -- > online documentation: http://openbd.org/manual/ > google+ hints/tips: https://plus.google.com/115990347459711259462 > http://groups.google.com/group/openbd?hl=en > -- Alex Skinner Managing Director Pixl8 Interactive Tel: +448452600726 Email: [email protected] Web: pixl8.co.uk -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
