Bug 1066258
Summary: | URLResourceManager fails to find url_filter.yaml | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Toshiya Kobayashi <tkobayas> |
Component: | Business Central | Assignee: | manstis |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Radovan Synek <rsynek> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.0.0 | CC: | kverlaen, lpetrovi, rrajasek, tkobayas |
Target Milestone: | ER2 | ||
Target Release: | 6.0.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-06 19:58:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Toshiya Kobayashi
2014-02-18 07:01:28 UTC
This appears to be two issues? It looks like you're trying to use BRMS's Maven repository from another Maven-based Project; in which case you'll need to add security settings to settings.xml (see https://bugzilla.redhat.com/show_bug.cgi?id=1059584). Alternatively are you're saying when you add an exclusion for /maven2/** to the url_filter.yaml it is not being picked up? I'm not clear. > Alternatively are you're saying when you add an exclusion for /maven2/** to the url_filter.yaml it is not being picked up?
Yes. Simply, URLResourceManager doesn't pick up any change in business-central.war/WEB-INF/classes/url_filter.yaml. Using a debugger, I observed that URLResourceManager.class.getClassLoader().getResourceAsStream( this.configFile ) returns null.
"Steps to Reproduce:" is just one example to reproduce the issue. Maven security itself is not a concern of this BZ. Let me know if it's not clear enough yet.
Verified that changes made to EAP's module packaging has resolved the issue. I modified the url_filter.yaml file, cleared my local .m2 cache and created a new Java project that depended on the morgages:mortgages example within the Workbench's Maven repository. I built the project successfully (i.e. all maven dependencies resolved OK). I also repeated process with an unmodified url_filter.yaml (project did not build - as expected) and an unmodified url_filter.yaml but with entries in settings.xml (project built OK - as expected). Verified with BRMS-6.0.1.ER2 |