1 Reply Latest reply on Apr 19, 2002 11:11 PM by Alex Kutovoy

    ejb client not working

    Deepak Saini Newbie


      i was using the Interest client given in the examples.
      the bean got deployed but the client is not working. it says

      C:\JBoss-2.4.4\examples>java org.jboss.docs.interest.InterestClient
      Got context
      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

        • 1. Re: ejb client not working
          Alex Kutovoy Newbie

          Create the jndi.properties file and make sure it is on your client's classpath. The file might look as follows: