[jboss-cvs] JBossAS SVN: r59005 - branches/Branch_4_0/ejb3

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 12 15:56:01 EST 2006


Author: bdecoste
Date: 2006-12-12 15:55:57 -0500 (Tue, 12 Dec 2006)
New Revision: 59005

Added:
   branches/Branch_4_0/ejb3/install.xml
Modified:
   branches/Branch_4_0/ejb3/INSTALL.html
   branches/Branch_4_0/ejb3/build.xml
Log:
RC9 Patch 1

Modified: branches/Branch_4_0/ejb3/INSTALL.html
===================================================================
--- branches/Branch_4_0/ejb3/INSTALL.html	2006-12-12 20:05:44 UTC (rev 59004)
+++ branches/Branch_4_0/ejb3/INSTALL.html	2006-12-12 20:55:57 UTC (rev 59005)
@@ -1,39 +1,24 @@
 <html>
 <body>
 <p>
-<h2>Installing EJB 3.0 RC7 with JBoss 4.0.4.GA installer</h2>
+<h2>Installing EJB 3.0 Preview RC9 Patch 1- FD</h2>
 <p>
-The EJB 3.0 RC7 implementation is only usable with JBoss 4.0.4.GA.  The EJB 3.0 implementation that comes packaged with the JBoss 4.0.4.GA installer is the same as the standalone EJB 3.0 RC7 distribution with one exception.  The standalone distribution has been patched to fix the <a href="http://jira.jboss.com/jira/browse/EJBTHREE-573">EJBTHREE-573</a> JIRA bug.  Also the JBoss Remoting jar has been patched to fix the SSL problems in the 4.0.4.GA release.  If you don't need these fixes, then installing with the installer is fine.
+The EJB 3.0 RC9 Patch 1 implementation is only usable with JBoss 4.0.5.GA.  The patch has been released to provide  compatibility with the full (non-installer) release for JBossAS 4.0.5. The patch also corrects a problem with the installer version that caused hot redeploys to fail with a classloading issue
 </p>
-<hr>
-<h2>Installing into JBoss AS 4.0.4.GA</h2>
 <p>
-<ol>
-<li> Download <a
-href="http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942">JBoss
-4.0.4.GA</a>.</li>
-
-<li> Download <a href="http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=132063">EJB 3.0 RC7</a>.</li>
-<li> Unzip both of these downloads</li>
-
-<li> Copy <tt>ejb3.deployer</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/deploy</tt></li>
-<li> Copy <tt>ejb3-clustered-sfsbcache-service.xml</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/deploy</tt></li>
-<li> Copy <tt>ejb3-entity-cache-service.xml</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/deploy</tt></li>
-<li> Copy <tt>ejb3-interceptors-aop.xml</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/deploy</tt></li>
-<li> Copy <tt>jboss-aop-jdk50.deployer</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/deploy</tt></li>
-<li> Copy <tt>quartz-ra.rar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/deploy</tt></li>
-<li> Copy <tt>jboss-remoting.jar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/lib</tt></li>
-<li> Copy <tt>hibernate-annotations.jar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/lib</tt></li>
-<li> Copy <tt>hibernate-entitymanager.jar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/lib</tt></li>
-<li> Copy <tt>ejb3-persistence.jar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/lib</tt></li>
-<li> Copy <tt>quartz-all-1.5.2.jar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/server/all/lib</tt></li>
-<li> Copy <tt>jboss-ejb3-client.jar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/client</tt></li>
-<li> Copy <tt>jboss-annotations-ejb3.jar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/client</tt></li>
-<li> Copy <tt>hibernate-client.jar</tt> from the <tt>lib/</tt> directory of the distribution to <tt>jboss-4.0.x/client</tt></li>
-<li> Remove <tt>jboss-aop.deployer/</tt> from <tt>jboss-4.0.x/server/all/deploy</tt></li>
-
-<li> Start jboss up with the <tt>all</tt> configuration <tt>run.sh -c all</tt></li>
-</ol>
+<ul>
+  <li> download ANT from apache.org if you don't have it already </li>
+  <li> set a JBOSS_HOME environment variable to point to the directory JBoss is installed in</li>
+</ul>
 </p>
+<p>
+<pre>
+$ cd jboss-EJB-3.0_RC9_Patch1-FD
+$ ant -f install.xml -Djboss.server.config=[server directory you want to patch]
+</pre>
+</p>
+<p>
+<i>jboss.server.config</i> defaults to <i>all</i>
+</p>
 </body>
 </html>

Modified: branches/Branch_4_0/ejb3/build.xml
===================================================================
--- branches/Branch_4_0/ejb3/build.xml	2006-12-12 20:05:44 UTC (rev 59004)
+++ branches/Branch_4_0/ejb3/build.xml	2006-12-12 20:55:57 UTC (rev 59005)
@@ -68,7 +68,7 @@
       <property name="module.version" value="DEV"/>
 
       <property name="ejb3.title" value="JBoss EJB 3.0"/>
-      <property name="ejb3.version" value="JBoss EJB 3.0 RC7 - FD"/>
+      <property name="ejb3.version" value="JBoss EJB 3.0 RC9 Patch 1"/>
       <property name="ejb3.vendor" value="JBoss"/>
       <property name="ejb3.url" value="http://www.jboss.com/products/ejb3"/>
 
@@ -421,12 +421,13 @@
    </target>
 
    <target name="dist" depends="init, release-docs">
-      <property name="ejb3.zip.version" value="jboss-EJB-3.0_RC7-FD"/>
+      <property name="ejb3.zip.version" value="jboss-EJB-3.0_RC9_Patch_1"/>
       <echo message="${jboss.common.lib}"/>
       <zip zipfile="${ejb3.zip.version}.zip">
          <zipfileset dir="." prefix="${ejb3.zip.version}">
             <include name="INSTALL.html"/>
             <include name="Migrating.html"/>
+            <include name="install.xml"/>
             <include name="RELEASE_NOTES.txt"/>
          </zipfileset>
         <zipfileset dir="${hibernate.entitymanager.lib}" prefix="${ejb3.zip.version}/lib">
@@ -441,8 +442,15 @@
          <zipfileset dir="${jboss.aspects.lib}" prefix="${ejb3.zip.version}/lib">
             <include name="jboss-aop-jdk50.deployer/**"/>
          </zipfileset>
+         <zipfileset dir="${javassist.lib}" prefix="${ejb3.zip.version}/lib">
+            <include name="javassist.jar"/>
+         </zipfileset>
+         <zipfileset dir="../thirdparty/jboss/jbossws/lib" prefix="${ejb3.zip.version}/lib">
+            <include name="jbossws-client.jar"/>
+         </zipfileset>
          <zipfileset dir="../connector/output/lib" prefix="${ejb3.zip.version}/lib">
             <include name="quartz-ra.rar"/>
+            <include name="jms-ra.rar"/>
          </zipfileset>
          <zipfileset dir="${quartz.quartz.lib}" prefix="${ejb3.zip.version}/lib">
             <include name="*.jar"/>
@@ -456,6 +464,8 @@
             <include name="ejb3-interceptors-aop.xml"/>
             <include name="ejb3-clustered-sfsbcache-service.xml"/>
             <include name="ejb3-entity-cache-service.xml"/>
+            <include name="hibernate-client.jar"/>
+            <include name="jboss-ejb3-client.jar"/>
          </zipfileset>
          <zipfileset dir="docs" prefix="${ejb3.zip.version}/docs">
             <include name="**"/>
@@ -467,6 +477,7 @@
       </zip>
    </target>
 
+
   <!-- Build the repository.jboss.com ejb3 deployer contents needed for
   the jems installer
   -->

Added: branches/Branch_4_0/ejb3/install.xml
===================================================================
--- branches/Branch_4_0/ejb3/install.xml	2006-12-12 20:05:44 UTC (rev 59004)
+++ branches/Branch_4_0/ejb3/install.xml	2006-12-12 20:55:57 UTC (rev 59005)
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+
+<!-- ======================================================================= -->
+<!-- JBoss build file                                                       -->
+<!-- ======================================================================= -->
+
+<project name="JBoss" default="install" basedir=".">
+
+   <property file="../local.properties"/>  <property environment="env"/>
+   <property name="src.dir" value="${basedir}/src"/>
+   <property name="jboss.home" value="${env.JBOSS_HOME}"/>   
+   <property name="jboss.server.config" value="all"/>
+
+   <target name="install">
+      <delete dir="${jboss.home}/server/${jboss.server.config}/deploy/jboss-aop.deployer"/>
+      <delete dir="${jboss.home}/server/${jboss.server.config}/deploy/jbossws14.sar"/>
+      <delete dir="${jboss.home}/server/${jboss.server.config}/deploy/jboss-aop-jdk50.deployer"/>
+      <delete dir="${jboss.home}/server/${jboss.server.config}/deploy/ejb3.deployer"/>
+      <delete file="${jboss.home}/client/jbossws14-client.jar"/>
+
+      <copy file="lib/jbossws-client.jar" todir="${jboss.home}/client"/>
+      <copy file="lib/hibernate-client.jar" todir="${jboss.home}/client"/>
+      <copy file="lib/jboss-ejb3-client.jar" todir="${jboss.home}/client"/>
+      <copy file="lib/ejb3.deployer/jboss-ejb3x.jar" todir="${jboss.home}/client"/>
+      <copy file="lib/ejb3.deployer/jboss-annotations-ejb3.jar" todir="${jboss.home}/client"/>
+      <copy file="lib/ejb3-persistence.jar" todir="${jboss.home}/server/${jboss.server.config}/lib"/>
+      <copy file="lib/ejb3-persistence.jar" todir="${jboss.home}/client"/>
+      <copy file="lib/hibernate-entitymanager.jar" todir="${jboss.home}/server/${jboss.server.config}/lib"/>
+      <copy file="lib/hibernate-annotations.jar" todir="${jboss.home}/server/${jboss.server.config}/lib"/>
+      <copy file="lib/hibernate3.jar" todir="${jboss.home}/server/${jboss.server.config}/lib"/>
+      <copy file="lib/javassist.jar" todir="${jboss.home}/server/${jboss.server.config}/lib"/>
+      <copy file="lib/quartz-all-1.5.2.jar" todir="${jboss.home}/server/${jboss.server.config}/lib"/>
+      <copy todir="${jboss.home}/server/${jboss.server.config}/deploy">
+         <fileset dir="lib">
+             <include name="ejb3.deployer/**"/>
+             <include name="jboss-aop-jdk50.deployer/**"/>
+             <include name="*.xml"/>
+             <include name="jbossws.sar"/>
+         </fileset>
+      </copy>
+      <copy file="lib/jms-ra.rar" todir="${jboss.home}/server/${jboss.server.config}/deploy/jms"/>
+      <copy file="lib/quartz-ra.rar" todir="${jboss.home}/server/${jboss.server.config}/deploy"/>
+
+      <!-- now we have to unjar and rejar jboss.jar to remove ejbjar and jboss schema files -->
+      <delete dir="tmp"/>
+      <mkdir dir="tmp"/>
+      <unjar src="${jboss.home}/server/${jboss.server.config}/lib/jboss.jar" dest="tmp"/>
+      <jar destfile="${jboss.home}/server/${jboss.server.config}/lib/jboss.jar" update="false">
+         <fileset dir="tmp">
+           <include name="**/*"/>
+           <exclude name="schema/ejb-jar_3_0.xsd"/>
+           <exclude name="schema/jboss_5_0.xsd"/>
+         </fileset>
+      </jar>
+      <delete dir="tmp"/>
+
+      <!-- now we have to unjar and rejar jboss.jar to remove ejbjar and jboss schema files -->
+      <delete dir="tmp"/>
+      <mkdir dir="tmp"/>
+      <unjar src="${jboss.home}/lib/endorsed/xml-apis.jar" dest="tmp"/>
+      <jar destfile="${jboss.home}/lib/endorsed/xml-apis.jar" update="false">
+         <fileset dir="tmp">
+           <include name="**/*"/>
+           <exclude name="javax/xml/namespace/*"/>
+         </fileset>
+      </jar>
+      <delete dir="tmp"/>
+
+   </target>
+
+</project>
+




More information about the jboss-cvs-commits mailing list