Hello,
I'm upgrading from JBoss PRE-2.1 to 2.3 beta. Things were going surprisingly
well until I hit this snag. For some reason, my original jboss.jcml
configuration for Sybase no longer works. I'm using the JConnect JDBC
drivers.
This is what I added to/modified in the 2.3 jboss.jcml:
<mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
<attribute
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,com.
sybase.jdbc2.jdbc.SybDriver</attribute>
</mbean>
<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=SybasePool">
<attribute name="PoolName">SybasePool</attribute>
<attribute
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attr
ibute>
<attribute
name="URL">jdbc:sybase:Tds:server:7100?ELIMINAT_010SM=true</attribute>
<attribute name="JDBCUser">username</attribute>
<attribute name="Password">password</attribute>
<attribute name="MinSize">0</attribute>
<attribute name="MaxSize">10</attribute>
<attribute name="GCEnabled">false</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="GCInterval">120000</attribute>
<attribute name="InvalidateOnError">false</attribute>
<attribute name="TimestampUsed">false</attribute>
<attribute name="Blocking">true</attribute>
<attribute name="LoggingEnabled">false</attribute>
<attribute name="IdleTimeoutEnabled">false</attribute>
<attribute name="IdleTimeout">1800000</attribute>
<attribute name="MaxIdleTimeoutPercent">1.0</attribute>
</mbean>
This code works fine in the PRE-2.1 release, but in 2.3 I see this in the
startup sequence:
[JDBC provider] could not load driver:com.sybase.jdbc2.jdbc.SybDriver
Later on, it freezes when it gets to creating the connection pool:
.
.
.
[SybasePool] Starting
[SybasePool] XA Connection pool SybasePool bound to java:/SybasePool
(freeze)
Thanks in advance, I appreciate any help.
--
Jason Wells
Web Architect
Xsilogy, Inc.
http://www.xsilogy.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user