From: Antoine L. <al...@in...> - 2010-09-24 12:16:19
|
Hi, I have some questions. Question 1) After having checkout the Orchem projekt from svn, create the property file [1] , I could build without problem the war file. Than I try to deploy it in Tomacat and in JBoss. This worked also fine. I can search SMILES. The only problem is with the loading of the applet. Something is wrong with the class loader. It say always : charger : classe org.openscience.jchempaint.applet.JChemPaintEditorApplet introuvable. java.lang.ClassNotFoundException: org.openscience.jchempaint.applet.JChemPaintEditorApplet 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) Exception : java.lang.ClassNotFoundException: org.openscience.jchempaint.applet.JChemPaintEditorApplet I try it in Firefoxe and Explorer. the same apend. Something get wrong with the <applet> tag and the classloader. I have so 0 experience with jsp. I have check: the jar containing JChemPaintEditorApplet jchempaint-applet-core.jar is there. Any idea what's goes wrong ? By my version the JSP snippet looks like: <applet code="org.openscience.jchempaint.applet.JChemPaintEditorApplet" archive="jchempaint/jchempaint-applet-core.jar" id="editor" name="editor" width="700" height="500"> <param name="impliciths" value="true"></param> <param name="codebase_lookup" value="false"/> <param name="onLoadTarget" value="statusFrame"></param> <param name="image" value="hourglass.gif"></param> <param name="boxborder" value="false"></param> <param name="centerimage" value="true"></param> </applet> Question 2) An other basic oracle question: when I tell orchem (in the parameter table) that it has to take a specific table can I do this to a table that is in an other shema ? Do I have the right to do this ? Or do I have to setup this right specifically in oracle ? How it looks like in the parameter table ? simply schemaname. tablename ? Question 3) How can I calculate the molecular mass and the empirical formula (like C6O6H12) of a molecule using the cartridge ? Thanks for your help Antoine [1] by the way in the properties/README you say that we have to create the directory "my_local_properties". Is it not "my_local_copies" ? I would also add that it has to be created in the "properties" directory. |