To install and configure License Server bundled with Apache Tomcat
- Install JDK:
- Download and install JDK or JRE 6 or later.
- Create an environment variable
JAVA_HOME
and assign it to JDK installation home (for example,c:/Program Files/Java/jdk1.6.0_03
or/usr/local/java/jdk
):- To define
JAVA_HOME
environment variable in Windows XP:- Select Start | Settings | Control Panel | System | Advanced | Environment Variables.
- In User environment variables for <user name> area, click Create.
- In the Variable name field in the New System Variable dialog box, enter
JAVA_HOME
. - In the Variable value field, enter the path to JDK installation home. Make sure to use forward slashes
/
when specifying the path! - Click OK.
- To define
- To define
JAVA_HOME
environment variable in UNIX/Linux, executeenv JAVA_HOME=path
command wherepath
should reference JDK installation home.
- To define
Note: if JRE is used instead of JDK, the environment variable should be named JRE_HOME
- Start bundled Apache Tomcat.
To start Apache Tomcat distribution bundled with License Server and deploylicenseServer.war
package, execute one of the following scripts:<Tomcat root>\bin\startup.bat
(Windows).<Tomcat root>/bin/startup.sh
(UNIX/Linux/MacOS).
License Server will start listening on port 8080 withlicenseServer
path prefix.
- Start License Server by typing
http://<host-name>:8080/licenseServer
in the address bar of your web browser.
Installing JetBrains License Server as Windows service.
The easiest way to install Apache Tomcat as windows service will be downloading and installing "32-bit/64-bit Windows Service Installer" distribution from Apache website and then deploying in installed Tomcat instance standalone WAR distribution of JetBrains License Server application.
http://tomcat.apache.org/download-60.cgi
or
http://tomcat.apache.org/download-70.cgi
To deploy License Server standalone WAR file in Apache Tomcat
- Сopy
licenseServer.war
from<delivery package>/apache-tomcat-<version>/webapps/
into<Tomcat root>/webapps
subdirectory. - Restart Apache Tomcat.
- Start License Server by typing
http://<host-name>:<port-number>/licenseServer
in the address bar of your web browser. - Proceed with setting up your License Server.
Tip For either License Server distribution, you can optionally do any of the following: