Error in running build war of 4.3.3 jira source in tom cat

I build jira 4.3.3 source. Then i try to run in it tomcat but i endup with an error

This the log file of tomcat it show s this error

2012-05-15 15:49:45,455 pool-2-thread-1 WARN [core.entity.transaction.JNDIFactory] [ConnectionFactory.getConnection] Failed to find DataSource named java:comp/env/jdbc/JiraDS in JNDI server with name default. Trying normal database.

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

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:392)

at org.ofbiz.core.entity.transaction.JNDIFactory.getJndiConnection(JNDIFactory.java:187)

at org.ofbiz.core.entity.transaction.JNDIFactory.getConnection(JNDIFactory.java:138)

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:28)

at com.atlassian.jira.upgrade.util.UpgradeUtils.tableExists(UpgradeUtils.java:101)

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.BootstrappingStartupState.doStartupChecks(BootstrappingStartupState.java:101)

at com.atlassian.jira.startup.BootstrappingStartupState.isStartupChecksPassed(BootstrappingStartupState.java:46)

at com.atlassian.jira.startup.JiraStartupChecklist.startupOK(JiraStartupChecklist.java:68)

at com.atlassian.jira.startup.ChecklistLauncher.runStartupChecks(ChecklistLauncher.java:104)

at com.atlassian.jira.startup.ChecklistLauncher.start(ChecklistLauncher.java:53)

at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:38)

at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:57)

at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:52)

at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121)

at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203)

at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:85)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1603)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:662)

And this is the out come http://localhost:8080/jira-webapp-dist-4.3.3/

Can any one pleace help me because it's agent

Thank you

1 answer

1 accepted

0 vote
Colin Goudie Community Champion May 16, 2012

Looks like you haven't configured a datasource in your tomcat instance. You are probably attempting to connect JIRA in its dbconfig.xml to a database via jndi rather than direct via JDBC.

This answer post might point you in the right direction

https://answers.atlassian.com/questions/30603/how-do-you-access-other-data-sources-starting-jira-4-3

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

244 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you