JIRA 5.2.5 - where to include entityengine.xml entries

Gerin Abraham February 10, 2013

I am upgrading from JIRA v4.3.3 to v5.2.5 backended with Oracle 11g .The entityengine.xml is no longer used to store DataSource information.

Where do i store the below definitions present from my existing 4.3.3 entityengine.xml to the new version.Not sure if the below can be added to dbconfig.xml.

<datasource name="defaultDS" field-type-name="oracle10g"

helper-class="org.ofbiz.core.entity.GenericHelperDAO"

check-on-start="true"

use-foreign-keys="false"

use-foreign-key-indices="false"

check-fks-on-start="false"

check-fk-indices-on-start="false"

add-missing-on-start="true"

check-indices-on-start="true">

<jndi-jdbc jndi-server-name="default" jndi-name="java:comp/env/jdbc/JiraDS"/>

1 answer

0 votes
AhmadDanial
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 11, 2013

Hey there, GKA.

Not sure whether this will work since the new entityengine.xml mentioned the following:

<!--

DATASOURCE

You should no longer provide a datasource in this file. This is considered a legacy method and will not work if dbconfig.xml is provided or DatabaseConfigurationManager otherwise provides a DatabaseConfig during launch. JIRA now supports in-app database configuration at setup time.

-->

Warm regards,

Danial

Suggest an answer

Log in or Sign up to answer