4 Replies Latest reply on Aug 5, 2002 4:22 AM by Tung Dang

    How to Solve CommunicationException

    Prakash Newbie

      I am begineer in JBoss EJB Application Server. I am using 2.4.X with Tomcat Version, of the software. I am getting following run-time error when I execute the Client program Sample Interest Session Bean. For your kind information, I have packaged the application in my sample package as com.jboss.samp. Sir, please do kindly provide me with appropriate information to rectify the below error.

      D:\PROJECT\EJB>java com.jboss.samp.InterestClient
      javax.naming.CommunicationException: Can't find SerialContextProvider
      at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60)
      at com.sun.enterprise.naming.SerialContext.(SerialContext.java:79)
      at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:54)
      at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      at javax.naming.InitialContext.init(Unknown Source)
      at javax.naming.InitialContext.(Unknown Source)
      at com.jboss.samp.InterestClient.main(InterestClient.java)