You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/06/09 03:56:09 UTC
cvs commit: jakarta-tomcat/src/etc prof-server.xml server-main.xml
costin 01/06/08 18:56:09
Added: src/etc prof-server.xml
Removed: src/etc server-main.xml
Log:
Ops, wrong name for the profile-based main config.
Revision Changes Path
1.1 jakarta-tomcat/src/etc/prof-server.xml
Index: prof-server.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Example of "main" server configuration, to be used with context
profiles.
We use only the auto-config modules and a minimal set of global
interceptors. Most interceptors are local to each context, allowing
maximum configuration for each group of applications.
-->
<Server>
<!-- You can add a "home" attribute to represent the "base" for
all relative paths. If none is set, the TOMCAT_HOME property
will be used, and if not set "." will be used.
webapps/, work/ and log/ will be relative to this ( unless
set explicitely to absolute paths ).
-->
<ContextManager debug="0" workDir="work" >
<!-- ==================== Global modules ==================== -->
<LogSetter name="tc_log" timestamps="true"
verbosityLevel="INFORMATION" />
<LogEvents enabled="false" />
<ProfileLoader config="conf/profile.xml" debug="10" />
<!-- Backward compat: read the Context declarations from server.xml-->
<ContextXmlReader config="conf/server.xml" />
<!-- Separated Context -->
<ContextXmlReader config="conf/apps.xml" />
<AutoDeploy source="webapps" target="webapps" />
<AutoWebApp dir="webapps" host="DEFAULT" />
<PolicyLoader securityManagerClass="java.lang.SecurityManager"
policyFile="conf/tomcat.policy" />
<SimpleMapper1 debug="0" />
<!-- For per/context modules, see profiles.xml
The "default" profile will be used for all apps not requiring
a specific set of modules
-->
<!-- ==================== Connectors ==================== -->
<!-- new http adapter. Attributes:
secure - use SSL ( https )
keystore, keypass - certs for SSL
port -->
<Http10Interceptor port="8080"
secure="false"
maxThreads="100"
maxSpareThreads="50"
minSpareThreads="10" />
<!--
Uncomment this for SSL support.
You _need_ to set up a server certificate if you want this
to work, and you need JSSE.
1. Add JSSE jars to CLASSPATH
2. Edit java.home/jre/lib/security/java.security
Add:
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
3. Do: keytool -genkey -alias tomcat -keyalg RSA
RSA is essential to work with Netscape and IIS.
Use "changeit" as password. ( or add keypass attribute )
You don't need to sign the certificate.
You can set parameter keystore and keypass if you want
to change the default ( user.home/.keystore with changeit )
-->
<!--
<RequestInterceptor
className="org.apache.tomcat.modules.server.Http10Interceptor"
port="8443"
secure="true" />
-->
<!--
JNI connector, make sure that you update the native_lib
Parameter to point to your jni_connect.dll.
-->
<!--
<RequestInterceptor
className="org.apache.tomcat.modules.server.JNIConnectionHandler"
nativeLibrary="D:\tomcat\bin\i386\jni_connect.dll" />
-->
<!-- Apache AJP12 support. This is also used to shut down tomcat.
Parameter "address" defines network interface this Interceptor
"binds" to. Delete it if you want to "bind" to all interfaces.
-->
<RequestInterceptor
className="org.apache.tomcat.modules.server.Ajp12Interceptor"
address="127.0.0.1"
port="8007" />
<!-- Apache AJP13 support (mod_jk)
Parameter "address" defines network interface this Interceptor
"binds" to. Delete it if you want to "bind" to all interfaces.
-->
<RequestInterceptor
className="org.apache.tomcat.modules.server.Ajp13Interceptor"
address="127.0.0.1"
port="8009" />
<!--
Context definitions can be placed here ( not recommended ) or
in separate files. The ContextXmlReader will read all context
definitions ( you can customize the "base" filename ).
The default is conf/apps-[name].xml.
See conf/apps-examples.xml and conf/apps-admin.xml
-->
</ContextManager>
</Server>