Classloading configuration in WAR's jboss-web.xml is not working.

Solution Verified - Updated -

Issue

  • The following ClassLoading configuration in the jboss-web.xml of the WAR application is not working

    <jboss-web>
          <class-loading java2ClassLoadingCompliance="false">
                <loader-repository>
                      com.jboss.examples:archive=example.war
                      <loader-repository-config>
                            java2ParentDelegation=false
                      </loader-repository-config>
                </loader-repository>
          </class-loading>
    </jboss-web>
    

Environment

  • Enterprise Application Platform (EAP)
    • 4.3
    • 4.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content