Skip to Content.
Sympa Menu

freetds - Re: freeTDS and Poolman?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Curt Hagenlocher" <curt AT hagenlocher.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: freeTDS and Poolman?
  • Date: Mon, 11 Jun 2001 09:47:59 -0700


When reporting a problem with FreeTDS-JDBC, please refer to
http://www.freetds.org/basic_jdbc_question.html.

> SQLException occurred in JDBCPool: java.sql.SQLException params:
> com.internetcds.jdbc.tds.Driver,
> jdbc:freetds:sqlserver://192.168.0.6/mytestdb. Please check
> your username, password and other connectivity info.

Unfortunately, I'm not set up here with fancy-schmancy things
like JNDI and JTA, so I can't test PoolMan directly. However,
from looking at JDBCPool.java, it looks like it's just trying
to create the driver, and failing. Does the identical code
work outside the context of PoolMan? What happens when you
do this:

Driver d = (Driver)(Class.forName(
("com.internetcds.jdbc.tds.Driver").newInstance());
Properties p = new Properties();
p.put("user", "testuser");
p.put("password", "mypassword");
Connection con = d.connect(
"jdbc:freetds:sqlserver://192.168.0.6/mytestdb", p);

--
Curt Hagenlocher
curt AT hagenlocher.org



  • freeTDS and Poolman?, Christian Amann, 06/11/2001
    • <Possible follow-up(s)>
    • Re: freeTDS and Poolman?, Curt Hagenlocher, 06/11/2001

Archive powered by MHonArc 2.6.24.

Top of Page