Installation of new license

User 4140faeba5

22-11-2011 08:24:03

Hi.


I'm trying to install our new license using the licensmanager.


When I point to the new license and click install, it looks ok.


But when I then view the installed license, it is empty.


I'm using Marvin 5.4


 


Am I missing something ?


 


Regards,


Micke

ChemAxon e274e1bada

22-11-2011 14:19:11

Hi,


I tried to reproduce the issue with Marvin 5.4, but I could install it succesfully.


Please check if the license.cxl file is exist in the user's home directory. The installation process put the license file there as license.cxl
If you can find it there, please check that the license.cxl file is the same as your original license file.


Please inform me about the result.


Regards, Edvard

User 4140faeba5

22-11-2011 14:28:57

Hi.


Using the licensmanager, pushing the install button creates the license.cxl file in the chemaxon subdir in the users home directory.


Closing and re-launching the licensemanager displays no installed licenses, despite the fact that it points to the correct default license file.




 


The contents of the license.cxl file in the chemaxon subdir matches the original


Regards,


Micke

ChemAxon e274e1bada

22-11-2011 15:08:51

Hi,


Is the users are the same on boths starting of License Manager? The different shells or sudo might also mean problem.
Based on your description everything seems to be correct, the License Manager and other tools of ChemAxon should work with the user's environment who has the license file in the home directory.


I suggest you an alternative way to point to the license file which independent from users.
Please try setting an evironment variable for the license file. Please see the documentation: http://www.chemaxon.com/marvin/help/licensedoc/installToServer.html


Please let me know about the results.


Regards, Edvar

User 4140faeba5

22-11-2011 15:16:39

Hi.


I have that also


"C:\Users\micke>echo %CHEMAXON_LICENSE_URL%
C:\Program Files\ChemAxon\JChem\cartridge\licenses\license.cxl

C:\Users\micke>"


 


Regards,


Micke

ChemAxon e274e1bada

22-11-2011 16:32:24

Hi Micke,


I could reproduced the issue with the described settings (environment variable + license file in the user's home). This configuration causes the problem, because the system reads the environment variable first, and doesn't continue finding licenses if it has found a valid license file there.
It may be a bug, but I need to collect more information from the documentations and I will fix them if it is needed.


In Marvin 5.4 you can set more then one license file, but you can perform it on just one way. (You can use just one of the environment variable, Java system variable, or default place-user's home solutions.)
I recommend to forget the default way (user's home directory) in case of server side applications, and set all using license file's paths in the envireonment variable separated by ;
I hope this can help


Regards,
Edvard

User 4140faeba5

22-11-2011 18:23:55

Hi Edvard.


Removing the license.cxl from the user home dir did not improve the result.


I tried this as the administrator account, and the result is the same. I can calculate some things, bu tnot name or for example logp


C:\Users\Administrator>cd\

C:\>cd "Program Files"

C:\Program Files>cd ChemAxon

C:\Program Files\ChemAxon>cd MarvinBeans

C:\Program Files\ChemAxon\MarvinBeans>cd bin

C:\Program Files\ChemAxon\MarvinBeans\bin>cxcalc 1.mol mass
id      Mass
1       135.1383
C:\Program Files\ChemAxon\MarvinBeans\bin>cxcalc 1.mol formula
id      Formula
1       C8H6FN
C:\Program Files\ChemAxon\MarvinBeans\bin>cxcalc 1.mol name
Exception in thread "main" java.lang.NullPointerException
        at chemaxon.marvin.plugin.CalculatorPluginOutput.getHeader(Unknown Sourc
e)
        at chemaxon.marvin.Calculator.initOutput(Unknown Source)
        at chemaxon.marvin.Calculator.consume(Unknown Source)
        at chemaxon.marvin.Calculator.run(Unknown Source)
        at chemaxon.marvin.Calculator.run(Unknown Source)
        at chemaxon.marvin.Calculator.main(Unknown Source)
C:\Program Files\ChemAxon\MarvinBeans\bin>cxcalc 1.mol logp
Error at molecule: 1 ID = 1
chemaxon.license.LicenseException: No license file found.
Product name: Partitioning Plugin Group
License path:
Please contact sales _at_ chemaxon.com to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: http://www.chemaxon.com/acpack_conditions.html />chemaxon.license.LicenseException: No license file found.
Product name: Partitioning Plugin Group
License path:
Please contact sales _at_ chemaxon.com to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: http://www.chemaxon.com/acpack_conditions.html />        at chemaxon.license.LicenseHandler.checkLicense(Unknown Source)
        at chemaxon.marvin.plugin.CalculatorPlugin.checkLicense(Unknown Source)
        at chemaxon.marvin.calculations.logPPlugin.run(Unknown Source)
        at chemaxon.marvin.plugin.concurrent.PluginWorkUnit.call(Unknown Source)

        at chemaxon.util.concurrent.marvin.CompositeWorkUnit.call(Unknown Source
)
        at chemaxon.util.concurrent.processors.InputOrderedWorkUnitProcessor.pro
cess(Unknown Source)
        at chemaxon.util.concurrent.processors.InputOrderedWorkUnitProcessor.pro
cessInput(Unknown Source)
        at chemaxon.util.concurrent.processors.WorkUnitWorker.work0(Unknown Sour
ce)
        at chemaxon.util.concurrent.processors.WorkUnitWorker.work(Unknown Sourc
e)
        at chemaxon.util.concurrent.worker.Worker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at chemaxon.util.concurrent.worker.Worker.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
id      logP


 


Regards,


Micke

User 4140faeba5

22-11-2011 18:32:03

Hi Edvard.


Checking the licensemanager again, it says "Invalid" on the status column for every Software, so I think there is something wrong with the license file.



Regards,


Micke

User 4140faeba5

22-11-2011 20:24:28

Hi Edvard.


I got it working by removing the environment
variable that points to the license file, ran the license manager, then re-added
the variable.


That got it working.


 


Regards,


Micke

ChemAxon e274e1bada

23-11-2011 09:55:12

Hi Micke,


I'm glad to hear that your problem has been solved.
I will improve the documentation to make the license installation paths more clear.


Regards,
Edvard