You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2017/07/31 10:26:00 UTC
[jira] [Commented] (WW-2781) attempts to access
http://struts.apache.org/ on Struts startup???
[ https://issues.apache.org/jira/browse/WW-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107104#comment-16107104 ]
Lukasz Lenart commented on WW-2781:
-----------------------------------
Struts will try to use locally provided DTDs before fetching them over Internet but if it happens it means you should see such log message:
{noformat}
Local DTD is missing for publicID: .... - defined mappings: ....
{noformat}
and it means you are using wrong PublicID that doesn't match any of the Struts DTDs
> attempts to access http://struts.apache.org/ on Struts startup???
> -----------------------------------------------------------------
>
> Key: WW-2781
> URL: https://issues.apache.org/jira/browse/WW-2781
> Project: Struts 2
> Issue Type: Bug
> Components: XML Configuration
> Affects Versions: 2.1.2
> Reporter: Perry Smit
>
> When starting an s2 application in tomcat, the system is trying to connet to http://struts.apache.org/ (probably for validation of the xml DTD's).
> This makes it impossible to use the server in an disconnected environment (for development or behind a firewall).
> Is there a way to workaround this problem - e.g. to disable the xml validation?
> my configuration:
> - Tomcat 6.0.16 (also tested with jetty 6 via the maven jetty plugin - 6.1.10)
> - struts 2.0.11.2 (also tested with 2.1.2, 2.0.9)
> - spring 2.5.5
> - struts2-spring-plugin 2.0.11.2
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)