Hi, I am getting NullPointerException due to null value of DataSource when trying to connect through JNDI in Tomcat 5.5 I have checked all the values of parameters in server.xml.
can somebody tell me the reasons why this is coming?
Place the jar file containing Oracle database implementation classes under <TOMCAT_HOME>\common\lib rather than WEB-INF\lib directory specific to the project.
Also I found the installer version of (that ends with .exe) Tomcat 5.5.17 to have some strange problems. Try the .zip version which will avoid those.