How is trace disabled in tomcat?
Environment
- Red Hat Enterprise Linux
- 6.x
- 5.x
- Red Hat Satellite 6
Issue
- How is trace disabled in tomcat?
- A server running tomcat is failing PCI audit due to track and trace being enabled; how are these disabled?
Resolution
-
Add the
allowTrace="False"
attribute to the HTTP connector inserver.xml
. For instance, this has been added to the default connector below:<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" allowTrace="False" />
-
Satellite 6.2 has two connectors for tomcat.
#vi /etc/tomcat/server.xml
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
allowTrace="False" />
<Connector port="8080" protocol="HTTP/1.1"
redirectPort="8443" />
allowTrace="False" />
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments