User 65339aced8
15-04-2005 10:28:53
Folowing gives an error on local pc. However access from a remote pc is OK. Copied website to another pc works local ok. How can I troubleshoot this. I even removed all jchem and tomcat and java. And I upgraded jre-1_5_0_02-windows-i586-p.exe and jchem3.0.3.zip. No succes.
http://localhost:8080/molstore/query.jsp
javascript
var queryStructure=""+MSketch.getMol("mol");
<script LANGUAGE='JavaScript1.1' SRC='/jchem/marvin/marvin.js'></script>
<script LANGUAGE='JavaScript1.1'>
<!--
msketch_name = 'MSketch';
msketch_begin('/jchem/marvin', '100%', '100%');
msketch_param('molbg', '#ffffff');
msketch_param('horizontalbar', 'true');
msketch_param('preload','MolExport,Parity,SmilesExport,Clean2D');
msketch_end();
//-->
</script>
Firefox
Error: uncaught exception: java.security.PrivilegedActionException: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException
IE6
java.lang.NoSuchMethodError: chemaxon.marvin.sketch.swing.SketchPanel.getEditor()Lchemaxon/marvin/sketch/j;
at JMSketch.getMol(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: java.lang.NoSuchMethodError: chemaxon.marvin.sketch.swing.SketchPanel.getEditor()Lchemaxon/marvin/sketch/j;
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
http://localhost:8080/molstore/query.jsp
javascript
var queryStructure=""+MSketch.getMol("mol");
<script LANGUAGE='JavaScript1.1' SRC='/jchem/marvin/marvin.js'></script>
<script LANGUAGE='JavaScript1.1'>
<!--
msketch_name = 'MSketch';
msketch_begin('/jchem/marvin', '100%', '100%');
msketch_param('molbg', '#ffffff');
msketch_param('horizontalbar', 'true');
msketch_param('preload','MolExport,Parity,SmilesExport,Clean2D');
msketch_end();
//-->
</script>
Firefox
Error: uncaught exception: java.security.PrivilegedActionException: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException
IE6
java.lang.NoSuchMethodError: chemaxon.marvin.sketch.swing.SketchPanel.getEditor()Lchemaxon/marvin/sketch/j;
at JMSketch.getMol(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: java.lang.NoSuchMethodError: chemaxon.marvin.sketch.swing.SketchPanel.getEditor()Lchemaxon/marvin/sketch/j;
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)