[ openjms-Bugs-649224 ] FailedToAcquireLockExcept

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
Bugs item #649224, was opened at 2002-12-05 23:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=649224&group_id=54559

Category: server
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Tony Nicol (tony_nicol)
Assigned to: Nobody/Anonymous (nobody)
Summary: FailedToAcquireLockExcept

Initial Comment:
I recently upgraded to 0.7.3.1 (version 0.7.2 works). 
When I unzip and run the startup I get the following.....
I guess it's something environmental on my machine as 
it works fine on a friends PC doing exactly the same. 
Haven't clue one as to the problem... any help would be 
very much appreciated!
Cheers, Tony

C:\j2sdk_Forte\openjms-0.7.3.1\bin>startjms -
config ..\config\tcp_jms.xml
OpenJMS 0.7.3.1 (build 17)
Exolab Inc. (C) 1999-2002. All rights reserved. 
www.openjms.org
10:43:58.292 INFO  [main] - Instantiated the 
RmiRegistryService service on port
1099
10:43:58.292 INFO  [main] - Embedded RMI Registry 
running on port 1099
10:43:58.312 INFO  [main] - Started TCP JNDI Server 
on port 3035
10:43:58.893 ERROR [main] - 
org.exolab.core.foundation.FailedToAcquireLockExcept
ion: Failed to acquire lock on RMDRootTable [ oid = 
131090 version = 3 IDSTORAGE
:org.exolab.core.foundation.ObjectId 
VERSIONID:org.exolab.core.foundation.Object
Id ] because 
org.exolab.core.foundation.DatabaseIOException: 
readObject failed f
or id 131090 with java.lang.ClassNotFoundException: 
org.exolab.core.foundation.O
bjectId
org.exolab.core.foundation.FailedToAcquireLockExceptio
n: Failed to acquire lock
on RMDRootTable [ oid = 131090 version = 3 
IDSTORAGE:org.exolab.core.foundation.
ObjectId 
VERSIONID:org.exolab.core.foundation.ObjectId ] 
because org.exolab.core
.foundation.DatabaseIOException: readObject failed for 
id 131090 with java.lang.
ClassNotFoundException: 
org.exolab.core.foundation.ObjectId
        at 
org.exolab.core.database.recman.PMDTransactionCach
e.acquireObjectLock
(Unknown Source)
        at 
org.exolab.core.database.recman.PMDTransactionCach
e.acquireRootLock(U
nknown Source)
        at 
org.exolab.core.database.recman.PMDSession.acquireR
ootLock(Unknown So
urce)
        at 
org.exolab.core.database.recman.PMDSession.bind
(Unknown Source)
        at 
org.exolab.jms.persistence.ObjectAdapter.createIdRoot
(Unknown Source)

        at org.exolab.jms.persistence.ObjectAdapter.<init>
(Unknown Source)
        at 
org.exolab.jms.persistence.DatabaseService.createJdbm
Adapter(Unknown
Source)
        at 
org.exolab.jms.persistence.DatabaseService.<init>
(Unknown Source)
        at 
org.exolab.jms.persistence.DatabaseService.instance
(Unknown Source)
        at org.exolab.jms.server.JmsServer.<init>
(Unknown Source)
        at org.exolab.jms.server.JmsServer.main(Unknown 
Source)
org.exolab.jms.persistence.PersistenceException: 
Failed to create ObjectAdapter
org.exolab.core.foundation.FailedToCreateDatabaseExce
ption: Error in creating ro
ots org.exolab.core.foundation.DatabaseIOException: 
Error in acquireRootLock org
.exolab.core.foundation.FailedToAcquireLockException: 
Failed to acquire lock on
RMDRootTable [ oid = 131090 version = 3 
IDSTORAGE:org.exolab.core.foundation.Obj
ectId VERSIONID:org.exolab.core.foundation.ObjectId ] 
because org.exolab.core.fo
undation.DatabaseIOException: readObject failed for id 
131090 with java.lang.Cla
ssNotFoundException: 
org.exolab.core.foundation.ObjectId
        at 
org.exolab.jms.persistence.DatabaseService.createJdbm
Adapter(Unknown
Source)
        at 
org.exolab.jms.persistence.DatabaseService.<init>
(Unknown Source)
        at 
org.exolab.jms.persistence.DatabaseService.instance
(Unknown Source)
        at org.exolab.jms.server.JmsServer.<init>
(Unknown Source)
        at org.exolab.jms.server.JmsServer.main(Unknown 
Source)
org.exolab.jms.server.FailedToCreateServerException: 
JmsServer constructor failu
re org.exolab.jms.persistence.PersistenceException: 
Failed to create ObjectAdapt
er 
org.exolab.core.foundation.FailedToCreateDatabaseExce
ption: Error in creating
 roots org.exolab.core.foundation.DatabaseIOException: 
Error in acquireRootLock
org.exolab.core.foundation.FailedToAcquireLockExceptio
n: Failed to acquire lock
on RMDRootTable [ oid = 131090 version = 3 
IDSTORAGE:org.exolab.core.foundation.
ObjectId 
VERSIONID:org.exolab.core.foundation.ObjectId ] 
because org.exolab.core
.foundation.DatabaseIOException: readObject failed for 
id 131090 with java.lang.
ClassNotFoundException: 
org.exolab.core.foundation.ObjectId
        at org.exolab.jms.server.JmsServer.<init>
(Unknown Source)
        at org.exolab.jms.server.JmsServer.main(Unknown 
Source)


----------------------------------------------------------------------

>Comment By: Tim Anderson (tanderson)
Date: 2003-01-13 04:07

Message:
Logged In: YES 
user_id=557161

If this is still a problem, re-open this bug and include 
details such as your classpath.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=649224&group_id=54559
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.