1 Reply Latest reply on Feb 5, 2002 3:03 PM by Darrin Addams

    Start EJB from console

    kuypers Newbie

      I am trying to get the first EJB test run from the console level within windows2000 and it comes up with the following message

      C:\Downloads\Boek Source codes\Professional EJB\Chapter02\SourceCode>java -classpath %CLASSPATH%;%JB
      OSS_HOME/lib/j2eejar;SimpleBeanClient.jar;. SalaryClient
      Naming Exception caught: javax.naming.NoInitialContextException: Need to specify class name in envir
      onment or system property, or as an applet parameter, or in an application resource file: java.nami
      ng.factory.initial

      I did put the Jar file within the Deploy directory and it looked like it deployed correctly

      If you have any idea what the problem is,i would appreciate the help

      Thanks