JBoss 3.0.1 - Firebird JDBC/JCA driver configuration - pleas
madlyr Aug 22, 2002 12:04 PMHi,
I try to connect to Firebird. First, I'm newbie to J2EE/JBoss. Some info about my environment.
- JBoss 3.0.1 on Windows 2000, 786 MB RAM,
- Firebird 1.0,
- latest Firebird JDBC/JCA driver from CVS.
I added and configured firebird-service.xml to servers deploy directory.
On the startup of Firebird service I see the following error message:
16:53:52,890 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=XaTxCM,name=FirebirdDS
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployer
jboss.jca:service=XaTxDS,name=FirebirdDS
jboss.jca:service=XaTxPool,name=FirebirdDS
jboss.jca:service=CachedConnectionManager
jboss.security:service=JaasSecurityManager
Depends On Me: , ObjectName: jboss.jca:service=XaTxDS,name=FirebirdDS
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployment,name=Firebird Database Connector
Depends On Me: jboss.jca:service=XaTxCM,name=FirebirdDS
]
What could be a reason of this message?
Please help me.
Some lines from firebird-service.xml file:
<!--FBManager can be used to create and drop databases.
Drop is especially useful during testing, since it
assures a clean start next time. -->
localhost/3050:c://App//Firebird//databases//BIO.GDB
sysdba
masterkey
true
true
Firebird manager is accessible, database BIO.GDB is deleted and created on stop/start, so path should be good.
<!--make the rar deploy - A BIG HACK till xslt based deployment is written-->
jboss.jca:service=RARDeployer
<depends optional-attribute-name="ManagedConnectionFactoryName">
<!--more hack-->
<depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=Firebird Database Connector
<!-- config-property>
<config-property-name>Server</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>localhost</config-property-value>
</config-property>
<config-property>
<config-property-name>Port</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>3050</config-property-value>
</config-property-->
<config-property>
<config-property-name>Database</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>localhost/3050:c://App//Firebird//databases//BIO.GDB</config-property-value>
</config-property>
<config-property>
<config-property-name>UserName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>Password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
FirebirdDS
In JNDI view I see this mbean.
<!--more hack-->
<depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=Firebird Database Connector
<!-- config-property>
<config-property-name>Server</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>localhost</config-property-value>
</config-property>
<config-property>
<config-property-name>Port</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>3050</config-property-value>
</config-property-->
<config-property>
<config-property-name>Database</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>localhost/3050:c://App//Firebird//databases//BIO.GDB</config-property-value>
</config-property>
<config-property>
<config-property-name>UserName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>Password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
FirebirdDS
Another mbean which I see in JNDI view (total of 3 mbeans).
I added block <application-policy name = "FirebirdDBRealm"> to login-conf.xml.
Regards,
Radoslaw Sliwinski