Login  Register

Re: Enabling logging for applets

Posted by Sven Gothel on Aug 24, 2012; 3:21pm
URL: https://forum.jogamp.org/Enabling-logging-for-applets-tp4025880p4025882.html

On 08/24/2012 03:51 PM, Martin [via jogamp] wrote:
> Hi,
> I wish to enable logging on applet to post a bug, as mentionned in
> http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing
>
> I edited
> C:\Users\Martin\AppData\LocalLow\Sun\Java\Deployment\deployements.properties
spelling ?

> to add:
>

> deployment.javaws.jre.0.args=-Djnlp.newt.debug\=all -Djnlp.nativewindow.debug\=all -Djnlp.jogl.debug\=all

I just double checked (Linux, Windows ; FF & Chrome)

c:/Users/jogamp/AppData/LocalLow/Sun/Java/Deployment/deployment.properties:

+++
..
deployment.log=true
deployment.trace=true
deployment.javaws.jre.0.args=-Djnlp.newt.debug\=all -Djnlp.nativewindow.debug\=all -Djnlp.jogl.debug\=all
deployment.javaws.jre.1.args=-Djnlp.newt.debug\=all -Djnlp.nativewindow.debug\=all -Djnlp.jogl.debug\=all
..
+++

>
> Then restart the computer and start in chrome:
> http://jausoft.com/jogamp/jogl-applet-runner-newt-gears-normal-napplet.html
spelling ?

me having e.g.:

test: http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal-napplet.html

c:/Users/jogamp/AppData/LocalLow/Sun/Java/Deployment/log/plugin4573760232410747654.trace:

+++
...
Checking for Java2D/OpenGL support^M
Java2D support: default GraphicsConfiguration = sun.awt.Win32GraphicsConfig^M
JOGL/Java2D integration disabled^M
JAWTUtil: Has sun.awt.SunToolkit.awtLock/awtUnlock true^M
JAWTUtil: Has Java2D true^M
JAWTUtil: Is headless false^M
JAWTUtil: AWT Desktop hints 2^M
JAWTUtil: OffscreenLayer Supported: false - Required false^M
GDI.isFirstX11ActionOnProcess: false^M
NativeWindowFactory.registerFactory() interface javax.media.nativewindow.NativeWindow -> jogamp.nativewindow.NativeWindowFactoryImpl@af993e^M
NativeWindowFactory.registerFactory() class java.awt.Component -> jogamp.nativewindow.NativeWindowFactoryImpl@af993e^M
NativeWindowFactory firstUIActionOnProcess false^M
NativeWindowFactory requiresToolkitLock false^M
NativeWindowFactory isAWTAvailable true, defaultFactory jogamp.nativewindow.NativeWindowFactoryImpl@af993e^M
thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-1 - Info: GraphicsConfigurationFactory.<init>^M
thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-1 - GraphicsConfigurationFactory.initSingleton()^M
GraphicsConfigurationFactory.registerFactory() put DeviceCapsType[javax.media.nativewindow.AbstractGraphicsDevice, javax.media.nativewindow.CapabilitiesImmutable] -> jogamp.nativewindow.DefaultGraphicsConfigurationFactoryImpl@1ff0dde, overridding: null^M
GLProfile.init firstUIActionOnProcess: false, thread: thread applet-com.jogamp.newt.awt.applet.JOGLNewtApplet1Run-1^M
-----------------------------------------------------------------------------------------------------^M
Platform: WINDOWS / Windows 7 6.1 (os), x86 (arch), GENERIC_ABI, 6 cores^M
MachineDescription: runtimeValidated true, littleEndian true, 32Bit true, primitive size / alignment:^M
  int8    1 / 1, int16   2 / 2^M
  int     4 / 4, long    4 / 4^M
  int32   4 / 4, int64   8 / 8^M
  float   4 / 4, double  8 / 8, ldouble 12 / 4^M
  pointer 4 / 4, page    4096^M
Platform: Java Version: 1.6.0_31, VM: Java HotSpot(TM) Client VM, Runtime: Java(TM) SE Runtime Environment^M
Platform: Java Vendor: Sun Microsystems Inc., http://java.sun.com/, is JavaSE: true, AWT enabled: true^M
...
+++

~Sven


signature.asc (910 bytes) Download Attachment