Error when restarting the JChem cartridge

User 4ad39ca939

14-12-2010 13:37:10

One of our members noticed that the JChem
cartridge wasn’t running and tried to do a stop/start however he is receiving an error
that suggests that the cart.properties file cannot be found, however towards
the end of the error it specifies “-rw-r--r-- 
1 jchem users 2319 Oct 20 11:15 jcart.properties“ which suggests that it
has been found.


 


Please see below for the contents of the error:


Last login: Mon Dec 13 08:40:34 2010 from (username removed)

[jchem@axel2 ~]$ ps -ef | grep jchem

root      2479  8605  0 09:24
?        00:00:00 sshd: jchem [priv]

jchem     2795  2479  0 09:25
?        00:00:00 sshd: jchem@pts/0

jchem     2806  2795  0 09:25
pts/0    00:00:00 -bash

jchem     3957  2806  0 09:25
pts/0    00:00:00 ps -ef

jchem     3958  2806  0 09:25
pts/0    00:00:00 grep jchem

[jchem@axel2 ~]$

[jchem@axel2 ~]$ /home/users/jchem/ChemAxon/JChem/cartridge/server.sh stop

+ /usr/java/jre1.6.0_21/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
/home/users/jchem/ChemAxon/JChem/cartridge/../lib/jchem.jar
-XX:-OmitStackTraceInFastThrow chemaxon.jchem.cartridge.server.Bootstrapper
stop

java.lang.IllegalArgumentException: Config file cannot be found:
conf/jcart.properties

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getPropsFileName(JChemCartProperties.java:60)

        at chemaxon.jchem.cartridge.util.JChemCartProperties.<init>(JChemCartProperties.java:45)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getInstance(JChemCartProperties.java:37)

        at
chemaxon.jchem.cartridge.util.LoggingConfigurator.readLoggingConfigFile(LoggingConfigurator.java:39)

        at
chemaxon.jchem.cartridge.util.LoggingConfigurator.<init>(LoggingConfigurator.java:26)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

        at
java.lang.reflect.Constructor.newInstance(Unknown Source)

        at
java.lang.Class.newInstance0(Unknown Source)

        at java.lang.Class.newInstance(Unknown
Source)

        at
java.util.logging.LogManager.readConfiguration(Unknown Source)

        at
java.util.logging.LogManager$2.run(Unknown Source)

        at
java.security.AccessController.doPrivileged(Native Method)

        at java.util.logging.LogManager.readPrimordialConfiguration(Unknown
Source)

        at
java.util.logging.LogManager.getLogManager(Unknown Source)

        at
java.util.logging.Logger.<init>(Unknown Source)

        at
java.util.logging.LogManager$RootLogger.<init>(Unknown Source)

        at
java.util.logging.LogManager$RootLogger.<init>(Unknown Source)

        at
java.util.logging.LogManager$1.run(Unknown Source)

        at
java.security.AccessController.doPrivileged(Native Method)

        at java.util.logging.LogManager.<clinit>(Unknown
Source)

        at
java.util.logging.Logger.getLogger(Unknown Source)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.<clinit>(Bootstrapper.java:28)

Logging configuration class
"chemaxon.jchem.cartridge.util.LoggingConfigurator" failed

java.lang.RuntimeException: java.lang.IllegalArgumentException: Config file
cannot be found: conf/jcart.properties

java.lang.IllegalArgumentException: Config file cannot be found:
conf/jcart.properties

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getPropsFileName(JChemCartProperties.java:60)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.<init>(JChemCartProperties.java:45)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getInstance(JChemCartProperties.java:37)

        at
chemaxon.jchem.cartridge.util.LoggingConfigurator.readLoggingConfigFile(LoggingConfigurator.java:39)

        at
chemaxon.jchem.cartridge.util.LoggingConfigurator.<init>(LoggingConfigurator.java:26)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

        at
java.lang.reflect.Constructor.newInstance(Unknown Source)

        at
java.lang.Class.newInstance0(Unknown Source)

        at
java.lang.Class.newInstance(Unknown Source)

        at
java.util.logging.LogManager.readConfiguration(Unknown Source)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.initLogConfig(Bootstrapper.java:116)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.main(Bootstrapper.java:394)

Logging configuration class
"chemaxon.jchem.cartridge.util.LoggingConfigurator" failed

java.lang.RuntimeException: java.lang.IllegalArgumentException: Config file
cannot be found: conf/jcart.properties

Dec 13, 2010 9:26:18 AM chemaxon.jchem.cartridge.server.Bootstrapper main

INFO: Server control process started

Dec 13, 2010 9:26:18 AM chemaxon.jchem.cartridge.server.Bootstrapper main

SEVERE: error

java.lang.IllegalArgumentException: Config file cannot be found:
conf/jcart.properties

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getPropsFileName(JChemCartProperties.java:60)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.<init>(JChemCartProperties.java:45)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getInstance(JChemCartProperties.java:37)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.getServerProperty(Bootstrapper.java:106)

        at chemaxon.jchem.cartridge.server.Bootstrapper.serverControl(Bootstrapper.java:158)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.main(Bootstrapper.java:416)

+ set +x

[jchem@axel2 ~]$

[jchem@axel2 ~]$

[jchem@axel2 ~]$ /home/users/jchem/ChemAxon/JChem/cartridge/server.sh start
&

[1] 5598

[jchem@axel2 ~]$ + /usr/java/jre1.6.0_21/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
/home/users/jchem/ChemAxon/JChem/cartridge/../lib/jchem.jar
-XX:-OmitStackTraceInFastThrow chemaxon.jchem.cartridge.server.Bootstrapper
start

java.lang.IllegalArgumentException: Config file cannot be found:
conf/jcart.properties

        at chemaxon.jchem.cartridge.util.JChemCartProperties.getPropsFileName(JChemCartProperties.java:60)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.<init>(JChemCartProperties.java:45)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getInstance(JChemCartProperties.java:37)

        at
chemaxon.jchem.cartridge.util.LoggingConfigurator.readLoggingConfigFile(LoggingConfigurator.java:39)

        at
chemaxon.jchem.cartridge.util.LoggingConfigurator.<init>(LoggingConfigurator.java:26)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

        at java.lang.reflect.Constructor.newInstance(Unknown
Source)

        at
java.lang.Class.newInstance0(Unknown Source)

        at
java.lang.Class.newInstance(Unknown Source)

        at
java.util.logging.LogManager.readConfiguration(Unknown Source)

        at java.util.logging.LogManager$2.run(Unknown
Source)

        at
java.security.AccessController.doPrivileged(Native Method)

        at
java.util.logging.LogManager.readPrimordialConfiguration(Unknown Source)

        at
java.util.logging.LogManager.getLogManager(Unknown Source)

        at
java.util.logging.Logger.<init>(Unknown Source)

        at
java.util.logging.LogManager$RootLogger.<init>(Unknown Source)

        at
java.util.logging.LogManager$RootLogger.<init>(Unknown Source)

        at java.util.logging.LogManager$1.run(Unknown
Source)

        at
java.security.AccessController.doPrivileged(Native Method)

        at
java.util.logging.LogManager.<clinit>(Unknown Source)

        at
java.util.logging.Logger.getLogger(Unknown Source)

        at chemaxon.jchem.cartridge.server.Bootstrapper.<clinit>(Bootstrapper.java:28)

Logging configuration class
"chemaxon.jchem.cartridge.util.LoggingConfigurator" failed

java.lang.RuntimeException: java.lang.IllegalArgumentException: Config file
cannot be found: conf/jcart.properties

java.lang.IllegalArgumentException: Config file cannot be found:
conf/jcart.properties

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getPropsFileName(JChemCartProperties.java:60)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.<init>(JChemCartProperties.java:45)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getInstance(JChemCartProperties.java:37)

        at
chemaxon.jchem.cartridge.util.LoggingConfigurator.readLoggingConfigFile(LoggingConfigurator.java:39)

        at chemaxon.jchem.cartridge.util.LoggingConfigurator.<init>(LoggingConfigurator.java:26)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

        at
java.lang.reflect.Constructor.newInstance(Unknown Source)

        at
java.lang.Class.newInstance0(Unknown Source)

        at
java.lang.Class.newInstance(Unknown Source)

        at
java.util.logging.LogManager.readConfiguration(Unknown Source)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.initLogConfig(Bootstrapper.java:116)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.main(Bootstrapper.java:394)

Logging configuration class
"chemaxon.jchem.cartridge.util.LoggingConfigurator" failed

java.lang.RuntimeException: java.lang.IllegalArgumentException: Config file
cannot be found: conf/jcart.properties

Dec 13, 2010 9:26:53 AM chemaxon.jchem.cartridge.server.Bootstrapper main

INFO: Server control process started

Dec 13, 2010 9:26:53 AM chemaxon.jchem.cartridge.server.Bootstrapper main

SEVERE: error

java.lang.IllegalArgumentException: Config file cannot be found:
conf/jcart.properties

        at chemaxon.jchem.cartridge.util.JChemCartProperties.getPropsFileName(JChemCartProperties.java:60)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.<init>(JChemCartProperties.java:45)

        at
chemaxon.jchem.cartridge.util.JChemCartProperties.getInstance(JChemCartProperties.java:37)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.getServerProperty(Bootstrapper.java:106)

        at
chemaxon.jchem.cartridge.server.Bootstrapper.serverControl(Bootstrapper.java:158)

        at chemaxon.jchem.cartridge.server.Bootstrapper.main(Bootstrapper.java:416)

+ set +x


[1]+ 
Done                   
/home/users/jchem/ChemAxon/JChem/cartridge/server.sh start

[jchem@axel2 ~]$ ls -ltr /home/users/jchem/ChemAxon/JChem/cartridge/logs/

total 4

-rw-r--r--  1 jchem users 383 Nov 22 12:51 jcart2.log

-rw-r--r--  1 jchem users 122 Nov 22 12:51 jcart3.log

-rw-r--r--  1 jchem users 305 Nov 22 12:52 jcart1.log

-rw-r--r--  1 jchem users 122 Nov 22 12:57 jcart0.log

[jchem@axel2 ~]$ ls -ltr /home/users/jchem/ChemAxon/JChem/cartridge/conf/

total 7

-rw-r--r--  1 jchem users 2774 Oct 19  2009 logging.properties

-rw-r--r--  1 jchem users  236 Oct 19  2009
jcart.properties.extra.ia64linux

-rw-r--r--  1 jchem users 2319 Oct 20 11:15 jcart.properties

[jchem@axel2 ~]$

ChemAxon aa7c50abf8

14-12-2010 14:10:14

Liz,


The JChem Cartridge server is supposed to be started from the jchem/cartridge directory (or, not recommended, the chemaxon.jchem.cartridge.config.file Java system property must be changed in the starter script to point to the jcart.properties file).


Peter