Revision 5943
Added by berkley over 13 years ago
DBConnection.java | ||
---|---|---|
80 | 80 |
} |
81 | 81 |
|
82 | 82 |
conn = openConnection(); |
83 |
if(conn == null) |
|
84 |
{ |
|
85 |
System.out.println("connection is null."); |
|
86 |
} |
|
83 | 87 |
tag = conn.toString(); |
84 | 88 |
status = 0; |
85 | 89 |
age = 0; |
... | ... | |
355 | 359 |
// Load the Oracle JDBC driver |
356 | 360 |
try |
357 | 361 |
{ |
362 |
System.out.println("db driver is " + dbDriver); |
|
358 | 363 |
Class.forName (dbDriver); |
359 | 364 |
} |
360 | 365 |
catch (ClassNotFoundException e) |
Also available in: Unified diff
think I fixed the connection problem. one connection in IdentifierManager was being leaked. added more debug info in case it happens again