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

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

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

Struts Mailing List Message