3 Replies Latest reply on Sep 7, 2005 6:55 AM by phon

    Trying to deploy my first ejb package

    phon

      hello,

      i keep getting the same error when trying to deploy my fist .ejb3 package, it contains only 1 session bean with 1 business interface.

      i create the package following the EJB3 Eclipse IDE Trailblazer. the package name is profitplus.ejb3 and it contains my two classes. i also intstalled EJB3 into the jboss server using the installation guide (copying file to the deploy dir)

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:service=EJB3,module=profitplus.ejb3
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: be.profitplus.test.ejb.HelloWorldBean

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:service=EJB3,module=profitplus.ejb3
      State: FAILED
      Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: be.profitplus.test.ejb.HelloWorldBean

      this is the source code of the classes

      import javax.ejb.Stateless;

      @Stateless
      public class HelloWorldBean implements HelloWorld {

      public HelloWorldBean() {

      }

      public String getHelloWorldString() {
      return new String("Hello world");
      }

      }

      import javax.ejb.Remote;

      @Remote
      public interface HelloWorld {

      public String getHelloWorldString();


      }


      i've been readin tutorials and forums all over the internet but can't seem to find the root of this problem, it's is probably something really stupid
      can anyone please help me ?

      thx a lot in advance