$ bash server.sh start
+ /usr/lib/jvm/java-6-sun/bin/java -server -Xmx700m -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:/opt/sqldeveloper/jdbc/lib/ojdbc14.jar: chemaxon.jchem.cartridge.rmi.impl.AdminImpl start
java.lang.NullPointerException
at chemaxon.license.LicenseReader.setLicenseFile(LicenseReader.java:157)
at chemaxon.license.LicenseHandler.setLicenseFile(LicenseHandler.java:213)
at chemaxon.jchem.cartridge.rmi.impl.AdminImpl.loadLicenses(AdminImpl.java:83)
at chemaxon.jchem.cartridge.rmi.impl.AdminImpl.startServer(AdminImpl.java:205)
at chemaxon.jchem.cartridge.rmi.impl.AdminImpl.main(AdminImpl.java:315)
+ set +x
This is a bug in JChem 5.0.6. It will be fixed in the next JChem release.
In the meantime, you can use the following workaround:
Move the license file from the licenses sub-directory into ${HOME}/.chemaxon/ directory -- where ${HOME} is the home directory of the user who will start the cartridge server process. (On Windows, it needs to be copied in the "%HOMEDRIVE%%HOMEPATH%\chemaxon" directory of the user who starts the cartridge server process.)
Thank you for reporting this problem and sorry for the inconvenience.
it works. now I can start and install JChem cartridge. However, after successful test I tried to open JChemManager and it got frozen. It looks like its trying to connecting to database, mouse cursor is busy and I cant do anything but close it.
Any ideas?
Alex
ebuki
Joined: 03 Jan 2006
Posts: 138
ChemAxon personnel
Please check the result of 'java -version' command. JChem should only be used with Sun Java. if your default JRE to differ from it please add the installed Sun JRE bin directory to your PATH variable, and it should appear before your current Java.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum