I've ended up changing the validator related xml files to use a hard coded local DTD and it now loads okay.


From: "David Graham" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: strange problem setting up struts
Date: Mon, 09 Jun 2003 10:19:31 -0600

I've updated the struts-examples.war with commons-validator-1.0.2 and still get the problem

Then you've configured something incorrectly because it works for me. Make sure your DTD declaration in your xml file is correct.


David


From: "David Graham" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: strange problem setting up struts
Date: Mon, 09 Jun 2003 08:04:47 -0600

In some versions of struts, you must have an internet
connection in order to the validation XML files to
validate. I have the problem in 1.1RC1, but I read
that it is fixed in the nightly build. In your
validator XML files, you can change the URL of the DTD
to point to a local disk file, and that should solve
the problem (I think!).

A better solution is to download commons-validator 1.0.2 or just wait to download Struts 1.1 RC2 when it comes out in a few days.


David


-Kevin


--- Aaron Robinson <[EMAIL PROTECTED]>
wrote:
> I'm working through the readme with struts rc1.1 and
> get the following error
> from both Tomcat and WLS 8.1 when trying to start
> the servlet container
> after deploying the struts-examples war. The
> documentation war has deployed
> successfuly
>
>
>
>
> INFO: Initializing,
>
config='org.apache.struts.webapp.example.ApplicationResource
> s', returnNull=true
> 09-Jun-2003 12:17:40
>
org.apache.struts.webapp.example.memory.MemoryDatabasePlugI
> n init
> INFO: Initializing memory database plug in from
> '/WEB-INF/database.xml'
> 09-Jun-2003 12:17:40
> org.apache.struts.validator.ValidatorPlugIn
> initResources
> INFO: Loading validation rules file from
> '/WEB-INF/validator-rules.xml'
> 09-Jun-2003 12:17:40
> org.apache.struts.validator.ValidatorPlugIn
> initResources
> SEVERE: jakarta.apache.org
> java.net.UnknownHostException: jakarta.apache.org
>         at
>
java.net.InetAddress.getAllByName0(Ljava.lang.String;Z)[Ljava.net.Ine
> tAddress;(Unknown Source)
>         at
>
java.net.InetAddress.getAllByName0(Ljava.lang.String;)[Ljava.net.Inet
> Address;(Unknown Source)
>         at
>
java.net.InetAddress.getAllByName(Ljava.lang.String;)[Ljava.net.InetA
> ddress;(Unknown Source)
>         at
>
weblogic.net.http.HttpClient.openServer(Ljava.lang.String;I)V(HttpCli
> ent.java:228)
>         at
>
weblogic.net.http.HttpClient.openServer()V(HttpClient.java:292)
>
>
_________________________________________________________________
> Get Hotmail on your mobile phone
> http://www.msn.co.uk/msnmobile
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>


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


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



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


_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger



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


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



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


_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger



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



Reply via email to