1 Reply Latest reply on Dec 18, 2003 2:39 AM by pwijntjes


    TJ Newbie

      I got java.lang.ClassCastException: org.jnp.interfaces.MarshalledValuePair error whenever I tried to run my jsp page using JBoss release candidate 1 and 2. This problem is not happen if I use other computer. It seem that the JSP page can not cast after doing lookup. this is the snippet of the jsp code

      Properties props = new Properties();
      props.put(Context.PROVIDER_URL, "localhost:1099");

      Context ctx = new InitialContext(props);

      TestHome home = (TestHome)ctx.lookup("ejb/Test");

      Could somebody please help me? I'm having this problem for couple weeks now. (Maybe Jboss developer). I need this to get my project for my work done.

      Thank you very much.