JChem stops instantly after starting process in background

User 44b96ebc9a

21-09-2011 09:00:35

Dear Support team,


One of our customers is currently having problems starting their JChem server. They are using version 5.2.6 on a UNIX system.


The problem is that the service stops instantly when started on a background process, but works fine when started in the foreground.


To start in the background we are using the command...


$ ./server.sh start &


...and for the foreground...


$ ./server.sh start


Initially, when starting in the foreground we were seeing an IOException because the user didn't have write permissions to the .../ChemAxon/JChem/cartridge/logs folder.


Changing the permissions to global write resolved that and the server now runs fine in the foreground.


We suspected the SIGTTOU message related to the process being unable to write to the console from the background thread, so we tried to start the server explicitly in a BASH shell. This didn't work.


Also of note is that JChem was installed as Oracle using sudo. The JChem service has started successfully in the foreground as the Oracle user, and other users, but fails in the background for all users.


Any help you can provide would be very much appreciated.


Thanks,


Claire

ChemAxon aa7c50abf8

21-09-2011 09:11:31

Hi Claire,


What kind of Unix is it?


Thanks


Peter

User 44b96ebc9a

21-09-2011 14:28:47

Hi Peter,


I have received the following information from our customer:


Red Hat Enterprise Linux Server release 5.6 (Tikanga).


Thanks,


Claire

ChemAxon aa7c50abf8

21-09-2011 15:07:03

Thank you, Claire! Based on the apparently esoteric nature of the problem, I expected a more esoteric operating system. :-)


Did they try starting with strace?


strace -ff ./server.sh start >server.log 2>&1 &

I recommend to redirect stdout and stderr anyway, especially if you run something in the background.


Peter

User 44b96ebc9a

22-09-2011 13:08:44

Hi Peter,


I can confirm that the above command was succesful in sending the process to the background.


However, the log file produced is massive - 150MB. Is this expected?


Cheers


Claire

ChemAxon aa7c50abf8

22-09-2011 14:02:15

Hi Claire,


strace is a system level trace utility which logs by default all system calls a program makes. Yes, I expect strace to generate a lot of output which the user's system administrator can use to identify why the program fails to run in the background. (I can have a look as well if needed, but I have to ask around about how to receive files of this size.)


Peter

User 44b96ebc9a

22-09-2011 15:46:37

Hi Peter,


Would it be possible to send you the file over email? It is 13MB zipped.


Cheers


Claire

ChemAxon aa7c50abf8

22-09-2011 16:43:40

Hi Claire,


Would it be possible to send you the file over email? It is 13MB zipped.

I believe an attachment of 13MB should be OK. (I will provide you with upload details, if there are problems with e-mailing it to me.)


I can confirm that the above command was succesful in sending the process to the background.

Was the command successful in the sense that the problem is likely to be captured in the strace output or was it successful in the sense that the process is running in the background now? In the latter case, the diagnostic value of the strace output is somewhat questionable. A different approach to locate the problem might be more efficient.


Thanks,


Peter

User 44b96ebc9a

23-09-2011 07:36:00

Hi Peter,


It was successful in that it pushed the process to the background. I don't know under which circumstances the strace output would capture the problem.


What other approaches should we take to diagnose the problem?


Thanks,


Claire

ChemAxon aa7c50abf8

23-09-2011 10:45:18

Hi Claire,


Could you describe exactly what happens after the user executes:


./server.sh start &

? Is there any output on the console or on the file system? Are there any logs generated? What does the user do after executing this? Do they close the terminal window?


Did they try to redirect stdout or stdin:


./server.sh start >server.log 2>&1 &

?


Initially, when starting in the foreground we were seeing an IOException because the user didn't have write permissions to the .../ChemAxon/JChem/cartridge/logs folder.

Could you describe the broader configuration in which the JChem Cartridge server is run? For example: Does the user who starts the JChem Cartridge server owns the current working directory of the process? Are there any other directories in the configuration which the owner of the process doesn't own?


Are there any unusal(ly strong) security settings the user knows of?


Peter

User 44b96ebc9a

23-09-2011 14:24:29

Hi Peter,


The output after the user runs the server start command is as follows;


$ /oracle/product/jchem/cartridge/server.sh start &
[1]     7680
$
[1] + Stopped(SIGTTOU)         /oracle/product/jchem/cartridge/server.sh
start &
$


JChem cartridge is installed by Oracle user. All the directories coming under it are owned by the Oracle user and Oracle user owns most of the directories on the server.


Our customer has informed us that hey have not run the ./server.sh start >server.log 2>&1 & command but I will ask them to do so.


Thanks


Claire

User 44b96ebc9a

23-09-2011 14:42:57

Hi,


They have now run the command and get the following output:


hendrix$ ./server.sh start >server.log 2>&1 & 
[1]     12673

I have attached the server log; they don't hink so server started because package is throwing an error.


(See attached file: server.log)


Also,


dev856> exec jchem.jchem_core_pkg.init();
BEGIN jchem.jchem_core_pkg.init(); END;


*


ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.Exception: Problem connecting to JChemServer:
rmi://hendrix.am.lilly.com:1099: the Permission (java.net.SocketPermission hendrix.am.lilly.com resolve) has not been granted to OPS$U9X6206. The PL/SQL to grant this is dbms_java.grant_permission( 'OPS$U9X6206', 'SYS:java.net.SocketPermission', 'hendrix.am.lilly.com', 'resolve' )
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 11
ORA-06512: at line 1

ChemAxon aa7c50abf8

23-09-2011 15:01:28

Based on server.log.txt, server.sh start failed this time, because a JCC server is already running.


Based on the client side error message, they also have to get past a networking permission problem in Oracle before they have a chance to reach the JCC server. I suggest to execute the following as SYSTEM:


call dbms_java.grant_permission( 'OPS$U9X6206', 'SYS:java.net.SocketPermission', 'hendrix.am.lilly.com', 'connect,resolve' )

Peter

ChemAxon aa7c50abf8

23-09-2011 15:10:50

a JCC server is already running.

Well, the error message only says that the port at which the starting JCC server is trying to listen is already taken by another process. That other process is not necessarily a JCC server. If it is, it probably must be stopped. If that other process can't/shouldn't be stopped, JCC server needs to be configured to listen at an other port.


I suspect that this is a "digression" from the original problem (maybe a result of the attempts at solving the original one) which might still need to be dealt with.


Peter

ChemAxon aa7c50abf8

26-09-2011 09:34:31

Please, could you execute the following command on the JCC server host and post the output:


$JAVA_HOME/bin/java -version

Thanks


Peter

User 44b96ebc9a

26-09-2011 12:56:36










pkovacs wrote:

Please, could you execute the following command on the JCC server host and post the output:


$JAVA_HOME/bin/java -version

Thanks


Peter



Hi,


Here is the ouput: 


hendrix$ $JAVA_HOME/bin/java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
pxi32devifx-20071025 (SR6b))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32
j9vmxi3223-20071005 (JIT enabled)
J9VM - 20071004_14218_lHdSMR
JIT  - 20070820_1846ifx1_r8
GC   - 200708_10)
JCL  - 20071025
hendrix$


Cheers,


Claire

ChemAxon aa7c50abf8

26-09-2011 13:08:56

Hi Claire,


Does the problem persist with this version of Sun JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html ?


Peter

User 44b96ebc9a

26-09-2011 13:17:06


Also, after trying to stop the server and re-start the follwoing errors were received. Therefore would this suggest that the listening port is being used by another process?


hendrix$ ./server.sh start &
[3]     9431
hendrix$
[3] + Stopped(SIGTTOU)         ./server.sh start &
hendrix$
hendrix$ ./server.sh stop
+ /opt/tivoli/ep/_jvm/jre//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
Can't set level for java.util.logging.ConsoleHandler
INFO: Server control process started
FINE: server control command: stop, jchemHome: null, current working
directory: /oracle/product/jchem/cartridge
FINEST: debug stack
FINER: ObjectName = JMImplementation:type=MBeanServerDelegate
FINER::type=MBeanServerDelegate
FINER: Send create notification of object JMImplementation:type=MBeanServerDelegate
FINER: JMX.mbean.registered JMImplementation:type=MBeanServerDelegate
FINER:.lang:type=ClassLoading
FINER: ObjectName = java.lang:type=ClassLoading
FINER:.lang:type=ClassLoading
FINER: Send create notification of object java.lang:type=ClassLoading
FINER: JMX.mbean.registered java.lang:type=ClassLoading
FINER:.util.logging:type=Logging
FINER: ObjectName = java.util.logging:type=Logging
FINER:.util.logging:type=Logging
FINER: Send create notification of object java.util.logging:type=Logging
FINER: JMX.mbean.registered java.util.logging:type=Logging
FINER:.lang:type=Memory
FINER: ObjectName = java.lang:type=Memory
FINER:.lang:type=Memory
FINER: Send create notification of object java.lang:type=Memory
FINER: JMX.mbean.registered java.lang:type=Memory
FINER:.lang:type=Threading
FINER: ObjectName = java.lang:type=Threading
FINER:.lang:type=Threading
FINER: Send create notification of object java.lang:type=Threading
FINER: JMX.mbean.registered java.lang:type=Threading
FINER:.lang:type=Runtime
FINER: ObjectName = java.lang:type=Runtime
FINER:.lang:type=Runtime
FINER: Send create notification of object java.lang:type=Runtime
FINER: JMX.mbean.registered java.lang:type=Runtime
FINER:.lang:type=OperatingSystem
FINER: ObjectName = java.lang:type=OperatingSystem
FINER:.lang:type=OperatingSystem
FINER: Send create notification of object java.lang:type=OperatingSystem
FINER: JMX.mbean.registered java.lang:type=OperatingSystem
FINER:.lang:type=Compilation
FINER: ObjectName = java.lang:type=Compilation
FINER:.lang:type=Compilation
FINER: Send create notification of object java.lang:type=Compilation
FINER: JMX.mbean.registered java.lang:type=Compilation
FINER:.lang:type=MemoryPool,name=class storage
FINER: ObjectName = java.lang:type=MemoryPool,name=class storage
FINER:.lang:type=MemoryPool,name=class storage
FINER: Send create notification of object java.lang:name=class storage,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=class storage
FINER:.lang:type=MemoryPool,name=JIT code cache
FINER: ObjectName = java.lang:type=MemoryPool,name=JIT code cache
FINER:.lang:type=MemoryPool,name=JIT code cache
FINER: Send create notification of object java.lang:name=JIT code cache,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=JIT code cache
FINER:.lang:type=MemoryPool,name=JIT data cache
FINER: ObjectName = java.lang:type=MemoryPool,name=JIT data cache
FINER:.lang:type=MemoryPool,name=JIT data cache
FINER: Send create notification of object java.lang:name=JIT data cache,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=JIT data cache
FINER:.lang:type=MemoryPool,name=miscellaneous non-heap storage
FINER: ObjectName = java.lang:type=MemoryPool,name=miscellaneous non-heap storage
FINER:.lang:type=MemoryPool,name=miscellaneous non-heap storage
FINER: Send create notification of object java.lang:name=miscellaneous non-heap storage,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=miscellaneous
non-heap storage
FINER:.lang:type=MemoryPool,name=Java heap
FINER: ObjectName = java.lang:type=MemoryPool,name=Java heap
FINER:.lang:type=MemoryPool,name=Java heap
FINER: Send create notification of object java.lang:name=Java heap,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=Java heap
FINER:.lang:type=GarbageCollector,name=J9 GC
FINER: ObjectName = java.lang:type=GarbageCollector,name=J9 GC
FINER:.lang:type=GarbageCollector,name=J9 GC
FINER: Send create notification of object java.lang:name=J9 GC,type=GarbageCollector
FINER: JMX.mbean.registered java.lang:type=GarbageCollector,name=J9 GC
FINER:.lang:type=MemoryManager,name=J9 non-heap manager
FINER: ObjectName = java.lang:type=MemoryManager,name=J9 non-heap manager
FINER:.lang:type=MemoryManager,name=J9 non-heap manager
FINER: Send create notification of object java.lang:name=J9 non-heap manager,type=MemoryManager
FINER: JMX.mbean.registered java.lang:type=MemoryManager,name=J9 non-heap manager
FINER: Building MBeanInfo for oracle.jdbc.driver.OracleDiagnosabilityMBean
FINER: ObjectName =
com.oracle.jdbc:type=diagnosability,name=sun.misc.Launcher$AppClassLoader@74567456
FINER:
name=com.oracle.jdbc:type=diagnosability,name=sun.misc.Launcher$AppClassLoader@74567456
FINER: Send create notification of object com.oracle.jdbc:name=sun.misc.Launcher$AppClassLoader@74567456,type=diagnosability
FINER: JMX.mbean.registered
com.oracle.jdbc:type=diagnosability,name=sun.misc.Launcher$AppClassLoader@74567456
INFO: Using classpath: /oracle/product/jchem/lib/jchem.jar:
FINE: stop-ing server process...
FINEST: Starting /opt/tivoli/ep/_jvm/jre//bin/java -server -Xmx700m -XX:-OmitStackTraceInFastThrow -Dchemaxon.jchem.cartridge.config.file=/oracle/product/jchem/cartridge/conf/jcart.properties

-Djava.util.logging.config.class=chemaxon.jchem.cartridge.util.LoggingConfigurator
 -Djava.awt.headless=true -Dsun.rmi.transport.connectionTimeout=60000000
-Djava.rmi.dgc.leaseValue=60000000 -Dsun.rmi.dgc.ackTimeout=60000000 -Dsun.rmi.dgc.server.gcInterval=60000000 -classpath
/oracle/product/jchem/lib/jchem.jar:
chemaxon.jchem.cartridge.rmi.impl.AdminImpl --no-pwprompt stop ...
FINE: Starting stream reaper for
/opt/tivoli/ep/_jvm/jre//bin/java::System.out...
FINE: Starting stream reaper for
/opt/tivoli/ep/_jvm/jre//bin/java::System.err...
FINEST: Stream reaper for /opt/tivoli/ep/_jvm/jre//bin/java::System.err is started.
INFO: Server process stop-ed.
FINEST: Stream reaper for /opt/tivoli/ep/_jvm/jre//bin/java::System.out is started.
FINEST: Can't set level for java.util.logging.ConsoleHandler Can't set level for java.util.logging.ConsoleHandlerFINEST:


FINEST: INFO: Connecting to hendrix.am.lilly.com:1099

INFO: Connecting to hendrix.am.lilly.com:1099
FINEST: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refusedFINEST:
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)


        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
FINEST:         at java.net.Socket.connect(Socket.java:543)
        at java.net.Socket.connect(Socket.java:493)
        at java.net.Socket.<init>(Socket.java:401)
        at java.net.Socket.<init>(Socket.java:210)
        at
chemaxon.jchem.cartridge.rmi.client.RmiDirectory.locate(RmiDirectory.java:97)
        at
chemaxon.jchem.cartridge.rmi.client.RmiDirectory.locate(RmiDirectory.java:87)
        at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.getAdminServer(AdminImpl.java:306)
        at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.main(AdminImpl.java:353)

        at java.net.Socket.connect(Socket.java:543)
        at java.net.Socket.connect(Socket.java:493)
        at java.net.Socket.<init>(Socket.java:401)
        at java.net.Socket.<init>(Socket.java:210)
        at
chemaxon.jchem.cartridge.rmi.client.RmiDirectory.locate(RmiDirectory.java:97)
        at
chemaxon.jchem.cartridge.rmi.client.RmiDirectory.locate(RmiDirectory.java:87)
        at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.getAdminServer(AdminImpl.java:306)
        at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.main(AdminImpl.java:353)
FINEST: Stream reaper for /opt/tivoli/ep/_jvm/jre//bin/java::System.out is finished.
FINEST: Stream reaper for /opt/tivoli/ep/_jvm/jre//bin/java::System.err is finished.


SEVERE: Server process exited with code: 1


+ set +x
hendrix$ 
hendrix$ ./server.sh start &
[3]     9431
hendrix$
[3] + Stopped(SIGTTOU)         ./server.sh start &
hendrix$
hendrix$ ./server.sh stop
+ /opt/tivoli/ep/_jvm/jre//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
Can't set level for java.util.logging.ConsoleHandler
INFO: Server control process started
FINE: server control command: stop, jchemHome: null, current working
directory: /oracle/product/jchem/cartridge
FINEST: debug stack
FINER: ObjectName = JMImplementation:type=MBeanServerDelegate
FINER: name=JMImplementation:type=MBeanServerDelegate
FINER: Send create notification of object JMImplementation:type=MBeanServerDelegate
FINER: JMX.mbean.registered JMImplementation:type=MBeanServerDelegate
FINER: name=java.lang:type=ClassLoading
FINER: ObjectName = java.lang:type=ClassLoading
FINER: name=java.lang:type=ClassLoading
FINER: Send create notification of object java.lang:type=ClassLoading
FINER: JMX.mbean.registered java.lang:type=ClassLoading
FINER: name=java.util.logging:type=Logging
FINER: ObjectName = java.util.logging:type=Logging
FINER: name=java.util.logging:type=Logging
FINER: Send create notification of object java.util.logging:type=Logging
FINER: JMX.mbean.registered java.util.logging:type=Logging
FINER: name=java.lang:type=Memory
FINER: ObjectName = java.lang:type=Memory
FINER: name=java.lang:type=Memory
FINER: Send create notification of object java.lang:type=Memory
FINER: JMX.mbean.registered java.lang:type=Memory
FINER: name=java.lang:type=Threading
FINER: ObjectName = java.lang:type=Threading
FINER: name=java.lang:type=Threading
FINER: Send create notification of object java.lang:type=Threading
FINER: JMX.mbean.registered java.lang:type=Threading
FINER: name=java.lang:type=Runtime
FINER: ObjectName = java.lang:type=Runtime
FINER: name=java.lang:type=Runtime
FINER: Send create notification of object java.lang:type=Runtime
FINER: JMX.mbean.registered java.lang:type=Runtime
FINER: name=java.lang:type=OperatingSystem
FINER: ObjectName = java.lang:type=OperatingSystem
FINER: name=java.lang:type=OperatingSystem
FINER: Send create notification of object java.lang:type=OperatingSystem
FINER: JMX.mbean.registered java.lang:type=OperatingSystem
FINER: name=java.lang:type=Compilation
FINER: ObjectName = java.lang:type=Compilation
FINER: name=java.lang:type=Compilation
FINER: Send create notification of object java.lang:type=Compilation
FINER: JMX.mbean.registered java.lang:type=Compilation
FINER: name=java.lang:type=MemoryPool,name=class storage
FINER: ObjectName = java.lang:type=MemoryPool,name=class storage
FINER: name=java.lang:type=MemoryPool,name=class storage
FINER: Send create notification of object java.lang:name=class storage,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=class storage
FINER: name=java.lang:type=MemoryPool,name=JIT code cache
FINER: ObjectName = java.lang:type=MemoryPool,name=JIT code cache
FINER: name=java.lang:type=MemoryPool,name=JIT code cache
FINER: Send create notification of object java.lang:name=JIT code cache,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=JIT code cache
FINER: name=java.lang:type=MemoryPool,name=JIT data cache
FINER: ObjectName = java.lang:type=MemoryPool,name=JIT data cache
FINER: name=java.lang:type=MemoryPool,name=JIT data cache
FINER: Send create notification of object java.lang:name=JIT data cache,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=JIT data cache
FINER: name=java.lang:type=MemoryPool,name=miscellaneous non-heap storage
FINER: ObjectName = java.lang:type=MemoryPool,name=miscellaneous non-heap storage
FINER: name=java.lang:type=MemoryPool,name=miscellaneous non-heap storage
FINER: Send create notification of object java.lang:name=miscellaneous non-heap storage,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=miscellaneous
non-heap storage
FINER: name=java.lang:type=MemoryPool,name=Java heap
FINER: ObjectName = java.lang:type=MemoryPool,name=Java heap
FINER: name=java.lang:type=MemoryPool,name=Java heap
FINER: Send create notification of object java.lang:name=Java heap,type=MemoryPool
FINER: JMX.mbean.registered java.lang:type=MemoryPool,name=Java heap
FINER: name=java.lang:type=GarbageCollector,name=J9 GC
FINER: ObjectName = java.lang:type=GarbageCollector,name=J9 GC
FINER: name=java.lang:type=GarbageCollector,name=J9 GC
FINER: Send create notification of object java.lang:name=J9 GC,type=GarbageCollector
FINER: JMX.mbean.registered java.lang:type=GarbageCollector,name=J9 GC
FINER: name=java.lang:type=MemoryManager,name=J9 non-heap manager
FINER: ObjectName = java.lang:type=MemoryManager,name=J9 non-heap manager
FINER: name=java.lang:type=MemoryManager,name=J9 non-heap manager
FINER: Send create notification of object java.lang:name=J9 non-heap manager,type=MemoryManager
FINER: JMX.mbean.registered java.lang:type=MemoryManager,name=J9 non-heap manager
FINER: Building MBeanInfo for oracle.jdbc.driver.OracleDiagnosabilityMBean
FINER: ObjectName =
com.oracle.jdbc:type=diagnosability,name=sun.misc.Launcher$AppClassLoader@74567456
FINER:
name=com.oracle.jdbc:type=diagnosability,name=sun.misc.Launcher$AppClassLoader@74567456
FINER: Send create notification of object com.oracle.jdbc:name=sun.misc.Launcher$AppClassLoader@74567456,type=diagnosability
FINER: JMX.mbean.registered
com.oracle.jdbc:type=diagnosability,name=sun.misc.Launcher$AppClassLoader@74567456
INFO: Using classpath: /oracle/product/jchem/lib/jchem.jar:
FINE: stop-ing server process...
FINEST: Starting /opt/tivoli/ep/_jvm/jre//bin/java -server -Xmx700m -XX:-OmitStackTraceInFastThrow -Dchemaxon.jchem.cartridge.config.file=/oracle/product/jchem/cartridge/conf/jcart.properties


 -Djava.util.logging.config.class=chemaxon.jchem.cartridge.util.LoggingConfigurator


 -Djava.awt.headless=true -Dsun.rmi.transport.connectionTimeout=60000000


-Djava.rmi.dgc.leaseValue=60000000 -Dsun.rmi.dgc.ackTimeout=60000000 -Dsun.rmi.dgc.server.gcInterval=60000000 -classpath


/oracle/product/jchem/lib/jchem.jar:


chemaxon.jchem.cartridge.rmi.impl.AdminImpl --no-pwprompt stop ...
FINE: Starting stream reaper for
/opt/tivoli/ep/_jvm/jre//bin/java::System.out...
FINE: Starting stream reaper for
/opt/tivoli/ep/_jvm/jre//bin/java::System.err...
FINEST: Stream reaper for /opt/tivoli/ep/_jvm/jre//bin/java::System.err is started.
INFO: Server process stop-ed.
FINEST: Stream reaper for /opt/tivoli/ep/_jvm/jre//bin/java::System.out is started.
FINEST: Can't set level for java.util.logging.ConsoleHandler Can't set level for java.util.logging.ConsoleHandlerFINEST:



FINEST: INFO: Connecting to hendrix.am.lilly.com:1099
INFO: Connecting to hendrix.am.lilly.com:1099
FINEST: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refusedFINEST:
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
FINEST:         at java.net.Socket.connect(Socket.java:543)
        at java.net.Socket.connect(Socket.java:493)
        at java.net.Socket.<init>(Socket.java:401)
        at java.net.Socket.<init>(Socket.java:210)
        at
chemaxon.jchem.cartridge.rmi.client.RmiDirectory.locate(RmiDirectory.java:97)
        at
chemaxon.jchem.cartridge.rmi.client.RmiDirectory.locate(RmiDirectory.java:87)
        at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.getAdminServer(AdminImpl.java:306)
        at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.main(AdminImpl.java:353)
        at java.net.Socket.connect(Socket.java:543)
        at java.net.Socket.connect(Socket.java:493)
        at java.net.Socket.<init>(Socket.java:401)
        at java.net.Socket.<init>(Socket.java:210)
        at
chemaxon.jchem.cartridge.rmi.client.RmiDirectory.locate(RmiDirectory.java:97)
        at
chemaxon.jchem.cartridge.rmi.client.RmiDirectory.locate(RmiDirectory.java:87)
        at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.getAdminServer(AdminImpl.java:306)
        at
chemaxon.jchem.cartridge.rmi.impl.AdminImpl.main(AdminImpl.java:353)
FINEST: Stream reaper for /opt/tivoli/ep/_jvm/jre//bin/java::System.out is finished.
FINEST: Stream reaper for /opt/tivoli/ep/_jvm/jre//bin/java::System.err is finished.
SEVERE: Server process exited with code: 1


+ set +x


hendrix$

ChemAxon aa7c50abf8

26-09-2011 13:30:09

Nobody appears to be listening at port 1099 hendrix.am.lilly.com.


Is this with the Java version I suggested to use in my previous post?


Peter

User 44b96ebc9a

26-09-2011 13:33:25










pkovacs wrote:

Nobody appears to be listening at port 1099 hendrix.am.lilly.com.


Is this with the Java version I suggested to use in my previous post?


Peter



No, sorry. This is with the previous Java version. The last post was posted as I was composing my post.


I will have feedback with the updated Java version as soon as possible.


Cheers


Claire

User 44b96ebc9a

12-10-2011 07:43:08

Hello,


Just to confirm that after updating JDK, our customers were able to successfully configure JChem.


Thank you for your help.


Claire