activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher G. Stach II" <...@ldsys.net>
Subject Re: 4.1.0 release and java.io.IOException: No locks available
Date Tue, 16 Jan 2007 17:21:11 GMT
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(LogFileMana
> 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.createJournal
> (DefaultPersistenceAdapterFactory.java:224)
>         at
> org.apache.activemq.store.DefaultPersistenceAdapterFactory.getJournal(De
> faultPersistenceAdapterFactory.java:132)
>         at
> org.apache.activemq.store.DefaultPersistenceAdapterFactory.createPersist
> enceAdapter(DefaultPersistenceAdapterFactory.java:70)
>         at
> org.apache.activemq.store.PersistenceAdapterFactoryBean.getObject(Persis
> tenceAdapterFactoryBean.java:35)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getObjectF
> 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