I get this error from Jira when I start Tomcat manually from a shell console. It works fine if I'm not logged in when Tomcat starts, ie a system reboot.
___ Starting the JIRA Plugin System _________________
2012-10-16 07:56:54,353 main INFO [atlassian.plugin.manager.DefaultPluginManager] Initialising the plugin system
Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authorisation protocol attempted
2012-10-16 07:56:56,666 main ERROR [atlassian.event.internal.EventPublisherImpl] There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@9ff5160' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@165bece2'.
java.lang.RuntimeException: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
I have a script in /local/etc/rc.d called S980Tomcat
I start it as root and Tomcat switches to run as the user tomcat. It should be no different from the way the system starts Tomcat.
The only difference is when I’m logged in I have a shell environment with variables set and for some reason Jira seems to want to talk to the console via X11.
I'm not sure why it is happening, JIRA seems to be trying to connect via X11 on a remote display (Putty w/ XMing? :)). However, this is only a requirement for running the config.sh script. So what script are you invoking to start JIRA manually? Do you have performed any modification on it?
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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