2 Replies Latest reply on Dec 27, 2003 3:11 AM by fbiaggi

    java.lang.ClassNotFoundException: org.jboss.ejb.plugins.loca

    fbiaggi

      hello,
      sorry for my bad english,
      (Jboss 3.2.3, JDK1.4.2) I receive this error at client SIDE,
      the server seem be ok, the size of the collection is printed ok,
      already looked on similar problems on the forums, but ...
      The AccessBean is instantiatied by a remote interface and access a local home interface.

      What I'm doing wrong ?
      many thanks fo help.

      AccesBean method:

      /**
      * Get all the headers of the passed group
      */
      public Collection getHeaders( long group_objectid ) throws javax.ejb.CreateException, javax.naming.NamingException, FinderException, Exception, CreateException {
      try {
      InitialContext iniCtx = new InitialContext( );
      FGHome home = ( FGHome ) iniCtx.lookup( fgJNDIName );
      FGLocal lcl = home.findByPrimaryKey( new FGKey( group_objectid ) );
      Collection objs = lcl.getFGheader( );
      ArrayList al = new ArrayList( objs );
      System.out.println( "serverSize: " + al.size() ); // Print result is OK
      return al;
      } catch ( Throwable th ) {
      System.out.println( "---Error in class " + getClass( ) );
      th.printStackTrace( );
      }

      return null;
      }