4 Replies Latest reply on Apr 17, 2010 5:33 AM by anithakothandapani

    jboss appending jndi:/localhost/ before the resource path

    anithakothandapani

      Hi

       

      I am using jboss 5.1.0 GA with jdk 1.6.

       

      When I use URL url = servletContext.getResource("WEB-INF/conf")  to get  an xml file from the conf folder in my war , Jboss is appending jndi:/localhost/SampleWebApp/WEB-INF/conf before the path.

       

      Because of this, I am getting FileNotFoundException. I would like to know whether I can configure something in JBoss AS ,so that I can avoid this appending? Please help me on this regard