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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

134 views 5 9
Read article

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