THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
... <parent> <groupId>org.apache.geronimo.plugins</groupId> <artifactId>tomcat</artifactId> <version>2.2-SNAPSHOT</version> </parent> <groupId>org.apache.geronimo.configs</groupId> <artifactId>tomcat6</artifactId> <name>Geronimo Plugins, Tomcat :: Tomcat</name> <packaging>car</packaging> <description>Geronimo Tomcat web server integration.</description> <plugin> <groupId>org.apache.geronimo.buildsupport</groupId> <artifactId>car-maven-plugin</artifactId> <configuration> <useMavenDependencies> <value>true</value> <includeVersion>true</includeVersion> </useMavenDependencies> <category>Tomcat</category> <instance> <plugin-artifact> <copy-file relative-to="server" dest-dir="var/catalina">tomcat-base/</copy-file> <config-xml-content> <!-- To disable accesslogging uncomment the following lines <gbean name="TomcatEngine"> <reference name="TomcatValveChain" /> </gbean> <gbean name="AccessLogValve" load="false"></gbean> --> <gbean name="TomcatWebConnector"> <attribute name="host">${ServerHostname}</attribute> <attribute name="port">${HTTPPort + PortOffset}</attribute> <attribute name="redirectPort">${HTTPSPort + PortOffset}</attribute> <attribute name="maxHttpHeaderSize">8192</attribute> <attribute name="maxThreads">150</attribute> <attribute name="minSpareThreads">25</attribute> <attribute name="maxSpareThreads">75</attribute> <attribute name="enableLookups">false</attribute> <attribute name="acceptCount">100</attribute> <attribute name="connectionTimeout">${WebConnectorConTimeout}</attribute> <attribute name="disableUploadTimeout">true</attribute> </gbean> <gbean name="TomcatAJPConnector"> <attribute name="host">${ServerHostname}</attribute> <attribute name="port">${AJPPort + PortOffset}</attribute> <attribute name="redirectPort">${HTTPSPort + PortOffset}</attribute> <attribute name="minSpareThreads">25</attribute> <attribute name="maxSpareThreads">75</attribute> <attribute name="enableLookups">false</attribute> </gbean> <gbean name="TomcatWebSSLConnector"> <attribute name="host">${ServerHostname}</attribute> <attribute name="port">${HTTPSPort + PortOffset}</attribute> <attribute name="maxHttpHeaderSize">8192</attribute> <attribute name="maxThreads">150</attribute> <attribute name="minSpareThreads">25</attribute> <attribute name="maxSpareThreads">75</attribute> <attribute name="enableLookups">false</attribute> <attribute name="acceptCount">100</attribute> <attribute name="disableUploadTimeout">false</attribute> <attribute name="clientAuth">false</attribute> <attribute name="algorithm">Default</attribute> <attribute name="sslProtocol">TLS</attribute> <attribute name="keystoreFile">var/security/keystores/geronimo-default</attribute> <attribute name="keystorePass">secret</attribute> <attribute name="keystoreType">JKS</attribute> </gbean> <gbean name="TomcatHost"> <attribute name="initParams"> name=${ServerHostname} appBase= workDir=work </attribute> </gbean> </config-xml-content> <config-substitution key="HTTPPort">8080</config-substitution> <config-substitution key="AJPPort">8009</config-substitution> <config-substitution key="HTTPSPort">8443</config-substitution> <config-substitution key="ServerHostname">0.0.0.0</config-substitution> <config-substitution key="WebConnectorConTimeout">20000</config-substitution> <config-substitution key="webcontainer">TomcatWebContainer</config-substitution> <config-substitution key="webcontainerName">tomcat6</config-substitution> </plugin-artifact> </instance> </configuration> </plugin> ... |
As you use maven to build plugins, a geronimo-plugins.xml
plugin catalog is automatically maintained in your local maven repository. You can force this to be rebuilt by running
...