(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]. {toc} h3. Incorrect public id h4. 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)}}} h4. 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"}} h4. See [Struts Mailing List Message|http://www.mail-archive.com/user%40struts.apache.org/msg45712.html]
  • No labels