jmitchell 2002/11/06 22:59:56 Added: conf/test/tomcat33 apps-test.xml modules.xml server.xml Log: Initial checkin (tomcat 3.3 config files for tests) Revision Changes Path 1.1 jakarta-struts/conf/test/tomcat33/apps-test.xml Index: apps-test.xml =================================================================== <?xml version="1.0" encoding="ISO-8859-1"?> <webapps> <!-- Setting special properties for /examples ( as an example of overriding the defaults ) --> <Context path="/test" docBase="webapps/test" debug="0" reloadable="true" > <LogSetter name="test_log" path="logs/test.log" servletLogger="true"/> </Context> </webapps> 1.1 jakarta-struts/conf/test/tomcat33/modules.xml Index: modules.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <modules> <module name="JNIConnectionHandler" javaClass="org.apache.tomcat.modules.server.JNIConnectionHandler"/> <module name="WorkDirSetup" javaClass="org.apache.tomcat.modules.config.WorkDirSetup"/> <module name="PathSetter" javaClass="org.apache.tomcat.modules.config.PathSetter"/> <module name="ApacheConfig" javaClass="org.apache.tomcat.modules.config.ApacheConfig"/> <module name="JservConfig" javaClass="org.apache.tomcat.modules.config.JservConfig"/> <module name="PolicyLoader" javaClass="org.apache.tomcat.modules.config.PolicyLoader"/> <module name="AutoWebApp" javaClass="org.apache.tomcat.modules.config.AutoWebApp"/> <module name="Http10Interceptor" javaClass="org.apache.tomcat.modules.server.Http10Interceptor"/> <module name="Http10Connector" javaClass="org.apache.tomcat.modules.server.Http10Interceptor"/> <module name="JniConnector" javaClass="org.apache.tomcat.modules.server.JNIConnectionHandler"/> <module name="Ajp12Connector" javaClass="org.apache.tomcat.modules.server.Ajp12Interceptor"/> <module name="Ajp13Connector" javaClass="org.apache.tomcat.modules.server.Ajp13Interceptor"/> <module name="NSConfig" javaClass="org.apache.tomcat.modules.config.NSConfig"/> <module name="IISConfig" javaClass="org.apache.tomcat.modules.config.IISConfig"/> <module name="AutoDeploy" javaClass="org.apache.tomcat.modules.config.AutoDeploy"/> <module name="ServerXmlReader" javaClass="org.apache.tomcat.modules.config.ServerXmlReader"/> <module name="LoaderInterceptor11" javaClass="org.apache.tomcat.modules.config.LoaderInterceptor11"/> <module name="ContextXmlReader" javaClass="org.apache.tomcat.modules.config.ContextXmlReader"/> <module name="LogSetter" javaClass="org.apache.tomcat.modules.config.LogSetter"/> <module name="SimpleSessionStore" javaClass="org.apache.tomcat.modules.session.SimpleSessionStore"/> <module name="SessionIdGenerator" javaClass="org.apache.tomcat.modules.session.SessionIdGenerator"/> <module name="SessionExpirer" javaClass="org.apache.tomcat.modules.session.SessionExpirer"/> <module name="SessionId" javaClass="org.apache.tomcat.modules.session.SessionId"/> <module name="AccountingInterceptor" javaClass="org.apache.tomcat.modules.loggers.AccountingInterceptor"/> <module name="LogEvents" javaClass="org.apache.tomcat.modules.loggers.LogEvents"/> <module name="SimpleRealm" javaClass="org.apache.tomcat.modules.aaa.SimpleRealm"/> <module name="JDBCRealm" javaClass="org.apache.tomcat.modules.aaa.JDBCRealm"/> <module name="CredentialsInterceptor" javaClass="org.apache.tomcat.modules.aaa.CredentialsInterceptor"/> <module name="AccessInterceptor" javaClass="org.apache.tomcat.modules.aaa.AccessInterceptor"/> <module name="AccessLogInterceptor" javaClass="org.apache.tomcat.modules.loggers.AccessLogInterceptor"/> <module name="InvokerInterceptor" javaClass="org.apache.tomcat.modules.generators.InvokerInterceptor"/> <module name="ErrorHandler" javaClass="org.apache.tomcat.modules.generators.ErrorHandler"/> <module name="Jdk12Interceptor" javaClass="org.apache.tomcat.modules.generators.Jdk12Interceptor"/> <module name="StaticInterceptor" javaClass="org.apache.tomcat.modules.generators.StaticInterceptor"/> <module name="ReloadInterceptor" javaClass="org.apache.tomcat.modules.mappers.ReloadInterceptor"/> <module name="DecodeInterceptor" javaClass="org.apache.tomcat.modules.mappers.DecodeInterceptor"/> <module name="SimpleMapper1" javaClass="org.apache.tomcat.modules.mappers.SimpleMapper1"/> <module name="WebXmlReader" javaClass="org.apache.tomcat.facade.WebXmlReader"/> <module name="JspInterceptor" javaClass="org.apache.tomcat.facade.JspInterceptor"/> <module name="Servlet22Interceptor" javaClass="org.apache.tomcat.facade.Servlet22Interceptor"/> <module name="LoadOnStartupInterceptor" javaClass="org.apache.tomcat.facade.LoadOnStartupInterceptor"/> <module name="ProfileLoader" javaClass="org.apache.tomcat.config.ProfileLoader"/> <module name="TagPoolManagerInterceptor" javaClass="org.apache.tomcat.facade.TagPoolManagerInterceptor"/> <module name="TrustedLoader" javaClass="org.apache.tomcat.modules.config.TrustedLoader"/> </modules> 1.1 jakarta-struts/conf/test/tomcat33/server.xml Index: server.xml =================================================================== <?xml version="1.0" encoding="ISO-8859-1"?> <Server> <ContextManager workDir="work" > <!-- ==================== Global modules ==================== --> <LoaderInterceptor11 useApplicationLoader="true" /> <TrustedLoader /> <LogSetter name="tc_log" timestamps="true" verbosityLevel="INFORMATION" /> <LogEvents enabled="false" /> <!-- Backward compat: read the Context declarations from server.xml--> <ContextXmlReader config="conf/server.xml" /> <!-- Separated Context --> <ContextXmlReader config="conf/apps.xml" /> <AutoDeploy source="modules" target="modules" redeploy="true" /> <AutoWebApp dir="modules" host="DEFAULT" trusted="true"/> <AutoDeploy source="webapps" target="webapps" /> <AutoWebApp dir="webapps" host="DEFAULT" /> <PolicyLoader securityManagerClass="java.lang.SecurityManager" policyFile="conf/tomcat.policy" /> <SimpleMapper1 /> <SessionExpirer checkInterval="60" /> <!-- For development you can use randomClass="java.util.Random" --> <SessionIdGenerator randomClass="java.security.SecureRandom" randomFile="/dev/urandom" /> <!-- ========== context processing modules ========== --> <!-- This will be the "default" profile ( all except the "global" modules can be set per context ) --> <LogSetter name="servlet_log" timestamps="true" verbosityLevel = "INFORMATION" path="logs/servlet-${yyyyMMdd}.log" /> <LogSetter name="JASPER_LOG" timestamps="true" path="logs/jasper-${yyyyMMdd}.log" verbosityLevel = "INFORMATION" /> <WebXmlReader validate="true" /> <ErrorHandler showDebugInfo="true" /> <WorkDirSetup cleanWorkDir="false" /> <Jdk12Interceptor /> <!-- Non-standard invoker, for backward compat. ( /servlet/* ) --> <InvokerInterceptor /> <!-- you can add javaCompiler="jikes" --> <JspInterceptor keepGenerated="true" largeFile="false" useJspServlet="false" /> <StaticInterceptor listings="true" useAcceptLanguage="true" useCharset="locale" /> <ReloadInterceptor fullReload="true" /> <SimpleSessionStore maxActiveSessions="-1" /> <AccessInterceptor /> <CredentialsInterceptor /> <LoadOnStartupInterceptor /> <Servlet22Interceptor /> <!-- Request processing --> <DecodeInterceptor /> <!-- If you are running SSL and wish to verify Tomcat sessions against SSL sessions, use checkSSLSessionId="true" Default is checkSSLSessionId="false" --> <SessionId cookiesFirst="true" noCookies="false" /> <!-- Automatic config generation Set noRoot="false" if you wish to have Tomcat try to take control of the external web server's root context. Additonal configuration of the external web server may be required for this to be successful. Note: Configuration files are not written as part of the default startup behvior. Append "jkconf" to the startup command to have Tomcat initialize, write the config files, then exit. This may be done while Tomcat is running. --> <ApacheConfig noRoot="true" /> <IISConfig noRoot="true" /> <NSConfig noRoot="true" /> <!-- ==================== Connectors ==================== --> <!-- new http adapter. Attributes: secure - use SSL ( https ) keystore, keypass - certs for SSL port reportedname - Server name to send back to browser by default report Tomcat Web Server ... set an empty string to avoid sending server header --> <Http10Connector port="8080" secure="false" maxThreads="100" maxSpareThreads="50" minSpareThreads="10" /> <!-- JNI connector. It assumes the library is located in TOMCAT_HOME/bin/native/jni_connect.[dll, nlm, so]. or in LD_LIBRARY_PATH. For different paths set "nativeLibrary" parameter. The JniConnector will be self-enable only if JNI mode is detected. --> <JniConnector /> <!-- Apache AJP12 support. This is also used to shut down tomcat. Parameter "address" defines network interface this Interceptor "binds" to. Add it if you want to "bind" to just "127.0.0.1". address="127.0.0.1" Parameter "tomcatAuthentication", controls if Tomcat honors ( and uses ) auth done in HTTP Server or not, when true Tomcat does not use in any way auth information provided by the HTTP Server. true is the default. tomcatAuthentication="false" --> <Ajp12Connector port="8007" /> <!-- 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>
-- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>