Believe that is because it actually tests the pool by reserving and
releasing a connection.
Vinay
"Laurens M. Fridael" wrote:
>
> Hi,
>
> I solved the problem. I must make sure SQL Server is running (I have it
> running on my development machine). If SQL Server is not running the Minerva
> pool driver hangs during startup.
>
> Thanks for reading
> -Laurens
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Laurens M.
> Fridael
> Sent: zondag 17 juni 2001 19:01
> To: Jboss-User
> Subject: [JBoss-user] Opta2000/Minerva pool combination, hang at startup
>
> Hi,
>
> I'm having trouble with the Opta2000 (version 2.05) driver in conjunction
> with the Minerva pool. JBoss *sometimes* hangs at startup on my Windows98
> development machine. Other times it runs fine. The logs on the console say
> this:
>
> [SQLServer] Starting
> [SQLServer] XA Connection pool SQLServer bound to java:/SQLServer
>
> and then there is no message of SQLServer having been "started". There are
> no further messages about the applications being deployed and services being
> started and so forth.
>
> The SQLServer pool is configured this way in jboss.jcml:
>
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=SQLServer">
> <attribute name="PoolName">SQLServer</attribute>
> <attribute
> name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
> l</attribute>
> <attribute name="Properties"></attribute>
> <attribute
> name="URL">jdbc:inetdae:127.0.0.1?database=musicstore</attribute>
> <attribute name="GCMinIdleTime">1200000</attribute>
> <attribute name="JDBCUser">sa</attribute>
> <attribute name="MinSize">1</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>
> </mbean>
>
> I'm using the Minerva pool with the standard Opta2000 driver because I
> couldn't get a Opta2000 DataSource implementation to work. The version 2.05
> drivers do not support transactions. When I try to use a CMP bean the logs
> in the console explicitly state that the com.inet.tds.XDataSource does not
> support transactions.
>
> Anyway, sometimes it works fine and other times it hangs. The configuration
> files are identical. I know Windows98 is probably not a good choice for
> deployment but it should work fine for development.
>
> Thanks
> -Laurens
>
> _______________________________________________
> 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
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user