JIRA startup failed

Sriteja Bongu May 19, 2013

I created my first template following the link

https://developer.atlassian.com/display/DOCS/Writing+and+Running+Plugin+Tests

[INFO] [talledLocalContainer] 2013-05-20 15:42:02,714 main FATAL      [atlassian.jira.startup.JiraStartupLogger] 
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] ********************************************************************************************************************************************************************************************************
[INFO] [talledLocalContainer] The following plugins are required by JIRA, but have not been started: Atlassian JIRA - Plugins - Project Config Plugin (com.atlassian.jira.jira-project-config-plugin), Atlassian OAuth Admin Plugin (com.atlassian.oauth.admin), Embedded Gadgets Plugin (com.atlassian.gadgets.embedded), Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard), Atlassian JIRA - Plugins - Look And Feel Logo Upload Plugin (com.atlassian.jira.lookandfeel), Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module), Gadget Spec Publisher Plugin (com.atlassian.gadgets.publisher), Atlassian JIRA - Plugins - REST Plugin (com.atlassian.jira.rest), Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.serviceprovider), Atlassian OAuth Consumer Plugin (com.atlassian.oauth.consumer), Opensocial Plugin (com.atlassian.gadgets.opensocial), Gadget Directory Plugin (com.atlassian.gadgets.directory), Atlassian JIRA - Plugins - SAL Plugin (com.atlassian.sal.jira), Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)
[INFO] [talledLocalContainer] ********************************************************************************************************************************************************************************************************
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] 2013-05-20 15:42:02,718 main FATAL      [atlassian.jira.upgrade.UpgradeLauncher] Skipping, JIRA is locked.
[INFO] [talledLocalContainer] 2013-05-20 15:42:02,718 main INFO      [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler not started: JIRA startup checklist failed.
May 20, 2013 3:42:03 PM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.utils.Log ERROR: logLevelConf: null
[INFO] [talledLocalContainer] May 20, 2013 3:42:03 PM org.apache.catalina.core.ApplicationContext log
May 20, 2013 3:42:03 PM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
2013-05-20 15:42:03,810 main ERROR      [jira.web.dispatcher.JiraWebworkActionDispatcher] 

******************************************
JIRA startup failed, JIRA has been locked.
******************************************

[WARNING] [talledLocalContainer] INFO: org.tuckey.web.filters.urlrewrite.utils.Log ERROR: logLevelConf: null
[INFO] [talledLocalContainer] 2013-05-20 15:42:03,810 main ERROR      [jira.web.dispatcher.JiraWebworkActionDispatcher] 
[INFO] [talledLocalContainer] May 20, 2013 3:42:03 PM org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
[INFO] [talledLocalContainer] 
[INFO] [talledLocalContainer] ******************************************
[INFO] [talledLocalContainer] JIRA startup failed, JIRA has been locked.
[INFO] [talledLocalContainer] ******************************************
[INFO] [talledLocalContainer] 
May 20, 2013 3:42:04 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-2990
[INFO] [talledLocalContainer] May 20, 2013 3:42:04 PM org.apache.coyote.http11.Http11Protocol start
[INFO] [talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-2990
May 20, 2013 3:42:04 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
[INFO] [talledLocalContainer] May 20, 2013 3:42:04 PM org.apache.jk.common.ChannelSocket init
May 20, 2013 3:42:04 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/114  config=null
[INFO] [talledLocalContainer] INFO: JK: ajp13 listening on /0.0.0.0:8009
[INFO] [talledLocalContainer] May 20, 2013 3:42:04 PM org.apache.jk.server.JkMain startMay 20, 2013 3:42:04 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 441728 ms

[INFO] [talledLocalContainer] INFO: Jk running ID=0 time=0/114  config=null
[INFO] [talledLocalContainer] May 20, 2013 3:42:04 PM org.apache.catalina.startup.Catalina start
[INFO] [talledLocalContainer] INFO: Server startup in 441728 ms
[INFO] [talledLocalContainer] Tomcat 6.x started on port [2990]
[INFO] jira started successfully in 688s at http://LTNBN002043:2990/jira
[INFO] Type Ctrl-D to shutdown gracefully
[INFO] Type Ctrl-C to exit

3 answers

1 accepted

0 votes
Answer accepted
Sultan Maiyaki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2013

Hi,

I suspect the java version on your PC is not supported on the version of JIRA. can you let us know the version of java and the value of this property;<jira.version> from the pom.xml.

In the meantime, try to run atlas-clean and then atlas-run to clear the directory and rebuild

Sriteja Bongu May 19, 2013

Thanks Sultan,

It worked as a charm. Just for record I changed JIRA version in POM to 5.2.7.

0 votes
Sultan Maiyaki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2013

Hi,

By default, the plugin skeleton for JIRA 5 is the 5.1 version or 5.1.8 to be more specific which is not yet compatible with JAVA 1.7. Usually I will suggest that you change the version inthe pom.xml to 5.2.x and then rebuilt.

If you are unsure, you can downgrade your JDK to 1.6.35 and then run the command atlas-clean followed by atlas-run

0 votes
Sriteja Bongu May 19, 2013

I am new to atlas and couldn't find Jira verision,in the POM file it is referenced by a vairable.

Creating plugin for JIRA Version 5, I downloaded JIRA only last week so hoping its latest version.

c:\atlastutorial\testTutorial_1>atlas-version

ATLAS Version: 4.1.7

ATLAS Home: C:\Users\sritejabongu\atlassian-plugin-sdk

ATLAS Scripts: C:\Users\sritejabongu\atlassian-plugin-sdk\bin

ATLAS Maven Home: C:\Users\sritejabongu\atlassian-plugin-sdk\apache-maven

--------

Executing: "C:\Users\sritejabongu\atlassian-plugin-sdk\apache-maven\bin\mvn.bat" --version -gs C:\Users\sritejabongu\atlassian-plugin-sdk\apache-maven/conf/settings.xml

Apache Maven 2.1.0 (r755702; 2009-03-19 06:10:27+1100)

Java version: 1.7.0_21

Java home: C:\Program Files\Java\jdk1.7.0_21\jre

Default locale: en_AU, platform encoding: Cp1252

OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"

Suggest an answer

Log in or Sign up to answer