james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Kraly <...@perspectivesoftware.com>
Subject Re: bad database name?
Date Wed, 02 Jun 2004 19:26:33 GMT
Never mind, switching drivers seems to have fixed the problem.

-J

Jay Kraly wrote:

> I'm trying to connect to a sql2000 shared server that has funky names 
> because of the shared nature of the server, the database I'm trying to 
> connect to is named similarly to "xxxdata-14740".  James 2.2.0a8 is 
> giving me the following error :
>
>
> 02/06/04 15:51:15 ERROR database-connections.listdbxxx: Error creating 
> connection:
> java.sql.SQLException: Bad database name- xxxdata-14740
> 0 connection are in use by this program
>    at 
> com.internetcds.jdbc.tds.Constructors.newConnection(Constructors.java:269) 
>
>    at com.internetcds.jdbc.tds.Driver.connect(Driver.java:282)
>    at java.sql.DriverManager.getConnection(DriverManager.java:512)
>    at java.sql.DriverManager.getConnection(DriverManager.java:171)
>    at 
> org.apache.james.util.mordred.JdbcDataSource.createConn(JdbcDataSource.java:540) 
>
>    at 
> org.apache.james.util.mordred.JdbcDataSource.getConnection(JdbcDataSource.java:206) 
>
>    at 
> com.hwm.james.userrepository.DynQueryJdbcRepository.openConnection(DynQueryJdbcRepository.java:546)

>
>    at 
> com.hwm.james.userrepository.DynQueryJdbcRepository.access$1000(DynQueryJdbcRepository.java:48)

>
>    at 
> com.hwm.james.userrepository.DynQueryJdbcRepository$ThreadedInitialize.threadedInitialize(DynQueryJdbcRepository.java:269)

>
>    at 
> com.hwm.james.userrepository.DynQueryJdbcRepository$ThreadedInitialize.run(DynQueryJdbcRepository.java:235)

>
>    at java.lang.Thread.run(Thread.java:534)
>
>
> Any quick fixes?
>
> -J
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Mime
View raw message