Hi,

Im having a problem connecting to Firebird using the JCA driver. I have
downloaded the firebird-service.xml from jboss cvs and the firebirdsql.rar
from firebird cvs, changed the file entry in firebird-service.xml verified
that the firebirdRealm is correct in login-config.xml and when jboss starts
everything looks fine, but when an entitybean is deployed i get an
org.firebirdsql.gds.GDSException :  Could not get a db connection! see
below.

I have used the org.firebirdsql.management.FBManager to create the database
and using a tool like marathon 2.0 i can connect to the database and i see a
nice empty database as expected.

I am using:
jBoss-3.0.0
Firebird 1.0.0
jca driver 1.0-beta-1
all on win2k

Anybody had this problem too?

Thanks in advance...

^torsten

stacktrace:

2002-06-05 12:25:57,854 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.test/TestEntity]
Initializing CMP plugin for test/TestEntity
2002-06-05 12:25:57,914 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.test/TestEntity] Loading
standardjbosscmp-jdbc.xml :
file:/C:/jboss-3.0.0/server/default/conf/standardjbosscmp-jdbc.xml
2002-06-05 12:25:58,055 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.test/TestEntity]
jar:njar:file:/C:/jboss-3.0.0/server/default/tmp/deploy/server/default/deplo
y/dmmbase_0.1.ear/60.dmmbase_0.1.ear^/dmmbase.jar!/META-INF/jbosscmp-jdbc.xm
l found. Overriding defaults
2002-06-05 12:25:58,275 DEBUG
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool:
registering pool with interval 900000 old interval: 9223372036854775807
2002-06-05 12:25:58,275 DEBUG
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool:
about to notify thread: old next: 1023273208275, new next: 1023273208275
2002-06-05 12:26:00,588 INFO
[org.firebirdsql.jca.FBManagedConnectionFactory] Could not get a db
connection!
org.firebirdsql.gds.GDSException:
        at org.firebirdsql.jgds.GDS_Impl.connect(GDS_Impl.java:1240)
        at org.firebirdsql.jgds.GDS_Impl.isc_attach_database(GDS_Impl.java:263)
        at org.firebirdsql.jgds.GDS_Impl.isc_attach_database(GDS_Impl.java:247)
        at
org.firebirdsql.jca.FBManagedConnectionFactory.createDbHandle(FBManagedConne
ctionFactory.java:506)
        at
org.firebirdsql.jca.FBManagedConnectionFactory.assureDbHandle(FBManagedConne
ctionFactory.java:515)
        at
org.firebirdsql.jca.FBManagedConnection.<init>(FBManagedConnection.java:111)
        at
org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnection(FBMan
agedConnectionFactory.java:272)
        at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createCon
nection(InternalManagedConnectionPool.java:236)
        at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnec
tion(InternalManagedConnectionPool.java:101)
        at
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.get
Connection(JBossManagedConnectionPool.java:312)
        at
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnec
tion(BaseConnectionManager2.java:467)
        at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnecti
on(BaseConnectionManager2.java:532)
        at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManage
rProxy.allocateConnection(BaseConnectionManager2.java:812)
        at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:97)
        at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
        at
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntityBrid
ge.java:103)
        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java
:332)
        at
org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.jav
a:155)
        at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
        at org.jboss.ejb.Container.invoke(Container.java:789)
        at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

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

Reply via email to