struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanouil Batsis <Emmanouil.Bat...@eurodyn.com>
Subject Re: Problem starting Application
Date Thu, 01 Jul 2004 12:49:24 GMT

Weird. Looks like xerces is trying to fetch the DTDs from their remote 
location. Try saving the validator XML DTDs locally and use their path 
as the doctype system URI in the validator XML files.

I may be wrong, but this has to do with what you have configured your 
default xerces behavior to be. Oh well.

hth,

Manos

Alvin Antony wrote:

> Hi Friends,
>              i get a connecton error when i start the struts application which uses validation
module . The error message which i get is given below.
> 
> ERROR org.apache.struts.validator.ValidatorPlugIn  - Connection reset by peer: connect
> java.net.SocketException: Connection reset by peer: connect
>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>     at java.net.PlainSocketImpl.doConnect(Unknown Source)
>     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>     at java.net.PlainSocketImpl.connect(Unknown Source)
>     at java.net.Socket.connect(Unknown Source)
>     at java.net.Socket.connect(Unknown Source)
>     at sun.net.NetworkClient.doConnect(Unknown Source)
>     at sun.net.www.http.HttpClient.openServer(Unknown Source)
>     at sun.net.www.http.HttpClient.openServer(Unknown Source)
>     at sun.net.www.http.HttpClient.<init>(Unknown Source)
>     at sun.net.www.http.HttpClient.<init>(Unknown Source)
>     at sun.net.www.http.HttpClient.New(Unknown Source)
>     at sun.net.www.http.HttpClient.New(Unknown Source)
>     at sun.net.www.http.HttpClient.New(Unknown Source)
>     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
>     at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
>     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
>     at java.net.URL.openStream(Unknown Source)
>     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.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.DTDConfiguration.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:1562)
>     at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:256)
>     at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:224)
>     at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:167)
>     at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105)
>     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:481)
>     at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
>     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
>     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
>     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>     at org.apache.catalina.core.StandardService.start(StandardService.java:497)
>     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>     at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>     at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> if any one have a clue?
> 
> thanks in advance,
> Alvin
> 
> 
> 
> 
> 
> ________________________________________________________________
> Alvin Antony
> Software Engineer
> 
> Ludwig-Maximilians-Universitaet M√ľnchen
> Zentrale Universitaetsverwaltung
> Referat IIIA 3 (Anwendungs Entwicklung)
> Theresienstr. 37 / 2. Stock  Zi. 249
> 80333 Muenchen
> 
> phone  +49 (089) 2180 - 4005
>         
> mail      alvin.antony@Verwaltung.Uni-muenchen.de 
> web     http://informationstechnik.verwaltung.uni-muenchen.de 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message