Did you turn on logging? What is the caught exception?

On Wed, Mar 28, 2012 at 11:01 AM, Rout, Biswajit <biswajit.r...@hp.com>wrote:

> Hi,
> I am running Struts 2.3.1.2 and Spring 3.1.1 integration in wls 10.3.4
> server. However the validation framework is not working.
> Please find the log and the xml file.
>
>
>
> Log Information
>
> Mar 28, 2012 3:34:42 PM
> com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
> SEVERE: Caught exception while loading file
> com/gm/gm3pd/registration/action/RegistrationAction-validation.xml
> Tried all: '1' addresses, but could not connect over HTTP to server: '
> www.opensymphony.com', port: '80' - Class: weblogic.net.http.HttpClient
> File: HttpClient.java
> Method: openServer
> Line: 321 - weblogic/net/http/HttpClient.java:321:-1
>
>
> RegistrationAction-validation.xml
>
> <!DOCTYPE validators PUBLIC
> "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
> "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";>
>
> <validators>
> <field name="firstname">
> <field-validator type="requiredstring">
>  <message key="requiredstring"/>
> </field-validator>
> </field>
> <field name="password">
> <field-validator type="requiredstring">
>  <message key="requiredstring"/>
> </field-validator>
> </field>
> <field name="password">
> <field-validator type="stringlength">
> <param name="minLength">5</param>
> <param name="maxLength">15</param>
> <param name="trim">true</param>
> <message >Please enter Min %{minLength} character or Max %{maxLength}
> Character </message>
> </field-validator>
> </field>
> </validators>
>
> Any hints on the above issue.
> Thanks in advance.
>
>
>
> Best regards,
> Biswajit
> Planned Vacation : From 2-July-2012 to 6-July-2012
>
>

Reply via email to