User 325f2762fd
14-09-2008 12:17:33
We have upgraded our jchem server from 5.1 to 5.1.1 and now we are getting the following error:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-29532: Java call terminated by uncaught Java exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: No valid license for JChem Cartridge
ORA-06512: at "JCHEM.JCHEM_CLOB_PKG", line 73
ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 362
ORA-06512: at line 1
The license file license.cxl exists in ../cartridge/license directory and the path is also defined in ../cartridge/conf/jcart.properties. We have received a new license file for Tautomer evaluation. We have tried with previous license and with new license but both does not work. This is fine in our development environment so some setup we not doing correctly.
What could be cause of this error? We have tried to do a fresh install of jchem cartridge but still getting the same error. There are no issue with building the jchem indexes but the error seems to appear on any jchem operator search.
select * from library_template where jc_compare(core_structures,'<input_smiles>','t:e')=1
User 325f2762fd
14-09-2008 12:22:04
Our environment
JCHEM_CORE_PKG.GETENVIRONMENT()
-----------------------------------------------------------------------
Oracle environment:
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
JChem Server environment:
Java VM vendor: Sun Microsystems Inc.
Java version: 1.6.0_06
Java VM version: 10.0-b22
JChem version: 5.1.1
JDBC driver version: 10.2.0.3.0
User 325f2762fd
14-09-2008 14:39:03
I have downgraded to Jchem 5.1.0 and there is no problem with the license.
Looks like there is an issue with the latest Jchem release 5.1.1 or the error message we are getting may be misleading. Is there any change in license architecture with latest release?
I am still not sure how I get it working in our development environment with Jchem release 5.1.1 and we have tested the bug fix in jchem 5.1 (Standardizer threw NullPointerException in some cases when "clearstereo" was performed) and we want promote the fix in our UAT and production environment.
Please advice
User 325f2762fd
14-09-2008 14:45:53
More Info
Server is displaying the following error on the console:
---------------------------------------------------------------
[root@UK-ABI-SCCDDB03 init.d]# + /home/oracle/jdk1.6.0_06/bin/java -server -Xmx7
00m -Djava.util.logging.config.class=chemaxon.jchem.cartridge.util.LoggingConfig
urator -Dchemaxon.jchem.cartridge.config.file=conf/jcart.properties -Djava.awt.h
eadless=true -classpath ./../lib/jchem.jar:/u01/app/oracle/102/jdbc/lib/ojdbc14.
jar: chemaxon.jchem.cartridge.rmi.impl.AdminImpl --no-pwprompt start
INFO: Listening on network interface 0.0.0.0/0.0.0.0 at port 1098...
INFO: Testing connection=oracle.jdbc.driver.LogicalConnection@63b0bdc8
SEVERE: No valid license for JChem Cartridge
java.lang.RuntimeException: No valid license for JChem Cartridge
at chemaxon.jchem.cartridge.servlets.search.QueryHandlerCreator.checkLic
ense(QueryHandlerCreator.java:290)
at chemaxon.jchem.cartridge.servlets.search.QueryHandlerCreator.create(Q
ueryHandlerCreator.java:60)
at chemaxon.jchem.cartridge.rmi.impl.JchemSearchImpl.searchReturnSearchI
d(JchemSearchImpl.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
35)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspor
t.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
at java.lang.Thread.run(Thread.java:619)
ChemAxon aa7c50abf8
14-09-2008 17:47:52
I have been unable to reproduce this problem with various setups which I could think of.
Please, could you double-check the directory names? For example, aren't you using the default directory for licenses? If you are, there must be an 's' at the end of the directory name: licenses .
You may also try to specify the full (absolute) path name to the licenses directory in your conf/jcart.properties.
If the above doesn't help, please, could send me your license file(s) by e-mail?
Thanks
Peter