I'm still not getting the service up and running but i've managed to get the 
rar installed and all of its dependents, ManagedConnectionPool, 
ManagedConnectionFactory etc. in a state of registered. 
They won't start because JBOSS is complaing that their 
dependancy,coherence-tx.rar, is not installed. The weird thing is I look on the 
JMX-console and coherence-tx.rar service is in a state of started. 

To get it to this state I've taken the -ds.xml transformation and changed the 
generated OldRarDeployment attribute from
optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name='coherence-tx.rar'
to
optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=CoherenceTx

I've then deployed this file as coherence-service.xml replacing the 
coherence-ds.xml this is the best i've been able to do.

coherence-service.xml 

  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <server>
  |     <mbean code="org.jboss.resource.connectionmanager.TxConnectionManager" 
display-name="ConnectionManager for ConnectionFactory CoherenceTx" 
name="jboss.jca:service=TxCM,name=CoherenceTx">
  |         <attribute name="TrackConnectionByTx">true</attribute>
  |         <attribute name="LocalTransactions">true</attribute>
  |         <depends optional-attribute-name="ManagedConnectionPool">
  |             <mbean 
code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" 
display-name="Connection Pool for DataSource CoherenceTx" 
name="jboss.jca:service=ManagedConnectionPool,name=CoherenceTx">
  |                 <depends 
optional-attribute-name="ManagedConnectionFactoryName">
  |                     <mbean 
code="org.jboss.resource.connectionmanager.RARDeployment" 
display-name="ManagedConnectionFactory for ConnectionFactory CoherenceTx" 
name="jboss.jca:service=ManagedConnectionFactory,name=CoherenceTx">
  |                         
<depends>jboss.jca:service=CachedConnectionManager</depends>
  |                         <attribute 
name="ManagedConnectionFactoryProperties">
  |                             <properties></properties>
  |                         </attribute>
  |                         <attribute 
name="RARName">coherence-tx.rar</attribute>
  |                         <attribute 
name="ConnectionDefinition">javax.resource.cci.Connection</attribute>
  |                         <depends 
optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=CoherenceTx</depends>
  |                     </mbean>
  |                 </depends>
  |                 <attribute name="MinSize">0</attribute>
  |                 <attribute name="MaxSize">64</attribute>
  |                 <attribute name="BlockingTimeoutMillis">5000</attribute>
  |                 <attribute name="IdleTimeoutMinutes">15</attribute>
  |                 <attribute name="Criteria">ByNothing</attribute>
  |             </mbean>
  |         </depends>
  |         <attribute name="JndiName">CoherenceTx</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 CoherenceTx" 
name="jboss.jca:service=ConnectionFactoryBinding,name=CoherenceTx">
  |         <attribute name="JndiName">CoherenceTx</attribute>
  |         <attribute name="UseJavaContext">true</attribute>
  |         <depends 
optional-attribute-name="ConnectionManager">jboss.jca:service=TxCM,name=CoherenceTx</depends>
  |     </mbean>
  | </server>
  | 

so its getting very frustrating because it really looks like all the individual 
components are configured correctly however i'm still getting this nasty message

MBeans waiting for other MBeans:
ObjectName: jboss.jca:service=TxCM,name=CoherenceTx
 state: CONFIGURED
 I Depend On:  jboss.jca:service=ManagedConnectionPool,name=CoherenceTx
 jboss.jca:service=CachedConnectionManager
 jboss:service=TransactionManager

 Depends On Me:  jboss.jca:service=ConnectionFactoryBinding,name=CoherenceTx

ObjectName: jboss.jca:service=ManagedConnectionPool,name=CoherenceTx
 state: CONFIGURED
 I Depend On:  jboss.jca:service=ManagedConnectionFactory,name=CoherenceTx

 Depends On Me:  jboss.jca:service=TxCM,name=CoherenceTx

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=CoherenceTx
 state: CONFIGURED
 I Depend On:  jboss.jca:service=CachedConnectionManager
 jboss.jca:service=RARDeployment,name=CoherenceTx

 Depends On Me:  jboss.jca:service=ManagedConnectionPool,name=CoherenceTx

ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=CoherenceTx
 state: CONFIGURED
 I Depend On:  jboss.jca:service=TxCM,name=CoherenceTx

 Depends On Me:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.jca:service=RARDeployment,name=CoherenceTx
 state: NOTYETINSTALLED
 I Depend On:
 Depends On Me:  jboss.jca:service=ManagedConnectionFactory,name=CoherenceTx

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861076#3861076

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861076


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to