jchem cartridge fails to start after oracle backup.

User bb0bf41f20

04-08-2010 08:21:22

Hello, we have a test environment we were using to evaluate backup strategies on


However after taking a full backup of oracle, the Jchem cartridge service no longer starts. Everything was working prior to the backup and I cant see any recent log files in /cartridge/logs/


When attempting to start the cart server from command line we receive this error.



 c:\Program Files\ChemAxon\JChem\cartridge>"C:\Program Files\Java\jdk1.6.0_18\bin
\java.exe" -server -Xrs -XX:-OmitStackTraceInFastThrow -Dchemaxon.jchem.cartridg
e.config.file="c:\Program Files\ChemAxon\JChem\cartridge\\conf\jcart.properties"
 -Djava.util.logging.config.class=chemaxon.jchem.cartridge.util.LoggingConfigura
tor -Djava.awt.headless=true -classpath "c:\Program Files\ChemAxon\JChem\lib\jch
em.jar"  chemaxon.jchem.cartridge.server.Bootstrapper start
Exception in thread "main" java.lang.NoClassDefFoundError: chemaxon/jchem/cartri
dge/server/Bootstrapper
Caused by: java.lang.ClassNotFoundException: chemaxon.jchem.cartridge.server.Boo
tstrapper
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: chemaxon.jchem.cartridge.server.Bootstrapper.  Pr
ogram will exit.



Jchem version 5.2.6


Oracle version  10.0.2.4 


Thank you, if I have left out any relevant information please let me know

ChemAxon aa7c50abf8

04-08-2010 08:36:26

Hello,


Interesting that this problem appears to be linked to your Oracle backup. Even completely removing Oracle should not affect your ability to restart JChem Server, I'd say.


Please, could you post the output of listing the c:\Program Files\ChemAxon\JChem\lib directory?


Thanks


Peter

User bb0bf41f20

04-08-2010 08:47:40

Hi, thank you for the quick reply.


Here is the dir listing for /lib/



 Directory of c:\Program Files\ChemAxon\JChem\lib


16/07/2010  14:29    <DIR>          .
16/07/2010  14:29    <DIR>          ..
19/10/2009  17:04            24,907 chemaxonregistry-native.jar
19/10/2009  17:04            65,536 chemaxonregistry.dll
19/10/2009  17:04           526,700 inchi-native-linux-1_2r.jar
19/10/2009  17:04           516,299 inchi-native-linux64-1_2r.jar
19/10/2009  17:04           807,018 inchi-native-macosx-1_2r.jar
19/10/2009  17:04           557,743 inchi-native-windows-1_2r.jar
19/10/2009  17:04            73,802 izmcom-natives.jar
19/10/2009  17:04                24 jar.properties
19/10/2009  17:04           176,128 JNBTools.dll
15/07/2010  09:46    <DIR>          jogl_1.1.0-rc2
19/10/2009  17:04           292,583 marvinOLEServer-native.jar
19/10/2009  17:04           623,104 marvinOLEServer.exe



Thanks

ChemAxon aa7c50abf8

04-08-2010 14:03:59

Hi,


A number of jar files (most eminently jchem.jar) are apparently missing. I suggest to compare this listing with the content of the corresponding directory of the original JChem installation package. Depending on exactly what you did (by way of "Oracle backup") that led to the current situation, it may or may not be enough to copy back the missing jars.


Peter