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.cfmstillsent me 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
> > > > >>> > already set up this way.
> >
> > > > >>> > If you want individual instances, that's just a matter of
> defining
> > > > >>> multiple
> > > > >>> > webapps and proxying to them from your web server.
> >
> > > > >>> > > For example, IIS
> >
> > > > >>> > Are you married to IIS or would you consider Apache?
> >
> > > > >>> > > 1. URL rewriting alone
> > > > >>> > > ***won't work because user will see :8080 attached to url.
> >
> > > > >>> > Well, this brings up another option which is to run Jetty on
> port 80,
> > > > >>> or
> > > > >>> > use port forwarding, in which case you don't need a web server
> in
> > > > >>> front of
> > > > >>> > Jetty.
> >
> > > > >>> > > 2. IIS ARR
> >
> > > > >>> > Yeah at this point you lose me because I don't ever use IIS,
> but looks
> > > > >>> like
> > > > >>> > Paul Kukiel might have some suggestions.
> >
> > > > >>> > > 3. AJP13
> > > > >>> > > Link:http://tomcatiis.riaforge.org/
> > > > >>> > > *** This looks like the best solution, but I don't know what
> to do
> > > > >>> > > once I get to "worker.properties" and
> "uriworkermap.properties" in
> > > > >>> the
> > > > >>> > > instructions. Does Jetty have worker.properties?
> >
> > > > >>> > Jetty speaks AJP but not in that same way--it's just simple
> proxying in
> > > > >>> > similar fashion to HTTP (which is another option).
> >
> > > > >>> > Million ways to skin this cat so we'll get you going one way or
> > > > >>> another. I
> > > > >>> > don't know how IIS does proxying (or if it even supports AJP)
> but
> > > > >>> that's
> > > > >>> > the most typical setup.
> > > > >>> > --
> > > > >>> > Matthew Woodward
> > > > >>> > [email protected]http://blog.mattwoodward.com
> > > > >>> > identi.ca / Twitter: @mpwoodward
> >
> > > > >>> > Please do not send me proprietary file formats such as Word,
> > > > >>> PowerPoint,
> > > > >>> > etc. as attachments.
> > > > >>>http://www.gnu.org/philosophy/no-word-attachments.html
> >
> > > > >>> --
> > > > >>> online documentation:http://openbd.org/manual/
> > > > >>>   google+ hints/tips:
> https://plus.google.com/115990347459711259462
> > > > >>>    http://groups.google.com/group/openbd?hl=en
> >
> > > > >> --
> > > > >> Paul Kukiel
> >
> > > > >>  --
> > > > >> 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
> >
> > > > --
> > > > Paul Kukiel
>
> --
> 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

Reply via email to