JIRA Plugin customfield Startup Failed

I have developed a JIRA customfield Plugin, the JAVA sourcecode doesn't show me any Errors.

I am able to install this plugin with all modules and it is running perfectly.

But if i try to restart JIRA Server I get an ERROR in the JIRA log file and the startup Screen looks like this.

error.PNG

 

The ERROR code in the atlassian-jira.log is:

 

2016-02-12 10:45:03,894 localhost-startStop-1 INFO      [c.a.jira.startup.LauncherContextListener] Memory Usage:

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

      Heap memory     :  Used:  281 MiB.  Committed:  510 MiB.  Max:  748 MiB

      Non-heap memory :  Used:  174 MiB.  Committed:  189 MiB.  Max: 1264 MiB

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

      TOTAL           :  Used:  456 MiB.  Committed:  699 MiB.  Max: 2012 MiB

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

2016-02-12 10:45:04,520 localhost-startStop-1 ERROR      [c.a.j.web.dispatcher.JiraWebworkActionDispatcher]

    

    ******************************************

    JIRA startup failed, JIRA has been locked.

    ******************************************

    

2016-02-12 10:45:30,444 Modification Check:thread-1 INFO      [c.a.jira.startup.JiraStartupLogger]

    

    ___ Modifications ___________________________

    

         Modified Files                                : jira-application.properties

         Removed Files                                 : None

   

 

I hope any one can help me with my problem...

 

2 answers

0 vote

Something is stopping the system plugins from loading - sometimes this is resources on the server (you can increase the timeout, or give it more memory), but as you're writing an add-on, it suggests it's your add-on blocking the others.  Read further back up the log to find out what loading your add-on is doing.

I found my problem why the JIRA server doesnt start, I have implemented a wrong dependency in the pom.xml

<dependency>

            <groupId>com.sun.jersey</groupId>

            <artifactId>jersey-client</artifactId>

            <version>1.8</version>

 </dependency>

 

instead of this you have to use this one:

 

    <dependency>

            <groupId>com.atlassian.jira</groupId>

            <artifactId>jira-rest-java-client</artifactId>

            <version>2.0.0-m2</version>

            <scope>provided</scope>

        </dependency>

all libraries of jersey are implemented in this dependency smile

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,269 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot