activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fausey,Jonathan" <fau...@oclc.org>
Subject RE: 4.1.0 release and java.io.IOException: No locks available
Date Tue, 16 Jan 2007 17:46:54 GMT
Yes, I was running it with the journal on an NFS file system.  I moved
to a local file system and was able to start successfully.

Thanks!

-Jon

-----Original Message-----
From: Christopher G. Stach II [mailto:cgs@ldsys.net] 
Sent: Tuesday, January 16, 2007 12:21 PM
To: activemq-users@geronimo.apache.org
Subject: Re: 4.1.0 release and java.io.IOException: No locks available

Fausey,Jonathan wrote:
> I just downloaded/unpacked the ActiveMQ 4.1.0 release and cannot 
> successfully run activemq (nohup bin/activemq > & smlog &).  Any help 
> would be greatly appreciated.
> 
[...]
> Caused by: java.io.IOException: No locks available
>         at sun.nio.ch.FileChannelImpl.lock0(Native Method)
>         at
sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:822)
>         at java.nio.channels.FileChannel.tryLock(FileChannel.java:967)
>         at
>
org.apache.activeio.journal.active.ControlFile.lock(ControlFile.java:81)
>         at
> org.apache.activeio.journal.active.LogFileManager.initialize(LogFileMa
> na
> ger.java:121)
>         at
>
org.apache.activeio.journal.active.LogFileManager.<init>(LogFileManager.
> java:102)
>         at
> org.apache.activeio.journal.active.JournalImpl.<init>(JournalImpl.java
> :1
> 01)
>         at
> org.apache.activemq.store.DefaultPersistenceAdapterFactory.createJourn
> al
> (DefaultPersistenceAdapterFactory.java:224)
>         at
> org.apache.activemq.store.DefaultPersistenceAdapterFactory.getJournal(
> De
> faultPersistenceAdapterFactory.java:132)
>         at
> org.apache.activemq.store.DefaultPersistenceAdapterFactory.createPersi
> st
> enceAdapter(DefaultPersistenceAdapterFactory.java:70)
>         at
> org.apache.activemq.store.PersistenceAdapterFactoryBean.getObject(Pers
> is
> tenceAdapterFactoryBean.java:35)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getObjec
> tF
> romFactoryBean(AbstractBeanFactory.java:994)
>         ... 28 more
> [More similar stack traces...]
> 
> Thanks.
> 
> -Jon
> 
> 

Are you running it with the journal on NFS?

--
Christopher G. Stach II


Mime
View raw message