Subject Re: jaybird-2.0.0 and JBoss
Author tsangccn
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@a...> wrote:
>
> > [org.jboss.resource.connectionmanager.RARDeployment] Starting failed
> > jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
> > java.lang.IllegalArgumentException: The class 'class
> > org.firebirdsql.jca.FBManagedConnectionFactory' has no setter for
> > config property 'TransactionIsolationName'
> >
> > But I have not put the TransactionIsolationName property in my ds.xml
>
> Thanks! There might be an error in ra.xml, I will check this, and if
needed,
> release new version on Monday.
>
> Roman
>

Hello,

I have download JayBird-2.0.0RC2JDK_1.5 and try again.
But I still get the NameNotFoundException (java:/HrJxPjDS not bound)

The following is the JBoss server.log about the JayBird deployment

2005-10-07 19:58:54,043 DEBUG [org.jboss.deployment.MainDeployer]
Starting deployment of package:
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,043 DEBUG [org.jboss.deployment.MainDeployer]
Starting deployment (init step) of package at:
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,044 DEBUG [org.jboss.deployment.MainDeployer]
Copying
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
->
/opt/jboss-4.0.2/server/default/tmp/deploy/tmp11033hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,052 DEBUG [org.jboss.deployment.MainDeployer]
using deployer org.jboss.deployment.XSLSubDeployer@91e143
2005-10-07 19:58:54,096 DEBUG [org.jboss.deployment.XSLSubDeployer]
transformed into doc: [#document: null]
2005-10-07 19:58:54,100 DEBUG [org.jboss.deployment.XSLSubDeployer]
transformed into doc: <?xml version="1.0"?>
<server>




<mbean
code="org.jboss.resource.connectionmanager.TxConnectionManager"
display-name="ConnectionManager for ConnectionFactory HrJxPjDS"
name="jboss.jca:service=TxCM,name=HrJxPjDS"><attribute
name="TrackConnectionByTx">false</attribute><attribute
name="LocalTransactions">false</attribute><depends
optional-attribute-name="ManagedConnectionPool"><mbean
code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
display-name="Connection Pool for DataSource HrJxPjDS"
name="jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS"><depends
optional-attribute-name="ManagedConnectionFactoryName"><mbean
code="org.jboss.resource.connectionmanager.RARDeployment"
display-name="ManagedConnectionFactory for ConnectionFactory HrJxPjDS"
name="jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS"><attribute
name="ManagedConnectionFactoryProperties"><properties><config-property
name="UserName"
type="java.lang.String">sysdba</config-property><config-property
name="Password"
type="java.lang.String">masterkey</config-property><config-property
name="Database"
type="java.lang.String">nsl02/3050:/home/databases/hr_jx_pj.fdb</config-property><config-property
name="Encoding"
type="">UNICODE_FSS</config-property></properties></attribute><attribute
name="RARName">jaybird-2.0.0.rar</attribute><attribute
name="ConnectionDefinition">javax.sql.DataSource</attribute><depends
optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name='jaybird-2.0.0.rar'</depends></mbean></depends><attribute
name="MinSize">0</attribute><attribute
name="MaxSize">20</attribute><attribute
name="BlockingTimeoutMillis">30000</attribute><attribute
name="IdleTimeoutMinutes">15</attribute><attribute
name="Criteria">ByNothing</attribute></mbean></depends><attribute
name="JndiName">HrJxPjDS</attribute><depends
optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends><depends
optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends></mbean><mbean
code="org.jboss.resource.connectionmanager.ConnectionFactoryBindingService"
display-name="Binding for ConnectionFactory HrJxPjDS"
name="jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS"><attribute
name="JndiName">HrJxPjDS</attribute><attribute
name="UseJavaContext">true</attribute><depends
optional-attribute-name="ConnectionManager">jboss.jca:service=TxCM,name=HrJxPjDS</depends></mbean><mbean
code="org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData"
name="jboss.jdbc:service=metadata,datasource=HrJxPjDS"><depends
optional-attribute-name="MetadataLibrary">jboss.jdbc:service=metadata</depends><attribute
name="TypeMapping">Firebird</attribute></mbean>

</server>
2005-10-07 19:58:54,103 DEBUG [org.jboss.deployment.SARDeployer] Using
existing deployment.document
2005-10-07 19:58:54,104 DEBUG [org.jboss.deployment.SARDeployer] about
to copy 0 local directories
2005-10-07 19:58:54,104 DEBUG [org.jboss.deployment.SARDeployer]
looking for nested deployments in :
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,105 DEBUG [org.jboss.deployment.DeploymentInfo]
createLoaderRepository from config:
LoaderRepositoryConfig(repositoryName:
JMImplementation:service=LoaderRepository,name=Default,
repositoryClassName: null, configParserClassName: null,
repositoryConfig: null)
2005-10-07 19:58:54,106 DEBUG
[org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url
file:/opt/jboss-4.0.2/server/default/tmp/deploy/tmp11033hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,106 DEBUG
[org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.UnifiedLoaderRepository3@6295eb,
cl=org.jboss.mx.loading.UnifiedClassLoader3@114e777{
url=file:/opt/jboss-4.0.2/server/default/tmp/deploy/tmp11033hrjx-pj-firebird-2-ds.xml
,addedOrder=0}
2005-10-07 19:58:54,107 DEBUG
[org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.UnifiedLoaderRepository3@6295eb,
cl=org.jboss.mx.loading.UnifiedClassLoader3@114e777{
url=file:/opt/jboss-4.0.2/server/default/tmp/deploy/tmp11033hrjx-pj-firebird-2-ds.xml
,addedOrder=0}
2005-10-07 19:58:54,108 DEBUG
[org.jboss.mx.loading.UnifiedLoaderRepository3] Adding
org.jboss.mx.loading.UnifiedClassLoader3@114e777{
url=file:/opt/jboss-4.0.2/server/default/tmp/deploy/tmp11033hrjx-pj-firebird-2-ds.xml
,addedOrder=0}
2005-10-07 19:58:54,109 DEBUG [org.jboss.deployment.MainDeployer]
found 0 subpackages of
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,111 DEBUG [org.jboss.deployment.MainDeployer]
Watching new file:
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,111 DEBUG [org.jboss.deployment.MainDeployer]
create step for deployment
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,113 DEBUG [org.jboss.deployment.SARDeployer]
Deploying SAR, create step: url
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:54,113 DEBUG [org.jboss.deployment.SARDeployer]
Registering service UCL=jmx.loading:UCL=114e777
2005-10-07 19:58:54,127 DEBUG [org.jboss.system.ServiceCreator] About
to create bean: jboss.jca:service=TxCM,name=HrJxPjDS with code:
org.jboss.resource.connectionmanager.TxConnectionManager
2005-10-07 19:58:54,265 DEBUG [org.jboss.system.ServiceCreator]
Created bean: jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:54,266 DEBUG [org.jboss.system.ServiceConfigurator]
TrackConnectionByTx set to false in jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:54,274 DEBUG [org.jboss.system.ServiceConfigurator]
LocalTransactions set to false in jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:54,284 DEBUG [org.jboss.system.ServiceCreator] About
to create bean: jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
with code: org.jboss.resource.connectionmanager.JBossManagedConnectionPool
2005-10-07 19:58:54,426 DEBUG [org.jboss.system.ServiceCreator]
Created bean: jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:54,427 DEBUG [org.jboss.system.ServiceCreator] About
to create bean:
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS with code:
org.jboss.resource.connectionmanager.RARDeployment
2005-10-07 19:58:54,641 DEBUG [org.jboss.system.ServiceCreator]
Created bean: jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:54,654 DEBUG [org.jboss.system.ServiceConfigurator]
ManagedConnectionFactoryProperties set to [properties: null] in
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:54,674 DEBUG [org.jboss.system.ServiceConfigurator]
RARName set to jaybird-2.0.0.rar in
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:54,697 DEBUG [org.jboss.system.ServiceConfigurator]
ConnectionDefinition set to javax.sql.DataSource in
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:54,713 DEBUG [org.jboss.system.ServiceController]
recording that
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS depends on
jboss.jca:service=RARDeployment,name='jaybird-2.0.0.rar'
2005-10-07 19:58:54,713 DEBUG [org.jboss.system.ServiceConfigurator]
considering OldRarDeployment with object name
jboss.jca:service=RARDeployment,name='jaybird-2.0.0.rar'
2005-10-07 19:58:54,727 DEBUG [org.jboss.system.ServiceController]
recording that jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
depends on jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:54,727 DEBUG [org.jboss.system.ServiceConfigurator]
considering ManagedConnectionFactoryName with object name
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:54,738 DEBUG [org.jboss.system.ServiceConfigurator]
MinSize set to 0 in jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:54,750 DEBUG [org.jboss.system.ServiceConfigurator]
MaxSize set to 20 in jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:54,760 DEBUG [org.jboss.system.ServiceConfigurator]
BlockingTimeoutMillis set to 30000 in
jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:54,769 DEBUG [org.jboss.system.ServiceConfigurator]
IdleTimeoutMinutes set to 15 in
jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:54,788 DEBUG [org.jboss.system.ServiceConfigurator]
Criteria set to ByNothing in
jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:54,798 DEBUG [org.jboss.system.ServiceController]
recording that jboss.jca:service=TxCM,name=HrJxPjDS depends on
jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:54,798 DEBUG [org.jboss.system.ServiceConfigurator]
considering ManagedConnectionPool with object name
jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:54,816 DEBUG [org.jboss.system.ServiceConfigurator]
JndiName set to HrJxPjDS in jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:54,825 DEBUG [org.jboss.system.ServiceController]
recording that jboss.jca:service=TxCM,name=HrJxPjDS depends on
jboss.jca:service=CachedConnectionManager
2005-10-07 19:58:54,826 DEBUG [org.jboss.system.ServiceConfigurator]
considering CachedConnectionManager with object name
jboss.jca:service=CachedConnectionManager
2005-10-07 19:58:54,835 DEBUG [org.jboss.system.ServiceController]
recording that jboss.jca:service=TxCM,name=HrJxPjDS depends on
jboss:service=TransactionManager
2005-10-07 19:58:54,836 DEBUG [org.jboss.system.ServiceConfigurator]
considering TransactionManagerService with object name
jboss:service=TransactionManager
2005-10-07 19:58:54,846 DEBUG [org.jboss.system.ServiceCreator] About
to create bean:
jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS with code:
org.jboss.resource.connectionmanager.ConnectionFactoryBindingService
2005-10-07 19:58:54,916 DEBUG [org.jboss.system.ServiceCreator]
Created bean: jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS
2005-10-07 19:58:54,925 DEBUG [org.jboss.system.ServiceConfigurator]
JndiName set to HrJxPjDS in
jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS
2005-10-07 19:58:54,931 DEBUG [org.jboss.system.ServiceConfigurator]
UseJavaContext set to true in
jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS
2005-10-07 19:58:54,938 DEBUG [org.jboss.system.ServiceController]
recording that
jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS depends on
jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:54,938 DEBUG [org.jboss.system.ServiceConfigurator]
considering ConnectionManager with object name
jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:54,945 DEBUG [org.jboss.system.ServiceCreator] About
to create bean: jboss.jdbc:service=metadata,datasource=HrJxPjDS with
code: org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData
2005-10-07 19:58:55,008 DEBUG [org.jboss.system.ServiceCreator]
Created bean: jboss.jdbc:service=metadata,datasource=HrJxPjDS
2005-10-07 19:58:55,008 DEBUG [org.jboss.system.ServiceController]
recording that jboss.jdbc:service=metadata,datasource=HrJxPjDS depends
on jboss.jdbc:service=metadata
2005-10-07 19:58:55,009 DEBUG [org.jboss.system.ServiceConfigurator]
considering MetadataLibrary with object name jboss.jdbc:service=metadata
2005-10-07 19:58:55,023 DEBUG [org.jboss.system.ServiceConfigurator]
TypeMapping set to Firebird in
jboss.jdbc:service=metadata,datasource=HrJxPjDS
2005-10-07 19:58:55,029 DEBUG [org.jboss.system.ServiceController]
Creating service jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:55,029 DEBUG [org.jboss.system.ServiceController]
(main:jboss.jca:service=TxCM,name=HrJxPjDS) waiting in create of
jboss.jca:service=TxCM,name=HrJxPjDS waiting on
jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:55,030 DEBUG [org.jboss.system.ServiceController]
Creating service jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:55,031 DEBUG [org.jboss.system.ServiceController]
(main:jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS) waiting
in create of jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
waiting on jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:55,031 DEBUG [org.jboss.system.ServiceController]
Creating service jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:55,032 DEBUG [org.jboss.system.ServiceController]
(main:jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS)
waiting in create of
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS waiting on
jboss.jca:service=RARDeployment,name='jaybird-2.0.0.rar'
2005-10-07 19:58:55,032 DEBUG [org.jboss.system.ServiceController]
Creating service jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS
2005-10-07 19:58:55,033 DEBUG [org.jboss.system.ServiceController]
(main:jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS)
waiting in create of
jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS waiting on
jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:55,034 DEBUG [org.jboss.system.ServiceController]
Creating service jboss.jdbc:service=metadata,datasource=HrJxPjDS
2005-10-07 19:58:55,034 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData]
(main:jboss.jdbc:service=metadata,datasource=HrJxPjDS
DataSourceMetaData) Creating
jboss.jdbc:service=metadata,datasource=HrJxPjDS
2005-10-07 19:58:55,035 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData] Created
jboss.jdbc:service=metadata,datasource=HrJxPjDS
2005-10-07 19:58:55,035 DEBUG [org.jboss.system.ServiceController]
Creating dependent components for:
jboss.jdbc:service=metadata,datasource=HrJxPjDS dependents are: []
2005-10-07 19:58:55,037 DEBUG [org.jboss.deployment.MainDeployer] Done
with create step of deploying hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:55,037 DEBUG [org.jboss.deployment.MainDeployer]
Begin deployment start
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:55,039 DEBUG [org.jboss.deployment.SARDeployer]
Deploying SAR, start step: url
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:55,040 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:55,040 DEBUG [org.jboss.system.ServiceController]
(main:jboss.jca:service=TxCM,name=HrJxPjDS) waiting in start
jboss.jca:service=TxCM,name=HrJxPjDS on
jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:55,040 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS
2005-10-07 19:58:55,041 DEBUG [org.jboss.system.ServiceController]
(main:jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS) waiting
in start jboss.jca:service=ManagedConnectionPool,name=HrJxPjDS on
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:55,041 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS
2005-10-07 19:58:55,042 DEBUG [org.jboss.system.ServiceController]
(main:jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS)
waiting in start
jboss.jca:service=ManagedConnectionFactory,name=HrJxPjDS on
jboss.jca:service=RARDeployment,name='jaybird-2.0.0.rar'
2005-10-07 19:58:55,042 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS
2005-10-07 19:58:55,042 DEBUG [org.jboss.system.ServiceController]
(main:jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS)
waiting in start
jboss.jca:service=ConnectionFactoryBinding,name=HrJxPjDS on
jboss.jca:service=TxCM,name=HrJxPjDS
2005-10-07 19:58:55,043 DEBUG [org.jboss.system.ServiceController]
starting service jboss.jdbc:service=metadata,datasource=HrJxPjDS
2005-10-07 19:58:55,044 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData]
(main:jboss.jdbc:service=metadata,datasource=HrJxPjDS) Starting
jboss.jdbc:service=metadata,datasource=HrJxPjDS
2005-10-07 19:58:55,044 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData] Started
jboss.jdbc:service=metadata,datasource=HrJxPjDS
2005-10-07 19:58:55,045 DEBUG [org.jboss.system.ServiceController]
Starting dependent components for:
jboss.jdbc:service=metadata,datasource=HrJxPjDS dependent components: []
2005-10-07 19:58:55,048 DEBUG [org.jboss.deployment.MainDeployer] End
deployment start on package: hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:55,048 DEBUG [org.jboss.deployment.MainDeployer]
Deployed package:
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
2005-10-07 19:58:55,054 DEBUG
[org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for:
file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml
-> file:/opt/jboss-4.0.2/server/default/deploy/hrjx-pj-firebird-2-ds.xml

Pleae help. Thanks a lot.


Regards
C. N. Tsang