Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For confidential or other support please email.
The time now is Thu Jan 08, 2009 12:49 pm
 <b>Register</b> (required to post and download)Register (required to post and download)
 Username:    Password:   Remember login       
 FAQFAQ   SearchSearch   DigestsDigests 
cannot start jchem cartridge server
To watch this topic for replies  Register (enables digests) or give email address:
Reply to topic    Home -> Forums -> Support -> Storage & search: JChem Base /Cartridge -> cannot start jchem cartridge server

Display posts from previous:        View previous topic :: View next topic    
Author Message
alexsign
Joined: 03 Jul 2008
Posts: 4


View user's profile



Back to top
Post subject: cannot start jchem cartridge server
Link to postPosted: Wed Jul 09, 2008 7:22 pm  Reply with quote

I'm setting everything by using instructions in http://www.chemaxon.com/jchem/doc/admin/cartridge.html#readmefirst, but on the step: "Starting JChem Server" getting following error:

$ 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

please help,

Alex
pkovacs
Joined: 23 Jul 2004
Posts: 903


View user's profile

Visit poster's website

Back to top
Post subject:
Link to postPosted: Thu Jul 10, 2008 9:27 am  Reply with quote

Alex,

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.

Peter
alexsign
Joined: 03 Jul 2008
Posts: 4


View user's profile



Back to top
Post subject: still cannot start jchem cartridge server
Link to postPosted: Fri Jul 11, 2008 6:30 pm  Reply with quote

After I changed location of license file I tried to start the server, but get the same error.

Alex
pkovacs
Joined: 23 Jul 2004
Posts: 903


View user's profile

Visit poster's website

Back to top
Post subject:
Link to postPosted: Fri Jul 11, 2008 8:48 pm  Reply with quote

Alex,

Have you actually moved the license file to the new location as suggested? Is there anything left in the licenses directory?

Thanks
Peter
alexsign
Joined: 03 Jul 2008
Posts: 4


View user's profile



Back to top
Post subject:
Link to postPosted: Mon Jul 14, 2008 6:22 pm  Reply with quote

thanks Peter,

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

View user's profile

Visit poster's website

Back to top
Post subject:
Link to postPosted: Tue Jul 15, 2008 11:15 am  Reply with quote

Hi Alex,

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.

Related topic:
http://www.chemaxon.com/forum/ftopic3913.html

Regards, Edvard
alexsign
Joined: 03 Jul 2008
Posts: 4


View user's profile



Back to top
Post subject:
Link to postPosted: Tue Jul 15, 2008 8:58 pm  Reply with quote

it works now, thank you,
pkovacs
Joined: 23 Jul 2004
Posts: 903


View user's profile

Visit poster's website

Back to top
Post subject:
Link to postPosted: Wed Jul 30, 2008 10:49 am  Reply with quote

JChem 5.0.7 has been released with a fix for the NullPointerException problem.
Display posts from previous:   
Reply to topic    Home -> Forums -> Storage & search: JChem Base /Cartridge -> cannot start jchem cartridge server All times are GMT + 1 Hour
Page 1 of 1
To watch this topic for replies   Register (enables digests) or give email address  
Jump to:  
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