[jboss-jira] [JBoss JIRA] (WFLY-12088) JAR does not supported for deployment-overlays mechanism

Vlad Filipp (Jira) issues at jboss.org
Fri Jan 17 09:38:56 EST 2020


    [ https://issues.redhat.com/browse/WFLY-12088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951269#comment-13951269 ] 

Vlad Filipp commented on WFLY-12088:
------------------------------------

Hi [~baranowb]. There is not software bug.
I trying to add overlay to WAR inside EAR, but documentation didn't mention this.
After research and debugging, I changed the path to the right path in the content tag and it's fixed.

> JAR does not supported for deployment-overlays mechanism
> --------------------------------------------------------
>
>                 Key: WFLY-12088
>                 URL: https://issues.redhat.com/browse/WFLY-12088
>             Project: WildFly
>          Issue Type: Bug
>          Components: Class Loading
>    Affects Versions: 16.0.0.Final
>            Reporter: Vlad Filipp
>            Assignee: Bartosz Baranowski
>            Priority: Major
>
> When trying to make a link from an overlay to a JAR, classes from overlay libraries are not loaded for a linked JAR.
> The situation is similar when creating a link to a JAR which is located inside EAR.
> Should overlay deployment mechanism be supported for JARs?
> Example standalone.xml:
> {code:java}
> <deployment-overlays>
> ...
>     <deployment-overlay name="my-overlay-n1">
>         <content ...>
>         <deployment name="my-jar-inside-ear-use-overlays-libs.jar"/>
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list