struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-2781) attempts to access http://struts.apache.org/ on Struts startup???
Date Mon, 31 Jul 2017 10:26:00 GMT

    [ 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)

Mime
View raw message