2 Replies Latest reply on Oct 26, 2009 4:45 AM by Chris Milburn

    JBoss 4.2.2 Deployment/class loader problem

    Chris Milburn Newbie

      Im getting this error from one of my EJBs (several hundred others deploy fine) when I startup jboss 4.2.2
      ?
      2009-10-22 12:10:52,177 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : TimedFeeReport
      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.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB': No ClassLoaders found for: com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB

      2009-10-22 12:10:52,180 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/spd1/home/jboss/jboss-4.2.2.GA/server/UnitTest422/tmp/deploy/tmp18734FeesDirect_2.9_99999.ear-contents/timedfeereportEJB.jar

      EJB-jar.xml :-
      <?xml version="1.0"?>
      <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
      <ejb-jar id="EJBJar_1144674068856">
      <enterprise-beans>


      <ejb-name>TimedFeeReport</ejb-name>
      <local-home>com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportLocalHome</local-home>
      com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportLocal
      <ejb-class>com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>java.lang.Long</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>TimedFeeReport</abstract-schema-name>
      <cmp-field>
      <field-name>timedFeeReportID</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>exchangeCode</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>transactionType</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>membershipBasis</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>pitBrokerFeeSet</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>clearingBrokerFeeSet</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>description</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>owner</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>availableTo</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>executionTime</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>nextExecution</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>createdBy</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>createdDate</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>updatedBy</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>updatedDate</field-name>
      </cmp-field>


      <primkey-field>timedFeeReportID</primkey-field>
      <ejb-local-ref>
      <ejb-ref-name>ejb/KeyGenerator</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>com.rolfeandnolan.merlin.ejb.keygenerator.KeyGeneratorLocalHome</local-home>
      com.rolfeandnolan.merlin.ejb.keygenerator.KeyGeneratorLocal
      <ejb-link>keygeneratorEJB.jar#KeyGenerator</ejb-link>
      </ejb-local-ref>


      <query-method>
      <method-name>findPendingTimedFeeReports</method-name>
      <method-params>
      <method-param>java.util.Date</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[select OBJECT (o) from TimedFeeReport o
      WHERE o.nextExecution <= ?1]]></ejb-ql>







      </enterprise-beans>

      <assembly-descriptor>
      <container-transaction>

      <ejb-name>TimedFeeReport</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Mandatory</trans-attribute>
      </container-transaction>
      </assembly-descriptor>
      </ejb-jar>