Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Rejected
    • Affects Version/s: 9.0.0.CR2
    • Fix Version/s: 9.0.0.Final
    • Component/s: JMS
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Issue seems to be related to running WildFly (and its bundled HornetQ server) from a temporary folder.

      Moving it to another folder (under a user dir) solves the issue

      Show
      Issue seems to be related to running WildFly (and its bundled HornetQ server) from a temporary folder. Moving it to another folder (under a user dir) solves the issue

      Description

      Out of the box 9.0.0.CR2 started with "-c standalone-full.xml" gives

      06:49:36,963 WARN  [org.hornetq.journal] (ServerService Thread Pool -- 64) HQ142018: Temporary files were left unnatended after a crash on journal directory, deleting invalid files now
      06:49:36,963 WARN  [org.hornetq.journal] (ServerService Thread Pool -- 64) HQ142019: Deleting orphaned file hornetq-data-1.hq.tmp                                                                                  
      06:49:36,984 WARN  [org.hornetq.core.server] (ServerService Thread Pool -- 64) HQ222010: Critical IO Error, shutting down the server. file=AIOSequentialFile:/tmp/wildfly-9.0.0.CR2/standalone/data/messagingjournal/hornetq-data-1.hq.tmp, message=Can't open file: HornetQException[errorType=NATIVE_ERROR_CANT_OPEN_CLOSE_FILE message=Can't open file]                                                                            
      
      
      
      
      
      
              at org.hornetq.core.journal.impl.JournalImpl.setUpCurrentFile(JournalImpl.java:3120)
              at org.hornetq.core.journal.impl.JournalImpl.load(JournalImpl.java:2013)
              at org.hornetq.core.journal.impl.JournalImpl.load(JournalImpl.java:1323)
              at org.hornetq.core.journal.impl.JournalImpl.load(JournalImpl.java:1306)
              at org.hornetq.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1541)
              at org.hornetq.core.server.impl.HornetQServerImpl.loadJournals(HornetQServerImpl.java:1851)
              at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1688)
              at org.hornetq.core.server.impl.HornetQServerImpl.access$1400(HornetQServerImpl.java:172)
              at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreLiveActivation.run(HornetQServerImpl.java:2207)
              at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:452)
              at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:488)
              at org.jboss.as.messaging.jms.JMSService.doStart(JMSService.java:170)
              at org.jboss.as.messaging.jms.JMSService.access$000(JMSService.java:62)
              at org.jboss.as.messaging.jms.JMSService$1.run(JMSService.java:96)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
              at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      
      06:49:36,987 ERROR [org.hornetq.core.server] (ServerService Thread Pool -- 64) HQ224000: Failure in initialisation: HornetQException[errorType=NATIVE_ERROR_CANT_OPEN_CLOSE_FILE message=Can't open file]
              at org.hornetq.core.libaio.Native.init(Native Method)
              at org.hornetq.core.asyncio.impl.AsynchronousFileImpl.open(AsynchronousFileImpl.java:241)
              at org.hornetq.core.journal.impl.AIOSequentialFile.open(AIOSequentialFile.java:189)
              at org.hornetq.core.journal.impl.JournalFilesRepository.createFile0(JournalFilesRepository.java:653)
              at org.hornetq.core.journal.impl.JournalFilesRepository.createFile(JournalFilesRepository.java:595)
              at org.hornetq.core.journal.impl.JournalFilesRepository.ensureMinFiles(JournalFilesRepository.java:218)
              at org.hornetq.core.journal.impl.JournalImpl.setUpCurrentFile(JournalImpl.java:3120)
              at org.hornetq.core.journal.impl.JournalImpl.load(JournalImpl.java:2013)
              at org.hornetq.core.journal.impl.JournalImpl.load(JournalImpl.java:1323)
              at org.hornetq.core.journal.impl.JournalImpl.load(JournalImpl.java:1306)
              at org.hornetq.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1541)
              at org.hornetq.core.server.impl.HornetQServerImpl.loadJournals(HornetQServerImpl.java:1851)
              at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1688)
              at org.hornetq.core.server.impl.HornetQServerImpl.access$1400(HornetQServerImpl.java:172)
              at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreLiveActivation.run(HornetQServerImpl.java:2207)
              at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:452)
              at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:488)
              at org.jboss.as.messaging.jms.JMSService.doStart(JMSService.java:170)
              at org.jboss.as.messaging.jms.JMSService.access$000(JMSService.java:62)
              at org.jboss.as.messaging.jms.JMSService$1.run(JMSService.java:96)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
              at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jmesnil Jeff Mesnil
                Reporter:
                jesper.pedersen Jesper Pedersen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: