0 Replies Latest reply on Jun 4, 2003 2:32 AM by mayankmishra

    Exception while running Client

    mayankmishra Newbie

      Hi ,
      I am new to JBoss , i used a simple application of Calculator to test hte deployment.
      I have deployed the jar.but while running the client , it throws an exception .
      like this:

      Can't get context. javax.naming.CommunicationException: Can' find serialContextProvider

      The client coding is like this:
      Context initial = new InitialContext(System.getProperties());
      Object objref = initial.lookup("com/CalculatorEJB");
      ch = (CalculatorHome) PortableRemoteObject.narrow(objref, Class.forName("CalculatorHome.class"));

      Please help me out. - mayank