tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TOMEE-1851) ear classloading can't be webapp first without a custom classloader
Date Fri, 24 Jun 2016 07:38:16 GMT

     [ https://issues.apache.org/jira/browse/TOMEE-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Romain Manni-Bucau updated TOMEE-1851:
--------------------------------------
    Description: 
tomee.ear.webapp-first = true # global setting to enforce it, not it can break apps easily
so ensure you know what you do

alternative is to configure it in the webapp in context.xml:

{code}
<Context>
  <Loader className="org.apache.tomee.catalina.TomEEWebappLoader" loaderClass="org.apache.tomee.catalina.WebAppFirstEarClassLoader"
forceSkip="com.company.fromparent.,org.apache.deltaspike" />
</Context>
{code}

> ear classloading can't be webapp first without a custom classloader
> -------------------------------------------------------------------
>
>                 Key: TOMEE-1851
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1851
>             Project: TomEE
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>             Fix For: 7.0.2
>
>
> tomee.ear.webapp-first = true # global setting to enforce it, not it can break apps easily
so ensure you know what you do
> alternative is to configure it in the webapp in context.xml:
> {code}
> <Context>
>   <Loader className="org.apache.tomee.catalina.TomEEWebappLoader" loaderClass="org.apache.tomee.catalina.WebAppFirstEarClassLoader"
forceSkip="com.company.fromparent.,org.apache.deltaspike" />
> </Context>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message