Before Deploying

From JRapid

Jump to: navigation, search

Contents

Tomcat Configuration

If Using Parameters with Slashes

If your application defines services that allow parameters with values that include slashes, such as dates, you must configure Apache Tomcat to allow them. To do this, set theorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH system property to true. You can do this in the CATALINA_OPTS variable on start up. See Apache Tomcat Configuration Reference here: http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html


If you're using Apache HTTP Server in front of your Tomcat or other servlet container you need to enable the use of slashes there too. To do this:

1 - Use AllowEncodedSlashes Directive as explained here http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes .

2 - When using Apache mod_proxy, use the noncanon keyword in the ProxyPass directives as detailed here http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass .


If your Apache HTTP configuration is using Virtual Hosts make sure you use the AllowEncodedSlashes Directive for each virtual host, as there is a bug that causes the directive not to work if used outside.

Hibernate Configuration

Disable Show SQL

Enable database connection pool

See also

Personal tools