struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Josephraj" <>
Subject Poolman query
Date Fri, 08 Feb 2002 08:59:28 GMT

	Sorry about this out of topic query. But looks like this is the
only place where I can get some help on Poolman.

	I am struggling in setting up poolman to run in silverstream

	All I try to do is, set up a simple poolman configuration just
to access a database in my local server. I am not 	using 	any JNDI

	Configuration Details :

		Silver stream version : Silver Stream 3.7.3
		Database		    : Sybase adaptive server
anywhere 6.0
		Poolman version       : 2.1

		My poolman.xml looks like this 







		The following is the snippet of the code

	try {
// load the PoolMan JDBC Driver
} catch (Exception ex) {
System.out.println("Could Not Find the PoolMan Driver. "
"Is poolman.jar in your CLASSPATH?");

Connection con = null;
try {

// establish a Connection to the database with 
con = DriverManager.getConnection("jdbc:poolman://CBSData");

// Use the Connection to create Statements and do JDBC work
Statement stm = con.createStatement();

} catch (SQLException sqle) { sqle.printStackTrace(); }
finally {
try { con.close(); } catch (SQLException csqle) {}

	I get NullPointer exception asa I reach the point where I try to
load the JDBC driver.

	Hope the provided information will do. Any help is greatly



This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version. 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message