-
Bug
-
Resolution: Done
-
Critical
-
7.0.0.GA
-
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"