pro_java_server thread: Connection pooling (dbpool, chapter 8, page 176-181)
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).
|





