users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Mar 2010 06:29:41 PST

Try using "name" rather than "mappedName".

I would also use instance rather than static fields.

@Resource(name= "jms/customerQueueConnectionFactory")
private ConnectionFactory customerQueueConnectionFactory;
@Resource(name= "jms/customerQueue")
private Queue customerQueue;

That's what I do.

Nigel
[Message sent by forum member 'nigeldeakin' (nigel.deakin_at_sun.com)]

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