1 Reply Latest reply on Aug 8, 2006 10:28 AM by Farzad Shabestari

    State: NOTYETINSTALLED during deploying my resource adapter

    Farzad Shabestari Newbie

      my resource adapter, which works wit JBoss 3.2.5, does not work with JBoss 4.0.3SP1. I get Problems deploying my resource adapter.

      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 ?

      I get following message:

      ERROR main 16:06:17,187 org.jboss.deployment.scanner.URLDeploymentScanner
      Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.jca:service=LocalTxCM,name=mbstcpra
      State: CONFIGURED
      I Depend On:
      jboss:service=TransactionManager
      jboss.jca:service=RARDeployer
      jboss.jca:service=LocalTxPool,name=mbstcpra
      jboss.jca:service=CachedConnectionManager

      ObjectName: jboss.jca:service=LocalTxPool,name=mbstcpra
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=LocalTxPF,name=mbstcpra
      Depends On Me:
      jboss.jca:service=LocalTxCM,name=mbstcpra

      ObjectName: jboss.jca:service=LocalTxPF,name=mbstcpra
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=RARDeployment,name=MBS web TCP resource adapter
      Depends On Me:
      jboss.jca:service=LocalTxPool,name=mbstcpra

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:service=RARDeployment,name=MBS web TCP resource adapter
      State: NOTYETINSTALLED
      Depends On Me:
      jboss.jca:service=LocalTxPF,name=mbstcpra



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

      <?xml version="1.0" encoding="UTF-8"?>


      eis/MBS
      <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager
      jboss.jca:service=RARDeployer

      <depends optional-attribute-name="ManagedConnectionPool">

      <depends optional-attribute-name="ManagedConnectionFactoryName">


      <depends optional-attribute-name="OldRarDeployment">
      jboss.jca:service=RARDeployment,name=MBS web TCP resource adapter




      0
      50
      5000
      1
      ByContainer


      <depends optional-attribute-name="CachedConnectionManager">
      jboss.jca:service=CachedConnectionManager




      my ra.xml looks like this:

        • 1. Re: State: NOTYETINSTALLED during deploying my resource adap
          Farzad Shabestari Newbie

          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