2 Replies Latest reply on May 7, 2003 3:00 PM by tnsudarshan

    NoTx Legacy Adapter -  Service Descriptor Problem -

    tnsudarshan Newbie

      The service descriptor , for an adapter for a legacy EIS , causes the
      following error.
      Attached is the console output , service descriptor , and the resource adapter xml.


      _______________________ RELEASE ________________

      INFO [Server] Release ID: JBoss [WonderLand] 3.2.0RC3 (build: CVSTag=Branch_3_2 date=200303040755)



      _________________ JBOSS info BEGIN________________

      12:31:49,811 INFO [MainDeployer] Starting deployment of package: file:/home/user/root/jboss/server/default/deploy/jaf-fifo-connector.xml
      12:31:49,813 INFO [MainDeployer] deployment waiting for deployer: file:/home/user/root/jboss/server/default/deploy/jaf-fifo-connector.xml
      12:31:49,813 INFO [MainDeployer] Deployment of package: file:/home/user/root/jboss/server/default/deploy/jaf-fifo-connector.xml is waiting for an appropriate deployer.
      12:31:49,815 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@e30aae8f { url=file:/home/user/root/jboss/server/default/deploy/jaf-fifo-connector.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/home/user/root/jboss/server/default/deploy/jaf-fifo-connector.xml
      lastDeployed: 1052224905205
      lastModified: 1052224905000
      mbeans:

      ______ JBOSS info end ___________


      ______________ SERVICE DESCRIPTOR BEGIN ________



      jboss.jca:service=RARDeployer

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

      FifoNoTrans
      <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=Fifo Resource Adapter


      <config-property
      name="ConnectionHostname" type="java.lang.String">
      localhost
      </config-property>
      <config-property
      name="ConnectionPort" type="java.lang.Integer">
      7777
      </config-property>
      <config-property
      name="SocketTimeout" type="java.lang.Integer">
      2000
      </config-property>
      <config-property
      name="FifoName" type="java.lang.String">
      jkfifo
      </config-property>
      <config-property
      name="FifoQueueName" type="java.lang.String">
      jkfifoQ
      </config-property>
      <config-property
      name="GlobalFifoName" type="java.lang.String">
      jfifoQ
      </config-property>





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

      3
      6
      5000
      15
      ByContainer


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




      __________ SERVICE DESCRIPTOR ENDS___________________


      _______ RA.xml begin ______________


      <display-name>Fifo Resource Adapter</display-name>
      <vendor-name>Java Software</vendor-name>
      <spec-version>1.0</spec-version>
      <eis-type>Socket</eis-type>
      1.0

      yes
      <license-required>false</license-required>



      <managedconnectionfactory-class>jaf.jca.fifo.FifoNoTxManagedConnectionFactory</manag
      edconnectionfactory-class>
      <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
      <connectionfactory-impl-class>jaf.jca.fifo.FifoConnectionFactory</connectionfactory-
      impl-class>
      <connection-interface>javax.resource.cci.Connection</connection-interface>
      <connection-impl-class>jaf.jca.fifo.FifoConnection</connection-impl-class>
      <transaction-support>NoTransaction</transaction-support>
      <config-property>
      <config-property-name>ConnectionHostname</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value></config-property-value>
      </config-property>
      <config-property>
      <config-property-name>ConnectionPort</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value></config-property-value>
      </config-property>
      <config-property>
      <config-property-name>SocketTimeout</config-property-name>
      <config-property-type>java.lang.Integer</config-property-type>
      <config-property-value></config-property-value>
      </config-property>
      <config-property>
      <config-property-name>FifoName</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value></config-property-value>
      </config-property>
      <config-property>
      <config-property-name>FifoQueueName</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value></config-property-value>
      </config-property>
      <config-property>
      <config-property-name>GlobalFifoName</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value></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>



      ___________________________ RA.xml END _________________


      What is the problem ?
      Spaces ? or something else really basic. I have no clue.

      What is "appropriate" for a deployer, How is this figured out?
      The "RARDeployer" is present in the jboss/server/conf/jboss-service.xml .
      The .rar has beenm successfully deployed too.

      Are any other glaring mistakes , seen ?

      Additionally ,
      How would a datasource descriptor for this (Non Transactional )
      look like ?

      Any help on this would be wonderful ?

      Thanks