Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1851

ear classloading can't be webapp first without a custom classloader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.2
    • None
    • None

    Description

      tomee.ear.webapp-first = true # global setting to enforce it, note it can break apps easily so ensure you know what you do

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

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

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: