[jboss-jira] [JBoss JIRA] (WFLY-5918) ServletContext.getResourceAsStream fails on windows
Alban Chadenas (JIRA)
issues at jboss.org
Mon Jan 4 16:50:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144742#comment-13144742 ]
Alban Chadenas commented on WFLY-5918:
--------------------------------------
Hi Stuart,
I can confirm that applying your patch in the latest CR5 release fixes this issue. I am using 'junction' (symbolic links) in Windows which seems to have been causing this issue.
> ServletContext.getResourceAsStream fails on windows
> ---------------------------------------------------
>
> Key: WFLY-5918
> URL: https://issues.jboss.org/browse/WFLY-5918
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 10.0.0.CR5
> Environment: Wildfly 10.0.0 CR5
> Windows 7
> JDK 1.8_66 64Bit
> Reporter: Alban Chadenas
> Assignee: Stuart Douglas
>
> Struts 1 ActionServlet fails to initialize with latest Wildfly 10.0.0 CR5 though it was working fine on the previous CR4 release. The failure occurs when Servlet tries to read the /WEB-INF/web.xml inside my web application.
> Looking at the struts source code, getServletContext().getResourceAsStream("/WEB-INF/web.xml") returns null during the Servlet initialization.
> *problem only occurs when server is started from path that is not case equal to real path on file system.*
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list