1 Reply Latest reply on Mar 7, 2005 10:53 AM by Dirk Perchthaler

    Fail to run Client

    shiraz memon Newbie

      I have tried to run Client while th server was running. When i run the client class file it gives the following error:

      "javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial"

      loking for ur kind help!

      have fun

        • 1. Re: Fail to run Client
          Dirk Perchthaler Newbie

          Hi,

          I had the same problem. You need the jbossall-client.jar and the log4j.jar from the JBOSS-HOME\client directory in your Java Build Path.

          long version: right click on project -> select properties -> click on Java build path -> select the Libraries tab -> click Add external Jars -> browse to the client $JBOSS-HOME$\directory -> select the jbossall-client.jar and the log4j.jar and "open" them -> click ok -> retest your client...

          Cheers,

          DP