Hello everyone,
I’ve spent the last few days trying to figure this out. I’ve followed the tutorial to the T for this 6.4 installation on Ubuntu. When I try to restart Tomcat I get the following error:
INFO: JVM unique ID: <10.240.120.134>
bitronix.tm.utils.InitializationException: cannot open disk journal
at bitronix.tm.BitronixTransactionManager.(BitronixTransactionManager.java:98)
at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:75)
at bitronix.tm.integration.tomcat55.BTMLifecycleListener.lifecycleEvent(BTMLifecycleListener.java:18)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.startup.Catalina.start(Catalina.java:689)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: java.io.FileNotFoundException: btm2.tlog (Permission denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:241)
at bitronix.tm.journal.DiskJournal.createLogfile(DiskJournal.java:237)
at bitronix.tm.journal.DiskJournal.open(DiskJournal.java:137)
at bitronix.tm.BitronixTransactionManager.(BitronixTransactionManager.java:85)
… 13 more <
The premissions at the /opt/bonita level are open for Tomcat7. The /opt/bonita/btm/work/ folder is currently empty.
I have no idea how to get it to work.
Thanks!