I have 2 large scale jsp projects and they worked fine on the local machines. However when deployed to remote machines a real nasty problem came in.
If I press in IE F5 refresh a few times on remote side, on the 2nd, 3rd, 4th time I would get nullPointerExceptions or jdbc connectivity problems. And this problem occurs site wide for both projects on the remote server. This is not an issue with load balancing since we perform testing on 1 user isolated.
Both projects are using JSP/Javabeans and make frequent queries to database
1. Set up (local) Project CMS -- windows xp -- Tomcat / jdk 1.4 -- Mysql
Project SSS -- win 2k -- tomcat / jrun 3 and 4 / jdk 1.3 /jdk 1.4 (all supported) -- ms sql server 2000 / jdbc : odbc and jTDS
Project SSS -- win 2k -- jrun 3 -- jdk 1.3 -- sql server w sp3a / jdbc : odbc
Does anyone have a way out of this....
Joined: Mar 07, 2005
why are you using tomcat on local and resin in remote system? why cant you use/test the same environment in both the local as well as remote? secondly which part of code is throwing exception? can you paste the code snippet here?
Joined: Apr 02, 2005
I would like to assure you that this app works on my development machine as well as on several other sites that runs win2k and jrun.