MBean waiting for other MBean
hi_feroz Mar 28, 2006 4:52 AMhi,
i am quite new to jboss and ejb 3. i was hoping to get some help here. i am testing a very simple ejb 3 with firebird db, here is what i get:
17:32:38,093 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.0.4RC1/
server/default/deploy/ejb1.ear
17:32:38,125 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=SessionEJBTest3,
class=model.iic.sos.test.SessionEJBTest3Bean, type=STATELESS
17:32:38,140 INFO [Ejb3Deployment] EJB3 deployment time took: 31
17:32:38,140 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=E
JB3,ear=ejb1.ear,jar=ejb1.jar,name=SessionEJBTest3 with dependencies:
17:32:38,140 INFO [JmxKernelAbstraction] persistence.units:unitName=iicso
s
17:32:38,140 INFO [EJB3Deployer] Deployed: file:/D:/jboss-4.0.4RC1/server/defau
lt/tmp/deploy/tmp40513ejb1.ear-contents/ejb1.jar
17:32:38,140 INFO [EARDeployer] Started J2EE application: file:/D:/jboss-4.0.4R
C1/server/default/deploy/ejb1.ear
17:32:38,156 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:service=EJB3,ear=ejb1.ear,jar=ejb1.jar,name=SessionEJBTes
t3
State: NOTYETINSTALLED
I Depend On:
persistence.units:unitName=iicsos
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:unitName=iicsos
State: NOTYETINSTALLED
Depends On Me:
jboss.j2ee:service=EJB3,ear=ejb1.ear,jar=ejb1.jar,name=SessionEJBTest3
my persistence.xml is like this:
<persistence-unit name="iicsos">
<jta-data-source>java:/jdbc/firebirdDS</jta-data-source>
</persistence-unit>
JNDI View in JBoss for jdbc/firebirdDS:
+- jdbc (class: org.jnp.interfaces.NamingContext)
| +- mysqlDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
| +- firebirdDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
firebird-ds.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- New ConnectionManager setup for firebird dbs using jca-jdbc xa driver-->
<!-- Build jmx-api (build/build.sh all) and view for config documentation -->
<!-- ==================================================================== -->
<connection-factories>
<!--FBManager can be used to create and drop databases.
Drop is especially useful during testing, since it
assures a clean start next time. -->
E:\TEST.GDB
sysdba
masterkey
true
false
<tx-connection-factory>
<jndi-name>jdbc/firebirdDS</jndi-name>
<xa-transaction/>
<rar-name>jboss-xa-jdbc.rar</rar-name>
<connection-definition>javax.sql.DataSource</connection-definition>
<config-property name="Database" type="java.lang.String">localhost/3050:E:\TEST.GDB</config-property>
<user-name>sysdba</user-name>
masterkey
<!--additional properties. only use one way of setting tx isolation, please
<config-property name="TransactionIsolation"></config-property>
<config-property name="TransactionIsolationName">TRANSACTION_READ_COMMITTED</config-property>
<config-property name="BlobBufferLength"></config-property>
<config-property name="Encoding">UNICODE_FSS</config-property>
-->
<min-pool-size>0</min-pool-size>
<!-- sql to call when connection is created
<new-connection-sql>some arbitrary sql</new-connection-sql>
-->
<!-- sql to call on an existing pooled connection when it is obtained from pool
<check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
-->
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
<type-mapping>Firebird</type-mapping>
</tx-connection-factory>
</connection-factories>
any help is appreciated.
thanx