Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-23082

JIRA won't startup on Linux, if JVM can't find fonts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • High
    • None
    • 4.2
    • None

    Description

      Step to reproduce this behaviour:

      1. Install Linux without X windows for e.g. Ubuntu Server.
      2. Install JDK (Oracleor OpenJDK) through package manager application (apt).
      3. Install JIRA standalone and configure it to use the above mentioned JDK.
      4. Start up the application.

      On plugin initiation the following error is produced:

      2010-11-21 20:55:58,682 main WARN      [core.entity.jdbc.DatabaseUtil] Entity "WorkflowSchemeEntity" has no table in the database
      2010-11-21 20:55:58,683 main WARN      [core.entity.jdbc.DatabaseUtil] Entity "Worklog" has no table in the database
      2010-11-21 20:56:07,633 main INFO      [atlassian.jira.startup.JiraStartupLogger] 
      
      ___ Starting the JIRA Plugin System _________________
      
      2010-11-21 20:56:07,638 main INFO      [atlassian.plugin.manager.DefaultPluginManager] Initialising the plugin system
      2010-11-21 20:56:15,843 main ERROR      [atlassian.event.internal.EventPublisherImpl] There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@2a871dcc' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@17c1e333'.
      java.lang.RuntimeException: Probable fatal error:No fonts found.
      	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)
      	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
      	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
      	at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
      	at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
      	at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:88)
      	at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:127)
      	at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52)
      	at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1326)
      	at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:227)
      	at com.atlassian.jira.ComponentManager.start(ComponentManager.java:212)
      	at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63)
      	at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
      	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
      	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
      	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      

      Note, java.awt.headless parameter does not prevent this problem.

      Most Linux OS installations install by default X windows and we assume needed fonts are installed as a part of its installation process.

      Users who decide not to install X windows need to ensure that the JVM has access to the fonts.

      More context into this problem can be found at http://wiki.hudson-ci.org/display/HUDSON/Hudson+got+java.awt.headless+problem

      We should perform some start up check to prevent to ensure that similar problems are prevented. In the meantime we should improve our Linux installation guide to list the additional requirements for similar installs.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bdziedzic Bogdan Dziedzic [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: