Deploying to an app. server (JBoss) that when not connected to the 
internet I get this:

12:28:16,975 ERROR [STDERR] [INFO] ValidatorPlugIn - -Loading validation 
rules file from '/WEB-INF/validation.xml'
12:28:17,058 ERROR [STDERR] java.net.UnknownHostException: 
jakarta.apache.org
12:28:17,059 ERROR [STDERR]     at 
org.apache.crimson.parser.Parser2.fatal(Parser2.java:3108)
12:28:17,061 ERROR [STDERR]     at 
org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2796)
12:28:17,061 ERROR [STDERR]     at 
org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1155)
12:28:17,063 ERROR [STDERR]     at 
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)


What can I do to get local DTD resolution to work?  The strange thing 
was that the app. "worked fine", but validation was not enabled, which 
threw me for a loop.

I know I don't have to put the DTD definition at the top of the 
validation.xml, and that would probably get things working, but thats 
not a solid solution.  I'm generating my validation.xml from the code I 
contributed to XDoclet (now in its official codebase, BTW) and that does 
internal validation during the build process to ensure the dynamically 
generated validation.xml is valid - and I'd hate to have to strip that 
out to deploy.

Thanks,
        Erik


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

Reply via email to