Air France / KLM Virtual Airlines

  • Our Airline
    • Home
    • Login
    • NOTAMs
    • Airline News
    • Fleet Gallery
    • Image Gallery
    • Le Ciel Entre Nous
    • Online Flights
    • Logged In Users
    • Our Partners
    • Issue Tracker
  • Pilot's Lounge
    • Academy Graduates
    • Online Events
    • Flight Tours
    • Forums
  • Our People
    • Join Us
    • Pilot Roster
    • Pilot Locations
    • View Logbooks
    • Pilot Accomplishments
    • Century Club
  • ACARS
    • Live ACARS Map
    • Google Earth
    • ACARS Flights
    • Dispatch Schedule
    • Top Dispatchers
  • Statistics
    • Airline Totals
    • Flight Statistics
    • Online Statistics
    • Simulator Versions
    • Passenger Statistics
    • Landing Statistics
    • Optimal Landings
    • Challenging Runways
    • Server Statistics
  • Contact Us
    • Corporate Offices
    • Our Staff
    • Password Reset
    • Privacy Policy
    • Career Opportunities

DEVELOPMENT ISSUE #21 - Cannot init AWT on Production BSD server
Reported by Luke Kolin (DVA043) on 07/07/2005 15:29 ET
Assigned To Luke Kolin (DVA043)
Issue Status Fixed on 07/07/2005 21:32 ET
Issue Priority Critical
Airlines Air France Virtual, Delta Virtual Airlines
Security Public
Area Web Site
Issue Type Bug
Target Version 1.0
Issue Description This seems to be related to the fact that it doesn't have a proper display. Here's the stack dump:

java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:141)
java.awt.Toolkit$2.run(Toolkit.java:748)
java.security.AccessController.doPrivileged(Native Method)
java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
org.deltava.util.ImageScaler.scale(ImageScaler.java:76)
org.deltava.commands.cooler.ThreadPostCommand.execute(ThreadPostCommand.java:128)
org.deltava.servlet.CommandServlet.doGet(CommandServlet.java:132)
org.deltava.servlet.CommandServlet.doPost(CommandServlet.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.deltava.servlet.filter.RequestWrapperFilter.doFilter(RequestWrapperFilter.java:41)
org.deltava.servlet.filter.SecurityCookieFilter.doFilter(SecurityCookieFilter.java:137)
org.deltava.servlet.filter.FileUploadFilter.doFilter(FileUploadFilter.java:82)
org.deltava.servlet.filter.BrowserTypeFilter.doFilter(BrowserTypeFilter.java:62)

It might be that the machine (or the JVM) is NOT set to be headless, just that X is misconfigured. Maybe if we told it to be headless, we'd be good.
2 ISSUE COMMENTS
Luke Kolin (DVA043)
07/07/2005 15:39 ET
SystemBootstrap has been updated to force the setting of the system property, since I don't know how to do it via tomcatctl.
Luke Kolin (DVA043)
07/07/2005 21:31 ET
OK, we're headless and working.
 
Progress Spinner


Air France Virtual Airlines 2006 (Golgotha v12.4) Copyright © 2004 - 2026 Global Virtual Airlines Group. All Rights Reserved. (Build 993.1)
For flight simulation purposes only. Not a commercial website. In no way are we affiliated with Air France, KLM Royal Dutch Airlines, their affiliates or any other airline. All logos, images, and trademarks remain the property of their respective owners. Air France / KLM Virtual is a non-profit entity engaged in providing an avenue for flight simulation enthusiasts.