How to specify custom classloader in context.xml in JBossWeb in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • We are migrating from jboss 5.1 / jboss 5.2 to JBoss EAP 6, where we had implemented an own classloader. We would like to know the procedure to implement an own classloader in JBoss EAP 6.3, In JBoss 5.2 we added an entry to context.xml as shown below, but this file does not exist anymore.
<Loader className="examples.customer.osgi.classloading.OsgiWebappLoader" delegate="false" reloadable="false" 
           loaderClass="examples.customer.osgi.classloading.OsgiWebappClassLoader" searchExternalFirst="false" />

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.3.0

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