|
Size: 997
Comment:
|
← Revision 3 as of 2009-09-20 21:52:49 ⇥
Size: 997
Comment: converted to 1.6 markup
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| [[TableOfContents()]] | <<TableOfContents>> |
| Line 26: | Line 26: |
| [http://www.mail-archive.com/user%40struts.apache.org/msg45712.html Struts Mailing List Message] | [[http://www.mail-archive.com/user%40struts.apache.org/msg45712.html|Struts Mailing List Message]] |
(original version in the Struts Wiki from 2006-05-05 by RyanKanno)
Various tips on helping debug the various issues that a developer would find using ShaleClay.
Contents
Incorrect public id
Problem
When running a web application in offline mode (ie, no Internet), ShaleClay attempts to download the appropriate dtd to validate the various ShaleClay configuration files. However, with no Internet connection, the web server should report the following error:
{{{java.net.UnknownHostException: struts.apache.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)}}}
Solution
The reason is that there is an incorrect public id in one (or more) of your ShaleClay configuration files.
The correct public id should be:
"-//Apache Software Foundation//DTD Shale Clay View Configuration 1.0//EN"