I dont know which DTD reference in which validator.xml is going fubar 

 

assume the dtd is co-located in same folder where Login-validation.xml is 
located at

/pathToLoginValidationXML/xwork-validator-1.0.2.dtd

 

you would need to change the http protocol to file protocol in the specified 
DOCTYPE declarator

 

<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" 
file:///pathToLoginValidationXML/xwork-validator-1.0.2.dtd">

(In other words for every xml where a reference to xwork-validator-1.0.2.dtd is 
encountered

change 'http' to 'file' for all declarators referencing 
xwork-validator-1.0.2.dtd)


HTH!
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.

  


> From: mgai...@hotmail.com
> To: user@struts.apache.org
> Subject: RE: [struts 2] java.io.FileNotFoundException: 
> http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd
> Date: Wed, 7 Aug 2013 13:30:39 -0400
> 
> Hi John
> 
> xwork-validator-1.0.2.dtd *should* be in xwork-core-<version>.jar
> 
> jar -tvf xwork-<version>.jar | grep xwork-validator
> 
> ?
> Martin Gainty 
> ______________________________________________ 
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
> 
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
> sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
> oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich 
> dem Austausch von Informationen und entfaltet keine rechtliche 
> Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen 
> wir keine Haftung fuer den Inhalt uebernehmen.
> 
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
> destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
> l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci 
> est interdite. Ce message sert à l'information seulement et n'aura pas 
> n'importe quel effet légalement obligatoire. Étant donné que les email 
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
> aucune responsabilité pour le contenu fourni.
> 
> 
> > From: j...@rodaxsoft.com
> > Subject: [struts 2] java.io.FileNotFoundException: 
> > http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd
> > Date: Wed, 7 Aug 2013 10:14:21 -0700
> > To: user@struts.apache.org
> > 
> > Hi:
> > 
> > Suddenly, in-production, we're getting file-not-found errors for the 
> > xwork-validator-1.0.2.dtd at http://www.opensymphony.com/xwork.
> > 
> > How can resolve this problem? We're running Struts 2 v2.3.4.1
> > 
> > Thanks, John
> > 
> > ---------------------------------------------
> > 
> > 10:01:18 ERROR http-8443-1 
> > com.opensymphony.xwork2.validator.AnnotationActionValidatorManager - Caught 
> > exception while loading file XXX-validation.xml
> > http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd - Class: 
> > sun.net.www.protocol.http.HttpURLConnection
> > File: HttpURLConnection.java
> > Method: getInputStream
> > Line: 1311 - sun/net/www/protocol/http/HttpURLConnection.java:1311:-1
> > ceptor.intercept(I18nInterceptor.java:176)
> > ... 
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> > at java.lang.Thread.run(Thread.java:619)
> > Caused by: java.io.FileNotFoundException: 
> > http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd
> > ...
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> > 
> 
                                          

Reply via email to