1 Reply Latest reply on Aug 20, 2010 1:39 PM by jaikiran pai Branched to a new discussion.

    Overriding Default Class Loading

    Dick Adams Newbie

      I need to override the default class loading behavior in the Enterprise Web Server so I can load a legacy Oracle driver. Based on what found through Google searches, I created the jboss-web.xml shown below, but it doesn't seem to be working. Note: The "org.test:loader=archive-name" string I took from an example on the Web, which implied that it was just an arbitrary placeholder; don't really know if it's the right value to use.


      My objective is to make Jboss search the Jars listed in my WAR's MANIFEST.MF before it searches its own default classpath. Can anyone see what I'm doing wrong?



      <? xml version="1.0"?>


      <! DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 5.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd" >














      </ class-loading>