Getting Java Exception on new install - Centos 6.5

Hi,

We just downloaded the youtrack-6.0.12124.jar file and when we start it we get the following:

  1. java -Xmx1g -Djava.awt.headless=true -jar /var/www/youTrack/youtrack-6.0.12124.jar 9011
Jetty home folder is http://forum.jetbrains.com/root/.youtrack
log4j:WARN No appenders could be found for logger (jetbrains.youtrack.standalone.MultiAppWebServer).
log4j:WARN Please initialize the log4j system properly.
2014-10-31 13:34:10.747:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
2014-10-31 13:34:10.776:INFO:oejw.WebInfConfiguration:Extract jar:file:/root/.youtrack/work/jetbrains.jetpass.server.war!/ to /root/.youtrack/work/jetty-0.0.0.0-9011-jetbrains.jetpass.server.war-_hub-any-/webapp
log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
log4j:WARN Please initialize the log4j system properly.
Init web application log4j location: jetbrains/jetpass/server/main/log4j.xml
Oct 31, 2014 1:34:18 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.12 02/15/2012 04:51 PM'
Oct 31, 2014 1:34:19 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.12 02/15/2012 04:51 PM'
13:34:20,819 DEBUG [DefaultServicesManagerImpl    ] Adding registered service ^(https?|imaps?)://.*
13:34:20,827 INFO  [DefaultServicesManagerImpl    ] Loaded 1 services.
gflogger:  version 20131206
2014-10-31 13:34:28.932:INFO:oejw.WebInfConfiguration:Extract jar:file:/var/www/youTrack/youtrack-6.0.12124.jar!/ to /root/.youtrack/work/jetty-0.0.0.0-9011-youtrack-6.0.12124.jar–any-/webapp
2014-10-31 13:34:37.217:INFO:oejs.AbstractConnector:Started DispatchProbeSelectChannelConnector@0.0.0.0:9011
Exception in thread "init servlet" java.lang.NullPointerException
 at jetbrains.youtrack.standalone.YoutrackStandalone.launchBrowser(YoutrackStandalone.java:104)
 at jetbrains.youtrack.standalone.YoutrackStandalone.launchBrowser(YoutrackStandalone.java:104)
 at jetbrains.youtrack.standalone.YoutrackStandalone.startServer(YoutrackStandalone.java:74)
 at jetbrains.youtrack.standalone.YoutrackStandalone.main(YoutrackStandalone.java:37)

The java version is :

java version "1.7.0_51"
OpenJDK Runtime Environment (rhel-2.4.4.1.el6_5-x86_64 u51-b02)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)


Any advice?

Bob
1 comment
Comment actions Permalink
SOLVED:

Followed guide but had to add "wrapper.java.additional.17=-Djetbrains.youtrack.disableBrowser=true" to the wrapper.conf file.

Working fine now.

Bob
0

Please sign in to leave a comment.