6 Replies Latest reply on Apr 9, 2009 4:20 AM by jaikiran

    Classloader problem ?

    fancoli

      Hi, I am retrieving a resource from an EJB; the resource is in a web application under webcontent folder; I use this statement

      this.getClass().getClassLoader().getResourceAsStream("resource.xml")

      but always return null; it worked on JBoss 4.2.2 but not in 5.0.1

      Ear is isolated and java2ParentDelegation=false

      Any ideas ?

      Thanks,
      max