Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 88078 invoked from network); 20 Aug 2005 13:55:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Aug 2005 13:55:16 -0000 Received: (qmail 57720 invoked by uid 500); 20 Aug 2005 13:55:00 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 57699 invoked by uid 500); 20 Aug 2005 13:54:59 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 57686 invoked by uid 99); 20 Aug 2005 13:54:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Aug 2005 06:54:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of len.popp@gmail.com designates 64.233.170.204 as permitted sender) Received: from [64.233.170.204] (HELO rproxy.gmail.com) (64.233.170.204) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Aug 2005 06:55:18 -0700 Received: by rproxy.gmail.com with SMTP id a41so717511rng for ; Sat, 20 Aug 2005 06:54:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AsnOD99gxh9rAzgBiwyolrk6HUOhf+uiOCImIjmZCezFo31gr9zIPklypGb7pQz24AwB+jy3PvVxx12mZvfF3GCczseTkQs24yPSLg+x6+/DC4FTlVlIbXvtqU4azyU74YLEejgympSqtQVKZfRSrJ1TGVwFAufS5Vl9hngcFag= Received: by 10.11.100.38 with SMTP id x38mr24042cwb; Sat, 20 Aug 2005 06:54:57 -0700 (PDT) Received: by 10.11.122.79 with HTTP; Sat, 20 Aug 2005 06:54:57 -0700 (PDT) Message-ID: <497fac6905082006541a16de48@mail.gmail.com> Date: Sat, 20 Aug 2005 09:54:57 -0400 From: Len Popp To: Tomcat Users List Subject: Re: Unable to access application if I am on VPN In-Reply-To: <43066132.3040705@relivethefuture.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050819221701.99744.qmail@web50308.mail.yahoo.com> <43066132.3040705@relivethefuture.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can you download the DTD to the server and point the config file at the local copy? That must be possible, otherwise you couldn't run an application on an intranet that's not connected to the WWW. --=20 Len On 8/19/05, Martin Wood wrote: > So, i think the issue is getting tomcat (well, the JVM) to use your proxy= . >=20 > Im not really sure where to start with that tbh. >=20 > From what i know the jre should just use the IE proxy settings > (assuming the control panel still has 'use browser settings' checked.) >=20 > But i dont know what the standard behaviour is if youre not using the > default jre, or a jdk, or if tomcat creates a different set of > conditions even if you are just using the jre. >=20 > I'll have a look around, but hopefully someone else may be able to shed > some light on the issue. >=20 >=20 >=20 > martin >=20 >=20 > Sunjay Gunda wrote: > > I was thinking along the same lines of struts unable > > to reach jakarta.apache.org. But, I can access all the > > web sites even if I am connected to office through VPN > > (We do that browsing by using a proxy script path > > mentioned under Internet Options->Connections->LAN > > Settings : Use automatic configuration script). > > > > After reading your post, I disabled that script (I > > can't access any websites) and I tried to run my > > application, but I got the same exception (since, its > > unable to reach jakarta website). > > > > Regarding the option that you mentioned for DNS, I > > don't have any idea. Since, I am able to access the > > webpages, I should be able to pass the data back and > > forth. So, I should be able to do that. But, can you > > provide a link or some detail information of how to do > > that? > > > > Thanks > > Sunjay > > > > > > > > --- Martin Wood wrote: > > > > > >>I think its a basically a DNS / route problem, > >>triggered by the search > >>for a DTD within struts (i think its struts, but > >>dont hold me to that) > >> > >>When you connect to your VPN there is no route to > >>jakarta.apache.org > >> > >>as the error says : > >> > >>java.net.UnknownHostException: jakarta.apache.org > >> > >>At a guess, when you connect to your office VPN you > >>cant browse the web > >>properly either? > >> > >>Im guessing that you are using a PPTP VPN connection > >>within windows. > >> > >>You have a few choices that i can think of > >> > >>1: Get DNS working via your VPN connection > >> > >>How you go about this depends on what your VPN > >>server is, and if your > >>work will allow traffic through the VPN and back out > >>into the web at > >>their end. > >> > >>2: Hope that you can do split-tunneling with your > >>VPN client / setup > >> > >>this has some more information on the issue > >> > >> > > > > http://www.experts-exchange.com/Security/Firewalls/Q_21246171.html > > > >>3: Prevent the lookup for the DTD from struts. > >> > >>I dont know how you would go about this because i > >>dont know struts at all. > >> > >>if anyone else has any ideas id like to hear them. > >> > >>thanks > >> > >>Martin > >> > >> > >>Sunjay Gunda wrote: > >> > >>>Tomcat is running on my local machine. Application > >> > >>is > >> > >>>using MYSQL database and it is also on my local > >> > >>box. > >> > >>>Whenever I connect to office through VPN and try > >> > >>to > >> > >>>access the application that is hosted on my local > >> > >>box, > >> > >>>then I get this error in addition to what I > >> > >>mentioned > >> > >>>before > >>> > >>> > >>>Aug 19, 2005 4:36:30 PM > >>>org.apache.struts.util.PropertyMessageResources > >> > >> > >> > >>>INFO: Initializing, > >>>config=3D'org.apache.struts.util.LocalStrings', > >>>returnNull=3Dtrue > >>>Aug 19, 2005 4:36:30 PM > >>>org.apache.struts.util.PropertyMessageResources > >> > >> > >> > >>>INFO: Initializing, > >>>config=3D'org.apache.struts.action.ActionResources', > >>>returnNull=3Dtrue > >>>Aug 19, 2005 4:36:30 PM > >>>org.apache.struts.action.ActionServlet > >>>initModuleConfig > >>>SEVERE: Parsing error processing resource path > >>>java.net.UnknownHostException: jakarta.apache.org > >>> at > >>> > >> > > java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) > > > >>> at java.net.Socket.connect(Socket.java:452) > >>> at java.net.Socket.connect(Socket.java:402) > >>> at > >>> > >> > > sun.net.NetworkClient.doConnect(NetworkClient.java:139) > > > >>> at > >>> > >> > > sun.net.www.http.HttpClient.openServer(HttpClient.java:402) > > > >>> at > >>> > >> > > sun.net.www.http.HttpClient.openServer(HttpClient.java:618) > > > >>> at > >>> > >> > > sun.net.www.http.HttpClient.(HttpClient.java:306) > > > >>> at > >>> > >> > > sun.net.www.http.HttpClient.(HttpClient.java:267) > > > >>> at > >>> > >> > >>sun.net.www.http.HttpClient.New(HttpClient.java:339) > >> > >>> at > >>> > >> > >>sun.net.www.http.HttpClient.New(HttpClient.java:320) > >> > >>> at > >>> > >> > >>sun.net.www.http.HttpClient.New(HttpClient.java:315) > >> > >>> at > >>> > >> > > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnect= ion.java:521) > > > >>> at > >>> > >> > > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.j= ava:498) > > > >>> at > >>> > >> > > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConne= ction.java:626) > > > >>> at > >>> > >> > > org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown > > > >>>Source) > >>> at > >>> > >> > > org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown > > > >>>Source) > >>> at > >>> > >> > > org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown > > > >>>Source) > >>> at > >>> > >> > > org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown > > > >>>Source) > >>> at > >>> > >> > > org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Un= known > > > >>>Source) > >>> at > >>> > >> > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn= own > > > >>>Source) > >>> at > >>> > >> > > org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > > >>>Source) > >>> at > >>> > >> > > org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > > >>>Source) > >>> at > >> > >>org.apache.xerces.parsers.XMLParser.parse(Unknown > >> > >>>Source) > >>> at > >>> > >> > > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > > > >>>Source) > >>> at > >>> > >> > > org.apache.commons.digester.Digester.parse(Digester.java:1548) > > > >>> at > >>> > >> > > org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.j= ava:944) > > > >>> at > >>> > >> > > org.apache.struts.action.ActionServlet.init(ActionServlet.java:468) > > > >>> at > >>> > >> > > javax.servlet.GenericServlet.init(GenericServlet.java:211) > > > >>> at > >>> > >> > > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja= va:1029) > > > >>> at > >>> > >> > > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) > > > >>> at > >>> > >> > > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.= java:4013) > > > >>> at > >>> > >> > > org.apache.catalina.core.StandardContext.start(StandardContext.java:435= 7) > > > >>> at > >>> > >> > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j= ava:823) > > > >>> at > >>> > >> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) > > > >>> at > >>> > >> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) > > > >>> at > >>> > >> > > org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeplo= yer.java:277) > > > >>> at > >>> > >> > > org.apache.catalina.core.StandardHost.install(StandardHost.java:832) > > > >>> at > >>> > >> > > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.jav= a:701) > > > >>> at > >>> > >> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432) > > > > =3D=3D=3D message truncated =3D=3D=3D > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org