Difference between revisions of "Tomcat"

From Blue-IT.org Wiki

(Created page with "= Tomcat6 / Ubuntu 10.04 LTS = == Alter listening port == #> vim /etc/tomcat/server.xml [...] <Connector '''port="8088"''' protocol="HTTP/1.1" connectionTim...")
 
(Administration interface)
Line 22: Line 22:
 
== Administration interface ==
 
== Administration interface ==
 
When running on prot 8088 (! standard is 8080) e.g.:
 
When running on prot 8088 (! standard is 8080) e.g.:
  [http://localhost:'''8088'''/manager/html]
+
  [http://localhost:8088/manager/html]

Revision as of 10:50, 30 July 2011

Tomcat6 / Ubuntu 10.04 LTS

Alter listening port

#> vim /etc/tomcat/server.xml
[...]
   <Connector port="8088" protocol="HTTP/1.1" 
              connectionTimeout="20000" 
              URIEncoding="UTF-8"
              redirectPort="8443" />
[...]

Add administrative user

#> vim /etc/tomcat6/tomcat-users.xml
[...]
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="123-qwe" roles="manager,admin"/>
</tomcat-users>
[...]

Administration interface

When running on prot 8088 (! standard is 8080) e.g.:

[1]