User 2082812c83
06-02-2007 20:46:11
Hi,
In order to prepare the jogl files that come as part of JChem Base 3.2.3 for deployment via Java Web Start I need to sign them with our certificate.
I have tried doing this two ways
1. Unjar jogl.jar. Remove the CHEMAXON specific certs and edit the MANIFEST.MF to no longer have signing information. Then jar the files back up and sign with my certificate. I repeated this process for the windows jogl-natives-windows-i586.jar file as well as that is the platform I am testing on.
2. Unjar as in step 1 then delete the META-INF directory. Jar it back up and then sign using my certificate. Again I repeated this process for the jogl-natives-windows-i586.jar native windows jar file.
In either case when I try to run the logD property calculator (or any calculator that makes use of Marvin Space for that matter) from within my Web Start application I get the following exception AND my whole application exits after I click on the popup that is presented to tell me Marvin had trouble locating jogl:
Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)
java.lang.Exception: Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)
at chemaxon.marvin.space.MSpaceInstaller.error(MSpaceInstaller.java:155)
at chemaxon.marvin.space.MSpaceInstaller.<init>(MSpaceInstaller.java:132)
at chemaxon.marvin.space.MSpaceEasy.install(MSpaceEasy.java:153)
at chemaxon.marvin.space.MSpaceEasy.<init>(MSpaceEasy.java:116)
at chemaxon.marvin.space.MSpacePluginDisplay.getMSpaceFrame(MSpacePluginDisplay.java:222)
at chemaxon.marvin.space.MSpacePluginDisplay.getMSpaceFrame(MSpacePluginDisplay.java:212)
at chemaxon.marvin.space.MSpacePluginDisplay.get(MSpacePluginDisplay.java:290)
at chemaxon.marvin.space.MSpacePluginDisplay.callback(MSpacePluginDisplay.java:90)
at chemaxon.marvin.plugin.CalculatorPluginDisplay.createSpaceFrame(CalculatorPluginDisplay.java:655)
at chemaxon.marvin.plugin.CalculatorPluginDisplay.getResultComponent(CalculatorPluginDisplay.java:341)
at chemaxon.marvin.plugin.CalculatorPluginManager.displayResult(CalculatorPluginManager.java:179)
at chemaxon.marvin.plugin.CalculatorPluginManager.runPlugin(CalculatorPluginManager.java:155)
at chemaxon.marvin.plugin.CalculatorPluginManager.runPlugin(CalculatorPluginManager.java:108)
at chemaxon.marvin.plugin.CalculatorPluginManager.callback(CalculatorPluginManager.java:73)
at chemaxon.marvin.plugin.PluginManager.callback(PluginManager.java:87)
at chemaxon.marvin.common.swing.MolPanel.run(MolPanel.java:2494)
at java.lang.Thread.run(Unknown Source)
java.lang.Exception: Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)
at chemaxon.marvin.space.MSpaceInstaller.error(MSpaceInstaller.java:155)
at chemaxon.marvin.space.MSpaceInstaller.<init>(MSpaceInstaller.java:132)
at chemaxon.marvin.space.MSpaceEasy.install(MSpaceEasy.java:153)
at chemaxon.marvin.space.MSpaceEasy.<init>(MSpaceEasy.java:116)
at chemaxon.marvin.space.MSpacePluginDisplay.getMSpaceFrame(MSpacePluginDisplay.java:222)
at chemaxon.marvin.space.MSpacePluginDisplay.getMSpaceFrame(MSpacePluginDisplay.java:212)
at chemaxon.marvin.space.MSpacePluginDisplay.get(MSpacePluginDisplay.java:290)
at chemaxon.marvin.space.MSpacePluginDisplay.callback(MSpacePluginDisplay.java:90)
at chemaxon.marvin.plugin.CalculatorPluginDisplay.createSpaceFrame(CalculatorPluginDisplay.java:655)
at chemaxon.marvin.plugin.CalculatorPluginDisplay.getResultComponent(CalculatorPluginDisplay.java:341)
at chemaxon.marvin.plugin.CalculatorPluginManager.displayResult(CalculatorPluginManager.java:179)
at chemaxon.marvin.plugin.CalculatorPluginManager.runPlugin(CalculatorPluginManager.java:155)
at chemaxon.marvin.plugin.CalculatorPluginManager.runPlugin(CalculatorPluginManager.java:108)
at chemaxon.marvin.plugin.CalculatorPluginManager.callback(CalculatorPluginManager.java:73)
at chemaxon.marvin.plugin.PluginManager.callback(PluginManager.java:87)
at chemaxon.marvin.common.swing.MolPanel.run(MolPanel.java:2494)
at java.lang.Thread.run(Unknown Source)
It is interesting to note that once I have re-signed the jogl jar files I still get this exception even when running from within my development environment in Eclipse.
The only way I am able to run the property calculators that make use of Marvin Space is if I run from within my development environment in eclipse using the jars as provided (and signed) by ChemAxon.
I dont see why my re-signing of the jars should be causing an exception to occur when running in either standalone (from within Eclipse) or WebStart mode.
Any ideas?
Thanks,
James
In order to prepare the jogl files that come as part of JChem Base 3.2.3 for deployment via Java Web Start I need to sign them with our certificate.
I have tried doing this two ways
1. Unjar jogl.jar. Remove the CHEMAXON specific certs and edit the MANIFEST.MF to no longer have signing information. Then jar the files back up and sign with my certificate. I repeated this process for the windows jogl-natives-windows-i586.jar file as well as that is the platform I am testing on.
2. Unjar as in step 1 then delete the META-INF directory. Jar it back up and then sign using my certificate. Again I repeated this process for the jogl-natives-windows-i586.jar native windows jar file.
In either case when I try to run the logD property calculator (or any calculator that makes use of Marvin Space for that matter) from within my Web Start application I get the following exception AND my whole application exits after I click on the popup that is presented to tell me Marvin had trouble locating jogl:
Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)
java.lang.Exception: Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)
at chemaxon.marvin.space.MSpaceInstaller.error(MSpaceInstaller.java:155)
at chemaxon.marvin.space.MSpaceInstaller.<init>(MSpaceInstaller.java:132)
at chemaxon.marvin.space.MSpaceEasy.install(MSpaceEasy.java:153)
at chemaxon.marvin.space.MSpaceEasy.<init>(MSpaceEasy.java:116)
at chemaxon.marvin.space.MSpacePluginDisplay.getMSpaceFrame(MSpacePluginDisplay.java:222)
at chemaxon.marvin.space.MSpacePluginDisplay.getMSpaceFrame(MSpacePluginDisplay.java:212)
at chemaxon.marvin.space.MSpacePluginDisplay.get(MSpacePluginDisplay.java:290)
at chemaxon.marvin.space.MSpacePluginDisplay.callback(MSpacePluginDisplay.java:90)
at chemaxon.marvin.plugin.CalculatorPluginDisplay.createSpaceFrame(CalculatorPluginDisplay.java:655)
at chemaxon.marvin.plugin.CalculatorPluginDisplay.getResultComponent(CalculatorPluginDisplay.java:341)
at chemaxon.marvin.plugin.CalculatorPluginManager.displayResult(CalculatorPluginManager.java:179)
at chemaxon.marvin.plugin.CalculatorPluginManager.runPlugin(CalculatorPluginManager.java:155)
at chemaxon.marvin.plugin.CalculatorPluginManager.runPlugin(CalculatorPluginManager.java:108)
at chemaxon.marvin.plugin.CalculatorPluginManager.callback(CalculatorPluginManager.java:73)
at chemaxon.marvin.plugin.PluginManager.callback(PluginManager.java:87)
at chemaxon.marvin.common.swing.MolPanel.run(MolPanel.java:2494)
at java.lang.Thread.run(Unknown Source)
java.lang.Exception: Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)
at chemaxon.marvin.space.MSpaceInstaller.error(MSpaceInstaller.java:155)
at chemaxon.marvin.space.MSpaceInstaller.<init>(MSpaceInstaller.java:132)
at chemaxon.marvin.space.MSpaceEasy.install(MSpaceEasy.java:153)
at chemaxon.marvin.space.MSpaceEasy.<init>(MSpaceEasy.java:116)
at chemaxon.marvin.space.MSpacePluginDisplay.getMSpaceFrame(MSpacePluginDisplay.java:222)
at chemaxon.marvin.space.MSpacePluginDisplay.getMSpaceFrame(MSpacePluginDisplay.java:212)
at chemaxon.marvin.space.MSpacePluginDisplay.get(MSpacePluginDisplay.java:290)
at chemaxon.marvin.space.MSpacePluginDisplay.callback(MSpacePluginDisplay.java:90)
at chemaxon.marvin.plugin.CalculatorPluginDisplay.createSpaceFrame(CalculatorPluginDisplay.java:655)
at chemaxon.marvin.plugin.CalculatorPluginDisplay.getResultComponent(CalculatorPluginDisplay.java:341)
at chemaxon.marvin.plugin.CalculatorPluginManager.displayResult(CalculatorPluginManager.java:179)
at chemaxon.marvin.plugin.CalculatorPluginManager.runPlugin(CalculatorPluginManager.java:155)
at chemaxon.marvin.plugin.CalculatorPluginManager.runPlugin(CalculatorPluginManager.java:108)
at chemaxon.marvin.plugin.CalculatorPluginManager.callback(CalculatorPluginManager.java:73)
at chemaxon.marvin.plugin.PluginManager.callback(PluginManager.java:87)
at chemaxon.marvin.common.swing.MolPanel.run(MolPanel.java:2494)
at java.lang.Thread.run(Unknown Source)
It is interesting to note that once I have re-signed the jogl jar files I still get this exception even when running from within my development environment in Eclipse.
The only way I am able to run the property calculators that make use of Marvin Space is if I run from within my development environment in eclipse using the jars as provided (and signed) by ChemAxon.
I dont see why my re-signing of the jars should be causing an exception to occur when running in either standalone (from within Eclipse) or WebStart mode.
Any ideas?
Thanks,
James