-
Bug
-
Resolution: Done
-
Major
-
7.0.0.DR13 (Alpha)
-
None
If Artemis journal is set to tmpfs file system which is used for example for /tmp directory then EAP 7.0.0.DR13 fails to start wtih ASYNCIO journal type and following exception is thrown:
11:35:32,645 INFO [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 71) AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP 11:35:32,762 WARN [org.apache.activemq.artemis.journal] (ServerService Thread Pool -- 71) AMQ142018: Temporary files were left unnatended after a crash on journal directory, deleting invalid files now 11:35:32,763 WARN [org.apache.activemq.artemis.journal] (ServerService Thread Pool -- 71) AMQ142019: Deleting orphaned file activemq-data-1.amq.tmp 11:35:32,764 WARN [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 71) AMQ222010: Critical IO Error, shutting down the server. file=AIOSequentialFile:/tmp/journal-A/journal/activemq-data-1.amq.tmp, message=Cannot open file:Invalid argument: java.io.IOException: Cannot open file:Invalid argument at org.apache.activemq.artemis.jlibaio.LibaioContext.open(Native Method) at org.apache.activemq.artemis.jlibaio.LibaioContext.openFile(LibaioContext.java:252) at org.apache.activemq.artemis.jlibaio.LibaioContext.openFile(LibaioContext.java:235) at org.apache.activemq.artemis.core.io.aio.AIOSequentialFile.open(AIOSequentialFile.java:132) at org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.createFile0(JournalFilesRepository.java:572) at org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.createFile(JournalFilesRepository.java:525) at org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.ensureMinFiles(JournalFilesRepository.java:200) at org.apache.activemq.artemis.core.journal.impl.JournalImpl.setUpCurrentFile(JournalImpl.java:2689) at org.apache.activemq.artemis.core.journal.impl.JournalImpl.load(JournalImpl.java:1754) at org.apache.activemq.artemis.core.journal.impl.JournalImpl.load(JournalImpl.java:1158) at org.apache.activemq.artemis.core.journal.impl.JournalImpl.load(JournalImpl.java:1142) at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1244) at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:1641) at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1535) at org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:60) at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:393) at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:381) at org.wildfly.extension.messaging.activemq.jms.JMSService.doStart(JMSService.java:173) at org.wildfly.extension.messaging.activemq.jms.JMSService.access$000(JMSService.java:60) at org.wildfly.extension.messaging.activemq.jms.JMSService$1.run(JMSService.java:94) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) 11:35:32,774 ERROR [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 71) AMQ224000: Failure in initialisation: ActiveMQNativeIOError[errorType=NATIVE_ERROR_CANT_INITIALIZE_AIO message=Cannot open file:Invalid argument] at org.apache.activemq.artemis.core.io.aio.AIOSequentialFile.open(AIOSequentialFile.java:136) at org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.createFile0(JournalFilesRepository.java:572) at org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.createFile(JournalFilesRepository.java:525) at org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository.ensureMinFiles(JournalFilesRepository.java:200) at org.apache.activemq.artemis.core.journal.impl.JournalImpl.setUpCurrentFile(JournalImpl.java:2689) at org.apache.activemq.artemis.core.journal.impl.JournalImpl.load(JournalImpl.java:1754) at org.apache.activemq.artemis.core.journal.impl.JournalImpl.load(JournalImpl.java:1158) at org.apache.activemq.artemis.core.journal.impl.JournalImpl.load(JournalImpl.java:1142) at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1244) at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:1641) at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1535) at org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:60) at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:393) at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:381) at org.wildfly.extension.messaging.activemq.jms.JMSService.doStart(JMSService.java:173) at org.wildfly.extension.messaging.activemq.jms.JMSService.access$000(JMSService.java:60) at org.wildfly.extension.messaging.activemq.jms.JMSService$1.run(JMSService.java:94) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.io.IOException: Cannot open file:Invalid argument at org.apache.activemq.artemis.jlibaio.LibaioContext.open(Native Method) at org.apache.activemq.artemis.jlibaio.LibaioContext.openFile(LibaioContext.java:252) at org.apache.activemq.artemis.jlibaio.LibaioContext.openFile(LibaioContext.java:235) at org.apache.activemq.artemis.core.io.aio.AIOSequentialFile.open(AIOSequentialFile.java:132) ... 22 more
- is blocked by
-
JBEAP-1856 Upgrade Artemis 1.2.x
- Closed
- is related to
-
WFLY-6406 Artemis AIO journal fails on zfsonlinux ZFS filesystem
- Open
- relates to
-
JBEAP-20460 (7.3.z) The MixedDomainDeployment700TestCase may fail under certain environmental conditions
- Closed
-
WFLY-14022 The MixedDomainDeployment700TestCase may fail under certain environmental conditions
- Closed
-
JBEAP-20440 (7.3.z) Allow a mixed-domain server to be overridden
- Closed
-
WFLY-14021 Allow a mixed-domain server to be overridden
- Closed