Sandbox JSP AJAX JAVA error

User 677b9c22ff

19-03-2010 21:00:51

Hi,


coming from


http://discoverygroup.chemaxon.com/MGSandbox/g3ddemoplain.jsp


 


I dont get the JAVA Applet(?) to work, its WIN (1.6) JAVA installed and tested on two independent machines, I get results but can not see the molecule rendered.


I dont have problems on other websites or with other Marvin applets.


 


Tobias


 


java.lang.NoClassDefFoundError: chemaxon/marvin/view/swing/modules/MViewFrame
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    at java.lang.Class.getDeclaredMethod(Unknown Source)
    at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
    at java.awt.Component.access$500(Unknown Source)
    at java.awt.Component$3.run(Unknown Source)
    at java.awt.Component$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Component.checkCoalescing(Unknown Source)
    at java.awt.Component.<init>(Unknown Source)
    at java.awt.Container.<init>(Unknown Source)
    at javax.swing.JComponent.<init>(Unknown Source)
    at chemaxon.marvin.common.swing.MolCanvas.<init>(Unknown Source)
    at chemaxon.marvin.view.swing.ViewCanvas.<init>(Unknown Source)
    at chemaxon.marvin.view.swing.ViewCanvas.<init>(Unknown Source)
    at chemaxon.marvin.view.swing.modules.GridBagView.a(Unknown Source)
    at chemaxon.marvin.view.swing.modules.GridBagView.init(Unknown Source)
    at chemaxon.marvin.view.swing.ViewPanel.molInit(Unknown Source)
    at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
    at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
    at JMView.init(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: chemaxon.marvin.view.swing.modules.MViewFrame
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 23 more
Caused by: java.io.IOException: open HTTP connection failed:http://chemaxon.com/marvin-archive/5_2_0/marvin/chemaxon/marvin/view/swing/modules/MViewFrame.class />    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 27 more

ChemAxon efa1591b5a

19-03-2010 21:11:15

Thanks for the detailed error report - we'll investigate it and get back to you asap.


 


Miklos

User 677b9c22ff

20-03-2010 02:48:10

Hi,


under Windows XP with JAVA 1.6 there are issues since the latest JAVA security updates and the Windows Firewall and RMI and additional firewalls.


I had applets and embedded Marvin fails, but never Webstart fails.


Now I have webstart fails, but some of the applets work. The Sandbox


still doesnt work under FireFox and Chrome with JAVA 1.6


Tobias


 


------------------------------------------------------------------
OK:
http://www.chemaxon.com/marvin/examples/applets/sketch/embed.html />OK:
http://www.chemaxon.com/marvin/examples/applets/sketch/viewonly.html />ok:
http://www.chemaxon.com/marvin/examples/applets/sketch/embed.html />
Sandbox NOT OK
http://discoverygroup.chemaxon.com/MGSandbox/g3ddemoplain.jsp?molsource=CCC&taskb=Generate!&task=none />
Webstart NOT OK
http://www.chemaxon.com/marvin/examples/webstart/mview.jnlp />


com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://www.chemaxon.com/marvin/examples/webstart/mview.jnlp />    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
 
 
 java.net.ConnectException: Connection timed out: connect
     at java.net.PlainSocketImpl.socketConnect(Native Method)
     at java.net.PlainSocketImpl.doConnect(Unknown Source)
     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
     at java.net.PlainSocketImpl.connect(Unknown Source)
     at java.net.SocksSocketImpl.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at sun.net.NetworkClient.doConnect(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.<init>;(Unknown Source)
     at sun.net.www.http.HttpClient.New(Unknown Source)
     at sun.net.www.http.HttpClient.New(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
     at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
     at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
     at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
     at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
     at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
     at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
     at com.sun.javaws.Launcher.launch(Unknown Source)
     at com.sun.javaws.Main.launchApp(Unknown Source)
     at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
     at com.sun.javaws.Main$1.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)


java.lang.NoClassDefFoundError: chemaxon/marvin/view/swing/modules/MViewFrame
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    at java.lang.Class.getDeclaredMethod(Unknown Source)
    at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
    at java.awt.Component.access$500(Unknown Source)
    at java.awt.Component$3.run(Unknown Source)
    at java.awt.Component$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Component.checkCoalescing(Unknown Source)
    at java.awt.Component.<init>(Unknown Source)
    at java.awt.Container.<init>(Unknown Source)
    at javax.swing.JComponent.<init>(Unknown Source)
    at chemaxon.marvin.common.swing.MolCanvas.<init>(Unknown Source)
    at chemaxon.marvin.view.swing.ViewCanvas.<init>(Unknown Source)
    at chemaxon.marvin.view.swing.ViewCanvas.<init>(Unknown Source)
    at chemaxon.marvin.view.swing.modules.GridBagView.a(Unknown Source)
    at chemaxon.marvin.view.swing.modules.GridBagView.init(Unknown Source)
    at chemaxon.marvin.view.swing.ViewPanel.molInit(Unknown Source)
    at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
    at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
    at JMView.init(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: chemaxon.marvin.view.swing.modules.MViewFrame
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 23 more
Caused by: java.io.IOException: open HTTP connection failed:http://chemaxon.com/marvin-archive/5_2_0/marvin/chemaxon/marvin/view/swing/modules/MViewFrame.class />    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 27 more

User 677b9c22ff

20-03-2010 03:08:57

Hi,


so one difference is that on a new computer it will ask for the security certificates installed.


MD5 A3:83:15:62:46:C6:81:25:90:37:C3:54:D5:B0:01:4B


So I can run  the SandBox application fine under WIN7. I guess its a firewall issue.


 


Deleting the JAVA Cache and deleting the cerrtificates does not solve the problem on


the older XP systems, not sure whats the issue.


Tobias


 

ChemAxon 7c2d26e5cf

25-03-2010 11:47:02

Hi Tobias,


I wonder that deleting the Java cache did not solve the problem.Webstart works fine for me with Java 1.6.0_14 under Windows XP.


It is not clear that which example has thrown the exception that you have attached 2 comments before. Did it come from one example or not?


The first part of the error message refers to mview.jnlp. I guess it can be thrown by our offical MarvinView webstart example.


The second part of the error message includes reference to marvin-archive/5_2_0. I guess it came from the applet from discovery site (since it still use this ancient Marvin version).


Can you confirm these?


Do you remember when webstart started properly for you last time?


A few weeks ago, chemaxon.com moved to a new hardware. Is it possible that your machine still find resources under the old IP in certain cases?


As I know, discovery site is located on a separate server. So moving of chemaxon.com has not influence this site.

User 677b9c22ff

07-04-2010 18:29:34

Hi


Tamas, Its a Mess-Up (not Mash-Up) of different JAVA instances on my side, including 1.5 and 1.6


as well as all security patches and on top of that Firewall settings that prevent it running on


certain machines plus a certain setup from your side, because I can run other JAVA applications


and applets from other sources, for example Oracle JAVA Webstart Treedemo.


 


I would say ignore, as long as nobody else complains.


Cheers


Tobias