Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 40902 invoked from network); 19 Aug 2005 22:01:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Aug 2005 22:01:15 -0000 Received: (qmail 7331 invoked by uid 500); 19 Aug 2005 22:00:59 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 7318 invoked by uid 500); 19 Aug 2005 22:00: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 7290 invoked by uid 99); 19 Aug 2005 22:00:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2005 15:00:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [213.171.216.51] (HELO smtp01l.fasthosts.co.uk) (213.171.216.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2005 15:01:17 -0700 Received: from [127.0.0.1] (unknown [62.162.213.127]) by smtp01l.fasthosts.co.uk (Postfix) with ESMTP id C144616A053 for ; Fri, 19 Aug 2005 23:00:35 +0100 (BST) Message-ID: <43065680.5080802@relivethefuture.com> Date: Sat, 20 Aug 2005 00:00:32 +0200 From: Martin Wood User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Unable to access application if I am on VPN References: <20050819214459.90831.qmail@web50308.mail.yahoo.com> In-Reply-To: <20050819214459.90831.qmail@web50308.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0533-4, 19/08/2005), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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='org.apache.struts.util.LocalStrings', > returnNull=true > Aug 19, 2005 4:36:30 PM > org.apache.struts.util.PropertyMessageResources > INFO: Initializing, > config='org.apache.struts.action.ActionResources', > returnNull=true > 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(HttpURLConnection.java:521) > at > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.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(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > 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.java: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.java: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:4357) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: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(StandardHostDeployer.java:277) > at > org.apache.catalina.core.StandardHost.install(StandardHost.java:832) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432) > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:789) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) > at > org.apache.catalina.core.StandardService.start(StandardService.java:480) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) > at > org.apache.catalina.startup.Catalina.start(Catalina.java:556) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) > Aug 19, 2005 4:36:30 PM > org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Aug 19, 2005 4:36:30 PM > org.apache.jk.common.ChannelSocket init > INFO: JK2: ajp13 listening on /0.0.0.0:8009 > Aug 19, 2005 4:36:30 PM org.apache.jk.server.JkMain > start > > > Thanks > Sunjay > > > > > --- Brian Cook wrote: > > >>Are you saying you are taking the PC that runs >>Tomcat home with you and >>it does not work at home? Or are you trying to >>connect to Tomcat >>running at the office from anther PC at home? If it >>is the second one >>then you need to use the actual IP or domain instead >>of just localhost. >> >>What other services is Tomcat connecting to? (i.e. >>Data Bases, LDAP, Web >>Services, App Servers, etc.) If you are taking the >>PC running Tomcat >>home with you. Can you verify that you can connect >>to them over the >>VPN? i.e. Log in or connect to them manually with >>out Tomcat over the >>VPN to make sure you have access. >> >>The error seems to indicate that Tomcat is missing >>some class files or >>libraries. Could they have been on a shared folder >>that you do not have >>access to over the VPN? >> >>Sunjay Gunda wrote: >> >>>Hello All, >>> I am new to Tomcat. I am using the following >> >>for my application >> >>> >>>Tomcat : 5.0.28 >>>Java : 1.4.2_08 >>>Struts : 1.1 >>>Windows XP. >>> >>> >>>I am able to access my application that is hosted >> >>on my local box. >>http://localhost:8080/XYZ/loginForm.jsp >> >>> >>>I connect through VPN for my office work. At that >> >>time, I am unable to access the same application >>(that I am able to access if I am not connected >>through VPN). Can anyone suggest what might the >>problem be? I am getting the following errors when I >>try to access the application >> >>> >>>If I login as >> >>http://localhost:8080/XYZ/loginForm.jsp >> >>>type Exception report >>> >>>message >>> >>>description The server encountered an internal >> >>error () that prevented it from fulfilling this >>request. >> >>>exception >>>javax.servlet.ServletException: Cannot find >> >>ActionMappings or ActionFormBeans collection >> > > org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825) > > org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758) > > org.apache.jsp.loginForm_jsp._jspService(loginForm_jsp.java:101) > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >>> >>> >>>root cause >>>javax.servlet.jsp.JspException: Cannot find >> >>ActionMappings or ActionFormBeans collection >> > > org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:712) > > org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:500) > > org.apache.jsp.loginForm_jsp._jspx_meth_html_form_0(loginForm_jsp.java:132) > > org.apache.jsp.loginForm_jsp._jspService(loginForm_jsp.java:91) > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >>> >>> >>>note The full stack trace of the root cause is >> >>available in the Apache Tomcat/5.0.28 logs. >> >>>--------------------------------- >>>Apache Tomcat/5.0.28 >>> >>> >>> >>> >>>If I login as >> >>http://localhost:8080/XYZ/loginForm.do, I get the >>following message >> >>>HTTP Status 404 - Servlet action is not available >>>--------------------------------- >>> >>>type Status report >>> >>>message Servlet action is not available >>> >>>description The requested resource (Servlet action >> >>is not available) is not available. >> >>>--------------------------------- >>>Apache Tomcat/5.0.28 >>> >>> >>> >>> >>>I am able to access the admin and the manager of >> >>the tomcat even after connecting through VPN. But I >>am unable to connect to my application. Can anyone >>help me? >> >>> >>> >>>Thanks >>> >>>Sunjay >>> >>> >>> >>>--------------------------------- >>> Start your day with Yahoo! - make it your home >> >>page >> >> >>-- >>Brian Cook >>Digital Services Analyst >>Print Time Inc. >>bcook@printtime.com >>913.345.8900 >> >> > --------------------------------------------------------------------- > >>To unsubscribe, e-mail: >>tomcat-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: > > tomcat-user-help@jakarta.apache.org > > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org