users@glassfish.java.net

Re: MQ problem - MQJMSRA_RA4001 Failed to start IMQ

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 Jun 2010 05:17:15 PDT

hi it is glassfish version 2.0 .

This is what the log file of MQ

----------------log.txt---------------------

Sun Java(tm) System Message Queue 4.3
Sun Microsystems, Inc.
Version: 4.3 (Build 7-g)
Compile: Fri Nov 7 18:14:54 PST 2008

Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. Use is
subject to license terms.
================================================================================
Java Runtime: 1.6.0_12 Sun Microsystems Inc. /usr/jdk/jdk1.6.0_12/jre
[30/Jun/2010:09:54:15 IST] IMQ_HOME=/data/glassfish/imq
[30/Jun/2010:09:54:15 IST] IMQ_VARHOME=/data/glassfish/nodeagents/ifmsgf6/ifms7/imq
[30/Jun/2010:09:54:15 IST] SunOS 5.10 sparc ifmsgf6 (4 cpu) root
[30/Jun/2010:09:54:15 IST] Max file descriptors: 65536 (65536)
[30/Jun/2010:09:54:15 IST] Java Heap Size: max=188416k, current=188416k
[30/Jun/2010:09:54:15 IST] Arguments: -javahome /usr/jdk/jdk1.6.0_12 -Dimq.cluster.masterbroker=mq://ifmsgf1:37676/ -Dimq.cluster.brokerlist=mq://ifmsgf6:37676/,mq://ifmsgf3:37676/,mq://ifmsgf1:37676/,mq://ifmsgf2:37676/,mq://ifmsgf4:37676/,mq://ifmsgf5:37676/,mq://ifmsgf7:37676/,mq://ifmsgf8:37676/ -Dimq.cluster.nowaitForMasterBroker=true -varhome /data/glassfish/nodeagents/ifmsgf6/ifms7/imq -startRmiRegistry -rmiRegistryPort 37776 -Dimq.imqcmd.user=admin -passfile /var/tmp/asmq7881990120760150296.tmp -save -name ifmsclsifms7 -port 37676 -bgnd -silent
[30/Jun/2010:09:54:15 IST] [B1004]: Starting the portmapper service using tcp [ 37676, 50, * ] with min threads 1 and max threads of 1
[30/Jun/2010:09:54:15 IST] ERROR [B3086]: The broker got an exception when trying to acquire the lock file:
/data/glassfish/nodeagents/ifmsgf6/ifms7/imq/instances/ifmsclsifms7/lock
java.util.NoSuchElementException
The lock file may be corrupted, or there may be a permission problem
with the lock file or the directory that contains the lock file.
If you are certain no other copy of the broker is running with the
instance name "ifmsclsifms7" then you may remove the lock file and
try starting the broker again.
[Message sent by forum member 'syparth']

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