Is there a way to configure JIRA on FREEBSD without any X11 component ?

I'm trying to install JIRA on a freebsd 9.0 that has no X11 component, when I try to run configure.sh, I'm getting this:

DB config file '/home/jira/jira-data/dbconfig.xml' is not created yet - loading database settings as blank.

Exception in thread "main" java.awt.HeadlessException:

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)

at java.awt.Window.<init>(Window.java:406)

at java.awt.Frame.<init>(Frame.java:402)

at java.awt.Frame.<init>(Frame.java:367)

at javax.swing.JFrame.<init>(JFrame.java:163)

at com.atlassian.jira.configurator.gui.ConfiguratorFrame.<init>(ConfiguratorFrame.java:51)

at com.atlassian.jira.configurator.Configurator.startGui(Configurator.java:53)

at com.atlassian.jira.configurator.Configurator.main(Configurator.java:40)

Is there a template file I can use to set-up my database and stuff ? I didn't find anything helpful anywhere....
thanks.

1 answer

This widget could not be displayed.
Colin Goudie Community Champion Jul 09, 2012

Can you edit the configure.sh to add -Djava.awt.headless=true to the JAVA_OPTS? I haven't used the GUI configurer but I thought it also did have commandline option

That's what I'd check first anyway

thanks for your reply but I opened the config.sh file and it doesn't seem to have much in there. Also, I don't think disabling the awt header will solve me problem, I mean, I won't be able to see any GUI thing still....

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 Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

528 views 23 15
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