Open kinnla opened 11 years ago
Der Pazifist wird nicht selbst als Applet gestartet, sondern über getdown (http://code.google.com/p/getdown/), einem ähnlichen System wie Java Web Start, direkt und unverändert gestartet. Insofern handelt es sich hierbei wahrscheinlich um die gleiche Inkompatibilität zwischen LWJGL und Java 7 unter MacOS X, die wir schon zuvor beobachtet haben (erstaunlicherweise haben wir allerdings auch ein System mit Mac OS 10.8 und Java 7, auf dem dieses Problem nicht auftritt). Leider scheint dieses Problem teilweise zu einem Absturz zu führen, der nicht durch Exceptions abgefangen werden kann, insofern kann man dem Pazifisten das Argument "-noglview" übergeben, was zur Folge hat, dass gar nicht mehr versucht wird LWJGL zu laden. Unter der Adresse http://page.mi.fu-berlin.de/mokaga/pazifist/legacy.html ist getdown so eingerichtet, dass es dem Pazifisten dieses Argument übergibt. Das hat zur Folge, dass die Performance eingeschränkt ist und einige Anzeigefeatures wie transparente Dialogfenster nicht mehr verfügbar sind, sowie einige Probleme bei der Eingabeverarbeitung auftreten (zum Beenden wird beispielsweise ein zusätzlicher Tastendruck nötig), allerdings gibt es wahrscheinlich (falls es sich tatsächlich um das selbe Problem handelt) bis es Updates für LWJGL bzw. Java 7/MacOS gibt kein besseres Workaround. Unter Umständen kann ich getdown eine eigene JVM mit Java 6 mitliefern lassen, um das Problem zu umgehen, allerdings müsste ich dafür eine JVM in eine .jar Datei packen und ich weiß nicht, ob das so einfach ist...
Beim Laden des Applets erhalte ich folgende Fehlermeldung (copy-paste aus der Java-Konsole):
Java Plug-in 10.17.2.02 Using JRE version 1.7.0_17-b02 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/till
c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache
0-5: set trace level to
cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@6afc53 security: property package.access value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple. security: property package.access new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp security: property package.definition value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple. security: property package.definition new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp security: property package.access value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp security: property package.access new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss security: property package.definition value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp security: property package.definition new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss security: property package.access value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss security: property package.access new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.browser,com.sun.glass,com.sun.javafx,com.sun.media.jfxmedia,com.sun.media.jfxmediaimpl,com.sun.openpisces,com.sun.prism,com.sun.scenario,com.sun.t2k,com.sun.webpane,com.sun.pisces,com.sun.webkit security: property package.definition value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss security: property package.definition new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.browser,com.sun.glass,com.sun.javafx,com.sun.media.jfxmedia,com.sun.media.jfxmediaimpl,com.sun.openpisces,com.sun.prism,com.sun.scenario,com.sun.t2k,com.sun.webpane,com.sun.pisces,com.sun.webkit basic: tap installed basic: Creating PluginEmbeddedFrame served by com.apple.java.jrs.carenderserver-424 basic: Done creating PluginEmbeddedFrame basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@379f6d6 basic: Plugin2ClassLoader.addURL parent called for http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/getdown-client.jar network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/getdown-client.jar with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/getdown-client.jar with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT network: Downloading resource: http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/getdown-client.jar Content-Length: 111,394 Content-Encoding: null security: Blacklist revocation check is enabled security: Trusted libraries list check is enabled security: Trusted libraries list file not found cache: Adding MemoryCache entry: http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/getdown-client.jar security: Accessing keys and certificate in Mozilla user profile: null security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Validate the certificate chain using CertPath API security: Loading Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts security: Loaded Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts security: Obtain certificate collection in Root CA certificate store security: Obtain certificate collection in Root CA certificate store security: Obtain certificate collection in Root CA certificate store security: Obtain certificate collection in Root CA certificate store security: The certificate hasnt been expired, no need to check timestamping info security: Cannot find jurisdiction list file security: The CRL support is disabled security: The OCSP support is disabled security: This OCSP End Entity validation is disabled security: Checking if certificate is in Deployment denied certificate store security: Checking if certificate is in Deployment permanent certificate store security: Checking if certificate is in Deployment session certificate store basic: Dialog type is not candidate for embedding security: User has granted the priviledges to the code for this session only security: Adding certificate in Deployment session certificate store security: Added certificate in Deployment session certificate store security: Saving certificates in Deployment session certificate store security: Saved certificates in Deployment session certificate store security: Validate the certificate chain using CertPath API security: The certificate hasnt been expired, no need to check timestamping info security: Cannot find jurisdiction list file security: The CRL support is disabled security: The OCSP support is disabled security: This OCSP End Entity validation is disabled security: Checking if certificate is in Deployment denied certificate store security: Checking if certificate is in Deployment permanent certificate store security: Checking if certificate is in Deployment session certificate store basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms security: Validate the certificate chain using CertPath API security: The certificate hasnt been expired, no need to check timestamping info security: Cannot find jurisdiction list file security: The CRL support is disabled security: The OCSP support is disabled security: This OCSP End Entity validation is disabled security: Checking if certificate is in Deployment denied certificate store security: Checking if certificate is in Deployment permanent certificate store security: Checking if certificate is in Deployment session certificate store basic: Applet loaded. basic: Applet resized and added to parent container basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 255301 us, pluginInit dt 9644036 us, TotalTime: 9899337 us 2013/03/20 22:57:35:637 INFO g.a: App Base: http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/ 2013/03/20 22:57:35:639 INFO g.a: App Name: pazifist 2013/03/20 22:57:35:656 INFO g.a: ------------------ VM Info ------------------ 2013/03/20 22:57:35:657 INFO g.a: -- OS Name: Mac OS X 2013/03/20 22:57:35:657 INFO g.a: -- OS Arch: x86_64 2013/03/20 22:57:35:657 INFO g.a: -- OS Vers: 10.7.5 2013/03/20 22:57:35:657 INFO g.a: -- Java Vers: 1.7.0_17 2013/03/20 22:57:35:657 INFO g.a: -- Java Home: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home 2013/03/20 22:57:35:657 INFO g.a: -- User Name: till 2013/03/20 22:57:35:657 INFO g.a: -- User Home: /Users/till 2013/03/20 22:57:35:657 INFO g.a: -- Cur dir: / 2013/03/20 22:57:35:658 INFO g.a: --------------------------------------------- network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/com/threerings/getdown/messages.class with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/com/threerings/getdown/messages_en.class with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/com/threerings/getdown/messages_en.properties with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/com/threerings/getdown/messages_en.properties with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/com/threerings/getdown/messages_en_US.class with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/com/threerings/getdown/messages_en_US.properties with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/com/threerings/getdown/messages_en_US.properties with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT 2013/03/20 22:57:36:258 WARNING g.a: Failed to preinit: java.io.IOException: m.missing_class basic: Applet initialized basic: Starting applet basic: completed perf rollup basic: Applet made visible basic: Applet started basic: Told clients applet is started 2013/03/20 22:57:36:265 INFO g.a: Checking whether we need to use a proxy... network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist.jpg with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/getdown.txt with proxy=DIRECT network: Connecting http://page.mi.fu-berlin.de:80/ with proxy=DIRECT 2013/03/20 22:57:36:341 INFO g.a: No proxy appears to be needed. 2013/03/20 22:57:36:342 INFO g.a: ---------------- Proxy Info ----------------- 2013/03/20 22:57:36:342 INFO g.a: -- Proxy Host: null 2013/03/20 22:57:36:342 INFO g.a: -- Proxy Port: null 2013/03/20 22:57:36:342 INFO g.a: --------------------------------------------- 2013/03/20 22:57:36:342 WARNING g.a: Failed to parse 'getdown.txt': java.io.IOException: m.missing_class 2013/03/20 22:57:36:343 INFO g.a: Attempting to refetch 'getdown.txt' from 'http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/getdown.txt'. network: Connecting http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/getdown.txt with proxy=DIRECT 2013/03/20 22:57:36:409 INFO g.a: Able to lock for updates: true 2013/03/20 22:57:36:410 INFO g.a: Verifying application: http://page.mi.fu-berlin.de/mokaga/pazifist/pazifist/ 2013/03/20 22:57:36:410 INFO g.a: Version: -1 2013/03/20 22:57:36:410 INFO g.a: Class: rogue.Rogue