Hi,
are you sure the user bank/bank has access to EChequeBank or EChequeBank
exists? (Sorry if asking the obvious, but sometimes...)
Burkhard
----- Original Message -----
From: "Rama Rao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 11:26 AM
Subject: [JBoss-user] Free TDS Driver --- SQL Server Problems


> Hai all,
>         I am trying to create database pool for sql server using freetds
> driver.I downloaded freetds_jdbc.jar from freetds.org site and I put this
> jar in $JBOSSHOME/lib/ext  directory. I also added freetds driver i,e
> "com.internetcds.jdbc.tds.Driver"  to Drivers list in Jboss.jcml file. My
> pool code in jcml file is
>
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=EChequeBankPool">
>     <attribute name="PoolName">EChequeBankPool</attribute>
>     <attribute
>
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
> l</attribute>
>     <attribute name="Properties"></attribute>
>     <attribute
>
name="URL">jdbc:freetds:sqlserver://172.16.16.251:1433/EChequeBank;TDS=7.0</
> attribute>
>     <attribute name="GCMinIdleTime">1200000</attribute>
>     <attribute name="JDBCUser">bank</attribute>
>     <attribute name="MaxSize">20</attribute>
>     <attribute name="Password">bank</attribute>
>     <attribute name="GCEnabled">false</attribute>
>     <attribute name="InvalidateOnError">false</attribute>
>     <attribute name="TimestampUsed">false</attribute>
>     <attribute name="Blocking">true</attribute>
>     <attribute name="GCInterval">120000</attribute>
>     <attribute name="IdleTimeout">1800000</attribute>
>     <attribute name="IdleTimeoutEnabled">false</attribute>
>     <attribute name="LoggingEnabled">true</attribute>
>     <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
>     <attribute name="MinSize">0</attribute>
>   </mbean>
>
>
> But if I start the server, it will hang while creating the pool (I,e
> EChequeBankPool ). It will not  move further.The error which i am getting
is
>
>
>
>  [InstantDB] Started
> [DefaultDS] Starting
> [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
> [DefaultDS] Started
> [EChequeBankPool] Starting
> [EChequeBankPool] XA Connection pool EChequeBankPool bound to
> java:/EChequeBankP
> ool
> [EChequeBankPool] Exception- java.lang.NullPointerException
> [EChequeBankPool] java.sql.SQLException
> [EChequeBankPool] Pool EChequeBankPool factory
> org.opentools.minerva.jdbc.xa.XAC
> onnectionFactory@6b2c1b unable to create new object!
> [EChequeBankPool] Pool EChequeBankPool [0/0/20] waiting for a free object
>
>
>
> Can any body give me the solution for this exception
>
> Thanks
> Rama Rao
>
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to