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

This widget could not be displayed.

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.

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

144 views 2 0
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