This content has been marked as final.
Show 2 replies
-
1. Re: Please help! Petstore JNDI exception
faisalab Sep 11, 2002 8:33 PM (in response to madalin)I Know ....It gave me headache too .From what I gathered -for some reasons Jboss is no letting Tomcat load the xml files in WEB-INF(may be). What u have to do is to copy the xml files in WEB-INF\classes than u HAVE to use
URL url = Thread.currentThread().getContextClassLoader().getResource(" .xml").IN get Resource put just the name of the xml file not the URL ex: getResource("mappings.xml")
Good luck
Faisal Abdallah -
2. Re: Please help! Petstore JNDI exception
madalin Sep 17, 2002 5:09 PM (in response to madalin)Thank You. I fixed meantime, I found out that if You are not converting the URL to string and use only URL is working great.