[jboss-svn-commits] JBL Code SVN: r19900 - in labs/jbossesb/workspace/CDL/product/samples/trailblazer: esb/conf and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu May 8 06:50:53 EDT 2008
Author: jeff.yuchang
Date: 2008-05-08 06:50:52 -0400 (Thu, 08 May 2008)
New Revision: 19900
Modified:
labs/jbossesb/workspace/CDL/product/samples/trailblazer/build.xml
labs/jbossesb/workspace/CDL/product/samples/trailblazer/esb/conf/jbossesb-properties-monitor.xml
labs/jbossesb/workspace/CDL/product/samples/trailblazer/readme.txt
labs/jbossesb/workspace/CDL/product/samples/trailblazer/trailblazer.properties
Log:
Update the instructions
Modified: labs/jbossesb/workspace/CDL/product/samples/trailblazer/build.xml
===================================================================
--- labs/jbossesb/workspace/CDL/product/samples/trailblazer/build.xml 2008-05-08 09:30:38 UTC (rev 19899)
+++ labs/jbossesb/workspace/CDL/product/samples/trailblazer/build.xml 2008-05-08 10:50:52 UTC (rev 19900)
@@ -227,8 +227,12 @@
<fileset dir="${esb.samples.trailblazer.client.dest}/dist/" includes="trailblazer.war" />
</copy>
</target>
-
+ <target name="undeploy">
+ <delete file="${target-server}/deploy/trailblazer.esb" />
+ <delete file="${target-server}/deploy/trailblazer.war" />
+ </target>
+
<target name="deploy-monitor-lib" depends="register-monitor-filter">
<echo message="Deploy pi4soa.sar, monitor.esb files to the target server '${target-server}'." />
<copy todir="${target-server}/deploy/pi4soa.sar">
Modified: labs/jbossesb/workspace/CDL/product/samples/trailblazer/esb/conf/jbossesb-properties-monitor.xml
===================================================================
--- labs/jbossesb/workspace/CDL/product/samples/trailblazer/esb/conf/jbossesb-properties-monitor.xml 2008-05-08 09:30:38 UTC (rev 19899)
+++ labs/jbossesb/workspace/CDL/product/samples/trailblazer/esb/conf/jbossesb-properties-monitor.xml 2008-05-08 10:50:52 UTC (rev 19900)
@@ -90,6 +90,6 @@
<properties name="filters">
<property name="org.jboss.soa.esb.filter.1" value="org.jboss.internal.soa.esb.message.filter.MetaDataFilter"/>
<property name="org.jboss.soa.esb.filter.2" value="org.jboss.internal.soa.esb.message.filter.GatewayFilter"/>
- <property name="org.jboss.soa.esb.filter.3" value="org.pi4soa.jbossesb.monitor.MonitorFilter" />
+ <property name="org.jboss.soa.esb.filter.3" value="org.pi4soa.jbossesb.monitor.MonitorFilter" />
</properties>
-</esb>
\ No newline at end of file
+</esb>
Modified: labs/jbossesb/workspace/CDL/product/samples/trailblazer/readme.txt
===================================================================
--- labs/jbossesb/workspace/CDL/product/samples/trailblazer/readme.txt 2008-05-08 09:30:38 UTC (rev 19899)
+++ labs/jbossesb/workspace/CDL/product/samples/trailblazer/readme.txt 2008-05-08 10:50:52 UTC (rev 19900)
@@ -47,11 +47,20 @@
------------------------------------------------------
To run the Trailblazer example with monitoring functionality.
-1 - please make sure you have done everything needed that shown in the "Required to run
-the Trailblazer" and the "Settings required to edit before running" section.
+1 - download the pi4soa tool suite from http://pi4soa.wiki.sourceforge.net/download.
-2 - from the TB_ROOT, execute the command to deploy monitor related packages: "ant deploy-monitor-lib".
+2 - download the trailblazer model project (http://pi4soa.sourceforge.net/jbossesb/TrailBlazerModels.zip)
+ create a new Java project and import into Eclipse environment configured with pi4soa tools using the Import->Archive from the Project context menu.
-3 - following in instructions in the "Basic Trailblazer example running instructions" section.
+3 - In the Eclipse project, from the context menu for the models/TrailBlazer.cdm file.
+ select Choreography->Monitor. When it indicates “Monitoring TrailBlazer” on the status line.
+4 - please make sure you have done everything needed that shown in the "Required to run the Trailblazer" and the "Settings required to edit before running" section.
+5 - from the TB_ROOT, execute the command to deploy monitor related packages: "ant deploy-monitor-lib".
+
+6 - following in instructions in the "Basic Trailblazer example running instructions" section.
+
+7 - Repeat the loan request step multiple times, remembering to change the SSN number to create new transactions in the monitor.
+
+8 - once you finish your testing, you can run command "ant undeploy-monitor-lib" to remove the monitor library and filter.
Modified: labs/jbossesb/workspace/CDL/product/samples/trailblazer/trailblazer.properties
===================================================================
--- labs/jbossesb/workspace/CDL/product/samples/trailblazer/trailblazer.properties 2008-05-08 09:30:38 UTC (rev 19899)
+++ labs/jbossesb/workspace/CDL/product/samples/trailblazer/trailblazer.properties 2008-05-08 10:50:52 UTC (rev 19900)
@@ -10,7 +10,7 @@
bank2.service.epr.name=fileBank
# FileBank config
-file.bank.monitored.dir=/home/jeffyu/tmp/input
+file.bank.monitored.dir=/tmp/input
# Notifier configs
notifier.service.category=notifiers
More information about the jboss-svn-commits
mailing list