User 77bcbbb206
29-08-2005 22:26:42
Hi again. Sorry to ask so many questions.
I'm having problems with JChem version 3.1.0. I have successfully installed (upgraded) JChem 3.1.0, but now the functionality that was working in 3.0.8 is no longer working. As a side, I uninstalled JChem, the j2sdk, and Tomcat 4.1 and reinstalled them when migrating to JChem 3.1.0. I have successfully created a structure table within the JChem schema and inserted into that table, but when I try to use other functions (jcf_molweight, jcf_formula, etc) I get errors.
The statement:
works fine and the structure can be found in the RMS_STRUCTURE table.
But this is what happens when I try to go a step farther:
The Tomcat 4.1 logs say this:
I have a feeling I'm just missing a permission but I've been over the documentation, install, and everything else I can think of and can't seem to figure out what I'm forgetting.
I've tried:
Please help....?
I'm having problems with JChem version 3.1.0. I have successfully installed (upgraded) JChem 3.1.0, but now the functionality that was working in 3.0.8 is no longer working. As a side, I uninstalled JChem, the j2sdk, and Tomcat 4.1 and reinstalled them when migrating to JChem 3.1.0. I have successfully created a structure table within the JChem schema and inserted into that table, but when I try to use other functions (jcf_molweight, jcf_formula, etc) I get errors.
The statement:
Quote: |
DECLARE v2 cd_id_array := cd_id_array(NULL); BEGIN v2 := jc_insert('[SeH]c1ccccc1', 'JCHEM.RMS_STRUCTURE', 'JCHEM.JCHEMPROPERTIES', 'true', 'false'); END; |
But this is what happens when I try to go a step farther:
Quote: |
SQL> declare 2 v_out NUMBER; 3 begin 4 v_out := jcf_molweight('[SeH]c1ccccc1'); 5 end; 6 / declare * ERROR at line 1: ORA-29532: Java call terminated by uncaught Java exception: java.lang.RuntimeException: The following exception has been thrown by the servlet: Exception: java.io.IOException: file format not recognized ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 0 ORA-06512: at "JCHEM.JCF_MOLWEIGHT", line 7 ORA-06512: at line 4 |
The Tomcat 4.1 logs say this:
Quote: |
chemaxon.formats.MolFormatException: java.io.IOException: file format not recognized at chemaxon.util.MolHandler.toMolFormatException(MolHandler.java:698) at chemaxon.util.MolHandler.importMol(MolHandler.java:686) at chemaxon.util.MolHandler.setMolecule(MolHandler.java:159) at chemaxon.util.MolHandler.<init>(MolHandler.java:94) at chemaxon.jchem.cartridge.servlets.JChemMisc.getMolProp(JChemMisc.java:319) at chemaxon.jchem.cartridge.servlets.JChemMisc.process(JChemMisc.java:89) at chemaxon.jchem.cartridge.servlets.JChemServletBase.doPost(JChemServletBase.java:232) at javax.servlet.http.HttpServlet.service(HttpServlet.java:716) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) |
I've tried:
Quote: |
call dbms_java.grant_permission, 'JCHEM','SYS:java.net.SocketPermission','localhost','resolve'); call dbms_java.grant_permission('JCHEM','SYS:java.net.SocketPermission','localhost:8080','resolve'); call dbms_java.grant_permission('JCHEM','SYS:java.net.SocketPermission','127.0.0.1:8080','resolve'); grant execute on JCHEM."chemaxon/marvin/modules/CxsmilesImport" to JCHEM |