bitronix.tm.utils.InitializationException: cannot open disk journal

jboss.org | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bitronix Transaction Manager - Bitronix journal file locked

    nabble.com | 7 months ago
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceTransactionInterceptortransactional' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'txManagerAll' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManagerAll' defined in class path resource [applicationContext-localDataSource.xml]: Cannot resolve reference to bean 'bitronixTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bitronixTransactionManager' defined in class path resource [applicationContext-localDataSource.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static synchronized bitronix.tm.BitronixTransactionManager bitronix.tm.TransactionManagerServices.getTransactionManager()] threw exception; nested exception is bitronix.tm.utils.InitializationException: cannot open disk journal
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Messages stuck on topic, cannot be consumed

    Oracle Community | 1 decade ago | 843830
    java.io.IOException: The handle is invalid

    Root Cause Analysis

    1. java.io.IOException

      The process cannot access the file because another process has locked a portion of the file

      at java.io.RandomAccessFile.read()
    2. Java RT
      RandomAccessFile.readInt
      1. java.io.RandomAccessFile.read(Native Method)
      2. java.io.RandomAccessFile.readInt(RandomAccessFile.java:720)
      2 frames
    3. Bitronix Transaction Manager :: Core
      BitronixTransactionManagerObjectFactory.getObjectInstance
      1. bitronix.tm.journal.TransactionLogHeader.<init>(TransactionLogHeader.java:77)
      2. bitronix.tm.journal.TransactionLogAppender.<init>(TransactionLogAppender.java:49)
      3. bitronix.tm.journal.DiskJournal.open(DiskJournal.java:131)
      4. bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:47)
      5. bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:43)
      6. bitronix.tm.BitronixTransactionManagerObjectFactory.getObjectInstance(BitronixTransactionManagerObjectFactory.java:29)
      6 frames
    4. Web Container Naming Utilities
      TransactionFactory.getObjectInstance
      1. org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:110)
      1 frame
    5. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      1 frame
    6. Web Container Naming Utilities
      SelectorContext.lookup
      1. org.apache.naming.NamingContext.lookup(NamingContext.java:793)
      2. org.apache.naming.NamingContext.lookup(NamingContext.java:140)
      3. org.apache.naming.NamingContext.lookup(NamingContext.java:781)
      4. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
      5. org.apache.naming.SelectorContext.lookup(SelectorContext.java:152)
      5 frames
    7. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      1 frame
    8. com.sample.processserver
      TaskProcessServlet.init
      1. com.sample.processserver.TaskProcessServlet.init(TaskProcessServlet.java:67)
      1 frame
    9. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
      1 frame
    10. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      6. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      7. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      8. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      9. org.apache.catalina.core.StandardService.start(StandardService.java:525)
      10. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      11. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      11 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    12. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      2 frames