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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.