|
186.
|
|
|
Changing JVM used
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1143(title)
|
|
187.
|
|
|
By default Tomcat will run preferably with OpenJDK JVMs, then try the Sun JVMs, then try some other JVMs. You can force Tomcat to use a specific JVM by setting JAVA_HOME in <filename>/etc/default/tomcat7</filename>:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1144(para)
|
|
188.
|
|
|
![](/@@/translation-newline)
JAVA_HOME=/usr/lib/jvm/java-6-sun
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
![](/@@/translation-newline)
JAVA_HOME=/usr/lib/jvm/java-6-sun
|
|
Translated by
Yuri Chornoivan
|
|
|
|
Located in
serverguide/C/web-servers.xml:1148(programlisting)
|
|
189.
|
|
|
Declaring users and roles
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1153(title)
|
|
190.
|
|
|
Usernames, passwords and roles (groups) can be defined centrally in a Servlet container. This is done in the <filename>/etc/tomcat7/tomcat-users.xml</filename> file:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1154(para)
|
|
191.
|
|
|
![](/@@/translation-newline)
<role rolename="admin"/> ![](/@@/translation-newline)
<user username="tomcat" password="s3cret" roles="admin"/>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1157(programlisting)
|
|
192.
|
|
|
Using Tomcat standard webapps
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1165(title)
|
|
193.
|
|
|
Tomcat is shipped with webapps that you can install for documentation, administration or demo purposes.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1166(para)
|
|
194.
|
|
|
Tomcat documentation
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1169(title)
|
|
195.
|
|
|
The <application>tomcat7-docs</application> package contains Tomcat documentation, packaged as a webapp that you can access by default at http://yourserver:8080/docs. You can install it by entering the following command in the terminal prompt:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:1170(para)
|