[jboss-svn-commits] JBL Code SVN: r24213 - in labs/jbossesb/trunk/product/install: conf and 2 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Dec 2 10:53:01 EST 2008
Author: tcunning
Date: 2008-12-02 10:53:01 -0500 (Tue, 02 Dec 2008)
New Revision: 24213
Added:
labs/jbossesb/trunk/product/install/embedded-console/
labs/jbossesb/trunk/product/install/embedded-console/barrier-service.xml
labs/jbossesb/trunk/product/install/embedded-console/build.xml
labs/jbossesb/trunk/product/install/embedded-console/esb-console.war
labs/jbossesb/trunk/product/install/embedded-console/measurementpatch.txt
Modified:
labs/jbossesb/trunk/product/install/build.xml
labs/jbossesb/trunk/product/install/conf/log4j.xml
labs/jbossesb/trunk/product/install/standalone/jbossesb-server-base.zip
Log:
JBESB-2040
Add embedded console and barrier-service.xml.
Modified: labs/jbossesb/trunk/product/install/build.xml
===================================================================
--- labs/jbossesb/trunk/product/install/build.xml 2008-12-02 15:34:23 UTC (rev 24212)
+++ labs/jbossesb/trunk/product/install/build.xml 2008-12-02 15:53:01 UTC (rev 24213)
@@ -142,11 +142,11 @@
excludes="${messaging.excludes}"/>
</copy>
- <!-- slsb.esb -->
- <copy todir="${deploy.dir}/slsb.esb">
- <fileset dir="${org.jboss.esb.dist.lib}/slsb.esb"
- excludes="${messaging.excludes}"/>
- </copy>
+ <!-- slsb.esb -->
+ <copy todir="${deploy.dir}/slsb.esb">
+ <fileset dir="${org.jboss.esb.dist.lib}/slsb.esb"
+ excludes="${messaging.excludes}"/>
+ </copy>
<!-- soapui-client.sar -->
<copy todir="${deploy.dir}/soapui-client.sar">
@@ -162,6 +162,13 @@
<!-- install h2 jar -->
<copy file="${org.jboss.esb.dist.lib}/h2-1.0.68.jar" todir="${server.lib.dir}"/>
+ <!-- embedded jopr console -->
+ <ant dir="embedded-console" target="replace">
+ <property name="org.jboss.esb.server.home" value="${org.jboss.esb.server.home}"/>
+ <property name="org.jboss.esb.server.config" value="${org.jboss.esb.server.config}"/>
+ </ant>
+
+
<ant dir="jbpm-patch" target="replace">
<property name="org.jboss.esb.server.home" value="${org.jboss.esb.server.home}"/>
<property name="org.jboss.esb.server.config" value="${org.jboss.esb.server.config}"/>
Modified: labs/jbossesb/trunk/product/install/conf/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/install/conf/log4j.xml 2008-12-02 15:34:23 UTC (rev 24212)
+++ labs/jbossesb/trunk/product/install/conf/log4j.xml 2008-12-02 15:53:01 UTC (rev 24213)
@@ -159,6 +159,11 @@
<!-- Limit categories -->
<!-- ================ -->
+ <!-- Limit JON category to WARN as INFO is verbose -->
+ <category name="org.jboss.on.pc.impl.measurement">
+ <priority value="WARN"/>
+ </category>
+
<!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
<category name="org.apache">
<priority value="WARN"/>
Added: labs/jbossesb/trunk/product/install/embedded-console/barrier-service.xml
===================================================================
--- labs/jbossesb/trunk/product/install/embedded-console/barrier-service.xml (rev 0)
+++ labs/jbossesb/trunk/product/install/embedded-console/barrier-service.xml 2008-12-02 15:53:01 UTC (rev 24213)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id:$ -->
+
+<server>
+ <!--
+ In this example we have the BarrierController controlling a Barrier
+ that is started when we receive the "org.jboss.system.server.started"
+ notification from the server mbean, and stopped when we receive the
+ "org.jboss.system.server.stopped" notification from the server mbean.
+
+ The dependent services need only define a dependency on the Barrier mbean!
+ -->
+ <mbean code="org.jboss.system.BarrierController"
+ name="jboss:service=BarrierController">
+
+ <!-- Whether to have the Barrier initially started or not -->
+ <attribute name="BarrierEnabledOnStartup">false</attribute>
+
+ <!-- Whether to subscribe for notifications after startup -->
+ <attribute name="DynamicSubscriptions">true</attribute>
+
+ <!-- Dependent services will depend on this mbean -->
+ <attribute name="BarrierObjectName">jboss:name=Server,type=Barrier</attribute>
+
+ <!-- The notification subscription handback that starts the barrier -->
+ <attribute name="StartBarrierHandback">start</attribute>
+
+ <!-- The notification subscription handback that stops the barrier -->
+ <attribute name="StopBarrierHandback">stop</attribute>
+
+ <!-- The notifications to subscribe for, along with their handbacks -->
+ <attribute name="SubscriptionList">
+ <subscription-list>
+ <mbean name="jboss.system:type=Server" handback="start">
+ <filter factory="NotificationFilterSupportFactory">
+ <enable type="org.jboss.system.server.started"/>
+ </filter>
+ </mbean>
+ <mbean name="jboss.system:type=Server" handback="stop">
+ <filter factory="NotificationFilterSupportFactory">
+ <enable type="org.jboss.system.server.stopped"/>
+ </filter>
+ </mbean>
+ </subscription-list>
+ </attribute>
+ </mbean>
+
+
+</server>
Added: labs/jbossesb/trunk/product/install/embedded-console/build.xml
===================================================================
--- labs/jbossesb/trunk/product/install/embedded-console/build.xml (rev 0)
+++ labs/jbossesb/trunk/product/install/embedded-console/build.xml 2008-12-02 15:53:01 UTC (rev 24213)
@@ -0,0 +1,13 @@
+<project name="JBESB_Installer" default="replace" basedir=".">
+ <property name="deploy.dir" value="${org.jboss.esb.server.home}/server/${org.jbossesb.server.config}/deploy"/>
+ <target name="replace">
+ <loadfile property="measurement.category"
+ srcFile="measurementpatch.txt"/>
+ <replace file="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/conf/jboss-log4j.xml"
+ value="${measurement.category}">
+ <replacetoken><![CDATA[<!-- Limit the org.apache category to INFO as its DEBUG is verbose -->]]></replacetoken>
+ </replace>
+ <copy file="esb-console.war" todir="${deploy.dir}"/>
+ <copy file="barrier-service.xml" todir="${deploy.dir}"/>
+ </target>
+</project>
Added: labs/jbossesb/trunk/product/install/embedded-console/esb-console.war
===================================================================
(Binary files differ)
Property changes on: labs/jbossesb/trunk/product/install/embedded-console/esb-console.war
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossesb/trunk/product/install/embedded-console/measurementpatch.txt
===================================================================
--- labs/jbossesb/trunk/product/install/embedded-console/measurementpatch.txt (rev 0)
+++ labs/jbossesb/trunk/product/install/embedded-console/measurementpatch.txt 2008-12-02 15:53:01 UTC (rev 24213)
@@ -0,0 +1,7 @@
+<!-- Limit the org.jboss.on.pc.impl.measurement category to WARN -->
+ <category name="org.jboss.on.pc.impl.measurement">
+ <priority value="ERROR"/>
+ <appender-ref ref="CONSOLE"/>
+ </category>
+
+ <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
Modified: labs/jbossesb/trunk/product/install/standalone/jbossesb-server-base.zip
===================================================================
(Binary files differ)
More information about the jboss-svn-commits
mailing list