You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2002/06/20 00:02:54 UTC

cvs commit: jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70 DefaultAuthenticatorInit.ldift SerializedSystemIni.dat config.xml fileRealm.properties

vmassol     2002/06/19 15:02:53

  Modified:    .        build.properties.sample
               documentation/docs/xdocs changes.xml news.xml
               sample-servlet build.properties.sample build.xml
               sample-servlet/conf/sample/build/j2ee12
                        build.properties.sample build.xml
               sample-servlet/conf/sample/build/j2ee13
                        build.properties.sample build.xml
               sample-servlet/conf/sample/build/share
                        build-tests-weblogic-61.xml
  Added:       sample-servlet/conf/sample/build/share
                        build-tests-weblogic-70.xml
               sample-servlet/conf/sample/conf/test/share/weblogic70
                        DefaultAuthenticatorInit.ldift
                        SerializedSystemIni.dat config.xml
                        fileRealm.properties
  Log:
  Added automatic script support for WebLogic 7.0
  
  Revision  Changes    Path
  1.14      +5 -1      jakarta-cactus/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/build.properties.sample,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- build.properties.sample	9 Jun 2002 18:28:06 -0000	1.13
  +++ build.properties.sample	19 Jun 2002 22:02:52 -0000	1.14
  @@ -87,6 +87,10 @@
   # wlserver6.1, inside the bea home directory.
   #weblogic.home.61 = c:/Apps/bea
   
  +# Note: weblogic.home.70 is the location of BEA Home and NOT the location of
  +# wlserver7.0, inside the bea home directory.
  +#weblogic.home.70 = c:/Apps/bea
  +
   # Note: There seems to be a bug in Orion 1.4 preventing it to run correctly
   #       the testSendUserData() test. It runs fine in Orion 1.5 though.
   #orion.home.14 = xxx
  
  
  
  1.22      +3 -0      jakarta-cactus/documentation/docs/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/changes.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- changes.xml	15 Jun 2002 11:03:32 -0000	1.21
  +++ changes.xml	19 Jun 2002 22:02:52 -0000	1.22
  @@ -48,6 +48,9 @@
       </devs>
   
       <release version="1.4 in CVS">
  +      <action dev="VMA" type="add">
  +        Added automatic script support for WebLogic 7.0.
  +      </action>
         <action dev="VMA" type="fix" due-to="Daniel Dennison" due-to-email="dennison@mitec.net">
           (<link href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9544">
            Bug #9544</link>. It seems that it is possible that the test result contain an end of line
  
  
  
  1.10      +10 -0     jakarta-cactus/documentation/docs/xdocs/news.xml
  
  Index: news.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/news.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- news.xml	9 Jun 2002 18:32:42 -0000	1.9
  +++ news.xml	19 Jun 2002 22:02:52 -0000	1.10
  @@ -168,6 +168,16 @@
   
           <tr>
             <td>
  +            19/06/2002
  +          </td>
  +          <td>
  +            Added automatic script support for WebLogic 7.0. They are delivered
  +            as part of the Cactus distribution.
  +          </td>
  +        </tr>
  +
  +        <tr>
  +          <td>
               09/06/2002
             </td>
             <td>
  
  
  
  1.12      +5 -1      jakarta-cactus/sample-servlet/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/build.properties.sample,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- build.properties.sample	9 Jun 2002 18:28:07 -0000	1.11
  +++ build.properties.sample	19 Jun 2002 22:02:53 -0000	1.12
  @@ -79,6 +79,10 @@
   # wlserver6.1, inside the bea home directory.
   #weblogic.home.61 = c:/Apps/bea
   
  +# Note: weblogic.home.70 is the location of BEA Home and NOT the location of
  +# wlserver7.0, inside the bea home directory.
  +#weblogic.home.70 = c:/Apps/bea
  +
   # Note: There seems to be a bug in Orion 1.4 preventing it to run correctly
   #       the testSendUserData() test. It runs fine in Orion 1.5 though.
   #orion.home.14 = xxx
  
  
  
  1.6       +1 -0      jakarta-cactus/sample-servlet/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	9 Jun 2002 18:28:07 -0000	1.5
  +++ build.xml	19 Jun 2002 22:02:53 -0000	1.6
  @@ -359,6 +359,7 @@
               <property name="orion.home.15"/>
               <property name="weblogic.home.51"/>
               <property name="weblogic.home.61"/>
  +            <property name="weblogic.home.70"/>
               <property name="enhydra.home.31"/>
               <property name="test.port"/>
               <property name="log4j.jar"/>
  
  
  
  1.10      +5 -1      jakarta-cactus/sample-servlet/conf/sample/build/j2ee12/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/build/j2ee12/build.properties.sample,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- build.properties.sample	6 Jun 2002 10:56:40 -0000	1.9
  +++ build.properties.sample	19 Jun 2002 22:02:53 -0000	1.10
  @@ -67,6 +67,10 @@
   # wlserver6.1, inside the bea home directory.
   #weblogic.home.61 = c:/Apps/bea
   
  +# Note: weblogic.home.70 is the location of BEA Home and NOT the location of
  +# wlserver7.0, inside the bea home directory.
  +#weblogic.home.70 = c:/Apps/bea
  +
   # Note: Enhydra 3.3.1 does not seem to support BASIC authentication as defined
   # in the Servlet spec. and thus the tests which involve security are failing.
   # All other tests work fine. This is a limitation of Enhydra.
  
  
  
  1.4       +3 -1      jakarta-cactus/sample-servlet/conf/sample/build/j2ee12/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/build/j2ee12/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml	21 Apr 2002 13:54:01 -0000	1.3
  +++ build.xml	19 Jun 2002 22:02:53 -0000	1.4
  @@ -12,6 +12,7 @@
       <!ENTITY build-tests-weblogic-51 SYSTEM "file:./build-tests-weblogic-51.xml">
       <!ENTITY build-tests-enhydra-31 SYSTEM "file:./build-tests-enhydra-31.xml">
       <!ENTITY build-tests-weblogic-61 SYSTEM "file:./build-tests-weblogic-61.xml">
  +    <!ENTITY build-tests-weblogic-70 SYSTEM "file:./build-tests-weblogic-70.xml">
   ]>
   
   <!--
  @@ -84,7 +85,7 @@
          ========================================================================
       -->
       <target name="test.all"
  -        depends="test.resin.20,test.resin.12,test.tomcat.32,test.tomcat.33,test.tomcat.40,test.orion.14,test.orion.15,test.weblogic.51,test.enhydra.31,test.weblogic.61"
  +        depends="test.resin.20,test.resin.12,test.tomcat.32,test.tomcat.33,test.tomcat.40,test.orion.14,test.orion.15,test.weblogic.51,test.enhydra.31,test.weblogic.61,test.weblogic.70"
           description="Run tests on all defined containers">
       </target>
   
  @@ -98,5 +99,6 @@
       &build-tests-weblogic-51;
       &build-tests-enhydra-31;
       &build-tests-weblogic-61;
  +    &build-tests-weblogic-70;
   
   </project>
  
  
  
  1.8       +5 -1      jakarta-cactus/sample-servlet/conf/sample/build/j2ee13/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/build/j2ee13/build.properties.sample,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.properties.sample	6 Jun 2002 10:56:40 -0000	1.7
  +++ build.properties.sample	19 Jun 2002 22:02:53 -0000	1.8
  @@ -64,6 +64,10 @@
   # wlserver6.1, inside the bea home directory.
   #weblogic.home.61 = c:/Apps/bea
   
  +# Note: weblogic.home.70 is the location of BEA Home and NOT the location of
  +# wlserver7.0, inside the bea home directory.
  +#weblogic.home.70 = c:/Apps/bea
  +
   # Note: There seems to be a bug in Orion 1.4 preventing it to run correctly
   #       the testSendUserData() test. It runs fine in Orion 1.5 though.
   #orion.home.14 = xxx
  
  
  
  1.2       +3 -1      jakarta-cactus/sample-servlet/conf/sample/build/j2ee13/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/build/j2ee13/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	10 Mar 2002 14:26:01 -0000	1.1
  +++ build.xml	19 Jun 2002 22:02:53 -0000	1.2
  @@ -8,6 +8,7 @@
       <!ENTITY build-tests-orion-15 SYSTEM "file:./build-tests-orion-15.xml">
       <!ENTITY build-tests-tomcat-40 SYSTEM "file:./build-tests-tomcat-40.xml">
       <!ENTITY build-tests-weblogic-61 SYSTEM "file:./build-tests-weblogic-61.xml">
  +    <!ENTITY build-tests-weblogic-70 SYSTEM "file:./build-tests-weblogic-70.xml">
   ]>
   
   <!--
  @@ -80,7 +81,7 @@
          ========================================================================
       -->
       <target name="test.all"
  -        depends="test.resin.20,test.resin.13,test.tomcat.40,test.orion.14,test.orion.15,test.weblogic.61"
  +        depends="test.resin.20,test.resin.13,test.tomcat.40,test.orion.14,test.orion.15,test.weblogic.61,test.weblogic.70"
           description="Run tests on all defined containers">
       </target>
   
  @@ -90,5 +91,6 @@
       &build-tests-orion-15;
       &build-tests-tomcat-40;
       &build-tests-weblogic-61;
  +    &build-tests-weblogic-70;
   
   </project>
  
  
  
  1.2       +9 -0      jakarta-cactus/sample-servlet/conf/sample/build/share/build-tests-weblogic-61.xml
  
  Index: build-tests-weblogic-61.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/sample-servlet/conf/sample/build/share/build-tests-weblogic-61.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build-tests-weblogic-61.xml	21 Apr 2002 13:54:02 -0000	1.1
  +++ build-tests-weblogic-61.xml	19 Jun 2002 22:02:53 -0000	1.2
  @@ -31,6 +31,15 @@
               <classpath>
                   <pathelement location="${weblogic.home.61}/wlserver6.1/lib/weblogic.sp.jar"/>
                   <pathelement location="${weblogic.home.61}/wlserver6.1/lib/weblogic.jar"/>
  +
  +                <!-- Some hack: I still don't understand why I need these jars
  +                     to make the cactus clovered jar work. It needs to be
  +                     removed as we don't want the mention of these jars in the
  +                     sample script that are packaged in the Cactus
  +                     distribution ! You can safely remove this if you don't use
  +                     Clover -->
  +                <pathelement location="${clover.jar}"/>
  +                <pathelement location="${junit.jar}"/>
               </classpath>
   
               <jvmarg value="-hotspot"/>
  
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/build/share/build-tests-weblogic-70.xml
  
  Index: build-tests-weblogic-70.xml
  ===================================================================
      <!--
         ========================================================================
           Run WebLogic 7.0 tests
         ========================================================================
      -->
      <target name="test.weblogic.70" depends="prepare.test.weblogic.70"
          if="weblogic.home.70" description="Run tests on WebLogic 7.0">
  
          <!-- Start the servlet engine, wait for it to be started, run the
               unit tests, stop the servlet engine, wait for it to be stopped.
               The servlet engine is stopped if the tests fail for any reason -->
  
          <runservertests 
              testURL="http://localhost:${test.port}/test/ServletRedirector?Cactus_Service=RUN_TEST"
              startTarget="start.weblogic.70"
              stopTarget="stop.weblogic.70"
              testTarget="test"/>
  
      </target>
  
      <!--
         ========================================================================
           Start WebLogic 7.0
         ========================================================================
      -->
      <target name="start.weblogic.70">
  
          <java classname="weblogic.Server" fork="yes"
              dir="${target.weblogic70.dir}/testdomain">
  
              <classpath>
                  <pathelement location="${weblogic.home.70}/weblogic700/server/lib/weblogic.sp.jar"/>
                  <pathelement location="${weblogic.home.70}/weblogic700/server/lib/weblogic.jar"/>
  
                  <!-- Some hack: I still don't understand why I need these jars
                       to make the cactus clovered jar work. It needs to be
                       removed as we don't want the mention of these jars in the
                       sample script that are packaged in the Cactus
                       distribution ! You can safely remove this if you don't use
                       Clover -->
                  <pathelement location="${clover.jar}"/>
                  <pathelement location="${junit.jar}"/>
              </classpath>
  
              <jvmarg value="-hotspot"/>
              <jvmarg value="-ms64m"/>
              <jvmarg value="-mx64m"/>
              <jvmarg value="-Djava.library.path=${java.library.path};${weblogic.home.70}/weblogic700/server/bin"/>
              <jvmarg value="-Dweblogic.Name=testserver"/>
              <jvmarg value="-Dbea.home=${weblogic.home.70}"/>
              <jvmarg value="-Dweblogic.management.username=system"/>
              <jvmarg value="-Dweblogic.management.password=password"/>
              <jvmarg value="-Djava.security.policy==./server/lib/weblogic.policy"/>
  
          </java>
  
      </target>
  
      <!--
         ========================================================================
           Stop WebLogic 7.0
         ========================================================================
      -->
      <target name="stop.weblogic.70">
  
          <java classname="weblogic.Admin" fork="yes">
  
              <classpath>
                  <pathelement location="${weblogic.home.70}/weblogic700/server/lib/weblogic.sp.jar"/>
                  <pathelement location="${weblogic.home.70}/weblogic700/server/lib/weblogic.jar"/>
              </classpath>
  
              <arg line="-url t3://localhost:${test.port}"/>
              <arg line="-username system"/>
              <arg line="-password password"/>
              <arg value="SHUTDOWN"/>
  
          </java>
  
      </target>
  
      <!--
         ========================================================================
           Display a warning message if the needed servlet engine home property
           is not set
         ========================================================================
      -->
      <target name="check.test.weblogic.70" unless="weblogic.home.70">
  
          <echo message=""/>
          <echo message="******************************************************"/>
          <echo message="WARNING : The 'weblogic.home.70' property has not been"/>
          <echo message="set. No test will be run on that servlet engine."/>
          <echo message="******************************************************"/>
          <echo message=""/>
  
      </target>
  
      <!--
         ========================================================================
           Prepare directories and variables for running the tests
         ========================================================================
      -->
      <target name="prepare.test.weblogic.70"
          depends="check.test.weblogic.70,testwar" if="weblogic.home.70">
  
          <echo message="weblogic.home.70 = ${weblogic.home.70}"/>
  
          <property name="target.weblogic70.dir"
              value="${target.test.dir}/weblogic70"/>
          <property name="conf.weblogic70.dir"
              value="${conf.test.dir}/weblogic70"/>
  
          <mkdir dir="${target.weblogic70.dir}/testdomain/applications"/>
  
          <!-- Copy WL 7.0 configuration files -->
          <copy file="${conf.weblogic70.dir}/config.xml"
              todir="${target.weblogic70.dir}/testdomain" filtering="on"/>
          <copy file="${conf.weblogic70.dir}/fileRealm.properties"
              todir="${target.weblogic70.dir}/testdomain"/>
          <copy file="${conf.weblogic70.dir}/SerializedSystemIni.dat"
              todir="${target.weblogic70.dir}/testdomain"/>
          <copy file="${conf.weblogic70.dir}/DefaultAuthenticatorInit.ldift"
              todir="${target.weblogic70.dir}/testdomain"/>
  
          <!-- Copy the war file -->
          <copy file="${target.test.dir}/test.war"
              todir="${target.weblogic70.dir}/testdomain/applications"/>
  
      </target>
  
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/DefaultAuthenticatorInit.ldift
  
  Index: DefaultAuthenticatorInit.ldift
  ===================================================================
  dn: dc=@domain@
  dc: @domain@
  objectclass: top
  objectclass: domain
  
  dn: ou=@realm@, dc=@domain@
  ou: @realm@
  objectclass: top
  objectclass: organizationalUnit
  
  dn: ou=groups,ou=@realm@, dc=@domain@
  ou: groups
  objectclass: organizationalUnit
  objectclass: top
  
  dn: cn=Administrators,ou=groups,ou=@realm@, dc=@domain@
  memberURL: ldap:///ou=groups,ou=@realm@,dc=@domain@??sub?(&(objectclass=person)(wlsMemberOf=cn=Administrators,ou=groups,ou=@realm@,dc=@domain@))
  description: Administrators group
  objectclass: top
  objectclass: groupOfUniqueNames
  objectclass: groupOfURLs
  cn: Administrators
  
  dn: cn=Deployers,ou=groups,ou=@realm@, dc=@domain@
  memberURL: ldap:///ou=groups,ou=@realm@,dc=@domain@??sub?(&(objectclass=person)(wlsMemberOf=cn=Deployers,ou=groups,ou=@realm@,dc=@domain@))
  description: Deployers group
  objectclass: top
  objectclass: groupOfUniqueNames
  objectclass: groupOfURLs
  cn: Deployers
  
  dn: cn=Operators,ou=groups,ou=@realm@, dc=@domain@
  memberURL: ldap:///ou=groups,ou=@realm@,dc=@domain@??sub?(&(objectclass=person)(wlsMemberOf=cn=Operators,ou=groups,ou=@realm@,dc=@domain@))
  description: Operators group
  objectclass: top
  objectclass: groupOfUniqueNames
  objectclass: groupOfURLs
  cn: Operators
  
  dn: cn=Monitors,ou=groups,ou=@realm@, dc=@domain@
  memberURL: ldap:///ou=groups,ou=@realm@,dc=@domain@??sub?(&(objectclass=person)(wlsMemberOf=cn=Monitors,ou=groups,ou=@realm@,dc=@domain@))
  description: Monitors group
  objectclass: top
  objectclass: groupOfUniqueNames
  objectclass: groupOfURLs
  cn: Monitors
  
  dn: ou=people,ou=@realm@, dc=@domain@
  ou: people
  objectclass: organizationalUnit
  objectclass: top
  
  dn: uid=system,ou=people,ou=@realm@, dc=@domain@
  description: system
  objectclass: inetOrgPerson
  objectclass: organizationalPerson
  objectclass: person
  objectclass: top
  cn: system
  sn: system
  userpassword: {ssha}XYqqB9c/6OXoNVCOil7ZRdbb/GSIXVcE
  uid: system
  objectclass: wlsUser
  wlsMemberOf: cn=Administrators,ou=groups,ou=@realm@,dc=@domain@
  
  
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/SerializedSystemIni.dat
  
  	<<Binary file>>
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/config.xml
  
  Index: config.xml
  ===================================================================
  <Domain Name="testdomain">
    <Server Name="testserver" NativeIOEnabled="true" ListenPort="@test.port@"/>
  </Domain>
  
  
  
  1.1                  jakarta-cactus/sample-servlet/conf/sample/conf/test/share/weblogic70/fileRealm.properties
  
  Index: fileRealm.properties
  ===================================================================
  #Wed Jun 19 22:19:44 BST 2002
  acl.modify.weblogic.admin.acl=Administrators
  acl.unlockServer.weblogic.admin=Administrators
  user.system=0xa7dc9690ce40f88dac3bdd23cb32588ff5546bb6
  acl.lockServer.weblogic.admin=Administrators
  acl.unlockuser.weblogic.passwordpolicy=Administrators
  acl.shutdown.weblogic.admin=Administrators
  acl.boot.weblogic.server=Administrators,everyone
  group.Administrators=system
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>