3 Replies Latest reply on Sep 18, 2002 9:49 AM by adrian.brock

    First deployment in JBOSS

    makulkarni30

      Dear friends,

      I'm new user to JBOSS.I deployed a simple interest bean but my client is not able access the JNDI name. I'm getting following error.This eg source code also not in the downloaded source code list. I request anbody who knows about the same to give full details or link from where I can get the information.

      =====================================
      Got context
      Exception thrown
      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
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:655)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
      at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:287)
      at javax.naming.InitialContext.lookup(InitialContext.java:357)
      at org.jboss.docs.interest.InterestClient.main(InterestClient.java:31)

      ===============================================

      Thx in advance

      Mahesh