mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-18 05:22:10 +01:00
48 lines
1.6 KiB
Markdown
48 lines
1.6 KiB
Markdown
Tomcat
|
|
------
|
|
|
|
Mercurial uses very large http headers for branch and head informations.
|
|
You have to increase the maxHttpHeaderSize parameter on the connector
|
|
configuration. Open the conf/server.xml and add the parameter to your
|
|
connector e.g.:
|
|
|
|
After changing the configuration you have to restart the tomcat.
|
|
|
|
Source: <http://tomcat.apache.org/tomcat-7.0-doc/config/http.html>
|
|
|
|
- - Note\*\*: If you have problems with big mercurial pushes on
|
|
instances which are newer than tomcat 7.0.55, you have to
|
|
increase/disable the maxSwallowSize (see issue \#691).
|
|
|
|
#### Access Log
|
|
|
|
If you wan\'t like to print the current user in tomcats access log you
|
|
could use a valve like the following:
|
|
|
|
The pattern \*\*%{principal}r\*\* is responsible for logging the
|
|
username to the access log (see issue \#877).
|
|
|
|
GlassFish
|
|
---------
|
|
|
|
To use SCM-Manager 1.6 and above with GlassFish 3 you have to add a
|
|
JVM-Option to the GlassFish configuration to override the jax-rs
|
|
packages. Please execute the following commands.
|
|
|
|
- - Note\*\* Glassfish 3.1.2 and above seems not to work with
|
|
SCM-Manager. Please have a look at
|
|
[QeO-QVX6wmsJ](https://groups.google.com/forum/#!searchin/scmmanager/glassfish/scmmanager/SEbuEU8H-qo/QeO-QVX6wmsJ "wikilink").
|
|
|
|
Restart the GlassFish-Server.
|
|
|
|
Source:
|
|
<http://jersey.java.net/nonav/documentation/latest/glassfish.html>
|
|
|
|
Jetty
|
|
-----
|
|
|
|
If Jetty returns a HTTP \"413 FULL head\" status, you may want to
|
|
further increase the maximum header size. You can configure the limit by
|
|
setting the headerBufferSize for the connector you\'re using in the
|
|
jetty.xml file:
|