myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Kieselhorst (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Updated] (MYFACES-3989) MalformedURLException when javax.faces.FACELETS_LIBRARIES contains line feed
Date Wed, 29 Apr 2015 12:24:11 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Kieselhorst updated MYFACES-3989:
----------------------------------------
    Status: Patch Available  (was: Open)

> MalformedURLException when javax.faces.FACELETS_LIBRARIES contains line feed
> ----------------------------------------------------------------------------
>
>                 Key: MYFACES-3989
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3989
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.8
>            Reporter: Dennis Kieselhorst
>            Priority: Minor
>             Fix For: 2.2.9
>
>         Attachments: MYFACES-3989.patch
>
>
> If javax.faces.FACELETS_LIBRARIES is specified in several lines
> {code:xml}
>     <context-param>
>         <param-name>javax.faces.FACELETS_LIBRARIES</param-name>
>         <param-value>/WEB-INF/tags/popup/popup.taglib.xml;
>          /WEB-INF/tags/component/component.taglib.xml</param-value>
>     </context-param>
> {code}
> FacesConfigurator will fail with a MalformedURLException:
> {noformat}
> ERROR o.a.m.c.FacesConfigurator - Could not read resource 
>             /WEB-INF/tags/component/component.taglib.xml
> java.net.MalformedURLException: 
>             /WEB-INF/tags/component/component.taglib.xml
>         at org.eclipse.jetty.webapp.WebAppContext.getResource(WebAppContext.java:351)
>         at org.mortbay.jetty.plugin.JettyWebAppContext.getResource(JettyWebAppContext.java:338)
>         at org.eclipse.jetty.webapp.WebAppContext$Context.getResource(WebAppContext.java:1325)
>         at org.apache.myfaces.context.servlet.ServletExternalContextImplBase.getResource(ServletExternalContextImplBase.java:127)
>         at org.apache.myfaces.config.FacesConfigurator.getResourceLastModified(FacesConfigurator.java:293)
>         at org.apache.myfaces.config.FacesConfigurator.getLastModifiedTime(FacesConfigurator.java:398)
>         at org.apache.myfaces.config.FacesConfigurator.update(FacesConfigurator.java:469)
>         at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:137)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
>         at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:231)
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
>         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>         at com.deutscheboerse.comxerv.common.util.LoggedInUserFilter.doFilterInternal(LoggedInUserFilter.java:33)
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message