• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NullPointerExceptions everywhere

 
kw yap
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all java gurus

1 qn on java here.

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

2. Remote setup (remote server)
Project CMS
-- Unix
-- Resin
-- Mysql

Project SSS
-- win 2k
-- jrun 3
-- jdk 1.3
-- sql server w sp3a / jdbc : odbc

Does anyone have a way out of this....
 
Sripathi Krishnamurthy
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
kwyap me
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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.

Not so much as a code problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic