1 Reply Latest reply on Mar 30, 2005 12:26 PM by davout

    Problem deploying EJB's to JBoss 4.x

    davout Newbie

      I'm getting the following error on every EJB bean when i deploy my JAR file.

      16:52:23,515 WARN [verifier] EJB spec violation:
      Bean : SubscriptionOrderLine
      Section: 22.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element.
      Info : Class not found on 'com.eis.tm.subscription.order.SubscriptionOrderLineBean': No ClassLoaders found for: com.eis.tm.subscription.order.SubscriptionOrderLineBean

      Any ideas?

      The 'ejb-jar.xml' extract for the bean shown above is...


      <ejb-name>SubscriptionOrderLine</ejb-name>
      <local-home>com.eis.tm.subscription.order.SubscriptionOrderLineHome</local-home>
      com.eis.tm.subscription.order.SubscriptionOrderLine
      <ejb-class>com.eis.tm.subscription.order.SubscriptionOrderLineBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>java.lang.Integer</prim-key-class>
      false
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>SubscriptionOrderLine</abstract-schema-name>
      <cmp-field>
      <field-name>iD</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>orderID</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>productID</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>desc</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>priceNet</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>quantity</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>totalNet</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>salesTaxCategoryID</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>salesTax</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>totalGross</field-name>
      </cmp-field>
      <primkey-field>iD</primkey-field>