Hi,

The active_tx_log should not have anything to do with the "Unable to
lock store". Only one process/JVM can have write access to the same
store at a time. If you try to start multiple GraphDatabaseServices to
the same store in write mode this exception will be thrown.

Could it be that the time it took you to remove the log file allowed
for the other process to shutdown properly?

Regards,
-Johan

On Thu, Feb 4, 2010 at 3:28 PM, Anton Popov <[email protected]> wrote:
> Found already.
>
> Need to remove "active_tx_log" file - possibly this will help someone.
>
> On 4 February 2010 14:13, Anton Popov <[email protected]> wrote:
>
>> Hello everybody,
>>
>>
>> What can I do if my repository was locked by the thread that is not already
>> in the process list?
>>
>> Trying to connect to that repository I get following exceptions:
>>
>> The store seem locked. Start a read-only client instead (y/n) [y]? n
>> Can't start client with local neo4j service:
>> org.neo4j.kernel.impl.transaction.TransactionFailureException: Could not
>> create data source [nioneodb], see nested exception for cause of error
>> org.neo4j.kernel.impl.transaction.TransactionFailureException: Could not
>> create data source [nioneodb], see nested exception for cause of error
>>     at
>> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:148)
>>     at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:123)
>>     at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:65)
>>     at
>> org.neo4j.kernel.EmbeddedGraphDbImpl.<init>(EmbeddedGraphDbImpl.java:69)
>>     at
>> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:56)
>>     at
>> org.neo4j.shell.StartLocalClient.tryStartLocalServerAndClient(StartLocalClient.java:138)
>>     at org.neo4j.shell.StartLocalClient.main(StartLocalClient.java:64)
>>     at org.neo4j.shell.StartClient.main(StartClient.java:66)
>> Caused by: java.lang.reflect.InvocationTargetException
>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>     at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>     at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>     at
>> org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceManager.java:71)
>>     at
>> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:142)
>>     ... 7 more
>> Caused by: java.lang.IllegalStateException: Unable to lock store
>> [/home/a/tmp/neo4j/data/neostore], this is usually a result of some other
>> Neo4j kernel running using the same store.
>>     at
>> org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.checkStorage(CommonAbstractStore.java:224)
>>     at
>> org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.<init>(CommonAbstractStore.java:148)
>>     at
>> org.neo4j.kernel.impl.nioneo.store.AbstractStore.<init>(AbstractStore.java:102)
>>     at org.neo4j.kernel.impl.nioneo.store.NeoStore.<init>(NeoStore.java:51)
>>     at
>> org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.<init>(NeoStoreXaDataSource.java:139)
>>     ... 13 more
>>
>>
>> --
>> Best regards,
>> Popov Anton
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to