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 <init>
INFO: Initializing,
config='org.apache.struts.util.LocalStrings',
returnNull=true
Aug 19, 2005 4:36:30 PM
org.apache.struts.util.PropertyMessageResources <init>
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.<init>(HttpClient.java:306)
        at
sun.net.www.http.HttpClient.<init>(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 <[EMAIL PROTECTED]> 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.
> [EMAIL PROTECTED]
> 913.345.8900
> 
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to