2 Replies Latest reply on Apr 3, 2002 12:46 AM by chouzhi

    javax.naming.CommunicationException: org.jboss.ha.framework.

    chouzhi

      Hello, when i run jsp file in Tomcat, the error is following, i had put jndi connection in jsp file
      source code in JSP file:
      <

      Properties props = new Properties();
      props.put(Context.INITIAL_CONTEXT_FACTORY,
      "org.jnp.interfaces.NamingContextFactory");
      props.put(Context.PROVIDER_URL, "localhost:1099");
      java.lang.String value = "firstone";
      Context ctx = new InitialContext(props);
      DocSettingEJBTableHome home = (DocSettingEJBTableHome)ctx.lookup("ejb/DocSettingEJBTable");
      DocSettingEJBTableBean bean = (DocSettingEJBTableBean)home.create("first","myone",2);

      >



      javax.naming.CommunicationException: org.jboss.ha.framework.interfaces.HARMIProxy. Root exception is java.lang.ClassNotFoundException: org.jboss.ha.framework.interfaces.HARMIProxy


      how to solve the problem. Thank you.