users@glassfish.java.net

Re: NullPointerException in DirectConnectionFactory GFv2.1.1

From: <glassfish_at_javadesktop.org>
Date: Mon, 22 Feb 2010 17:24:30 PST

> Also, can you please look at the MQ broker log and let me know whether
> there were any errors in this? The broker log is in the directory
> imq/instances/imqbroker/log under your domain.

Thanks Nigel, I found this post via google having the same NPE, and checking this log file revealed a stale lock file since I had just rsync'd my glassfish directory from another running instance. For the benefit of others arriving here via google...

rm /opt/glassfish/domains/domain1/imq/instances/imqbroker/lock

Then restart glassfish and I was in business. Thanks much.
[Message sent by forum member 'skehlet' (steven_at_kehlet.cx)]

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