After setting the JIRA_HOME system variable it still says it is not configured

Even after setting the system variable AND the jira-application.properties file in the install directory, It states that jira.home is not configured.

1 answer

Hi Frank,

There might be some incorrect syntax while configuring the HOME directory trough jira.application.properties. You might want to try configuring it trough <jira_install_dir>/bin/config.bat and see if it helps.

If it still does'not help, you might want to provide more information such as what the exact error message and whether you are able to access JIRA trough web browser or not, if its not possible to access it trough web browser, let us know the message thrown by your browser.

Hope it helps.

Cheers,
Septa Cahyadiputra

I do not have a config.bat as this is a WAR installation.

I have attempted multiple ways to get it working:

1. Added the environment variable JIRA_HOME; Tells me it is not configured.

2. Added the value jira.home = D:\\JIRA\\HOME to jira-application.properties; Tomcat returns a 404

3. Changed jira.home = "D:\\JIRA\\HOME"; jira cannot start, tells me the home path must be absolute.

2. Changed the value jira.home = D:/JIRA/HOME; Tomcat returns a 404

3. Changed jira.home = "D:/JIRA/HOME"; jira cannot start, tells me the home path must be absolute.

Here is one of the errors I receive

Your first point 2 is the correct format - jira.home = D:\\JIRA\\HOME (double slashes, no quotes)

I would check that your server actually has that directory (case sensitive as well) and that the user that Jira is running as has permissions to at the very least read and write that directory and everything below it.

If all of that is fine, then I'd start reading your log file from the last startup attempt.

EDIT: FIXED

Thank you, It is not building properly but is gives me an error in the log:

2012-08-28 10:00:39,728 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: D:\JIRA\HOME\plugins\.bundled-plugins\workflow-designer-plugin-2.6.13.jar (1344985658000) created

2012-08-28 10:01:06,175 Spring executor 1 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.activeobjects.activeobjects-plugin

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'backup': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

at java.security.AccessController.doPrivileged(Native Method)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

........

That's good, but the log is telling you what's wrong now - it's out of memory for "PermGen"

Have a look at https://confluence.atlassian.com/display/JIRAKB/JIRA+Crashes+Due+to+java.lang.OutOfMemoryError+PermGen+Space+Error

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 yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
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