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] [Commented] (TOBAGO-684) Context initialization fails when using Tobago within an OSGi environment
Date Fri, 05 Jun 2015 13:44:00 GMT

    [ 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)

Mime
View raw message