try connection-driver="org.postgresql.Driver"

-tim

> -----Original Message-----
> From: Alexander Höher [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 20, 2000 3:51 AM
> To: Orion-Interest
> Subject: Obtain a pooled postgres connection from JNDI 
> datasource under
> Linux
> 
> 
> Hi all,
> 
> how can I obtain a pooled postgres connection from a JNDI datasource
> under Linux?
> My client code always gets a SQLException with SQLSTATE=08001: No
> suitable driver.
> 
> Postgres driver is jdbc6.5-1.2.jar, dropped into ORION_HOME/lib
> (desparately also appended to the CLASSPATH).
> I have tried several datasource configurations in
> ORION_HOME/config/data-sources.xml, for instance:
> 
>    <data-source
>                 class="com.evermind.sql.DriverManagerDataSource"
>                 location="DataSource"
>                 name="DataSource"
>                 url="jdbc:postgresql://server/db"
>                 connection-driver="postgresql.Driver"
>                 username="user"
>                 password="secret"
>         />
> 
> 
> Did not work. (With WebLogic, a similar configuration does).
> The comments in data-sources.xml and the online documentation do not
> make me happy.
> From the Orion API I guess that somehow in data-sources.xml 
> there should
> be
> 
> 1) a datasource with class
> com.evermind.sql.DriverManagerConnectionPoolDataSource, where 
> my driver
> gets wrapped
> 2) a datasource that uses the first with class
> com.evermind.sql.OrionPooledDataSource.
> 
> Does anybody know how to get this right?
> Or where I can find supplementary information about Orion (besides the
> online documentation)?
> 
> Thanks a lot,
> 
> Sascha
> 
> mailto:[EMAIL PROTECTED]
> -- 
> Alexander Höher
> Entwicklung           
> BEANS AG
> Münchner Str. 15 a
> D-82319 Starnberg
> Tel +49-8151-3684-0
> Fax +49-8151-3684-111
> mailto:[EMAIL PROTECTED]
> http://www.beans.de
> 

Reply via email to