You could also try changing the "contextPath" to include the trailing /. I
am not certain if that will actually help change anything for you, I do know
that it may be screwing it up. /Hilltop/

You may want to also include the trailing / in the "war" as well.
i.e. D:/Hilltop/
or try D://Hilltop/

It may be a problem in the way that Java interprets directories.

Also, is the data being stored on a network drive while BD is run locally?
Apparently Windows does not allow that.

So, after the changes a direct link would be:
http://127.0.0.1/Hilltop/index.cfm

Hope this clears it up,

Myles


On Wed, Oct 1, 2008 at 8:22 PM, Rob <[EMAIL PROTECTED]> wrote:

>
> Thanks Myles,
>
> I am getting file not found, and can't tell where jetty is looking for
> the index.cfm file.
>
> Here is my code:
>
> <Item>
>        <New id="hilltop1" class="org.mortbay.jetty.webapp.WebAppContext">
>                <Set name="contextPath">/Hilltop</Set>
>                 <Set name="war">D:\Hilltop</Set>
>                 <Set name="VirtualHosts">
>                        <Array type="java.lang.String">
>                                <Item>127.0.0.1</Item>
>                                <Item>localhost</Item>
>                        </Array>
>                </Set>
>        </New>
> </Item>
>
> Thanks,
>
> Rob
>
> On Oct 1, 5:10 am, Myles <[EMAIL PROTECTED]> wrote:
> > Hi Rob,
> >
> > To get what your looking for I think you will need to remove the:
> > <SystemProperty name="jetty.home" default="."/>/webroot_cfmlapps/
> > Hilltop/
> >
> > Then change that to D:/Hilltop, so it would look like this:
> > <Set name="war">D:/Hilltop/</Set>
> >
> > The <SystemProperty name="jetty.home" default="."/> simply is telling
> > Jetty too look within it's running directory and then cascade down.
> >
> > Let me know if this solves it for you,
> >
> > Myles
> >
> > On Sep 29, 7:43 pm, Rob <[EMAIL PROTECTED]> wrote:
> >
> > > Jordan,
> >
> > > Sorry for my newness - just trying to run OpenBD today - long time
> > > ColdFusion developer (since 3 something!).  Usually I am just set up
> > > in Apache or IIS, so no experience with Jetty or any Java background.
> >
> > > Where would I configure or alias Hilltop requests to point to d:
> > > \Hilltop?  I thought that localhost:8080 requests would return the
> > > contents of D:\jetty-6.1.12-OpenBD\webroot_cfmlapps  and then if
> > > mapped properly, localhost:8080/Hilltop would return the contents of D:
> > > \Hilltop.
> >
> > > Thanks again,
> >
> > > Rob
> >
> > > On Sep 29, 2:07 pm, Jordan Michaels <[EMAIL PROTECTED]> wrote:
> >
> > > > Ah. I understand.
> >
> > > > It doesn't look like you're pointing your config to D:\hilltop. It
> looks
> > > > like you're pointing it to webroot_cfmlapps/Hilltop/. Do you have a
> > > > symbolic link there that points to D:\hilltop? Or perhaps the
> directory
> > > > mapping is the problem...
> >
> > > > Warm regards,
> > > > Jordan Michaels
> > > > Vivio Technologieshttp://www.viviotech.net/
> > > > Open BlueDragon Steering Committee
> > > > Adobe Solution Provider
> >
> > > > Rob wrote:
> > > > > Jordan,
> >
> > > > > The default is working - the first entry id=cfmlWebContext_1.  What
> I
> > > > > cannot get working is the virtual id=Hilltop, where I want to map
> > > > > Jetty to point to the D:\Hilltop directory.  This is the structure
> of
> > > > > the production set up (currently an IIS box).
> >
> > > > > Thanks for your time,
> >
> > > > > Rob
> >
> > > > > On Sep 29, 1:13 pm, Jordan Michaels <[EMAIL PROTECTED]> wrote:
> > > > >> Hi Rob,
> >
> > > > >> Just downloading the Jetty install and running what's there is not
> > > > >> working for you? The unaltered Jetty config should work perfectly,
> and
> > > > >> has been tested to do so.
> >
> > > > >> Can you verify?
> >
> > > > >> Warm regards,
> > > > >> Jordan Michaels
> > > > >> Vivio Technologieshttp://www.viviotech.net/
> > > > >> Open BlueDragon Steering Committee
> > > > >> Adobe Solution Provider
> >
> > > > >> Rob wrote:
> > > > >>> Aloha,
> > > > >>> Having trouble getting the virtual hosts to work.  Maybe someone
> can
> > > > >>> assist.  The first item works (cfmlWebContext_1)  the second does
> > > > >>> not.  Forgive some of the syntax, as I have tried many different
> > > > >>> combinations, restarting and stopping the Jetty server in an
> attempt
> > > > >>> to brute force the problem.
> > > > >>>                    <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/Hilltop/</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="hilltop"
> > > > >>> class="org.mortbay.jetty.webapp.WebAppContext">
> > > > >>>                                                    <Set
> name="contextPath">/</Set>
> > > > >>>                                                    <Set
> name="war">d:/Hilltop/</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/Hilltop</Item>
> > > > >>>
>  </Array>
> > > > >>>                                                    </Set>
> > > > >>>                                            </New>
> > > > >>>                                    </Item>
> > > > >>>                            </Array>
> > > > >>>                    </Set>
> > > > >>> Thanks in advance,
> > > > >>> Rob
>
> >
>


-- 

Myles Steinhauser
Steinhauser Computer Services, Inc.
763-458-3335

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

Reply via email to