User 78f382e441
14-03-2012 08:42:48
Dear Support team
One of our customers is having difficulty with JChem. They are using JChem 5.2.0.6 on UNIX (Red
Hat Enterprise Linux Server release 5.6 (Tikanga) 64 bit).
They reported that they see the following error when trying to use the JChem cartridge:
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
I have checked and can confirm:
1) The license is included in the correct place (the licenses directory)
2) The license is valid (I have tested this on a windows machien in our own tst systems and it does not show the same problem)
3) The correct license.cxl file is the only file in the licnses directory
They were previously using an old (now expired) license file, and have recently updated to the new file, and so I wondered if the JChem restart had not been performed following file replacement (so the JChem cartridge would still attempt to use cached informaiton prehaps?). I therefore asked the user to stop and restart their Jchem server, but when they try to stop they get the following output:
[jchem@hendrix
cartridge]$ ./server.sh stop
+
/usr/java/jdk1.6.0_20/bin/java
-Djava.util.logging.config.class=chemaxon.jchem.cartridge.util.LoggingConfigurator
-Dchemaxon.jchem.cartridge.config.file=conf/jcart.properties
-Djava.awt.headless=true -classpath ./../lib/jchem.jar
-XX:-OmitStackTraceInFastThrow chemaxon.jchem.cartridge.server.Bootstrapper
stop
INFO: Server control
process started
INFO: Using
classpath: /export/home01/jchem/ChemAxon/JChem/lib/jchem.jar:
INFO: Server process
stop-ed.
INFO: Connecting to
hendrix.am.lilly.com:1099
java.rmi.ServerException:
RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Could not initialize class
java.net.NetworkInterface
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown
Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
at chemaxon.jchem.cartridge.rmi.impl.AdminImpl_Stub.execute(Unknown Source)
at chemaxon.jchem.cartridge.rmi.impl.AdminImpl.main(AdminImpl.java:356)
Caused by:
java.rmi.RemoteException: Could not initialize class java.net.NetworkInterface
at
chemaxon.jchem.cartridge.rmi.impl.RmiImplUtil.handleError(RmiImplUtil.java:50)
at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.execute(AdminImpl.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown
Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
SEVERE: Server
process exited with code: 1
Does this indicate that the server process has not correctly stopped?
Do you have any thoughts as to why the correct license file is not recognised by the system?
Many thanks for any assistance you can offer.
Karen