[
https://issues.apache.org/struts/browse/WW-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44605#action_44605
]
Perry Prust commented on WW-2781:
---------------------------------
I found a workaround for this issue:
Changing the DTD reference in struts.xml from
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
to
<!DOCTYPE struts SYSTEM "struts-2.0.dtd">
and putting the struts-2.0.dtd into the local class path will work without
internet connection.
> attempts to access www.opensymphony.com on Struts startup???
> ------------------------------------------------------------
>
> Key: WW-2781
> URL: https://issues.apache.org/struts/browse/WW-2781
> Project: Struts 2
> Issue Type: Bug
> Components: XML Configuration
> Affects Versions: 2.1.2
> Reporter: Perry Prust
>
> When starting an s2 application in tomcat, the system is trying to connet to
> www.opensymphony.com (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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.