Hi Nigel, thank you for your response.
glassfish/nodes/localhost-cms/i1/imq/${imq.instanceshome}/${imq.instancename}/log/log.txt:
[code]
[30/Aug/2011:16:59:07 BST] [B1004]: Starting the portmapper service using tcp
[ 7676, 50, * ] with min threads 1 and max threads of 1
[30/Aug/2011:16:59:07 BST] ERROR [B3086]: The broker got an exception when
trying to acquire the lock file:
null/instances/clusteri1/lock
java.io.IOException: No such file or directory
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 "clusteri1" then you may remove the lock file and
try starting the broker again.:
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at
com.sun.messaging.jmq.jmsserver.util.LockFile.getLock(LockFile.java:119)
at com.sun.messaging.jmq.jmsserver.Broker._start(Broker.java:914)
at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:456)
at
com.sun.messaging.jmq.jmsserver.BrokerProcess.start(BrokerProcess.java:164)
at
com.sun.messaging.jmq.jmsserver.DirectBrokerProcess.start(DirectBrokerProcess.java:92)
at
com.sun.messaging.jmq.jmsclient.runtime.impl.BrokerInstanceImpl.start(BrokerInstanceImpl.java:206)
at
com.sun.messaging.jms.blc.EmbeddedBrokerRunner.start(EmbeddedBrokerRunner.java:331)
at
com.sun.messaging.jms.blc.LifecycleManagedBroker.start(LifecycleManagedBroker.java:454)
[/code]
glassfish/nodes/localhost-cms/i1/imq/instances/clusteri1/log/log.txt:
[code]
[30/Aug/2011:16:31:05 BST] Embedded Broker
[30/Aug/2011:16:31:05 BST] [B1060]: Loading persistent data...
[30/Aug/2011:16:31:05 BST] Using built-in file-based persistent store:
/usr/local/glassfish3/glassfish/nodes/localhost-cms/i1/imq/instances/clusteri1/
[30/Aug/2011:16:31:05 BST] WARNING Existing file: incompleteTxnStorehas older
cookie version than current version. Current version = 1. Original file
version = 0
[30/Aug/2011:16:31:05 BST] ERROR [B3168]: Invalid broker address for this
broker to run in cluster: Loopback IP address is not allowed in broker
address
mq://127.0.1.1:27676/?instName=clusteri1&brokerSessionUID=1190975719361934592
for cluster
[30/Aug/2011:16:31:05 BST] WARNING [B1137]: Cluster initialization failed.
Disabling the cluster service.
[/code]
The lock file does exist. After deleting it and reinitiasing (which includes
recreating the domain and redeploying the app, but not recreating the nodes
or instances) I see the same error but the lock file is not present.
I've attached both full logs.
--
[Message sent by forum member 'lxs2']
View Post: http://forums.java.net/node/839351