Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 37980 invoked from network); 19 Aug 2005 21:45:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Aug 2005 21:45:16 -0000 Received: (qmail 92491 invoked by uid 500); 19 Aug 2005 21:45:02 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 92473 invoked by uid 500); 19 Aug 2005 21:45:02 -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 92451 invoked by uid 99); 19 Aug 2005 21:45:01 -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 14:45:01 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.38.62] (HELO web50308.mail.yahoo.com) (206.190.38.62) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 19 Aug 2005 14:45:21 -0700 Received: (qmail 90833 invoked by uid 60001); 19 Aug 2005 21:44:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iPPA1jUt6MYzHADXlS5QBy7O2426JGstvNVdZ8B5ZMrSZDFqHO8P95aSQdbzLy36QwAJckHL1YehQg8qdlJQ/ZC1NRKz/gcEtPfaYeWkzQTsYvP5owiwhFud5rM3xa4SS3Nb6ZNKt2GgDG1eQz+VfzFQMqpiA4qBIsBOHtXwGsU= ; Message-ID: <20050819214459.90831.qmail@web50308.mail.yahoo.com> Received: from [192.76.82.89] by web50308.mail.yahoo.com via HTTP; Fri, 19 Aug 2005 14:44:59 PDT Date: Fri, 19 Aug 2005 14:44:59 -0700 (PDT) From: Sunjay Gunda Subject: Re: Unable to access application if I am on VPN To: Tomcat Users List , bcook@printtime.com In-Reply-To: <43064EE4.1090707@printtime.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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