5 Replies Latest reply on Aug 6, 2002 9:52 PM by Meggie tran

    client fails to run on template project

    david freer Newbie

      Hi Jboss Developers,

      I have built and installed the JBOSS 3.0 template project and started JBOSS. However the client fails to run.

      I issue the run-cient.sh command and get the following

      javax.naming.NoInitialContextException: Need to specifiy
      class name in environment or system property, or as an
      applet parameter, or in an application resource file:

      at javax.naming.spi.NamingManger.getInitialContext(NamingM638)
      at javax.naming.InitialContext.getDefaultInitCtx(initialConte
      at javax.naming.InitialContext.getURLorDefaultInitCtx(InitialContext.java.278)
      at javax.naming.InitialContext.lookup(InitialContext.java.345)
      at test.client.TestClient.main(TestClient.java:21)

      I am using suse linux version 7.0

      When I use the jsp page:
      it works fine.

      Any help much appreciated.

      David Freer.