[jboss-jira] [JBoss JIRA] (WFLY-5918) ServletContext.getResourceAsStream fails on windows

Tomaz Cerar (JIRA) issues at jboss.org
Mon Jan 4 10:53:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar updated WFLY-5918:
------------------------------
    Summary: ServletContext.getResourceAsStream fails on windows  (was: ServletContext.getResourceAsStream fails in latest CR5 version)


> 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