Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: Connection pooling (dbpool, chapter 8, page 176-181)


Message #1 by "Joergen Ramskov" <jra@i...> on Fri, 2 Jun 2000 9:52:56
I'm trying the dbpool example giving in Professional Java Server 
Programming, and can't get it to work properly.

It looks like the init method doesn't run and I can't figure out why. A 
db_v.isEmpty returns "true", so the Vector (db_v) is certainly not getting 
initialized. That (of course) gives me a NullPointerException when the 
Vector is called the first time.

I'm using JSDK2.0 and the servletrunner from there to test the servlet (and 
the examples from the JSDK runs fine).

  Return to Index