0 Replies Latest reply on Sep 15, 2017 6:21 AM by foscano

    Migration Jboss 4.2.3 to Jboss 5.1  - ejb3-deployers-jboss-beans.xml

    foscano

      Hello,

       

      I'm trying to migrate my ejbs from Jboss 4.2.3 to Jboss 5.1.

       

      For example for this ejb (CorrelationJobs.java that implements the interface CorrelationJobsMbean.java) I have:

      ----------------------------

      CorrelationJobs.java:

       

      import org.jboss.ejb3.annotation.Service;

       

      @Service(objectName = "SMRENGINE:service=CorrelationJobs")

      public class CorrelationJobs implements CorrelationJobsMBean {

      .....

       

      -------------------------

      CorrelationJobsMbean.java:

       

      import org.jboss.ejb3.annotation.Management;

       

      @Management

      public interface CorrelationJobsMBean {

      ...

       

      The question is that in http://localhost:8080/jmx-console/  I cannot see the CorrelationJobs.

       

      Should I configure it in ejb3-deployers-jboss-beans.xml?

      In this file, for example I tried to put but gives me Class Not Found Execption

       

      <bean name="SMRENGINE:service=CorrelationJobs"      class="C:\Users\Xviewer\Desktop\Workfiles\eclipseWorkspace\SMARTREPORT_ENGINE\SMEEJB\ejbModule\com\smartreport\engine\ejb\implementation\CorrelationJobs">

      </bean>

       

      What am I doing wrong?

      Please help.

       

      Best regards.