Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Plugin customfield Startup Failed

Bogdan Schreiber
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2016

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 votes
Bogdan Schreiber
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2016

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

0 votes
Nic Brough -Adaptavist-
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.
February 11, 2016

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.

Suggest an answer

Log in or Sign up to answer