Bug 1017282 - Nested resources under META-INF in a WAR are not accessible
Summary: Nested resources under META-INF in a WAR are not accessible
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Class Loading
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER6
: EAP 6.2.0
Assignee: David M. Lloyd
QA Contact: Ladislav Thon
URL:
Whiteboard:
Depends On:
Blocks: 999663
TreeView+ depends on / blocked
 
Reported: 2013-10-09 14:51 UTC by Ladislav Thon
Modified: 2013-12-15 16:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:13:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-1487 0 Major Resolved Unable to read nested resource in WAR archive 2013-11-27 14:41:36 UTC

Description Ladislav Thon 2013-10-09 14:51:53 UTC
Description of problem:

If in WAR archive I have a resource in META-INF/properties/nested.properties, I am unable to access it using

  classLoader.getResource("META-INF/properties/nested.properties");

In a JAR archive, it works.

Version-Release number of selected component (if applicable):

EAP 6.2.0.ER5

How reproducible:

Always

Steps to Reproduce:
1. classLoader.getResource("META-INF/properties/nested.properties");

Actual results:

Correct URL.

Expected results:

null

Additional info:

This blocks bug 999663.

Comment 1 Ladislav Thon 2013-10-09 14:53:20 UTC
Oh man! I always swap the "actual" and "expected" results :-(

Comment 3 Ladislav Thon 2013-10-21 09:33:38 UTC
Verified with EAP 6.2.0.ER6.


Note You need to log in before you can comment on or make changes to this bug.