3 Replies Latest reply on Aug 18, 2004 8:48 AM by ralf.siedow

    jboss.xml (4.0RC1) for Message Driven Beans

    ralf.siedow

      Hello,

      where can I find a documentation on the jboss.xml for deploying a Message Driven Bean (EJB2.1 and JCA 1.5)?

      I can't get my MDB deployed. JBoss 4.0.0RC1 gives the following error:
      14:31:45,672 INFO [EjbModule] Deploying SmsInfoBean
      14:31:45,937 ERROR [JBossMessageEndpointFactory] Starting failed jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/SmsInfoBean,plugin=invoker,service=EJB
      org.jboss.deployment.DeploymentException: Cannot locate resource adapter deployment null; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:name='null',service=RARDeployment is not registered.)
      at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
      at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.resolveResourceAdapter(JBossMessageEndpointFactory.java:312)

      My guess is that JBoss doesn't know which resource adapter this bean should use to get it messages from. But how can I provide this information (JNDI-Name, etc.)?

      My jboss.xml:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">



      <enterprise-beans>

      <message-driven>
      <ejb-name>SmsInfoBean</ejb-name>
      <destination-jndi-name></destination-jndi-name>
      </message-driven>
      <resource-env-ref>
      <resource-env-ref-name>MyAdapter</resource-env-ref-name>
      <jndi-name>ra/MyAdapter</jndi-name>
      </resource-env-ref>
      </enterprise-beans>

      <resource-managers>
      <resource-manager>
      <res-name>MyAdapter</res-name>
      <res-jndi-name>java:ra/MyAdapter</res-jndi-name>
      </resource-manager>
      </resource-managers>



      Thanks,
      Ralf

        • 1. Staff Accountant - Atlanta, GA
          ralf.siedow

          Staff Accountant Job Description

          We are seeking to fill the position of Staff Accountant. The candidate will be a junior-level, degreed accountant looking for a challenge. This person will demonstrate the highest levels of integrity, will be professional, assertive, energetic, articulate, self-motivated, detail oriented, self-disciplined, and willing to roll up the sleeves. We intend that the responsibilities incumbent with this position will expand over time, therefore this opportunity is best suited for someone who desires real professional growth. The specific responsibilities are, at a minimum, as follows:

          - Responsible for day-to-day general ledger activity to include all balance sheet and income statement accounts except as directed by the Controller.
          - Timely and accurate entry of accounts payable to assure recognition in the proper period, as well as appropriate account and departmental classification.
          - Timely and accurate invoicing of customers to promote the efficient turnover of accounts receivable and the realization of cash.
          - Frequent interaction with the Sales group to assure the timeliness and completeness of contracts, statements of work and other instruments necessary to assure revenue recognition in compliance with GAAP.
          - Management of accounts receivable to assure the achievement of high, sustained rates of receivables turnover. These responsibilities will require a highly disciplined approach in which regular calls and emails are made to customers whose accounts are past due.
          - Performance of check runs in conjunction with payables responsibilities.
          - Reconciliation of cash accounts.
          - Accepting wire transfers in and administering wire transfers out.
          - Accepting and processing credit card payments.
          - Reconciliation of other accounts receivable, other current assets and other assets.
          - Recognition and depreciation of fixed assets including ownership of the fixed asset subledger.
          - Recognition and reversal, as necessary, of various accruals based on discussions with the Controller, CFO, and departmental heads.
          - Reconciliation of accrued liabilities accounts including accrued bonuses, payroll, commissions and other accrued liabilities.
          - Timely and accurate maintenance of the deferred revenue accounts. This will include monthly calculations of GAAP revenue and the preparation of the related journal entry.
          - Accurate and timely entry of the payroll journal entry (payroll processing is outsourced).
          - Performance of account analysis, activity reviews, budget to actual reporting, variance analysis, and exception reporting.
          - Experience with Great Plains a plus.

          To reiterate, once mastered, these responsibilities will expand based on the ability and ambition of the Staff Accountant.

          Education and Experience

          We are seeking an individual who has an accounting degree in hand. The experience necessary for this position is less important than is the desire to learn and to perform at a high, sustained level.

          For consideration, please send your resume to: jobs@jboss.com

          • 2. Re: jboss.xml (4.0RC1) for Message Driven Beans
            ralf.siedow

            Hello,

            isn't there anyone who can tell me what this error means?:
            14:32:44,959 ERROR [JBossMessageEndpointFactory] Starting failed jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/SmsInfoBean,plugin=invoker,service=EJB
            org.jboss.deployment.DeploymentException: Cannot locate resource adapter deployment null; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:name='null',service=RARDeployment is not registered.)

            • 3. Re: jboss.xml (4.0RC1) for Message Driven Beans

              On the WIKI: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigMessageListener

              or docs/dtd/jboss_4_0.dtd in the distribution