Hello all , i have made a simple JMS application using eclipse IDE i.e. i have made a queuesender.java which sends the message and a queuereceiver which recieves the messages . however i am unable to run the application using weblogic server . Can anyone explain how to run a JMS application in Eclipse IDE.
I have made a QueueSender and a QueueReceiver and am trying to compile the QueueSender . My JMS application will be targeted to WEblogic server . However , while doing so i get the following exception
JNDI API lookup failed: 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
I have made a jndi.properties file along with the source java classes QueueSender and QueueReceiver . I am still getting the same exception , can anyone help ?