Jump to content
We've recently updated our Privacy Statement, available here ×
  • Tomcat can't deploy Jaspersoft® ETL TAC due to missing btm-config.properties


    dnaboka
    • Version: v6.4 Product: Jaspersoft® ETL

    Issue Description:

    We can't launch Jaspersoft® ETL TAC due to problem with Tomcat. We can see that tomcat can't locate /logiciels/tomcat/tomcat-8.5/conf/btm-config.properties file.

    [toc]
    Caused by: bitronix.tm.utils.InitializationException: error loading configuration
    at bitronix.tm.Configuration.<init>(Configuration.java:122)
    at bitronix.tm.TransactionManagerServices.getConfiguration(TransactionManagerServices.java:105)
    at bitronix.tm.TransactionManagerServices.getJournal(TransactionManagerServices.java:120)
    at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:100)
    at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:75)
    at bitronix.tm.integration.tomcat55.BTMLifecycleListener.lifecycleEvent(BTMLifecycleListener.java:18)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
    at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:395)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
    ... 10 more
    Caused by: java.io.FileNotFoundException: /logiciels/tomcat/tomcat-8.5/conf/btm-config.properties (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at bitronix.tm.Configuration.<init>(Configuration.java:85)
    ... 18 more

    Solution: 

    By default btm-config.properties should be placed in <TomcatPath>/conf folder. However, you can also configure different path in <TomcatPath>/bin/setenv.bat:

    set "CATALINA_OPTS=-Dbtm.root=%CATALINA_HOME% -Dbitronix.tm.configuration=%CATALINA_HOME%/conf/btm-config.properties

    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...