I'm using this code to connect to an Oracle databse
When I run this program on my local machine, it works fine, and gets me the result.
However when I deploy this application, and call a servlet (Say X) accessing this class (say Y), it throws an internal server error, and displays "connection close"
Now in class 'Y', even if I'm not calling the method (having the above database connection code), it still throws the error ! Only if I have this code commented, then the rest of the deployed application works properly without any errors.
Any suggestions appreciated.
posted 10 years ago
Do SOP for all the objects. Check for which object you are getting null..