Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-340

Installer should not configure datasource for RHDM on Tomcat8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.GA
    • 7.0.0.GA
    • Installer
    • None
    • JWS-3.1

      This is in element is added by RHDM installer into context.xml but it should not be.

         <!--added by the RHDM 7.0.0 installer-->
          <Resource auth="Container" description="H2 Data Source" factory="org.h2.jdbcx.JdbcDataSourceFactory" loginTimeout="0" name="sharedDataSource" password="sa" testOnBorrow="false" type="org.h2.jdbcx.JdbcDataSource" url="jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;MVCC=TRUE" user="sa"/>
      

      Please remove the datasource setup so users are not confused.

      Also please remove this from setEnv.sh

      -Djbpm.tsr.jndi.lookup=java:comp/env/TransactionSynchronizationRegistry -Dorg.kie.server.persistence.ds=java:comp/env/jdbc/jbpm -Djbpm.tm.jndi.lookup=java:comp/env/TransactionManager -Dorg.kie.server.persistence.tm=JBossTS -Dhibernate.connection.release_mode=after_transaction 
      

      This is how setEnv.sh should look like:

      export CATALINA_OPTS="$CATALINA_OPTS -Xmx512M  -Dorg.kie.server.id=tomcat-kieserver -Dorg.kie.server.location=http://localhost:8080/kie-server/services/rest/server -Dorg.kie.server.controller=http://localhost:8080/controller/rest/controller -Dorg.jbpm.server.ext.disabled=true -Dorg.jbpm.ui.server.ext.disabled=true -Dorg.jbpm.case.server.ext.disabled=true"
      

              thauser_jira Thomas Hauser (Inactive)
              dhanak@redhat.com Dominik Hanak
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: