users@glassfish.java.net

Re: ACC003: Couldn't establish a JMS Connection Factory

From: <glassfish_at_javadesktop.org>
Date: Fri, 19 Mar 2010 13:13:04 PDT

Nigel's advice about using an instance field is correct for [b]server-side[/b] code, but for clients the app client container injects only [b]static[/b] fields. This is described in the spec, and it's that way because the client's main method is static and the ACC does not instantiate the client class before invoking its main method.

So, how about trying static fields with Nigel's suggestion to use name= and see what happens?

- Tim
[Message sent by forum member 'tjquinn']

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