[jboss-user] [JCA/JBoss] - Re: State: NOTYETINSTALLED during deploying my resource adap

fshabestari do-not-reply at jboss.com
Tue Aug 8 10:28:30 EDT 2006


in my first mail the 2 xml-files are not clearly shown. so I write them again:

my ...-service.xml looks like this:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |   <mbean code="org.jboss.resource.connectionmanager.TxConnectionManager"
  |     name="jboss.jca:service=LocalTxCM,name=mbstcpra">
  |     <attribute name="JndiName">eis/MBS</attribute>
  |     <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
  |     <depends>jboss.jca:service=RARDeployer</depends>
  |     
  |     <depends optional-attribute-name="ManagedConnectionPool">
  |       <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
  | 	name="jboss.jca:service=LocalTxPool,name=mbstcpra">
  | 	<depends optional-attribute-name="ManagedConnectionFactoryName">
  | 	  <mbean code="org.jboss.resource.connectionmanager.RARDeployment"
  | 	    name="jboss.jca:service=LocalTxPF,name=mbstcpra">
  | 	    
  | 	    <depends optional-attribute-name="OldRarDeployment">
  | 	      jboss.jca:service=RARDeployment,name=MBS web TCP resource adapter
  | 	    </depends>
  | 	    
  | 	  </mbean>
  | 	</depends>
  | 	<attribute name="MinSize">0</attribute>
  | 	<attribute name="MaxSize">50</attribute>
  | 	<attribute name="BlockingTimeoutMillis">5000</attribute>
  | 	<attribute name="IdleTimeoutMinutes">1</attribute>
  | 
  | 	<attribute name="Criteria">ByContainer</attribute>
  |       </mbean>
  |     </depends>
  |     <depends optional-attribute-name="CachedConnectionManager">
  |       jboss.jca:service=CachedConnectionManager
  |     </depends>
  |   </mbean>
  | </server>
  | 

and my ra.xml looks kile this:



  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'>
  | 
  | <connector>
  |   <display-name>MBS web TCP resource adapter</display-name>
  |   <description>MBS web TCP resource adapter</description>
  |   <vendor-name>ALLDATA SYSTEMS</vendor-name>
  |   <spec-version>1.0</spec-version>
  |   <eis-type>MBS Data</eis-type>
  |   <version>2.0</version>
  |   <resourceadapter>
  |     <managedconnectionfactory-class>
  |       de.alldata.mbsejb.resourceadapter.MbsTcpManagedConnectionFactory
  |     </managedconnectionfactory-class>
  |     <connectionfactory-interface>
  |       com.sun.connector.cciblackbox.CciConnectionFactory
  |     </connectionfactory-interface>
  |     <connectionfactory-impl-class>
  |       de.alldata.mbsejb.resourceadapter.MbsTcpConnectionFactory
  |     </connectionfactory-impl-class>
  |     <connection-interface>
  |       javax.resource.cci.Connection
  |     </connection-interface>
  |     <connection-impl-class>
  |       alldata.MbsTcpConnection
  |     </connection-impl-class>
  |     <transaction-support>
  |       LocalTransaction
  |     </transaction-support>
  |     <config-property>
  |       <description>configuration file</description>
  |       <config-property-name>ConfigurationFile</config-property-name>
  |       <config-property-type>java.lang.String</config-property-type>
  |       <config-property-value>mbsweb.properties</config-property-value>
  |     </config-property>
  |     <config-property>
  |       <description>prefix for values in configuration file</description>
  |       <config-property-name>EnvironmentPrefix</config-property-name>
  |       <config-property-type>java.lang.String</config-property-type>
  |       <config-property-value>ResourceAdapter</config-property-value>
  |     </config-property>
  |     <authentication-mechanism>
  |       <authentication-mechanism-type>
  | 	BasicPassword
  |       </authentication-mechanism-type>
  |       <credential-interface>
  | 	javax.resource.security.PasswordCredential
  |       </credential-interface>
  |     </authentication-mechanism>
  |     <reauthentication-support>
  |       false
  |     </reauthentication-support>
  |   </resourceadapter>
  | </connector>
  | 

perhaps the problem was caused, because JBoss 4.0.3 supports JCA 1.5, but how can I change my JCA 1.0 to 1.5 ? where is the JCA version declared ? shall I change my xml-files ? 

can anybody help me please ?

thank you



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

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



More information about the jboss-user mailing list