Yes, I tried that, and it still has issues. Here's the relevant bean
definition. (I tried the mbean name both the way you specified, and the way it
shows up in JMX console.) Also, I've tried with and without the dataSource
property specified in addition to the dependency.
| <bean name="org.jbpm:service=ProcessEngine"
| class="org.jbpm.integration.spi.JBPMService">
| <property name="serverConfig"><inject
bean="org.jbpm:service=ServerConfig"/></property>
| <!--
| <property name="dataSource">
| <inject bean="jboss.jca:service=DataSourceBinding,name=JbpmDS" />
| </property>
| -->
| <depends>jboss.jca:name=JbpmDS,service=DataSourceBinding</depends>
| </bean>
|
This results in the following error with the ProcessEngine not bound in JNDI.
| --- MBeans waiting for other MBeans ---
| ObjectName:
jboss.beans:service=JBossBeanDeployment,name='jbpm-service.sar#jbpm-service.beans'
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Cannot start
abstractkerneldeploym...@17b51e8{name=file:/opt/jboss/jboss-4.2.3.GA/server/TDS/deploy/jbpm/jbpm-service.sar/jbpm-service.beans/META-INF/jboss-beans.xml
installed=true
beans=[abstractbeanmetad...@13e6577{name=org.jbpm:service=KernelLocator
bean=org.jbpm.integration.util.KernelLocator properties=[kernel]
constructor=null},
abstractbeanmetad...@1776d65{name=org.jbpm:service=ProcessEngine
bean=org.jbpm.integration.spi.JBPMService properties=[serverConfig]
constructor=null demands=[jboss.jca:name=JbpmDS,service=DataSourceBinding]},
abstractbeanmetad...@1af1934{name=org.jbpm:service=ServerConfig
bean=org.jbpm.integration.jboss4.mgmt.ServerConfig properties=[webServiceHost]
constructor=null}]}; - nested throwable: (java.lang.IllegalStateException:
Incompletely deployed:
|
| *** DEPLOYMENTS MISSING DEPENDENCIES:
| org.jbpm:service=ProcessEngine ->
org.jbpm:service=ServerConfig{Configured:Installed},
jboss.jca:name=JbpmDS,service=DataSourceBinding{Create:NOT FOUND},
jboss.jca:name=JbpmDS,service=DataSourceBinding{Start:NOT FOUND}
| )
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName:
jboss.beans:service=JBossBeanDeployment,name='jbpm-service.sar#jbpm-service.beans'
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Cannot start
abstractkerneldeploym...@17b51e8{name=file:/opt/jboss/jboss-4.2.3.GA/server/TDS/deploy/jbpm/jbpm-service.sar/jbpm-service.beans/META-INF/jboss-beans.xml
installed=true
beans=[abstractbeanmetad...@13e6577{name=org.jbpm:service=KernelLocator
bean=org.jbpm.integration.util.KernelLocator properties=[kernel]
constructor=null},
abstractbeanmetad...@1776d65{name=org.jbpm:service=ProcessEngine
bean=org.jbpm.integration.spi.JBPMService properties=[serverConfig]
constructor=null demands=[jboss.jca:name=JbpmDS,service=DataSourceBinding]},
abstractbeanmetad...@1af1934{name=org.jbpm:service=ServerConfig
bean=org.jbpm.integration.jboss4.mgmt.ServerConfig properties=[webServiceHost]
constructor=null}]}; - nested throwable: (java.lang.IllegalStateException:
Incompletely deployed:
|
| *** DEPLOYMENTS MISSING DEPENDENCIES:
| org.jbpm:service=ProcessEngine ->
org.jbpm:service=ServerConfig{Configured:Installed},
jboss.jca:name=JbpmDS,service=DataSourceBinding{Create:NOT FOUND},
jboss.jca:name=JbpmDS,service=DataSourceBinding{Start:NOT FOUND}
| )
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257967#4257967
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257967
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user