Subject | problem creating connection-pool on Sun Application-Server 8.1 |
---|---|
Author | Wolfgang Reder |
Post date | 2004-10-11T20:04:39Z |
hello !
i can configure a fb-connectionpool. but when i try to ping the pool i receive
the message
Caused by: java.lang.RuntimeException: Cannot get the value for this argument
type as a string
at
org.firebirdsql.jgds.ParameterBufferBase$Argument.getValueAsString(ParameterBufferBase.java:177)
at
org.firebirdsql.jgds.ParameterBufferBase.getArgumentAsString(ParameterBufferBase.java:66)
at org.firebirdsql.jgds.GDS_Impl.connect(GDS_Impl.java:1573)
at org.firebirdsql.jgds.GDS_Impl.isc_attach_database(GDS_Impl.java:285)
at org.firebirdsql.jgds.GDS_Impl.isc_attach_database(GDS_Impl.java:261)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createDbHandle(FBManagedConnectionFactory.java:540)
at org.firebirdsql.jca.FBManagedConnection.<init>(FBManagedConnection.java:88)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnection(FBManagedConnectionFactory.java:366)
at
org.firebirdsql.pool.FBConnectionPoolDataSource.allocateConnection(FBConnectionPoolDataSource.java:274)
at
org.firebirdsql.pool.PooledConnectionQueue.addConnection(PooledConnectionQueue.java:427)
at org.firebirdsql.pool.PooledConnectionQueue.start(PooledConnectionQueue.java:157)
at
org.firebirdsql.pool.AbstractConnectionPool.getQueue(AbstractConnectionPool.java:182)
at
org.firebirdsql.pool.FBConnectionPoolDataSource.getPooledConnection(FBConnectionPoolDataSource.java:367)
at
org.firebirdsql.pool.FBWrappingDataSource.getConnection(FBWrappingDataSource.java:203)
at
com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:87)
at
com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:1172)
at
com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:504)
... 69 more
my question is: which parameter caused the error ?
and is there a how-to on using jaybird with sun application server ?
thanks
wolfgang reder
i can configure a fb-connectionpool. but when i try to ping the pool i receive
the message
Caused by: java.lang.RuntimeException: Cannot get the value for this argument
type as a string
at
org.firebirdsql.jgds.ParameterBufferBase$Argument.getValueAsString(ParameterBufferBase.java:177)
at
org.firebirdsql.jgds.ParameterBufferBase.getArgumentAsString(ParameterBufferBase.java:66)
at org.firebirdsql.jgds.GDS_Impl.connect(GDS_Impl.java:1573)
at org.firebirdsql.jgds.GDS_Impl.isc_attach_database(GDS_Impl.java:285)
at org.firebirdsql.jgds.GDS_Impl.isc_attach_database(GDS_Impl.java:261)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createDbHandle(FBManagedConnectionFactory.java:540)
at org.firebirdsql.jca.FBManagedConnection.<init>(FBManagedConnection.java:88)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnection(FBManagedConnectionFactory.java:366)
at
org.firebirdsql.pool.FBConnectionPoolDataSource.allocateConnection(FBConnectionPoolDataSource.java:274)
at
org.firebirdsql.pool.PooledConnectionQueue.addConnection(PooledConnectionQueue.java:427)
at org.firebirdsql.pool.PooledConnectionQueue.start(PooledConnectionQueue.java:157)
at
org.firebirdsql.pool.AbstractConnectionPool.getQueue(AbstractConnectionPool.java:182)
at
org.firebirdsql.pool.FBConnectionPoolDataSource.getPooledConnection(FBConnectionPoolDataSource.java:367)
at
org.firebirdsql.pool.FBWrappingDataSource.getConnection(FBWrappingDataSource.java:203)
at
com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:87)
at
com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:1172)
at
com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:504)
... 69 more
my question is: which parameter caused the error ?
and is there a how-to on using jaybird with sun application server ?
thanks
wolfgang reder