0 Replies Latest reply on Feb 23, 2006 8:00 PM by Raag Srinivasan

    EJB does not deploy/No error

    Raag Srinivasan Newbie

      I am new to EJB3. I created a Calculator stateless session bean. Here are my 2 interfaces and 1 class.

      *** CalculatorIF ***
      public interface CalculatorIF {
      double add (double x, double y);

      *** CalculatorRemoteIF ***
      import javax.ejb.Remote;

      public interface CalculatorRemoteIF extends CalculatorIF {

      *** CalculatorImpl ***
      import javax.ejb.Stateless;

      public class CalculatorImpl implements CalculatorRemoteIF {
      public double add(double x, double y) {
      return x + y;

      I create a jar with these 3 class files and a 1 manifest.mf file that ant adds. I copy this file to "jboss-4.0.3SP1\server\default\deploy" but nothing happens. No success or failure message.

      The EJBTrail sample code does nothing out of the ordinary. If I unjar "EJB3Trail.ear" and copy the "beans.jar" file in the same directory JBOSS logs plenty of message including some errors. I have looked at the EJBTrail sources and they use the same annotation that I have.

      Have I missed something ?

      -- Raag
      PS: I have Java 1.5.0_06-b05, Ant version 1.6.5