DebuggingShaleClay

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

  1. Incorrect public id
    1. Problem
    2. Solution
    3. See

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

[WWW] Struts Mailing List Message

last edited 2006-05-05 20:36:30 by RyanKanno