vmassol     01/06/17 11:12:25

  Added:       cactus/conf/sample/conf/test/servlet22/resin12 resin.conf
               cactus/conf/sample/conf/test/servlet22/tomcat32 server.xml
               cactus/conf/sample/conf/test/servlet22/weblogic51
                        weblogic.policy weblogic.properties
               cactus/conf/sample/conf/test/servlet23/resin13 resin.conf
               cactus/conf/sample/conf/test/servlet23/tomcat40 server.xml
               cactus/conf/sample/conf/test/share cactus.properties
                        log_client.properties log_server.properties web.xml
               cactus/conf/sample/conf/test/share/orion14 application.xml
                        default-web-site.xml principals.xml rmi.xml
                        server.xml
               cactus/conf/sample/conf/test/share/resin20 resin.conf
  Removed:     cactus/conf/sample/conf/test cactus.properties
                        log_client.properties log_server.properties web.xml
               cactus/conf/sample/conf/test/orion14 application.xml
                        default-web-site.xml principals.xml rmi.xml
                        server.xml
               cactus/conf/sample/conf/test/resin12 resin.conf
               cactus/conf/sample/conf/test/resin13 resin.conf
               cactus/conf/sample/conf/test/resin20 resin.conf
               cactus/conf/sample/conf/test/tomcat32 server.xml
               cactus/conf/sample/conf/test/tomcat40 server.xml
               cactus/conf/sample/conf/test/weblogic51 weblogic.policy
                        weblogic.properties
  Log:
  improved ant script to deploy servlet engine configurations
  
  Revision  Changes    Path
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/servlet22/resin12/resin.conf
  
  Index: resin.conf
  ===================================================================
  <caucho.com>
  
    <http-server>
  
      <app-dir>.</app-dir>
  
      <http port='8080'/>
  
      <host id=''>
  
        <war-dir id='.'/>
  
      </host>
      
    </http-server>
  
  </caucho.com>
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/servlet22/tomcat32/server.xml
  
  Index: server.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <Server>
  
    <Logger name="tc_log"/>
    <Logger name="servlet_log"/>
    <Logger name="JASPER_LOG"/>
  
    <ContextManager home="@out.tomcat32.dir@" debug="0" workDir="work" 
showDebugInfo="true" >
  
      <ContextInterceptor className="org.apache.tomcat.context.AutoSetup" />
      <ContextInterceptor className="org.apache.tomcat.context.WebXmlReader" />
      <ContextInterceptor className="org.apache.tomcat.context.LoaderInterceptor" />
      <ContextInterceptor className="org.apache.tomcat.context.DefaultCMSetter" />
      <ContextInterceptor className="org.apache.tomcat.context.WorkDirInterceptor" />
      <RequestInterceptor className="org.apache.tomcat.request.SessionInterceptor" 
noCookies="false" />
      <RequestInterceptor className="org.apache.tomcat.request.SimpleMapper1" 
debug="0" />
      <RequestInterceptor className="org.apache.tomcat.request.InvokerInterceptor" 
debug="0" prefix="/servlet/" />
      <RequestInterceptor className="org.apache.tomcat.request.StaticInterceptor" 
debug="0" suppress="false" />
      <RequestInterceptor 
className="org.apache.tomcat.session.StandardSessionInterceptor" />
      <RequestInterceptor className="org.apache.tomcat.request.AccessInterceptor" 
debug="0" />
      <RequestInterceptor className="org.apache.tomcat.request.SimpleRealm" debug="0" 
/>
      <ContextInterceptor 
className="org.apache.tomcat.context.LoadOnStartupInterceptor" />
      <Connector className="org.apache.tomcat.service.PoolTcpConnector">
          <Parameter name="handler" 
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
          <Parameter name="port" value="8080"/>
      </Connector>
      <Connector className="org.apache.tomcat.service.PoolTcpConnector">
          <Parameter name="handler" 
value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
          <Parameter name="port" value="8007"/>
      </Connector>
      <Context path="" docBase="" debug="0" />
  
    </ContextManager>
  </Server>
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/servlet22/weblogic51/weblogic.policy
  
  Index: weblogic.policy
  ===================================================================
  grant {
      permission java.security.AllPermission;
  };
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/servlet22/weblogic51/weblogic.properties
  
  Index: weblogic.properties
  ===================================================================
  
  weblogic.system.listenPort=8080
  
  # Define the test webapp
  [EMAIL PROTECTED]@/test
  
  #-------------------------------------------------------------------------------
  # Properties below are needed to have a functionning servlet engine
  #-------------------------------------------------------------------------------
  
  # No access.log file generated
  weblogic.httpd.enableLogFile=true
  
  # this property need to exist but the password can be anything
  weblogic.password.system=password
  
  # some security stuff
  weblogic.allow.execute.weblogic.servlet=everyone
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/servlet23/resin13/resin.conf
  
  Index: resin.conf
  ===================================================================
  <caucho.com>
  
    <http-server>
  
      <app-dir>.</app-dir>
  
      <http port='8080'/>
  
      <host id=''>
        <war-dir id='.'/>
      </host>
      
    </http-server>
  
  </caucho.com>
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/servlet23/tomcat40/server.xml
  
  Index: server.xml
  ===================================================================
  <Server port="8005" shutdown="SHUTDOWN" debug="0">
  
    <Service name="Tomcat-Standalone">
  
      <Connector className="org.apache.catalina.connector.http.HttpConnector"
                 port="8080" minProcessors="5" maxProcessors="75"
                 acceptCount="10" debug="0"/>
  
      <Engine name="Standalone" defaultHost="localhost" debug="0">
  
        <Realm className="org.apache.catalina.realm.MemoryRealm" />
  
        <Host name="localhost" debug="0" appBase="@out.tomcat40.full.dir@/webapps">
        </Host>
  
      </Engine>
  
    </Service>
  
  </Server>
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/cactus.properties
  
  Index: cactus.properties
  ===================================================================
  # Configuration file for Cactus.
  
  # Each project using Cactus need to have such a file put in the CLASSPATH
  # (Meaning the directory containgin this file should be in the CLASSPATH, not
  # the file itself of course ... :) )
  
  # Defines the URLs that will be used by Cactus to call it's redirectors
  # (Servlet and JSP). You need to specify in these URLs the webapp context
  # that you use for your application. In the example below, the context is
  # "test".
  
  cactus.servletRedirectorURL = http://localhost:8080/test/ServletRedirector
  cactus.jspRedirectorURL = http://localhost:8080/test/JspRedirector
  
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/log_client.properties
  
  Index: log_client.properties
  ===================================================================
  
  # Properties for configuring Log4j
  # This is the configuring for logging on the JUnit side (i.e. the client side)
  
  log4j.appender.cactus = org.apache.log4j.FileAppender
  log4j.appender.cactus.File = cactus_client.log
  log4j.appender.cactus.Append = false
  log4j.appender.cactus.layout = org.apache.log4j.PatternLayout
  log4j.appender.cactus.layout.ConversionPattern = %r [%t] %-5p %c{2} %x - %m %n
  
  log4j.rootCategory = DEBUG, cactus
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/log_server.properties
  
  Index: log_server.properties
  ===================================================================
  
  # Properties for configuring Log4j
  # This is the configuring for logging on the server side
  
  log4j.appender.cactus = org.apache.log4j.FileAppender
  log4j.appender.cactus.File = cactus_server.log
  log4j.appender.cactus.Append = false
  log4j.appender.cactus.layout = org.apache.log4j.PatternLayout
  log4j.appender.cactus.layout.ConversionPattern = %r [%t] %-5p %c{2} %x - %m %n
  
  log4j.rootCategory = DEBUG, cactus
  
  
  1.1                  jakarta-commons/cactus/conf/sample/conf/test/share/web.xml
  
  Index: web.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
      "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>
  
  <web-app>
  
      <servlet>
          <servlet-name>ServletRedirector</servlet-name>
          
<servlet-class>org.apache.commons.cactus.server.ServletTestRedirector</servlet-class>
          <init-param>
            <param-name>param1</param-name>
            <param-value>value1 used for testing</param-value>
          </init-param>
      </servlet>
  
      <servlet>
          <servlet-name>JspRedirector</servlet-name>
          <jsp-file>/test/redirector.jsp</jsp-file>
          <init-param>
            <param-name>param1</param-name>
            <param-value>value1 used for testing</param-value>
          </init-param>
      </servlet>
  
      <servlet-mapping>
          <servlet-name>ServletRedirector</servlet-name>
          <url-pattern>/ServletRedirector</url-pattern>
      </servlet-mapping>
  
      <servlet-mapping>
          <servlet-name>JspRedirector</servlet-name>
          <url-pattern>/JspRedirector</url-pattern>
      </servlet-mapping>
  
  </web-app>
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/orion14/application.xml
  
  Index: application.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 
1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd";>
  
  <orion-application>
  
      <web-module id="test" path="../test.war"/>
  
        <namespace-access>
                <read-access>
                        <namespace-resource root="">
                                <security-role-mapping>
                                        <group name="administrators" />
                                </security-role-mapping>
                        </namespace-resource>
                </read-access>
                <write-access>
                        <namespace-resource root="">
                                <security-role-mapping>
                                        <group name="administrators" />
                                </security-role-mapping>
                        </namespace-resource>
                </write-access>
        </namespace-access>
  
  </orion-application>
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/orion14/default-web-site.xml
  
  Index: default-web-site.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE web-site PUBLIC "Orion Web-site" 
"http://www.orionserver.com/dtds/web-site.dtd";>
  
  <web-site host="[ALL]" port="8080" display-name="Default Orion WebSite">
  
      <!-- The default web-app for this site, bound to the root -->
      <default-web-app application="default" name="test"/>
  
      <web-app application="default" name="test" root="/test" />
  
  </web-site>
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/orion14/principals.xml
  
  Index: principals.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" 
"http://www.orionserver.com/dtds/principals.dtd";>
  
  <principals>
        <groups>
                <group name="administrators">
                        <description>administrators</description>
                        <permission name="administration" />
                        <permission 
name="com.evermind.server.AdministrationPermission" />
                </group>
                <group name="guests">
                        <description>guests</description>
                </group>
                <group name="users">
                        <description>users</description>
                        <permission name="rmi:login" />
                        <permission name="com.evermind.server.rmi.RMIPermission" />
                </group>
        </groups>
        <users>
                <user username="admin" password="password" deactivated="false">
                        <description>The default administrator</description>
                        <group-membership group="administrators" />
                        <group-membership group="guests" />
                        <group-membership group="users" />
                </user>
        </users>
  </principals>
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/orion14/rmi.xml
  
  Index: rmi.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE rmi-server PUBLIC "Orion RMI-server" 
"http://www.orionserver.com/dtds/rmi-server.dtd";>
  
  <rmi-server port="23791">     
  </rmi-server>
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/orion14/server.xml
  
  Index: server.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE application-server PUBLIC "Orion Application Server Config" 
"http://www.orionserver.com/dtds/application-server.dtd";>
  
  <application-server>
  
      <global-application name="default" path="./application.xml" />
  
      <web-site path="./default-web-site.xml" />
  
        <rmi-config path="./rmi.xml" />
        <principals path="./principals.xml" />
  
  </application-server>
  
  
  
  1.1                  
jakarta-commons/cactus/conf/sample/conf/test/share/resin20/resin.conf
  
  Index: resin.conf
  ===================================================================
  <caucho.com>
  
    <http-server>
  
      <app-dir>.</app-dir>
  
      <http port='8080'/>
  
      <host id=''>
        <war-dir id='.'/>
      </host>
      
    </http-server>
  
  </caucho.com>
  
  

Reply via email to