Marvin applet produce an error when loading

User d4125958ac

05-03-2010 10:02:21

Hi,


A user got the following error in the application



http://ubidirect.thalesnano.com


 


load: class chemaxon.marvin.applet.JMSketchLaunch not found.
java.lang.ClassNotFoundException: chemaxon.marvin.applet.JMSketchLaunch
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection
failed:http://ubidirect.thalesnano.com/marvin/chemaxon/marvin/applet/JMSketchLaunch.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)
... 7 more
Exception: java.lang.ClassNotFoundException:
chemaxon.marvin.applet.JMSketchLaunch

I can not reproduce it.

What is the problem?
Thanks in advance,

Peter Kormos
Tel. (Magyarországon)8808 590

ChemAxon 7c2d26e5cf

05-03-2010 13:55:21

The error is in your html page.


The pure applet incorporate fine with your site. Just insert this code into a html. Applet will display.


<applet align='center' height='400' width='400' id='marvinApplet' mayscript codebase='http://ubidirect.thalesnano.com/marvin' archive='appletlaunch.jar' code='chemaxon.marvin.applet.JMSketchLaunch'> </applet>

Anyway, Marvin applet examples (that are bundled with the Marvin Applets package) are also working on your site, that I have found in your marvin directory.


When I visited to the given URL (http://ubidirect.thalesnano.com), I have got an empty page. By checking its source, I have realized that you have embed applet code into an inner html that is defined in a javascript sniplet.


So this javascript code is suspecious for me.

User deeba61c66

30-07-2012 11:33:26










 I used the same suggested code. same way i configured the property tables as well for my project. still i am getting the same error.

Please suggest me other possible reason for same.



-Vipin
 

ChemAxon 5433b8e56b

01-08-2012 09:26:38

Hi,


Is it helps to clear the java cache on the client machine?


Here is a help to clear the cache: https://www.chemaxon.com/forum/ftopic556.html


Regards,
Istvan

User deeba61c66

01-08-2012 10:22:49

I am getting the above error when i deploy my JSP on "apache-tomcat-7.0.29" server. when i user weblogic 10.3 it is working fine. so, it looks we need some additional java/jvm setting for tomcat 1.7 server ?

ChemAxon 5433b8e56b

02-08-2012 11:00:45

Hi Vipin,


it is more likely related to the client side or to the http communication itself. Because applet is a technology that completely runs on the client, but gets the resources from the server.


The problematic part can be some webpage and html related configuration issue, or there may be something is in wrong place in the server for the current configuration, or it is possible that some kind of http headers affects the client side processing of jar and other files that Marvin applets or the jvm try to download from the server.


I tried to check the given url https://ubidirect.thalesnano.com but it seems inaccessible for me, so I could not check it deeper.


Regards,
Istvan