Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Shale Wiki" for change 
notification.

The following page has been changed by ReneZanner:
http://wiki.apache.org/shale/DebuggingShaleClay

The comment on the change is:
content moved from Struts wiki

New page:
Various tips on helping debug the various issues that a developer would find 
using ShaleClay.

[[TableOfContents()]]

=== 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"}}}

==== See ====

[http://www.mail-archive.com/user%40struts.apache.org/msg45712.html Struts 
Mailing List Message]

Reply via email to