Hi,
Iam new to jms .am following same example what has been given by sun viz.,SimpleQueueSender.When i try to run this class using the command
java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleQueueSender MyQueue 3
It throws an exception like the following one :
Queue name is MyQueue
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
NOTE:I dont have the property file "jms_client.properties"
What should be the content in it.
Can anybody be able to guide me