java.lang.InternalError: Can't connect to window server - not enough permissions.

Jenkins JIRA | jcbuffington | 9 years ago
  1. 0

    Symptom: hudson.war fails to initialize while attempting to connect to a non-existent window server process. Tomcat is launched as a service on Mac OS X Server using Apple's launchd process. The Tomcat process does not have access to an interactive window server session. Hudson appears to require a interactive session window server to load the java.awt.Font class. Environment: OS -> Mac OS X Server 10.5.1 (Leopard) Java -> Apple's Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237) Tomcat -> 6.0.14 Hudson -> 1.165 and 1.166 catalina.out: ... INFO: Deploying web application archive hudson.war hudson home directory: /usr/local/hudson Jan 5, 2008 6:59:41 AM hudson.WebAppMain$2 run SEVERE: Failed to initialize Hudson java.lang.InternalError: Can't connect to window server - not enough permissions. at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:993) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1509) at java.awt.Toolkit.<clinit>(Toolkit.java:1530) at java.awt.Font.<clinit>(Font.java:141) at hudson.model.DependencyGraph.<clinit>(DependencyGraph.java:286) at hudson.model.Hudson.<init>(Hudson.java:210) at hudson.WebAppMain$2.run(WebAppMain.java:129) ...

    Jenkins JIRA | 9 years ago | jcbuffington
    java.lang.InternalError: Can't connect to window server - not enough permissions.
  2. 0

    Symptom: hudson.war fails to initialize while attempting to connect to a non-existent window server process. Tomcat is launched as a service on Mac OS X Server using Apple's launchd process. The Tomcat process does not have access to an interactive window server session. Hudson appears to require a interactive session window server to load the java.awt.Font class. Environment: OS -> Mac OS X Server 10.5.1 (Leopard) Java -> Apple's Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237) Tomcat -> 6.0.14 Hudson -> 1.165 and 1.166 catalina.out: ... INFO: Deploying web application archive hudson.war hudson home directory: /usr/local/hudson Jan 5, 2008 6:59:41 AM hudson.WebAppMain$2 run SEVERE: Failed to initialize Hudson java.lang.InternalError: Can't connect to window server - not enough permissions. at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:993) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1509) at java.awt.Toolkit.<clinit>(Toolkit.java:1530) at java.awt.Font.<clinit>(Font.java:141) at hudson.model.DependencyGraph.<clinit>(DependencyGraph.java:286) at hudson.model.Hudson.<init>(Hudson.java:210) at hudson.WebAppMain$2.run(WebAppMain.java:129) ...

    Jenkins JIRA | 9 years ago | jcbuffington
    java.lang.InternalError: Can't connect to window server - not enough permissions.
  3. 0

    trying to exec fop via php - 'Can't connect to window server'

    Stack Overflow | 5 years ago | Francis
    java.lang.InternalError: Can't connect to window server - not enough permissions.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JVM crash when loading jna on mac os x

    GitHub | 4 years ago | rzorzorzo
    java.lang.InternalError: Can't connect to window server - not enough permissions.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.InternalError

      Can't connect to window server - not enough permissions.

      at java.lang.ClassLoader$NativeLibrary.load()
    2. Java RT
      Font.<clinit>
      1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
      2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
      3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723)
      4. java.lang.Runtime.loadLibrary0(Runtime.java:822)
      5. java.lang.System.loadLibrary(System.java:993)
      6. sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
      9. java.awt.Toolkit.<clinit>(Toolkit.java:1530)
      10. java.awt.Font.<clinit>(Font.java:141)
      10 frames
    3. Hudson
      WebAppMain$2.run
      1. hudson.model.DependencyGraph.<clinit>(DependencyGraph.java:286)
      2. hudson.model.Hudson.<init>(Hudson.java:210)
      3. hudson.WebAppMain$2.run(WebAppMain.java:129)
      3 frames