Hi all,
I have some problems creating a connection pool using the FreeTDS driver.The
database server is MS-SQL Server 2000. I've followed the document "HowTo:
Use MS SQL Server with JBoss".I don´t know which is the problem.

The lines from jboss.jcml are:

  <mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
        <attribute
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,com.
internetcds.jdbc.tds.Driver     </attribute>
  </mbean>
.....
    <mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=SQLServerPool">
      <attribute name="PoolName">SQLServerPool</attribute>
      <attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l</attribute>
      <attribute name="Properties"></attribute>
      <attribute
name="URL">jdbc:freetds:sqlserver://localhost:1433/NCRMSGB</attribute>
      <attribute name="GCMinIdleTime">1200000</attribute>
      <attribute name="JDBCUser">sa</attribute>
      <attribute name="MaxSize">10</attribute>
      <attribute name="Password" />
      <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">false</attribute>
      <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
      <attribute name="MinSize">0</attribute>
    </mbean>
The freetds_jdbc.jar file is in c:\jboss-tomcat-2.1-beta\jboss-2.1\lib\ext.

And the error is:

[SQLServerPool] Starting
[SQLServerPool] XA Connection pool SQLServerPool bound to
java:/SQLServerPool
[SQLServerPool] Exception- java.lang.NullPointerException

Can somebody help me?

Thank in advance

Antonio


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

Reply via email to