It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Starting JIRA and JIRA Development

Hi all,

I reached this point (have successfully build JIRA source and a WAR file is generaed).

Now as documentation says it should run under tomcat, I did install tomcat 6.0.

I can not understand then what I need exactly I have IDEA IDE , I want to be able to run JIRA in debugging mode and modify the code and re-run JIRA to test the change.

can you please send me a good guidline to ahcieve my goal. I have also eclips indiego developers edition and I insalled all web components for servers like tomcat.

Can I open JIRA project wih source and start running it.

1 answer

1 accepted

0 votes
Answer accepted

Debugging JIRA from your IDE means setting some VM arguments. Once done, you can create a remote socket target on the port you gave (as per link). Your local plugin project can have source code associated with it, deploy a plugin, set a breakpoint, connect.

You can also debug with Atlassian SDK embedded JIRA:

If you really want to Add a Tomcat to Eclipse you will need to configure it similarly.

Its ok now, but I need more clarification here, do I need both the source code that was used to generate the .war file for debugging, and in the time of debugging JIRA must be running under tomcate?, the installation files (extracted WAR) and the source files are in different locations.

If you are making changes, yes. Though, Unless you're going down a big customization effort, why are you even compiling everything? Just get the standalone JIRA download that includes tomcat (or the WAR download), which you havent needed to build, and get the source zip, exploded locally, just add that to the Eclipse (/other) source lookup tree.

Thanks Andy the picture now is more clear, do u mean run JIRA alone and open the source projec in Eclipse will do the debugging purpose for me?

But I sill have this problem when I started tomcat, JIRA home is not set, I did set it in the windows environment varibles JIRA_HOME, I'm I missing something? and worked as instruced in the documentation, I build JIRA after I set the JIRA_HOME:

Nic Brough Community Leader Feb 21, 2012

You need to give it more PermGen memory. Have a look at

what about this error, afer connecing to database and tables were built on SQL server 2008, I recieved this error after posting the license in the wizard:

HTTP Status 404 - Could not execute action [Setup!input]:PermGen space<p><small><small><pre>java.lang.OutOfMemoryError: PermGen space

Yes, but I'm running tomcat 6 and in the bin directory there is no batch files I have only





I ran tomcat6w.exe as an administrator and lunched a dialog

Tomcat 6.0 Properties > JAVA and I can assigne minimum and maximum pool size from there

I had this error after maximizing the size:

... 130 more

Caused by: Unable to delete file: c:\jira\home\plugins\.osg













at com.atlassian.plugin.osgi.container.impl.DefaultOsgiPersistentCache.v


... 275 more

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Off-topic

Atlassian Community Guide to A+ Articles

Stop: Articles and permission Article-writing permissions are given to Leaders, Marketplace Vendors, Solutions Partners, Atlassian Team members, and those who are Level 4 + above. But for any aspir...

70 views 7 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you