Hey Aaron,

Why don't you try this first.  Add to your Windows host file something like
test.local and point it to 127.0.0.1.  Add the mapping like this to your
server.xml file for Tomcat:

       <Host name="test.local" appBase="webapps">
             <Context path="" docBase="c:/inetpub/test/" />
       </Host>
Make sure that you load an index.cfm to your test directory.  Now browser
to http://test.local:8888/index.cfm and see what you get.  If this doesn't
work, then you should get a yellow box that says File Not Found and the
next line should have your index.cfm.  If you get this then you are in the
right ball park to figure this out.  Also make sure that you have debugging
turned on in your OpenBD admin.  With this turned on, it will display all
of the debugging information and one of the CGI variables is
CF_TEMPLATE_PATH.  This will show you exactly what it is trying to grab.

If the URL with port 8888 works, then you know the issue isn't Tomcat, but
between Tomcat and IIS.  I would then try adding in a new website into IIS
and point it to this directory.  Make sure your bindings all look good and
are looking for test.local.  Then try it from http://test.local/index.cfm
In my case, even through IIS with debugging turned on, I still get the
Tomcat File Not Found and it shows me what page it was trying to load.
Give this a shot and let us know how it goes.  If needed, I can probably
help you out Monday night.

Ben

On Sat, Dec 3, 2011 at 12:32 PM, Aaron J. White <[email protected]> wrote:

> Thanks for the information Ben, but I have the same issue I had with
> Jetty. I go to mysite.com/index.cfm and IIS ARR pushes the request to
> tomcat, but tomcat is giving a 404. I'm not sure how to figure out
> what physical address tomcat is trying to grab the index.cfm from, but
> I have configured my virtual hosts like Ben's explanation above. (I
> did not modify my local hosts file though)
>
> If anyone is willing to do freelancing I would gladly pay per hour for
> someone to come into my environment and help me get it configured the
> way I am looking for. I have already contacted Alan's company, but
> they do not support IIS. I know I'm really close, but there just
> doesn't seem like their is good enough documentation available for a
> someone like me to figure out the missing pieces.
>
> Again, if anyone with the IIS know how is willing I would gladly pay
> for more instruction than this google group can provide.
>
> Thanks
> On Nov 30, 9:49 am, Benjamin Davis <[email protected]>
> wrote:
> > I also forgot to mention.  In this setup, there is only one instance of
> > OpenBD running, so the admin/configuration is for all sites collectively.
> >  What I have done before to access it from outside the immediate server
> to
> > to setup another host for it.
> >
> >       <Host name="bluedragon.local" appBase="webapps">
> >            <Context path="" docBase="C:\openbd\tomcat\webapps\ROOT" />
> >       </Host>
> >
> > In this case, going to bludragon.local:8888/bluedragon/administrator will
> > get me there.  You can also setup an Alias to reference from true URL
> like
> > openbd.[host].com and then have IIS just forward that.
> >
> > On Wed, Nov 30, 2011 at 8:37 AM, Benjamin Davis <
> [email protected]
> >
> >
> >
> >
> >
> >
> >
> > > wrote:
> > > Here is an example from my production server.xml file.  When you first
> > > install, you will have the localhost that is the top line here.  I
> leave
> > > this one as is and then create new ones like below.  I also create then
> > > [host].local file inside of my c:\windows\system32\drivers\etc\hosts
>  This
> > > way I can access it from the local machine going to port 8888 and then
> I
> > > don't have to  open my firewall for port 8888 to test it from the
> outside.
> > >  I also setup IIS to look for [host].local as well as [host].com and
> > >www.[host].com  You never know what they are going to put in.  You can
> > > always setup some redirects to www which SEO claims is a good thing.
>  If
> > > this doesn't make sense then let me know.  I haven't had any issues
> running
> > > this method.  In fact, on my laptop, i point the directories to
> > > c:\users\[me]\Dropbox!  I then just let Dropbox sync between my
> different
> > > servers automatically.  (Host names have been changed to protect the
> > > innocent.)
> >
> > >       <Host name="localhost"  appBase="webapps"
> > >             unpackWARs="true" autoDeploy="true"
> > >             xmlValidation="false" xmlNamespaceAware="false">
> > >       </Host>
> > >       <Host name="foo.local" appBase="webapps">
> > >             <Alias>www.foo.com</Alias>
> > >             <Alias>foo.com</Alias>
> > >             <Context path="" docBase="c:/inetpub/foo/main/" />
> > >       </Host>
> > >       <Host name="fooie.local" appBase="webapps">
> > >             <Alias>www.fooie.foo.com</Alias>
> > >             <Alias>fooie.foo.com</Alias>
> > >             <Context path="" docBase="c:/inetpub/fooie/" />
> > >       </Host>
> >
> > > On Wed, Nov 30, 2011 at 7:19 AM, Yaroslav Govorunov <
> [email protected]>wrote:
> >
> > >> Well, my post was actually about using ARR. Only last sentence was
> > >> about waiting, but rest of the post is still useful.
> >
> > >> On Nov 30, 3:42 pm, "Aaron J. White" <[email protected]> wrote:
> > >> > Hello all,
> >
> > >> > @Yaroslav: Thanks for the information. For now, since Alex is
> willing
> > >> > to give me a helping hand now and ARR is native to IIS I think I
> will
> > >> > go with his suggestion. Once your team finishes your project and it
> > >> > proves to make setting up railo/openbd easier I'm sure the
> developers
> > >> > here would be interested.
> >
> > >> > @Alex: I am on US Central Time(-6). Feel free to email me.
> >
> > >> > On Nov 30, 7:06 am, Yaroslav Govorunov <[email protected]> wrote:
> >
> > >> > > At the moment as I can see Aaron does not have a working solution
> at
> > >> > > all. So I provided a solution how to do this with Jetty (which was
> > >> > > initial question).
> > >> > > Static files is a second problem, which could be quite easy to
> solve
> > >> > > if you know how to write rewrite rules. But for the first we mast
> have
> > >> > > it working even with static files server with Jetty.
> >
> > >> > > For me it seems like Aaron is trying to build some kind of CFML
> > >> > > hosting. I understand that using various manual solutions like
> ARR may
> > >> > > be fun, but I was asking to wait for our solution because it is
> > >> > > designed to do a hosting-like solutions in several clicks. From my
> > >> > > point of view it worth waiting a little.
> >
> > >> > > On Nov 30, 2:44 pm, Alex Skinner <[email protected]> wrote:
> >
> > >> > > > Hi,
> >
> > >> > > > Arr does not need to be configured to proxy all request setting
> up
> > >> rewrite
> > >> > > > rules is trivial to achieve static files from iis and dynamic
> from
> > >> open bd,
> > >> > > > it's granular. Your solution may be better for other things but
> I
> > >> think
> > >> > > > it's not fair to say that he should wait as this is perfectly
> > >> doable with
> > >> > > > arr. I will produce documentation to show that as discussed.
> >
> > >> > > > My 2p
> >
> > >> > > > Alex
> >
> > >> > > > On Wednesday, 30 November 2011, Yaroslav Govorunov <
> > >> [email protected]>
> > >> > > > wrote:
> >
> > >> > > > > Hello!
> >
> > >> > > > > Though my last post was ignored, I will try new one.
> >
> > >> > > > > This is an instruction how to get multiple OpenBD web sites
> under
> > >> IIS
> > >> > > > > and Jetty, at least it works on Railo, I guess openBD is the
> same.
> > >> > > > > I suppose you are using Jetty installation.
> >
> > >> > > > > 1. Copy contexts/openbd.xml file. You will eed to create as
> many
> > >> > > > > copies of this file in contexts folder as web sites you are
> going
> > >> to
> > >> > > > > have.
> > >> > > > > 2. Comment out  <Set name="war"> line fom it.
> > >> > > > > 3. Add the following line after commented line (warning:
> mailer
> > >> may
> > >> > > > > split it into lines)
> > >> > > > >    <Set
> name="resourceBase">c:\path\to\my\website\goes\here\</Set>
> > >> > > > > 4. In the <Set name="virtualHosts"> section add virtual hosts
> for
> > >> this
> > >> > > > > web site.
> > >> > > > > 5. Create appropriate web site in IIS 7 (with this virtual
> host).
> > >> > > > > 6. Start Jetty, for example using command: java -jar
> lib\start.jar
> > >> > > > > jetty.port=8081
> > >> > > > > 7. Use ARR to proxy all requests from this web site to
> >
> > >> > > >http://localhost:8081
> >
> > >> > > > > As for static files, it will be hard to configure with ARR. I
> am
> > >> still
> > >> > > > > suggesting you to wait a week or so until we finish our
> solution
> > >> with
> > >> > > > > Helicon Zoo, it will address all issues you have mention.
> >
> > >> > > > > On Nov 30, 10:47 am, "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
> >
> > ...
> >
> > read more ยป
>
> --
> online documentation: http://openbd.org/manual/
>   google+ hints/tips: https://plus.google.com/115990347459711259462
>     http://groups.google.com/group/openbd?hl=en
>

-- 
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