FirebirdSQL-1.0_RC1a. w/ JBoss 3.0.3
dariusl Oct 23, 2002 11:47 AMGreetings,
On starting JBoss with firebirdsql.rar and the firebird-service.xml (appended at the end of this post) deployed in 'default', the following messages are printed to the JBoss console:
-------------- start JBoss console log ------------
00:22:13,230 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@3b303d71 { url=file:/C:/dvl/j/ee/jboss303/server/fbdefault/deploy/firebird-service.xml }
deployer: org.jboss.deployment.SARDeployer@1adc30
status: Deployment FAILED reason: jboss.jca:service=FirebirdManager is not registered.; - nested throwable: (javax.management.InstanceNotFoun
dException: jboss.jca:service=FirebirdManager is not registered.)
state: FAILED
watch: file:/C:/dvl/j/ee/jboss303/server/fbdefault/deploy/firebird-service.xml
lastDeployed: 1035382912661
lastModified: 1035382912641
mbeans:
jboss.jca:service=FirebirdManager (state not available)
jboss.jca:service=XaTxCM,name=FirebirdDS (state not available)
jboss.jca:service=XaTxDS,name=FirebirdDS (state not available)
jboss.jca:service=XaTxPool,name=FirebirdDS (state not available)
]MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=FirebirdManager
state: NOTYETINSTALLED
I Depend On:
Depends On Me: ]
00:22:13,240 INFO [URLDeploymentScanner] Started
00:22:13,240 INFO [MainDeployer] Deployed package: file:/C:/dvl/j/ee/jboss303/server/fbdefault/conf/jboss-service.xml
00:22:13,270 INFO [Server] JBoss (MX MicroKernel) [3.0.3 Date:200209301503] Started in 0m:44s:584ms
--------------- end JBoss console log -----------------
If I then just touch firebird-service.xml file in the 'deploy' directory JBoss notices and redeploys with a different result;
--------------- start more JBoss console log ----------
00:22:23,325 INFO [MainDeployer] Undeploying file:/C:/dvl/j/ee/jboss303/server/fbdefault/deploy/firebird-service.xml
00:22:23,345 WARN [ServiceController] Ignoring request to stop non-existant service: jboss.jca:service=XaTxPool,name=FirebirdDS
00:22:23,355 WARN [ServiceController] Ignoring request to stop non-existant service: jboss.jca:service=XaTxDS,name=FirebirdDS
00:22:23,365 WARN [ServiceController] Ignoring request to stop non-existant service: jboss.jca:service=XaTxCM,name=FirebirdDS
00:22:23,375 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.jca:service=XaTxPool,name=FirebirdDS
00:22:23,395 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.jca:service=XaTxDS,name=FirebirdDS
00:22:23,405 WARN [ServiceController] Ignoring request to destroy non-existant service: jboss.jca:service=XaTxCM,name=FirebirdDS
00:22:23,415 WARN [ServiceController] Ignoring request to remove non-existant service: jboss.jca:service=XaTxPool,name=FirebirdDS
00:22:23,435 WARN [ServiceController] Ignoring request to remove non-existant service: jboss.jca:service=XaTxDS,name=FirebirdDS
00:22:23,445 WARN [ServiceController] Ignoring request to remove non-existant service: jboss.jca:service=XaTxCM,name=FirebirdDS
00:22:23,455 INFO [MainDeployer] Cleaned Deployment file:/C:/dvl/j/ee/jboss303/server/fbdefault/deploy/firebird-service.xml
00:22:23,465 INFO [MainDeployer] Undeployed file:/C:/dvl/j/ee/jboss303/server/fbdefault/deploy/firebird-service.xml
00:22:23,485 INFO [MainDeployer] Starting deployment of package: file:/C:/dvl/j/ee/jboss303/server/fbdefault/deploy/firebird-service.xml
00:22:23,685 WARN [ServiceController] jboss.jca:service=XaTxDS,name=FirebirdDS does not implement any Service methods
00:22:23,705 INFO [JBossManagedConnectionPool] Creating
00:22:23,715 INFO [JBossManagedConnectionPool] Created
00:22:23,725 INFO [XATxConnectionManager] Creating
00:22:23,785 INFO [XATxConnectionManager] Created
00:22:24,456 INFO [JBossManagedConnectionPool] Starting
00:22:24,466 INFO [JBossManagedConnectionPool] Started
00:22:24,476 INFO [XATxConnectionManager] Starting
00:22:24,567 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@8de972
00:22:24,587 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@d964af
00:22:24,607 INFO [JaasSecurityManagerService] Added FirebirdDBRealm, org.jboss.security.plugins.SecurityDomainContext@6127da to map
00:22:24,777 INFO [FirebirdDS] Bound connection factory for resource adapter 'Firebird Database Connector' to JNDI name 'java:/FirebirdDS'
00:22:24,787 INFO [XATxConnectionManager] Started
00:22:24,807 INFO [MainDeployer] Deployed package: file:/C:/dvl/j/ee/jboss303/server/fbdefault/deploy/firebird-service.xml
--------------- end more JBoss console log ----------
The connector seems to have now been deployed (it successfully creates the jca.gdb file).
Can anyone explain why the connector isn't deploying properly as JBoss starts?
It seems that the connection pool is not maintaining a minimum of 10 connections (as specified in firebird-service.xml). Any suggestions here would be most welcome.
Any suggestions on where to read up on allowed values and meanings of all tags in firebird-service.xml would also be much appreciated (so far all I can see is the sample config file which seems to assume a lot more knowledge than I have about the subtlties of configuring this connector).
Thanks for any assistance,
Darius
------------- firebird-service.xml --------------
c:\dvlproj\ib\jca.gdb
localhost
3050
jbib
jbib
true
true
jboss.jca:service=RARDeployer make the rar deploy - A BIG HACK till xslt based deployment is written
<depends optional-attribute-name="ManagedConnectionFactoryName">
<depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=Firebird Database Connector
<config-property name="Database" type="java.lang.String">[server]/3050:\dvlproj\ib\jca.gdb</config-property>
<config-property name="TransactionIsolationName" type="java.lang.String">TRANSACTION_REPEATABLE_READ</config-property>
<config-property name="Encoding" type="java.lang.String">UNICODE_FSS</config-property>
<config-property name="BlobBufferLength" type="int">4096</config-property>
<config-property name="UserName" type="java.lang.String">jbib</config-property>
<config-property name="Password" type="java.lang.String">jbib</config-property>
FirebirdDS
<depends optional-attribute-name="ManagedConnectionPool">
10
50
5000
15
ByContainer
<depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager
FirebirdDBRealm
<depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager
java:/TransactionManager