Is DB Listener up?
Hengtai Yu <[EMAIL PROTECTED]> on 02/04/2000 03:20:31 PM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Steve Buonincontri)
Subject: help: connection pool
Hi,
I try to set up connection pool using one of 2 methods:both fail!
1. DMConnectionManager.java (written by Hans bergsten), when I test it, message
always is :can't get connection. Both DMConnectionManager.java and example file
TestServer.java pass compile. and I have put DMConnectionManager.class in
classpath, why?
2. I use another one: ServletConnection.java , ConnectionPool.java (with Timer
and TimerListener class) (written by Karl Moss, in book:Java Servlets) and test
file FastEmployeeList1.java. Error message is: can not load
ServletConnection.class and FastEmployeeList1.class, JWS can not find them (even
I can see them after compile them). Why?
I use window NT with jws1.1.3 and jdk1.2, jdsk2.0.
Thanks in advance
Hengtai
|
Hi,
I try to set up connection pool using one of 2
methods:both fail!
1. DMConnectionManager.java (written by Hans
bergsten), when I test it, message always is :can't get connection. Both
DMConnectionManager.java and example file TestServer.java pass compile. and I
have put DMConnectionManager.class in classpath, why?
2. I use another one: ServletConnection.java ,
ConnectionPool.java (with Timer and TimerListener class) (written by Karl Moss,
in book:Java Servlets) and test file FastEmployeeList1.java. Error message
is: can not load ServletConnection.class and FastEmployeeList1.class, JWS
can not find them (even I can see them after compile them). Why?
I use window NT with jws1.1.3 and jdk1.2,
jdsk2.0.
Thanks in advance
Hengtai
|
