Subject JBoss 4.0.1 and Firebird 1.5 - Help!
Author Marc Batchelor
Hey all (I originally posted this to the wrong list),

I'm trying to get some help getting Firebird working in JBoss 4.0.1,
and I'm not getting any help from the JBoss FAQ's, Wiki's or the
Forum. I know I can't be the first to run into this because I've seen
it posted in the JBoss forum before - but the reply is always the
same: "FAQ".

I've done the following steps to get it to go with no joy:

a- Copied over the .rar file into my default deploy directory.

b- Removed all the *hsql* xml files

c- Copied the example firebird-ds.xml, and modified the datasource to
be DefaultDS.

d- Based on the HSQL ones, I've made firebird-jdbc-state-service.xml
and firebird-jdbc2-service.xml files.

There are no exceptions or stack traces in the console or the
server.log. I'm getting no feedback from the system.

Can anyone help?


Here goes -

In my console for JBoss, I get this:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding
state: NOTYETINSTALLED
I Depend On:
Depends On Me:
jboss.ejb:persistencePolicy=database,service=EJBTimerService
jboss:service=KeyGeneratorFactory,type=HiLo
jboss.mq:service=StateManager
jboss.mq:service=PersistenceManager

But, in my server log, I see where the DefaultDS service has been
installed:

...snip...
2005-05-09 08:08:56,513 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jca:name=DefaultDS,service=TxCM
2005-05-09 08:08:56,513 DEBUG
[org.jboss.resource.connectionmanager.TxConnectionManager] Starting
jboss.jca:name=DefaultDS,service=TxCM
2005-05-09 08:08:56,513 DEBUG
[org.jboss.resource.connectionmanager.TxConnectionManager] Started
jboss.jca:name=DefaultDS,service=TxCM
2005-05-09 08:08:56,513 DEBUG [org.jboss.system.ServiceController]
Starting dependent components for:
jboss.jca:name=DefaultDS,service=TxCM dependent components:
[ObjectName: jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding
state: CREATED
I Depend On: jboss.jca:name=DefaultDS,service=TxCM

Depends On Me: ]
2005-05-09 08:08:56,513 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding
2005-05-09 08:08:56,513 DEBUG
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService]
Starting jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding
2005-05-09 08:08:56,533 DEBUG
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService]
Binding object 'org.firebirdsql.jdbc.FBDataSource@eccfe7' into JNDI at
'java:DefaultDS'
2005-05-09 08:08:56,533 INFO
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService]
Bound connection factory for resource adapter for ConnectionManager
'jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding to JNDI
name 'java:DefaultDS'
2005-05-09 08:08:56,533 DEBUG
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService]
Started jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding
2005-05-09 08:08:56,533 DEBUG [org.jboss.system.ServiceController]
Starting dependent components for:
jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding dependent
components: []
2005-05-09 08:08:56,533 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding
2005-05-09 08:08:56,533 DEBUG [org.jboss.system.ServiceController]
Ignoring start request for service:
jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding
2005-05-09 08:08:56,533 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jdbc:datasource=DefaultDS,service=metadata
2005-05-09 08:08:56,533 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData] Starting
jboss.jdbc:datasource=DefaultDS,service=metadata
2005-05-09 08:08:56,533 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData] Started
jboss.jdbc:datasource=DefaultDS,service=metadata
2005-05-09 08:08:56,533 DEBUG [org.jboss.system.ServiceController]
Starting dependent components for:
jboss.jdbc:datasource=DefaultDS,service=metadata dependent components: []
2005-05-09 08:08:56,683 DEBUG [org.jboss.deployment.MainDeployer] End
deployment start on package: firebird-ds.xml
2005-05-09 08:08:56,683 DEBUG [org.jboss.deployment.MainDeployer]
Deployed package:
file:/E:/jboss-4.0.1sp1/server/default/deploy/firebird-ds.xml