Skip to main content

[JIRA] Commented: (GLASSFISH-20593) [osgi-web] Regression - Unable to locate static and dynamic resources from WAB fragments

  • From: "Sanjeeb Sahoo (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Commented: (GLASSFISH-20593) [osgi-web] Regression - Unable to locate static and dynamic resources from WAB fragments
  • Date: Mon, 17 Jun 2013 05:12:59 +0000 (UTC)
  • Auto-submitted: auto-generated


    [ 
https://java.net/jira/browse/GLASSFISH-20593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=365458#action_365458
 ] 

Sanjeeb Sahoo commented on GLASSFISH-20593:
-------------------------------------------

Sending        osgi-web-container/RELEASENOTE.txt
Sending        osgi-web-container/pom.xml
Sending        
osgi-web-container/src/main/java/org/glassfish/osgiweb/OSGiWebDeploymentContext.java
Adding         
osgi-web-container/src/main/java/org/glassfish/osgiweb/OSGiWebDirContext.java
Sending        
osgi-web-container/src/main/java/org/glassfish/osgiweb/OSGiWebModuleDecorator.java
Transmitting file data .....
Committed revision 62225.

I have released osgi-web-container:2.0.0. Once it's integrated with gf trunk, 
we will resolve this issue.

> [osgi-web] Regression - Unable to locate static and dynamic resources from 
> WAB fragments
> ----------------------------------------------------------------------------------------
>
>                 Key: GLASSFISH-20593
>                 URL: https://java.net/jira/browse/GLASSFISH-20593
>             Project: glassfish
>          Issue Type: Bug
>          Components: OSGi-JavaEE
>    Affects Versions: 4.0.1
>            Reporter: Sanjeeb Sahoo
>            Assignee: Sanjeeb Sahoo
>            Priority: Critical
>             Fix For: 4.0.1
>
>
> This is caused by a recent fix to WebappClassLoader while fixing 
> GLASSFISH-20386. Resources from WEB-INF/lib/*.jar/META-INF/resources/ are 
> no longer searched using getMetainfResources(). Instead, a new class called 
> WebDirContext has been introduced which handled resource lookup from such 
> jars in an optimized way. Currently, OSGi web container uses FileDirContext 
> which needs to be changed a WebDirContext to get things working. I have a 
> fix that works, but unfortunately there is no promoted 4.0.1 builds 
> available in maven repository for us to compile against. This is needed 
> because WebDirContext is newly introduced. This will also make the next 
> version of osgi-web-container backward incompatible with glassfish 3.x 
> releases.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Commented: (GLASSFISH-20593) [osgi-web] Regression - Unable to locate static and dynamic resources from WAB fragments

Sanjeeb Sahoo (JIRA) 06/17/2013
 
 
Close
loading
Please Confirm
Close