users@glassfish.java.net

Re: JMS Implementation - UnsupportedOperationException

From: <glassfish_at_javadesktop.org>
Date: Fri, 23 Feb 2007 02:20:05 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.
No, this is not required. Could you share the exception in your server log when you tried to use a null constructor InitialContext?

--Siva.
[Message sent by forum member 'sivakumart' (sivakumart)]

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