0 Replies Latest reply on Jan 7, 2005 6:50 AM by Andrew Oliver

    JBoss Mail Server CVS module branched for Milestone 2

    Andrew Oliver Master

      Hi all,

      running ex04_1a,b on one computer works fine, but running the client on a remote computer I get:

      javax.Naming.CommunicatonException. Root Exception is java.io.InvalidClassException:org.jboss.proxy.ejb.GenericEJBInterceptor local class incompatible....

      the Only change I made was uncommenting the properties-part in getInitialContext like this:

      public static Context getInitialContext()
      throws javax.naming.NamingException
      {
      /* return new InitialContext(); */
      /**** context initialized by jndi.properties file */
      Properties p = new Properties();
      p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
      p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
      p.put(Context.PROVIDER_URL, "192.168.0.1:1099");
      return new javax.naming.InitialContext(p);
      /**/

      }

      Are there further modifications necessary ?

      peter