User e7455c8684
09-02-2011 14:14:27
the jogl jars contained within jchem 5.4.0.1 is conflicted with our current 3D library, causing 3D window not showing,
Is there a way to work around this problem other than manually removing those jars?
User e7455c8684
09-02-2011 14:14:27
the jogl jars contained within jchem 5.4.0.1 is conflicted with our current 3D library, causing 3D window not showing,
Is there a way to work around this problem other than manually removing those jars?
ChemAxon eb65a25631
11-02-2011 12:37:07
Hi,
Could you describe the situation a bit more in depth?
So, do you intend to incorporate a MarvinSketch or MarvinSpace application into your own project?
Is this project already using jogl libraries (from a different location, with a diferent version number)?
Do you want to specifically use MarvinSpace along with your own 3D code, so MarvinSpace loading it's own libraries and therefore your code cannot load the JOGL libraries you intend?
Or, do you want to use only MarvinSketch, and your code tries to load the Marvin package's JOGL libraries instead of yours?
Regards,
András
User e7455c8684
11-02-2011 16:07:35
akovacs wrote: |
Hi, Could you describe the situation a bit more in depth? So, do you intend to incorporate a MarvinSketch or MarvinSpace application into your own project? Is this project already using jogl libraries (from a different location, with a diferent version number)? Do you want to specifically use MarvinSpace along with your own 3D code, so MarvinSpace loading it's own libraries and therefore your code cannot load the JOGL libraries you intend? Or, do you want to use only MarvinSketch, and your code tries to load the Marvin package's JOGL libraries instead of yours? Regards, András |
Sorry for the incomplete description, we are not using MarvinSpace, but using Jymol from Schrodinger for displaying 3D moelcules, and it is using a earlier version of jogl than MarvinSpace, so on some machines (not all), it caused conflict,
Since we are not using marvinspace, we wonder whether it will cause any potential problem to MarvinSketch if we remove all the jogl,glutgen libraries from jchem library.
Here is the exception:
Exception occurred during event dispatching:
javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[AWT-EventQueue-0,6,main]
at com.sun.opengl.impl.GLContextLock.lock(GLContextLock.java:83)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:131)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
at javax.media.opengl.GLCanvas.update(GLCanvas.java:354)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
ChemAxon eb65a25631
14-02-2011 12:30:58
Hi,
You can remove the MarvinSpace component and it's jogl libraries. In order to do this you should remove the folowwing libraries from Marvin:
lib/MarvinBeans-space.jar
lib/gluegen-rt.jar
lib/jogl.jar
lib/jogl_1.1.1a/*.jar
(The exception log you pasted shows the (OGL) rendering context tried to be initialised twice for some reason. I'am unsure how it is related to this problem,)
User e7455c8684
14-02-2011 13:45:41
akovacs wrote: |
Hi, You can remove the MarvinSpace component and it's jogl libraries. In order to do this you should remove the folowwing libraries from Marvin: lib/MarvinBeans-space.jar (The exception log you pasted shows the (OGL) rendering context tried to be initialised twice for some reason. I'am unsure how it is related to this problem,) |
Thanks, I'm pretty sure, since after I removed those libs, the problem is solved.