License via URL (API)

User 7910dcb734

22-05-2013 15:04:05

Hi,


I'm running into a few problems setting up the chemaxon license via the API. 


When I set up a license in a test (licensing using the API), or using the standalone license manager GUI for my machine, the license works fine.


When I set up the license as an enviroment variable pointing directly to a file, the license works fine.


However,  when I set up the license as an environment variable pointing to a URL:


 


<systemProperty>

                           
    <name>chemaxon.license.url</name>

                               
<value>http:// etc </value>

                       
</systemProperty>

or using the API in a WebApplication to point either to a file or a URL:


LicenseManager.setLicenseFile("Filename or URL")

then I get errors that the license is not valid.


Any suggestions? 


Cheers,


Brendan

ChemAxon 9c0afc9aaf

23-05-2013 06:14:54

Hi Brendan,


Does your license have a "Server Use: Allowed" permission ?


This is required if you want to specify a remote URL.


(Please make sure it is not a public web URL of course ...)


However as a local file it should work fine.


If it still looks like bug please 


- let us know the exact JChem version


- send us the license file to support _at_ chemxon.com


- let us know the actual usage (with the actual file path, unedited)


Cheers,


Szilard

User 7910dcb734

23-05-2013 11:23:14

Hi Szliar,


 


It does not have that permission. I wondered about that, but wanted clarification. Thank you for the swift response.


 


Best wishes,


Brendan