You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Kieselhorst (JIRA)" <de...@myfaces.apache.org> on 2015/06/05 15:44:00 UTC

[jira] [Commented] (TOBAGO-684) Context initialization fails when using Tobago within an OSGi environment

    [ https://issues.apache.org/jira/browse/TOBAGO-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14574500#comment-14574500 ] 

Dennis Kieselhorst commented on TOBAGO-684:
-------------------------------------------

Today the responsible class is org.apache.myfaces.tobago.internal.context.ResourceLocator. There are already hacks for WebSphere wsjar and JBoss vfs. Any chance that you submit a patch? Otherwise please attach a test case for it.

> Context initialization fails when using Tobago within an OSGi environment
> -------------------------------------------------------------------------
>
>                 Key: TOBAGO-684
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-684
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.17
>         Environment: Windows XP / Tomcat 5.5.26 / JDK 1.5 / Eclipse Equinox 3.3.2
>            Reporter: Hendrik Kammeyer
>
> When using Tobago within an OSGi environment, building the theme resource map on context initialization fails. The source in ResourceManager.java assumes URLs returned by the TCCL to be of type 'file:' or 'jar:', while they are actually 'bundleresource:' URLs. This leads to an IllegalArgumentException in the following "new File(url)" call.



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