5 Replies Latest reply on Jul 11, 2009 4:25 AM by Ales Justin

    JBoss 5.1 class loading question

    s c Newbie

      Hi,
      I have a class loading question in JBoss 5.1.

      In JBoss 4.x, from ear we could use the method 'addURL' of 'org.jboss.mx.loading.RepositoryClassLoader' to load classes from a jar file (The jar file is under a directory somewhere)

      But in JBoss 5.1, this class is removed. Instead it is using a new class org.jboss.classloader.spi.base.BaseClassLoader.

      My question is: how to load classes from a jar file under a certain directory in JBoss 5.1.

      Thanks in advance.