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 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.