|
Hi,
My develop environment is
tomcat at linux on IDC.
connect with terminal (putty).
calling GLPorfile.getDefault() makes following error.
Actually As I use only offscreen drawable.
drawable = GLDrawableFactory.getFactory(glProfile)
.createOffscreenAutoDrawable(GLProfile.getDefaultDevice(),
glCap, null, width, height);
So, I thought that setting DISPLAY variable does not need.
javax.media.nativewindow.NativeWindowException: X11Util.Display: Unable to create a display(nil) connection. Thread http-18080-1
javax.media.nativewindow.NativeWindowException: X11Util.Display: Unable to create a display(nil) connection. Thread http-18080-1
at jogamp.nativewindow.x11.X11Util.openDisplay(X11Util.java:452)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.isDeviceSupported(X11GLXDrawableFactory.java:246)
at jogamp.opengl.SharedResourceRunner.getOrCreateShared(SharedResourceRunner.java:187)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory.getOrCreateSharedResourceImpl(X11GLXDrawableFactory.java:379)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory.getOrCreateSharedResourceImpl(X11GLXDrawableFactory.java:81)
at jogamp.opengl.GLDrawableFactoryImpl.getOrCreateSharedResource(GLDrawableFactoryImpl.java:100)
at jogamp.opengl.GLDrawableFactoryImpl.createSharedResourceImpl(GLDrawableFactoryImpl.java:129)
at javax.media.opengl.GLDrawableFactory.createSharedResource(GLDrawableFactory.java:375)
at javax.media.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1877)
at javax.media.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1838)
at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1807)
at javax.media.opengl.GLProfile.access$000(GLProfile.java:77)
at javax.media.opengl.GLProfile$1.run(GLProfile.java:201)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:187)
at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:2246)
at javax.media.opengl.GLProfile.get(GLProfile.java:959)
at javax.media.opengl.GLProfile.getGL4ES3(GLProfile.java:910)
Could you help me...?
Thank you
|