1 Reply Latest reply on Dec 2, 2005 2:07 PM by chaser

    Help need for JBoss IDE Tutorial

    chaser

      Hi, all

      First, the system setteing:

      Windows XP, Eclipse 3.0, JBoss3.2.3 (I don't know how Eclipse how my JBoss version, I set JBOSS_HOME = C:\jboss3.2.3)

      I am follwoing the tutorial. Till the very end of chapter 5. The build output:

      Buildfile: C:\eclipse\workspace\Tutorial\xdoclet-build.xml
       N65540:
       [ejbdoclet] (XDocletMain.start 47 ) Running <deploymentdescriptor/>
       [ejbdoclet] (XDocletMain.start 47 ) Running <jboss/>
       [ejbdoclet] (XDocletMain.start 47 ) Running <remoteinterface/>
       [ejbdoclet] (XDocletMain.start 47 ) Running <homeinterface/>
       _xdoclet_generation_:
       BUILD SUCCESSFUL
       Total time: 2 seconds


      But in the IDE, there are some 'RED' cross showing somthings are wrong with the interface. Then I went into the 2 interfaces created by XDoclet:

      === Fibo.java ===
      /*
       * Generated by XDoclet - Do not edit!
       */
      package tutorial.interface;
      
      /**
       * Remote interface for Fibo.
       */
      public interface Fibo
       extends javax.ejb.EJBObject
      {
       /**
       * Business method
       */
       public double[] compute( int number )
       throws java.rmi.RemoteException;
      
      }


      === FiboHome.java ===
      /*
       * Generated by XDoclet - Do not edit!
       */
      package tutorial.interface;
      
      /**
       * Home interface for Fibo.
       */
      public interface FiboHome
       extends javax.ejb.EJBHome
      {
       public static final String COMP_NAME="java:comp/env/ejb/Fibo";
       public static final String JNDI_NAME="ejb/Fibo";
      
       public tutorial.interface.Fibo create()
       throws javax.ejb.CreateException,java.rmi.RemoteException;
      
      }


      I paste the image of the error so you might better know my question.

      [img]http://129.173.105.113:8080/error.gif[/img]
      [img]http://129.173.105.113:8080/error1.gif[/img]

      If you click those link you will see that the error message is on the screen. I totally lost why it is like that.

      Btw, the jre is slightly different than the one in the tutorial.

      Help please!!!!

      X.Chen