fault in jira installation

r.f December 25, 2013

hello all .

i reconfigure Jira.war on tomcat 7.0.34 ....
see the following pic .....

the steps i done :

1- this is my directory
http://www.4shared.com/download/vHZ1Uujm/Directory.jpg<br< a="">>

2- esure the edit-webapp/WEB-INF/classes/entityengine.xml contain the transaction-factory class="org.ofbiz.core.entity.transaction.JNDIFactory">

<user-transaction-jndi jndi-server-name="default" jndi-name="java:comp/env/UserTransaction"/>
<transaction-manager-jndi jndi-server-name="default" jndi-name="java:comp/env/UserTransaction"/>
</transaction-factory>

---------------------- the entityengine.xml file------------------------

<?xml version="1.0" encoding="UTF-8" ?>

<!--

This file configures the OFBiz Entity Engine which JIRA uses to store persist data in a datasource.

For detailed configuration help see:

http://www.atlassian.com/software/jira/docs/latest/entityengine.html

Or our server specific setup guides (these take you through the setup process for each server):

http://www.atlassian.com/software/jira/docs/latest/servers/

Normally, you will only need to edit the 'field-type-name' attribute of the <datasource> tag, near the bottom of this

file.

Less commonly, you may wish to change then JNDI lookup paths for:

- the Transaction Manager (<transaction-factory> element)

- Database connection (<jndi-jdbc> element).

If you not using the 12 preconfigured DBs, you may also need to add your own field type definition

-->

<entity-config>

<resource-loader name="maincp" class="org.ofbiz.core.config.ClasspathLoader"/>

<!-- TRANSACTION FACTORY - This configures how JIRA finds the application server's transaction management.

The default ('java:comp/env/UserTransaction') is correct for Tomcat 5.5. For details on configuring for other

application servers - see:

http://www.atlassian.com/software/jira/docs/latest/entityengine.html#transactionfactory

-->

<transaction-factory class="org.ofbiz.core.entity.transaction.JNDIFactory">

<user-transaction-jndi jndi-server-name="default" jndi-name="java:comp/env/UserTransaction"/>

<transaction-manager-jndi jndi-server-name="default" jndi-name="java:comp/env/UserTransaction"/>

</transaction-factory>

<delegator name="default" entity-model-reader="main" entity-group-reader="main">

<group-map group-name="default" datasource-name="defaultDS"/>

</delegator>

<entity-model-reader name="main">

<resource loader="maincp" location="entitydefs/entitymodel.xml"/>

</entity-model-reader>

<entity-group-reader name="main" loader="maincp" location="entitydefs/entitygroup.xml"/>

<field-type name="cloudscape" loader="maincp" location="entitydefs/fieldtype-cloudscape.xml"/>

<field-type name="firebird" loader="maincp" location="entitydefs/fieldtype-firebird.xml"/>

<field-type name="hsql" loader="maincp" location="entitydefs/fieldtype-hsql18.xml"/>

<field-type name="mckoidb" loader="maincp" location="entitydefs/fieldtype-mckoidb.xml"/>

<field-type name="mysql" loader="maincp" location="entitydefs/fieldtype-mysql.xml"/>

<field-type name="mssql" loader="maincp" location="entitydefs/fieldtype-mssql.xml"/>

<!--

This field type is deprecated, and should ONLY be used with Oracle 8i.

If you are using Oracle 9i or 10g please use Oracle 10g JDBC drivers and the 'oracle10g' field type, which is specified below

-->

<field-type name="oracle" loader="maincp" location="entitydefs/fieldtype-oracle.xml"/>

<!--

Please use this field type for Oracle 9i and 10g. Please ensure that you are using Oracle 10g JDBC drivers which are compatible with Oracle 9i.

The 10g JDBC drivers can be downloaded from here: http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html

-->

<field-type name="oracle10g" loader="maincp" location="entitydefs/fieldtype-oracle10g.xml"/>

<field-type name="postgres" loader="maincp" location="entitydefs/fieldtype-postgres.xml"/>

<field-type name="postgres72" loader="maincp" location="entitydefs/fieldtype-postgres72.xml"/> <!-- use for postgres 7.2 and above -->

<field-type name="sapdb" loader="maincp" location="entitydefs/fieldtype-sapdb.xml"/>

<field-type name="sybase" loader="maincp" location="entitydefs/fieldtype-sybase.xml"/>

<field-type name="db2" loader="maincp" location="entitydefs/fieldtype-db2.xml"/>

<!--

JRA-4202: FrontBase has 'type' and 'position' as reserved words so make the following changes the entitymodel.xml

<field name="type" type="short-varchar"/> to <field name="type" col-name="TYPE_" type="short-varchar"/>

<field name="type" type="long-varchar"/> to <field name="type" col-name="TYPE_" type="long-varchar"/>

<field name="position" type="integer"/> to <field name="position" col-name="POSITION_" type="integer"/>

-->

<field-type name="frontbase" loader="maincp" location="entitydefs/fieldtype-frontbase.xml"/>

<!--

DATASOURCE

You should no longer define a datasource in this file, the database is now configured through the UI at setup time.

The only time you would want to configure it here is when you migrate from an older version and need to point the

new installation at an existing db. This is considered a legacy method and will not work if dbconfig.xml exists

in the home directory.

-->

</entity-config>

-----------------------------------------------------------------------------------------------

3- at edit-webapp/WEB-INF/classes/jira-application.properties set the jira.home =D://apache-tomcat-7.0.34//JiraApp

4- Build the JiraApp.

then the following error show atthe tomcat consol
http://www.4shared.com/download/7KYuajHq/consol.png

it needs detrmine the MySql Database so ...

5- create mysql database called jiradb by
CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;
Username:root Password:123456

6- copy Mysql Driver to D:\apache-tomcat-7.0.34\JiraApp\webapp\WEB-INF\lib

7- add tomcat lib from http://www.atlassian.com/software/jira/downloads/binary/jira-jars-tomcat-distribution-6.2-m04-tomcat-7x.zip

8- ensure the jars file in Tomcat's lib directory.is not in the webapp/jira/WEB-INF/lib

8- add the dbconfig.xml to D:\apache-tomcat-7.0.34\JiraApp
whereit contain the following :

----------------------------------------- dbconfig.xml

<?xml version="1.0" encoding="UTF-8"?>
<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>mysql</database-type>
<jdbc-datasource>
<url>jdbc:mysql://dbserver:3306/jiradb?useUnicode=true&amp;characterEncoding=UTF8&amp;sessionVariables=storage_engine=InnoDB</url><driver-class>com.mysql.jdbc.Driver</driver-class><username>root</username>
<password>123456</password>
<pool-size>20</pool-size>
<min-evictable-idle-time-millis>4000</min-evictable-idle-time-millis><time-between-eviction-runs-millis>5000</time-between-eviction-runs-millis>
</jdbc-datasource>
</jira-database-config>

-------------------------------------------------------------

REBUILD AND BUT THE WAR FILE AT tomcat webapp and named it test.war .

Start tomcat .

the following error show to me at tomcat consol
http://www.4shared.com/download/s9pYBvyx/Unable_to_start_Jira.jpg<br< a="">>and the following at the home page of Jira
http://www.4shared.com/download/WCqkfz-r/Unable_to_start_Jira2.jpg


4 answers

0 votes
r.f December 27, 2013

hy nic i return engigeentity to the ORG.Copy but i get the following

2013-12-28 15:10:35,189 localhost-startStop-1 INFO [atlassian.jira.startup.JiraHomeStartupCheck] The jira.home directory 'D:\apache-tomcat-7.0.34\JiraApp' is validated and locked for exclusive use by this instance.

2013-12-28 15:10:35,225 localhost-startStop-1 INFO [jira.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from D:\apache-tomcat-7.0.34\JiraApp\dbconfig.xml

2013-12-28 15:10:35,323 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] Running JIRA startup checks.

2013-12-28 15:10:35,323 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully.

2013-12-28 15:10:35,453 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] Now running Database Checklist Launcher

2013-12-28 15:10:41,052 localhost-startStop-1 INFO [core.entity.jdbc.DatabaseUtil] Database Product Name is MySQL

2013-12-28 15:10:41,052 localhost-startStop-1 INFO [core.entity.jdbc.DatabaseUtil] Database Product Version is 5.5.27

2013-12-28 15:10:41,052 localhost-startStop-1 INFO [core.entity.jdbc.DatabaseUtil] Database Driver Name is MySQL-AB JDBC Driver

2013-12-28 15:10:41,053 localhost-startStop-1 INFO [core.entity.jdbc.DatabaseUtil] Database Driver Version is mysql-connector-java-5.0.4 ( $Date: 2006-10-19 17:47:48 +0200 (Thu, 19 Oct 2006) $, $Revision: 5908 $ )

2013-12-28 15:10:42,769 localhost-startStop-1 WARN [core.entity.transaction.JNDIFactory] NamingException while finding UserTransaction named java:comp/env/UserTransaction in JNDI.

javax.naming.NameNotFoundException: Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].

at org.apache.naming.NamingContext.lookup(NamingContext.java:820)

at org.apache.naming.NamingContext.lookup(NamingContext.java:154)

at org.apache.naming.NamingContext.lookup(NamingContext.java:831)

at org.apache.naming.NamingContext.lookup(NamingContext.java:154)

at org.apache.naming.NamingContext.lookup(NamingContext.java:831)

at org.apache.naming.NamingContext.lookup(NamingContext.java:168)

at org.apache.naming.SelectorContext.lookup(SelectorContext.java:158)

at javax.naming.InitialContext.lookup(InitialContext.java:411)

at org.ofbiz.core.entity.transaction.JNDIFactory.getUserTransaction(JNDIFactory.java:113)

at org.ofbiz.core.entity.TransactionFactory.getUserTransaction(TransactionFactory.java:93)

at org.ofbiz.core.entity.TransactionUtil.getStatus(TransactionUtil.java:81)

at org.ofbiz.core.entity.jdbc.SQLProcessor.getConnection(SQLProcessor.java:412)

at org.ofbiz.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:515)

at org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:1070)

at org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:630)

at org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.java:131)

at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:804)

at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:789)

at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:766)

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 28, 2013

This is caused my mistakes in your jira.xml or ROOT.xml.

See https://confluence.atlassian.com/display/JIRA042/Installing+JIRA+on+Tomcat+6.0#InstallingJIRAonTomcat60-5ConfigureTomcatand look for the "resource name" instructions

0 votes
r.f December 27, 2013
2013-12-28 11:46:11,812 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] **************** JIRA starting... **************** 2013-12-28 11:46:12,237 localhost-startStop-1 ERROR [NoModule] Error loading entity config XML file entityengine.xml org.ofbiz.core.entity.GenericEntityConfException: Could not get entity engine XML root element (Error reading entityengine.xml (Element type "user-transaction-jndi" must be followed by either attribute specifications, ">" or "/>".)) at org.ofbiz.core.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:89) at org.ofbiz.core.entity.config.EntityConfigUtil.<init> (EntityConfigUtil.java:109) at org.ofbiz.core.entity.config.EntityConfigUtil.getInstance(EntityConfigUtil.java:76) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory.<init> (DefaultOfBizConnectionFactory.java:23) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory$InstanceHolder.<clinit>(DefaultOfBizConnectionFactory.java:36) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory.getInstance(DefaultOfBizConnectionFactory.java:41) at com.atlassian.jira.startup.JiraSystemInfo.<init> (JiraSystemInfo.java:117) at com.atlassian.jira.startup.JiraStartupLogger.printStartingMessage(JiraStartupLogger.java:93) at com.atlassian.jira.startup.SystemInfoLauncher.start(SystemInfoLauncher.java:25) at com.atlassian.jira.startup.DefaultJiraLauncher.preDbLaunch(DefaultJiraLauncher.java:88) at com.atlassian.jira.startup.DefaultJiraLauncher.access$000(DefaultJiraLauncher.java:30) at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:76) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:72) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54) <+8> (StandardContext.java:4791) (StandardContext.java:5285) (LifecycleBase.java:150) (ContainerBase.java:901) (ContainerBase.java:877) (StandardHost.java:633) (HostConfig.java:977) (HostConfig.java:1655) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) org.ofbiz.core.config.GenericConfigException: Error reading entityengine.xml (Element type "user-transaction-jndi" must be followed by either attribute specifications, ">" or "/>".) at org.ofbiz.core.config.ResourceLoader.getXmlDocument(ResourceLoader.java:119) at org.ofbiz.core.config.ResourceLoader.getXmlRootElement(ResourceLoader.java:88) at org.ofbiz.core.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:85) at org.ofbiz.core.entity.config.EntityConfigUtil.<init> (EntityConfigUtil.java:109) at org.ofbiz.core.entity.config.EntityConfigUtil.getInstance(EntityConfigUtil.java:76) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory.<init> (DefaultOfBizConnectionFactory.java:23) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory$InstanceHolder.<clinit>(DefaultOfBizConnectionFactory.java:36) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory.getInstance(DefaultOfBizConnectionFactory.java:41) at com.atlassian.jira.startup.JiraSystemInfo.<init> (JiraSystemInfo.java:117) at com.atlassian.jira.startup.JiraStartupLogger.printStartingMessage(JiraStartupLogger.java:93) at com.atlassian.jira.startup.SystemInfoLauncher.start(SystemInfoLauncher.java:25) at com.atlassian.jira.startup.DefaultJiraLauncher.preDbLaunch(DefaultJiraLauncher.java:88) at com.atlassian.jira.startup.DefaultJiraLauncher.access$000(DefaultJiraLauncher.java:30) at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:76) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:72) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54) <+8> (StandardContext.java:4791) (StandardContext.java:5285) (LifecycleBase.java:150) (ContainerBase.java:901) (ContainerBase.java:877) (StandardHost.java:633) (HostConfig.java:977) (HostConfig.java:1655) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) org.xml.sax.SAXParseException; lineNumber: 40; columnNumber: 1; Element type "user-transaction-jndi" must be followed by either attribute specifications, ">" or "/>". at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at org.ofbiz.core.util.UtilXml.readXmlDocument(UtilXml.java:167) at org.ofbiz.core.util.UtilXml.readXmlDocument(UtilXml.java:138) at org.ofbiz.core.util.UtilXml.readXmlDocument(UtilXml.java:129) at org.ofbiz.core.config.ResourceLoader.getXmlDocument(ResourceLoader.java:117) at org.ofbiz.core.config.ResourceLoader.getXmlRootElement(ResourceLoader.java:88) at org.ofbiz.core.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:85) at org.ofbiz.core.entity.config.EntityConfigUtil.<init> (EntityConfigUtil.java:109) at org.ofbiz.core.entity.config.EntityConfigUtil.getInstance(EntityConfigUtil.java:76) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory.<init> (DefaultOfBizConnectionFactory.java:23) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory$InstanceHolder.<clinit>(DefaultOfBizConnectionFactory.java:36) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory.getInstance(DefaultOfBizConnectionFactory.java:41) at com.atlassian.jira.startup.JiraSystemInfo.<init> (JiraSystemInfo.java:117) at com.atlassian.jira.startup.JiraStartupLogger.printStartingMessage(JiraStartupLogger.java:93) at com.atlassian.jira.startup.SystemInfoLauncher.start(SystemInfoLauncher.java:25) at com.atlassian.jira.startup.DefaultJiraLauncher.preDbLaunch(DefaultJiraLauncher.java:88) at com.atlassian.jira.startup.DefaultJiraLauncher.access$000(DefaultJiraLauncher.java:30) at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:76) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:72) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54) <+8> (StandardContext.java:4791) (StandardContext.java:5285) (LifecycleBase.java:150) (ContainerBase.java:901) (ContainerBase.java:877) (StandardHost.java:633) (HostConfig.java:977) (HostConfig.java:1655) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) 2013-12-28 11:46:12,266 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] ___ Environment _____________________________ JIRA Build : 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2 Build Date : Tue Dec 03 00:00:00 AST 2013 JIRA Installation Type : EAR/WAR Application Server : Apache Tomcat/7.0.34 - Servlet API 3.0 Java Version : 1.7.0_21 - Oracle Corporation Current Working Directory : D:\apache-tomcat-7.0.34\bin Maximum Allowable Memory : 792MB Total Memory : 318MB Free Memory : 57MB Used Memory : 261MB Memory Pool: Code Cache : Code Cache: init = 2555904(2496K) used = 1891712(1847K) committed = 2555904(2496K) max = 50331648(49152K) Memory Pool: PS Eden Space : PS Eden Space: init = 14614528(14272K) used = 220625360(215454K) committed = 259719168(253632K) max = 265617408(259392K) Memory Pool: PS Survivor Space : PS Survivor Space: init = 2424832(2368K) used = 20553184(20071K) committed = 20578304(20096K) max = 20578304(20096K) Memory Pool: PS Old Gen : PS Old Gen: init = 38928384(38016K) used = 33247336(32468K) committed = 54132736(52864K) max = 623575040(608960K) Memory Pool: PS Perm Gen : PS Perm Gen: init = 21757952(21248K) used = 19073976(18626K) committed = 28704768(28032K) max = 85983232(83968K) JVM Input Arguments : -Djava.util.logging.config.file=D:\apache-tomcat-7.0.34\conf\logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=D:\apache-tomcat-7.0.34\endorsed -Dcatalina.base=D:\apache-tomcat-7.0.34 -Dcatalina.home=D:\apache-tomcat-7.0.34 -Djava.io.tmpdir=D:\apache-tomcat-7.0.34\temp Java Compatibility Information : JIRA version = 6.1.5, Java Version = 1.7.0_21 ___ Java System Properties ________________ awt.toolkit : sun.awt.windows.WToolkit catalina.base : D:\apache-tomcat-7.0.34 catalina.home : D:\apache-tomcat-7.0.34 catalina.useNaming : true common.loader : ${catalina.base}/lib, ${catalina.base}/lib/*.jar, ${catalina.home}/lib, ${catalina.home}/lib/*.jar file.encoding : Cp1256 file.encoding.pkg : sun.io java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment java.awt.printerjob : sun.awt.windows.WPrinterJob java.class.version : 51.0 java.home : C:\Program Files\Java\jdk1.7.0_21\jre java.io.tmpdir : D:\apache-tomcat-7.0.34\temp java.naming.factory.initial : org.apache.naming.java.javaURLContextFactory java.naming.factory.url.pkgs : org.apache.naming java.runtime.name : Java(TM) SE Runtime Environment java.runtime.version : 1.7.0_21-b11 java.specification.name : Java Platform API Specification java.specification.vendor : Oracle Corporation java.specification.version : 1.7 java.util.logging.config.file : D:\apache-tomcat-7.0.34\conf\logging.properties java.util.logging.manager : org.apache.juli.ClassLoaderLogManager java.vendor : Oracle Corporation java.vendor.url : http://java.oracle.com/ java.vendor.url.bug : http://bugreport.sun.com/bugreport/ java.version : 1.7.0_21 java.vm.info : mixed mode java.vm.name : Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name : Java Virtual Machine Specification java.vm.specification.vendor : Oracle Corporation java.vm.specification.version : 1.7 java.vm.vendor : Oracle Corporation java.vm.version : 23.21-b01 org.apache.catalina.startup.ContextConfig.jarsToSkip : org.apache.catalina.startup.TldConfig.jarsToSkip : os.arch : amd64 os.name : Windows 7 os.version : 6.1 package.access : sun., org.apache.catalina., org.apache.coyote., org.apache.tomcat., org.apache.jasper. package.definition : sun., java., org.apache.catalina., org.apache.coyote., org.apache.tomcat., org.apache.jasper. server.loader : shared.loader : sun.arch.data.model : 64 sun.boot.library.path : C:\Program Files\Java\jdk1.7.0_21\jre\bin sun.cpu.endian : little sun.cpu.isalist : amd64 sun.desktop : windows sun.io.unicode.encoding : UnicodeLittle sun.java.command : org.apache.catalina.startup.Bootstrap start sun.java.launcher : SUN_STANDARD sun.jnu.encoding : Cp1256 sun.management.compiler : HotSpot 64-Bit Tiered Compilers sun.os.patch.level : Service Pack 1 tomcat.util.buf.StringCache.byte.enabled : true tomcat.util.scan.DefaultJarScanner.jarsToSkip : bootstrap.jar, commons-daemon.jar, tomcat-juli.jar, annotations-api.jar, el-api.jar, jsp-api.jar, servlet-api.jar, catalina.jar, catalina-ant.jar, catalina-ha.jar, catalina-tribes.jar, jasper.jar, jasper-el.jar, ecj-*.jar, tomcat-api.jar, tomcat-util.jar, tomcat-coyote.jar, tomcat-dbcp.jar, tomcat-jni.jar, tomcat-spdy.jar, tomcat-i18n-en.jar, tomcat-i18n-es.jar, tomcat-i18n-fr.jar, tomcat-i18n-ja.jar, tomcat-juli-adapters.jar, catalina-jmx-remote.jar, catalina-ws.jar, tomcat-jdbc.jar, commons-beanutils*.jar, commons-codec*.jar, commons-collections*.jar, commons-dbcp*.jar, commons-digester*.jar, commons-fileupload*.jar, commons-httpclient*.jar, commons-io*.jar, commons-lang*.jar, commons-logging*.jar, commons-math*.jar, commons-pool*.jar, jstl.jar, geronimo-spec-jaxrpc*.jar, wsdl4j*.jar, ant.jar, ant-junit*.jar, aspectj*.jar, jmx.jar, h2*.jar, hibernate*.jar, httpclient*.jar, jmx-tools.jar, jta*.jar, log4j*.jar, mail*.jar, slf4j*.jar, xercesImpl.jar, xmlParserAPIs.jar, xml-apis.jar, access-bridge.jar, access-bridge-64.jar, dnsns.jar, jaccess.jar, ldapsec.jar, localedata.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, jhall.jar, tools.jar, sunec.jar, zipfs.jar, gnome-java-bridge.jar, pulse-java.jar, apple_provider.jar, AppleScriptEngine.jar, CoreAudio.jar, dns_sd.jar, j3daudio.jar, j3dcore.jar, j3dutils.jar, jai_core.jar, jai_codec.jar, mlibwrapper_jai.jar, MRJToolkit.jar, vecmath.jar, junit.jar, junit-*.jar, ant-launcher.jar user.country : US user.country.format : SA user.dir : D:\apache-tomcat-7.0.34\bin user.home : C:\Users\user user.language : en user.language.format : ar user.name : user user.script : user.timezone : Asia/Riyadh user.variant : 2013-12-28 11:46:12,738 localhost-startStop-1 INFO [atlassian.jira.startup.JiraHomeStartupCheck] The jira.home directory 'D:\apache-tomcat-7.0.34\JiraApp' is validated and locked for exclusive use by this instance. 2013-12-28 11:46:12,777 localhost-startStop-1 INFO [jira.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from D:\apache-tomcat-7.0.34\JiraApp\dbconfig.xml 2013-12-28 11:46:12,894 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] Running JIRA startup checks. 2013-12-28 11:46:12,894 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully. 2013-12-28 11:46:13,026 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] Now running Database Checklist Launcher 2013-12-28 11:46:13,049 localhost-startStop-1 ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA. java.lang.IllegalStateException: Could not find transaction factory class name definition at org.ofbiz.core.entity.TransactionFactory.getTransactionFactory(TransactionFactory.java:55) at org.ofbiz.core.entity.TransactionFactory.getConnection(TransactionFactory.java:101) at org.ofbiz.core.entity.ConnectionFactory.getConnection(ConnectionFactory.java:59) at com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory.getConnection(DefaultOfBizConnectionFactory.java:48) at com.atlassian.jira.upgrade.util.UpgradeUtils.tableExists(UpgradeUtils.java:102) at com.atlassian.jira.appconsistency.db.MinimumUpgradableVersionCheck.databaseSetup(MinimumUpgradableVersionCheck.java:49) at com.atlassian.jira.appconsistency.db.MinimumUpgradableVersionCheck.isOk(MinimumUpgradableVersionCheck.java:30) at com.atlassian.jira.startup.JiraDatabaseConfigChecklist.doStartupChecks(JiraDatabaseConfigChecklist.java:64) at com.atlassian.jira.startup.JiraDatabaseConfigChecklist.startupOK(JiraDatabaseConfigChecklist.java:52) at com.atlassian.jira.startup.DatabaseChecklistLauncher.start(DatabaseChecklistLauncher.java:39) at com.atlassian.jira.startup.DefaultJiraLauncher$2.run(DefaultJiraLauncher.java:110) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:315) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseConfigured(DatabaseConfigurationManagerImpl.java:215) at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:105) at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:30) at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:77) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:72) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54) <+8> (StandardContext.java:4791) (StandardContext.java:5285) (LifecycleBase.java:150) (ContainerBase.java:901) (ContainerBase.java:877) (StandardHost.java:633) (HostConfig.java:977) (HostConfig.java:1655) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) 2013-12-28 11:46:13,524 localhost-startStop-1 ERROR [ofbiz.core.entity.GenericDelegator] Error creating delegator org.ofbiz.core.entity.GenericEntityConfException: Cound not find an entity-model-reader with the name main at org.ofbiz.core.entity.model.ModelReader.<init> (ModelReader.java:107) at org.ofbiz.core.entity.model.ModelReader.getModelReader(ModelReader.java:88) at org.ofbiz.core.entity.GenericDelegator.<init> (GenericDelegator.java:148) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:116) at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getDelegator(OFBizPropertySet.java:293) at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getKeys(OFBizPropertySet.java:82) at com.atlassian.jira.propertyset.PropertySetCache.bulkLoad(PropertySetCache.java:318) at com.atlassian.jira.propertyset.JiraCachingPropertySet$12.run(JiraCachingPropertySet.java:785) at com.atlassian.jira.propertyset.JiraCachingPropertySet.doLocked(JiraCachingPropertySet.java:846) at com.atlassian.jira.propertyset.JiraCachingPropertySet.init(JiraCachingPropertySet.java:770) at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:58) at com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:31) at com.atlassian.jira.config.properties.PropertySetUtils.createDatabaseBackedPropertySet(PropertySetUtils.java:34) at com.atlassian.jira.config.properties.DbBackedPropertiesManager$1.create(DbBackedPropertiesManager.java:26) at com.atlassian.jira.config.properties.DbBackedPropertiesManager$1.create(DbBackedPropertiesManager.java:22) at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:140) at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321) at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:87) at com.atlassian.jira.config.properties.PropertiesManager.getPropertySet(PropertiesManager.java:27) at com.atlassian.jira.config.properties.ApplicationPropertiesStore.getStringFromDb(ApplicationPropertiesStore.java:268) at com.atlassian.jira.config.properties.ApplicationPropertiesStore.getString(ApplicationPropertiesStore.java:346) at com.atlassian.jira.config.properties.ApplicationPropertiesImpl.getDefaultBackedString(ApplicationPropertiesImpl.java:60) at com.atlassian.jira.security.auth.trustedapps.UserNameTransformer$ApplicationPropertiesClassNameRetriever.get(UserNameTransformer.java:68) at com.atlassian.jira.security.auth.trustedapps.UserNameTransformer$Factory.get(UserNameTransformer.java:99) at com.atlassian.jira.security.auth.trustedapps.TrustedApplicationFilter$OSUserResolver.<init> (TrustedApplicationFilter.java:40) at com.atlassian.jira.security.auth.trustedapps.TrustedApplicationFilter.<init> (TrustedApplicationFilter.java:25) <+3> (NativeConstructorAccessorImpl.java:57) (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:374) at java.lang.Class.newInstance(Class.java:327) <+12> (DefaultInstanceManager.java:134) (ApplicationFilterConfig.java:257) (ApplicationFilterConfig.java:383) (ApplicationFilterConfig.java:104) (StandardContext.java:4650) (StandardContext.java:5306) (LifecycleBase.java:150) (ContainerBase.java:901) (ContainerBase.java:877) (StandardHost.java:633) (HostConfig.java:977) (HostConfig.java:1655) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) 2013-12-28 11:46:13,533 localhost-startStop-1 WARN [jira.config.properties.ApplicationPropertiesStore] Exception getting property 'jira.trustedapps.user.name.transformation.policy.class' from database. Using default
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 27, 2013

Er, that's absolutely clear on where the error is - you've messed up the entityengine.xml file.

Correct that and try again.

0 votes
richie_gee
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 26, 2013

From the screenshot, I do agree with Nic on the JIRA is not able to talk to your database properly and it hints where the entitiesengine.xml and dbconfig.xml could not be parse correctly.

So first off, I think you should check on the permission given to the two files, make sure the application user is able to read the content of the files.

Second, if you still bumped into the same error, you might need to check the open tag and close tag where all the entries are properly closed.

This should be the items that I could think of based on my experience.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 25, 2013

You can post the text of an error here, it saves time (screenshots of plain text are slow, clunky and often don't help much because we only get a fraction of it)

The errors you are getting are probably happening because Jira is not able to talk to your database correctly. Check the logs above the error for database related errors.

r.f December 27, 2013
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 27, 2013

Can't read it, it won't download, and my security software really doesn't like that site.

Please use a simple pastebin or post the errors here.

r.f December 27, 2013

i put the error as an aswer form my question

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 27, 2013

<edit - this was posted when there was a chunk of log in a comment>

I'm afraid that does not tell us anything new. Your Jira installation cannot get a connection to your database.

Either your database is not set up correctly, your network is not set up to provide or allow the connection, or you have not got the right settings in the Jira database configuration.

Can you connect to the database with the MySQL command line from the Jira machine, with the same settings you are using for Jira? The command line errors you get from trying this are probably going to be smaller, quicker to get to and a lot more informative as you're not going through all the layers that Jira needs.

Suggest an answer

Log in or Sign up to answer