2 Replies Latest reply on Jan 9, 2002 5:56 AM by kenati

    Application Client - Server communication Problem

    kenati

      Hi
      I have a very basic question....and need help urgently.
      I want to run 1 JBoss server on 1 machine. I want to have another machine which will not have any server. It will simply run a java application. I want this java application client to be able to connect to the server and send/receive JMS messages.Actually I got confused as there is no mention of such a thing in the JMS tutorial on Sun's site.They just talk of having 2 application servers running and communicating with each other.
      When i tried to connect the cline tto server i got following error...so i want to know if this is possible .if yes how ?

      JNDI lookup failed: javax.naming.NoInitialContextException: Need to spe
      cify class name in environment or system property, or as an applet para
      meter, or in an application resource file: java.naming.factory.initial

      What is the initial context factory class to be used here.I did set the PROVIDER_URL to 'corbaname:iiop::1050#'

      Also What all things need to be there on the client machine ....i have jms.jar in the classpath.

      Thanks in advance
      Lakshmi