[jboss-cvs] JBossAS SVN: r107490 - branches/JBPAPP_5_1/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Aug 6 18:09:50 EDT 2010


Author: fnasser at redhat.com
Date: 2010-08-06 18:09:50 -0400 (Fri, 06 Aug 2010)
New Revision: 107490

Added:
   branches/JBPAPP_5_1/build/jbossas-5-web-profile.patch
Modified:
   branches/JBPAPP_5_1/build/build.xml
Log:
[#JBPAPP-4722] Web Server is leaking dependencies to JBoss Messaging

Modified: branches/JBPAPP_5_1/build/build.xml
===================================================================
--- branches/JBPAPP_5_1/build/build.xml	2010-08-06 19:01:53 UTC (rev 107489)
+++ branches/JBPAPP_5_1/build/build.xml	2010-08-06 22:09:50 UTC (rev 107490)
@@ -782,6 +782,9 @@
    <echo> "applying jbossas-5.patch in folder ${install.root}"</echo>
    <patch patchFile="jbossas-5.patch" dir="${install.root}" strip="0">
    </patch>
+   <echo> "applying jbossas-5-web-profile.patch in folder ${install.root}"</echo>
+   <patch patchFile="jbossas-5-web-profile.patch" dir="${install.root}" strip="0">
+   </patch>
   </target>
 
 
@@ -1092,6 +1095,7 @@
         <exclude name="deploy/scheduler-service.xml"/>
         <exclude name="deploy/schedule-manager-service.xml"/>
         <include name="deployers/**"/> 
+        <exclude name="deployers/messaging-definitions-jboss-beans.xml"/>
       </fileset>
       <fileset dir="${install.all}">
         <include name="deploy/cluster/jbossweb-cluster.aop"/>

Added: branches/JBPAPP_5_1/build/jbossas-5-web-profile.patch
===================================================================
--- branches/JBPAPP_5_1/build/jbossas-5-web-profile.patch	                        (rev 0)
+++ branches/JBPAPP_5_1/build/jbossas-5-web-profile.patch	2010-08-06 22:09:50 UTC (rev 107490)
@@ -0,0 +1,31 @@
+--- ./server/web/deployers/ejb-deployer-jboss-beans.xml	2010-06-08 16:17:16.000000000 -0500
++++ ./server/web/deployers/ejb-deployer-jboss-beans.xml	2010-07-26 17:06:32.000000000 -0500
+@@ -92,28 +92,4 @@
+    <bean name="StandardJBossMetaDataDeployer" class="org.jboss.ejb.deployers.StandardJBossMetaDataDeployer">
+    </bean>
+ 
+-   <!-- Deployer for automatically creating message driven destinations -->
+-   <bean name="CreateDestinationDeployer" class="org.jboss.ejb.deployers.CreateDestinationDeployer">
+-      <incallback method="addCreateDestination"/>
+-      <uncallback method="removeCreateDestination"/>
+-   </bean>
+-
+-   <!-- Destination creator for JBoss Messaging -->
+-   <bean name="JBossMessageDestinationCreator" class="org.jboss.ejb.deployers.CreateDestination">
+-      <!-- We match any jms mdb that is going to be deployed using our rar -->
+-      <property name="matcher">
+-         <bean class="org.jboss.ejb.deployers.SimpleCreateDestinationMatcher">
+-            <property name="default">true</property>
+-            <property name="messageListener">javax.jms.MessageListener</property>
+-            <property name="rarName">jms-ra.rar</property>
+-         </bean>
+-      </property>
+-      <!-- Create a destination with JBoss Messaging -->
+-      <property name="factory">
+-         <bean class="org.jboss.jms.server.destination.JBossMessagingCreateDestinationFactory">
+-            <property name="serverPeerName">jboss.messaging:service=ServerPeer</property>
+-            <property name="postOfficeName">jboss.messaging:service=PostOffice</property>
+-         </bean>
+-      </property>
+-   </bean>
+ </deployment>



More information about the jboss-cvs-commits mailing list