Thanks Josh, My jetty.xml is exactly the same structure as this but still does not work on my internal network pc. I wonder if there is something else to consider? Any one can help please!
Joe On Apr 20, 10:33 am, JLeone <[email protected]> wrote: > I have it working without a problem: > > <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> > > <Item>192.168.1.69</Item> > </Array> > </Set> > </New> > > Notice the 192.168.1.69 is my local static address on my internal > network > > -Josh > > On Apr 19, 4:57 pm, Joe <[email protected]> wrote: > > > > > Thank you for help. > > > I did put the server ip there exactly as you described but still get > > error: > > HTTP ERROR: 404 > > NOT_FOUND > > RequestURI=/index.cfm > > > Powered by jetty:// > > > What do you mean by "external IP"? I think the one I put was the local > > network ip. > > > Also I turned off 'friendly' error pages and turned off any "disable > > script debugging ..." in IE, > > but still got the simple error as above. Do you think the error was > > delivered by jetty or not? > > How can I do further check with the tools? > > > Is there any one who has successfully opened the openBD-jetty (based > > on the "Ready 2 Run Bundle on Windows" package) > > from a local network pc? It is unbelievable that I can open it on the > > server itself but cannot on a network pc. > > Because I was successful when I used same port (8080) to open CF7 and > > the commercial Blue Dragon (using the built in webserver > > or IIS). > > > Your help would be extremly appreciated! > > > Joe > > > On Apr 18, 2:05 pm, Shane McMurray <[email protected]> wrote: > > > > I just went through this. you have to add the computer external IP or > > > dns name to the jetty.xml config for it to listen on that name or IP. > > > > its in jetty.xml under the handler section > > > > the item for the site you are pointing to needs to have the entry for > > > the IP or dns name > > > > <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>MYIP or DNS Name</Item> <<<<<<<< HERE > > > </Array> > > > </Set> > > > </New> > > > </Item> > > > > On Apr 17, 8:56 am, Andy Wu <[email protected]> wrote: > > > > > That's precisely how to do it. I verified locally with my own copy of > > > > jetty that without it, I get a 404 when attempting to access it with my > > > > local network IP but it works fine if I add it in there. > > > > > Andy > > > > > Joe wrote: > > > > > I checked the jetty.xml and tried to replace "localhost" with the > > > > > server ip in the <Set name="VirtualHosts"> block. It still shows HTTP > > > > > ERROR: 404. Any further idea? Could you advise me where and how I > > > > > should set the IP. I I did as follows: > > > > > <New id="cfmlWebContext_1" > > > > > class="org.mortbay.jetty.webapp.WebAppContext"> > > > > > ............ > > > > > <Set name="VirtualHosts"> > > > > > <Array type="java.lang.String"> > > > > > <Item>[our server ip here]</ > > > > > Item> > > > > > </Array> > > > > > </Set> > > > > > By the way our server os is Windows 2000 and network pc is win XP. > > > > > > Thanks > > > > > > On Apr 16, 9:58 pm, Andy Wu <[email protected]> wrote: > > > > > >> Hi Joe, > > > > > >> Check the jetty.xml. There's a configuration option in there for > > > > >> setting > > > > >> which IP addresses it's listening on. > > > > > >> Andy > > > > > >> Joe wrote: > > > > > >>> Hello, > > > > > >>> I installed the "Ready 2 Run Bundle on Windows" package it works > > > > >>> fine > > > > >>> on my own pc and on our server using the url "http://localhost: > > > > >>> 8080/...". > > > > > >>> However, it gives an error "HTTP ERROR: 404 ..." when I tried to > > > > >>> browse from a pc within our network by using "http://[serverip]: > > > > >>> 8080/...". > > > > > >>> Our network consultant checked and confirmed that the 8080 port is > > > > >>> open and there is no firewall involed. and the problem could be the > > > > >>> configuration of Jetty. > > > > > >>> I checked the jetty.xml and tried to replace "localhost" with the > > > > >>> server ip in the <Set name="VirtualHosts"> block. It still shows > > > > >>> HTTP > > > > >>> ERROR: 404. > > > > > >>> I can run the application on the server itself (with > > > > >>> "http://localhost: > > > > >>> 8080/..." ) but cannot run from another network pc. > > > > >>> Is there any solution for this? how can I configure it? > > > > > >>> Thanks, > > > > >>> Joe- Hide quoted text - > > > > > >> - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 !! -~----------~----~----~----~------~----~------~--~---
