I get the below while deploying an application in wildfly 10.1 (domain mode), but the same application gets deployed successfully in wildfly 10.0 (standalone)
[Server:server-four] 10:15:13,777 ERROR [org.apache.struts.action.ActionServlet] (ServerService Thread Pool -- 84) Parsing error processing resource path /WEB-INF/conf/struts-config.xml: java.net.UnknownHostException: struts.apache.org
I tried wget to the said host and didn't see any issue connecting
[romy@mach1 bin]$ wget struts.apache.org
--2017-03-11 10:26:11-- http://struts.apache.org/
Connecting to proxy... connected.
Proxy request sent, awaiting response... 200 OK
Length: 10133 (9.9K) [text/html]
Saving to: “index.html”
100%[=======================================================================================================>] 10,133 36.1K/s in 0.3s
2017-03-11 10:26:12 (36.1 KB/s) - “index.html” saved [10133/10133]
any pointers what would be causing this?
The issue was due to mismatch in struts jar version. updating all the jar to same version resolved this issue.