users@glassfish.java.net

Re: JMS Implementation - UnsupportedOperationException

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Feb 2007 21:52:19 PST

Oops. That was my mistake. I guess you cannot use
InitialContext context = new InitialContext();

Passing the JNDI initial values did the trick.

Do you need to give JNDI values to the context initialization even if the messaging is done from within the app server.
[Message sent by forum member 'manikantaniyer' (manikantaniyer)]

http://forums.java.net/jive/thread.jspa?messageID=204768