Documentation for installing license files issued for versions prior to 5.0 can be found here.
The possible ways of installing licenses on a server (web applications e.g. JSP pages, Pipeline Pilot):
CHEMAXON_LICENSE_URL
environment variable (help on setting environment variables)chemaxon.license.url
Java system property;
".default
" is given.-Dchemaxon.license.url="C:\ChemAxon\license2009.cxl;C:\ChemAxon\license2010.cxl;default"
.chemaxon
(Unix) or
chemaxon
(Windows) sub-directory under the
home directory of the user who started JChem Server. The following locations are accepted:
(.)chemaxon/license.cxl
(the license file name is fix)(.)chemaxon/licenses/*.cxl
(from version 5.3.2 only - the license file can have arbitrary name, the extension is fix)license
shell script (Unix) or license.bat
batch file (Windows). license -h
for the list of available options.
chemaxon.license.LicenseManager.setLicenseFile(String path)
If the licenses are installed later, when a web application is already running, it is not necessary to restart the web server (e.g. Tomcat), the License Manager will automatically and repeatedly check if a license file was installed in the meanwhile.
Example:
<script LANGUAGE="JavaScript1.1" SRC="../../../marvin.js"></script> <script LANGUAGE="JavaScript1.1"> <!-- msketch_begin("../../..", 540, 480); // arguments: codebase, width, height msketch_param("licenseFile", "https://www.yourserver.com/chemaxon/license.cxl"); msketch_end(); //--> </script>
Restrictions:
Example:
<resources> <property name="chemaxon.license.url" value="https://www.yourserver.com/chemaxon/license.cxl"/> </resources>
Restrictions: