[jboss-svn-commits] JBL Code SVN: r10442 - in labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer: banks/src/org/jboss/soa/esb/samples/loanbroker/banks and 2 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Mar 22 14:32:11 EDT 2007


Author: tfennelly
Date: 2007-03-22 14:32:11 -0400 (Thu, 22 Mar 2007)
New Revision: 10442

Added:
   labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbmq-service.xml
   labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jboss-esb.xml
Removed:
   labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb-trailblazer-service.xml
   labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbossesb.xml
Modified:
   labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/banks/src/org/jboss/soa/esb/samples/loanbroker/banks/ManagerJMS.java
   labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/build.xml
   labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/util/ProcessEmail.java
   labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/readme.txt
Log:
Updated to support .esb deployments.

Modified: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/banks/src/org/jboss/soa/esb/samples/loanbroker/banks/ManagerJMS.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/banks/src/org/jboss/soa/esb/samples/loanbroker/banks/ManagerJMS.java	2007-03-22 18:24:11 UTC (rev 10441)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/banks/src/org/jboss/soa/esb/samples/loanbroker/banks/ManagerJMS.java	2007-03-22 18:32:11 UTC (rev 10442)
@@ -65,8 +65,6 @@
 	private static String QUEUE_IN = "queue/C";
 	/** Default outgoing queue */
 	private static String QUEUE_OUT = "queue/D";
-	/** Context used to lookup the Queues */
-	private static InitialContext ctx;
 	/** Properties used when constructing the InitialContext */
 	private static Properties properties = new Properties();
 	/** Queue connection for incoming queue */
@@ -84,9 +82,8 @@
 			//properties.put(Context.INITIAL_CONTEXT_FACTORY,"org.apache.activemq.jndi.ActiveMQInitialContextFactory");
 			//properties.put(Context.PROVIDER_URL           , "tcp://localhost:61616");
 			//JBossMQ
-		    properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
-		    properties.put(Context.PROVIDER_URL           , "localhost");
-			ctx = new InitialContext(properties);
+            /** Context used to lookup the Queues */
+            InitialContext ctx = getContext();
 			
 			logger.info("Looking up connection factory");
 			QueueConnectionFactory qcf = (QueueConnectionFactory) ctx
@@ -112,7 +109,16 @@
 			logger.error(e.getMessage(), e);
 		}
 	}
-	/**
+
+    private InitialContext getContext() throws NamingException {
+        InitialContext ctx;
+        properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
+        properties.put(Context.PROVIDER_URL           , "localhost");
+        ctx = new InitialContext(properties);
+        return ctx;
+    }
+
+    /**
 	 * Sets up the queue listener. By default is listenes to queue/A on localhost.  It consumes the
 	 * message assuming it is a TextMessage, and that the text is an XML structure that can be marshalled
 	 * into a BankQuoteRequest. The request will be processed and a BankQuoteRequest Reply will be serialized to XML
@@ -140,6 +146,7 @@
 			bankQuoteReply.setCustomerEmail(bankQuoteRequest.customerEmail);
 			String bankQuoteReplyXML = xstream.toXML(bankQuoteReply);
 			logger.log(Priority.INFO, "Looking up connection factory");
+            InitialContext ctx = getContext();
 			QueueConnectionFactory qcf = (QueueConnectionFactory) ctx
 					.lookup("ConnectionFactory");
 			logger.log(Priority.INFO, "Creating connection");

Modified: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/build.xml	2007-03-22 18:24:11 UTC (rev 10441)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/build.xml	2007-03-22 18:32:11 UTC (rev 10442)
@@ -109,7 +109,7 @@
 	<!-- =================================================================== -->
 	<!-- Prepares the directory structure                                    -->
 	<!-- =================================================================== -->
-	<target name="org.jboss.esb.samples.trailblazer.prepare">
+	<target name="org.jboss.esb.samples.trailblazer.prepare" depends="clean">
 		<mkdir dir="${org.jboss.esb.samples.trailblazer.esb.dest}"/>
 		<mkdir dir="${org.jboss.esb.samples.trailblazer.esb.dest}/dist"/>
 		<mkdir dir="${org.jboss.esb.samples.trailblazer.esb.dest}/classes"/>
@@ -147,15 +147,27 @@
 
 	<!-- JAR/WAR targets -->
 	<target name="org.jboss.esb.samples.trailblazer.esb.jar" depends="compile" >
-		
-		<!-- ESB JAR -->
-		<echo message="Building Trailblazer ESB jar file"/>
-		<delete file="${org.jboss.esb.samples.trailblazer.esb.dest}/dist/trailblazer-esb.jar" />
-		<jar    destfile="${org.jboss.esb.samples.trailblazer.esb.dest}/dist/trailblazer-esb.jar" 
+
+        <!-- shortened variable - the long ones are a bit ridiculous :-) -->
+        <property name="esb.build.dir" value="${org.jboss.esb.samples.trailblazer.esb.dest}" />
+
+        <!-- ESB Client JAR -->
+		<echo message="Building Trailblazer ESB archives"/>
+		<jar    destfile="${esb.build.dir}/dist/trailblazer-esb.jar"
                 basedir="${org.jboss.esb.samples.trailblazer.esb.classes.dir}" 
                 includes="**/*.class" excludes="**/web/*.class">
         </jar>
-		
+        <!-- ESB Deployment (.esb) -->
+        <copy todir="${esb.build.dir}/META-INF">
+            <fileset dir="esb/conf" includes="jboss-esb.xml" />
+        </copy>
+        <jar destfile="${esb.build.dir}/dist/trailblazer.esb">
+            <fileset dir="${org.jboss.esb.samples.trailblazer.esb.classes.dir}" excludes="**/web/*.class" />            
+            <fileset dir="${esb.build.dir}" includes="META-INF/**" />
+            <fileset dir="esb/conf" includes="jbmq-service.xml" />
+            <fileset dir="${basedir}" includes="jbossesb-properties.xml,template/**" />
+        </jar>
+
 		<!-- Web side WAR -->
 		<echo message="Building Trailblazer WAR file"/>
 		<delete file="${org.jboss.esb.samples.trailblazer.client.dest}/dist/trailblazer.war" />		
@@ -163,6 +175,7 @@
 		        webxml="${basedir}/client/resources/web.xml">
 			<classes dir="${org.jboss.esb.samples.trailblazer.client.classes.dir}" includes="**/web/**/*.class"/>
 			<classes dir="${org.jboss.esb.samples.trailblazer.client.classes.dir}" includes="**/loanbroker/**/*.class"/>
+            <classes dir="${basedir}" includes="jbossesb-properties.xml" />
 			<lib dir="${org.jboss.soa.esb.lib.dir}">
 				<include name="*.jar"/>
 			</lib>
@@ -196,34 +209,22 @@
 			</classes>
 		</war>
 	</target>
-	
-	<target name="deploy-war" depends="jar">
-		<copy file="${org.jboss.esb.samples.trailblazer.client.dest}/dist/trailblazer.war"
-		todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/deploy"/>
-		<copy file="${basedir}/esb-trailblazer-service.xml" overwrite="true"
-				todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/deploy"/>
+
+    <target name="deploy" depends="jar">
+        <property name="target-server" value="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}" />
+
+        <echo message="Deploying Trailblazer EAR and WAR files to target server '${target-server}'."/>
+        <copy todir="${target-server}/deploy">
+            <fileset dir="${org.jboss.esb.samples.trailblazer.esb.dest}/dist/" includes="trailblazer.esb" />
+            <fileset dir="${org.jboss.esb.samples.trailblazer.client.dest}/dist/" includes="trailblazer.war" />
+        </copy>
+
+        <!-- copy file="${basedir}/esb-trailblazer-service.xml" overwrite="true"
+				todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/deploy"/ -->
 		<copy file="${basedir}/jbossesb-properties.xml" 
-				tofile="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/conf/jbossesb-properties.xml" overwrite="true"/>
+				tofile="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/deploy/jbossesb.sar/jbossesb-properties.xml" overwrite="true"/>
 	</target>
 	
-	<target name="deploy-jars" depends="jar">
-		<copy file="${org.jboss.esb.samples.trailblazer.esb.dest}/dist/trailblazer-esb.jar" overwrite="true"
-		todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/deploy/jbossesb.sar"/>
-		<copy file="${basedir}/jbossesb-properties.xml" overwrite="true"
-			tofile="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/conf/jbossesb-properties.xml"/>
-		<copy file="${basedir}/esb-trailblazer-service.xml" overwrite="true"
-			todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/deploy"/>
-		<copy file="${org.jboss.soa.esb.lib.ext.dir}/stringtemplate-2.3b6.jar" overwrite="true"
-			todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/deploy/jbossesb.sar"/>
-		<copy file="${basedir}/esb/conf/jbossesb.xml" overwrite="true"
-			todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/conf"/>
-		<copy file="${basedir}/esb/conf/jbossesb-listener.xml" overwrite="true"
-			todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/conf"/>
-		<copy file="${basedir}/esb/conf/jbossesb-gateway.xml" overwrite="true"
-			todir="${org.jboss.soa.samples.trailblazer.jboss_home}/server/${org.jboss.soa.samples.trailblazer.jboss_server}/conf"/>
-	</target>
-
-
 	<!-- Short target names -->
 	<target name="compile" depends="org.jboss.esb.samples.trailblazer.esb.compile,org.jboss.esb.samples.trailblazer.client.compile"/>
 	<target name="jar" depends="org.jboss.esb.samples.trailblazer.esb.jar"/>

Added: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbmq-service.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbmq-service.xml	                        (rev 0)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbmq-service.xml	2007-03-22 18:32:11 UTC (rev 10442)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+
+<mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=esb-tb-creditAgencyQueue">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+</mbean>
+
+<mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=esb-tb-bankRequestQueue">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+</mbean>
+
+<mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=esb-tb-bankResponseQueue">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+</mbean>
+
+<mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=esb-tb-bankGatewayResponseQueue">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+</mbean>
+
+
+</server>


Property changes on: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbmq-service.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:eol-style
   + native

Copied: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jboss-esb.xml (from rev 10396, labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbossesb.xml)
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jboss-esb.xml	                        (rev 0)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jboss-esb.xml	2007-03-22 18:32:11 UTC (rev 10442)
@@ -0,0 +1,52 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" 
+	parameterReloadSecs="5000">
+
+	<providers>
+		<jms-provider name="JBossMQ" connection-factory="ConnectionFactory" 
+					jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+					jndi-URL="localhost">
+			<jms-bus busid="creditAgencyRequest">
+				<jms-message-filter dest-type="QUEUE" dest-name="queue/esb-tb-creditAgencyQueue" selector="function='request' "/>
+			</jms-bus>
+			<jms-bus busid="bankResponseGateway">
+				<jms-message-filter dest-type="QUEUE" dest-name="queue/esb-tb-bankGatewayResponseQueue"/>
+			</jms-bus>			
+			<jms-bus busid="bankResponseListener">
+				<jms-message-filter dest-type="QUEUE" dest-name="queue/esb-tb-bankResponseQueue"/>
+			</jms-bus>
+		</jms-provider>
+
+	</providers>
+	<services>    
+		
+		<service category="tbCreditAGency" name="creditagency" description="Credit Agency Service">
+			<listeners>
+				<jms-listener name="trailblazer-jmscreditagency"
+							  busidref="creditAgencyRequest"
+							  maxThreads="1"/>							  
+				</listeners>
+			<actions>
+				<action class="org.jboss.soa.esb.samples.trailblazer.actions.CreditAgencyActions"
+					process="processCreditRequest" name="fido">
+				</action>
+			</actions>
+		</service>
+		<service category="tbJmsbank" name="jmsbankreplies" description="Trailblazer Bank Reply Service">
+			<listeners>
+				<jms-listener name="trailblazer-jmsbank"
+					busidref="bankResponseGateway"
+					maxThreads="1"
+					is-gateway="true"/>
+				<jms-listener name="trailblazer-jmsbankreplies"
+							  busidref="bankResponseListener"
+							  maxThreads="1"/> 
+			</listeners>
+			<actions>
+				<action class="org.jboss.soa.esb.samples.trailblazer.actions.BankResponseActions"
+						process="processResponseFromJMSBank" name="pepe"/>
+			</actions>
+		</service>
+	</services>
+	
+</jbossesb>
\ No newline at end of file

Deleted: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbossesb.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbossesb.xml	2007-03-22 18:24:11 UTC (rev 10441)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/conf/jbossesb.xml	2007-03-22 18:32:11 UTC (rev 10442)
@@ -1,52 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" 
-	parameterReloadSecs="5000">
-
-	<providers>
-		<jms-provider name="JBossMQ" connection-factory="ConnectionFactory" 
-					jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
-					jndi-URL="localhost">
-			<jms-bus busid="creditAgencyRequest">
-				<jms-message-filter dest-type="QUEUE" dest-name="queue/esb-tb-creditAgencyQueue" selector="function='request' "/>
-			</jms-bus>
-			<jms-bus busid="bankResponseGateway">
-				<jms-message-filter dest-type="QUEUE" dest-name="queue/esb-tb-bankGatewayResponseQueue"/>
-			</jms-bus>			
-			<jms-bus busid="bankResponseListener">
-				<jms-message-filter dest-type="QUEUE" dest-name="queue/esb-tb-bankResponseQueue"/>
-			</jms-bus>
-		</jms-provider>
-
-	</providers>
-	<services>    
-		
-		<service category="tbCreditAGency" name="creditagency" description="Credit Agency Service">
-			<listeners>
-				<jms-listener name="trailblazer-jmscreditagency"
-							  busidref="creditAgencyRequest"
-							  maxThreads="1"/>							  
-				</listeners>
-			<actions>
-				<action class="org.jboss.soa.esb.samples.trailblazer.actions.CreditAgencyActions"
-					process="processCreditRequest" name="fido">
-				</action>
-			</actions>
-		</service>
-		<service category="tbJmsbank" name="jmsbankreplies" description="Trailblazer Bank Reply Service">
-			<listeners>
-				<jms-listener name="trailblazer-jmsbank"
-					busidref="bankResponseGateway"
-					maxThreads="1"
-					is-gateway="true"/>
-				<jms-listener name="trailblazer-jmsbankreplies"
-							  busidref="bankResponseListener"
-							  maxThreads="1"/> 
-			</listeners>
-			<actions>
-				<action class="org.jboss.soa.esb.samples.trailblazer.actions.BankResponseActions"
-						process="processResponseFromJMSBank" name="pepe"/>
-			</actions>
-		</service>
-	</services>
-	
-</jbossesb>
\ No newline at end of file

Modified: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/util/ProcessEmail.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/util/ProcessEmail.java	2007-03-22 18:24:11 UTC (rev 10441)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/util/ProcessEmail.java	2007-03-22 18:32:11 UTC (rev 10442)
@@ -73,15 +73,15 @@
 		//load up the email templates from the StringTemplate files
 		System.setProperty("com.arjuna.common.util.propertyservice.verbosePropertyManager", "ON");
 		String templatePath = ModulePropertyManager.getPropertyManager("trailblazer").
-			getProperty("org.jboss.soa.esb.trailblazer.email.template.path");
+			getProperty("org.jboss.soa.esb.trailblazer.email.template.path", "template");
 		String templateFile = ModulePropertyManager.getPropertyManager("trailblazer").
-			getProperty("org.jboss.soa.esb.trailblazer.email.template.file");
+			getProperty("org.jboss.soa.esb.trailblazer.email.template.file", "quote");
 		                 
-		logger.debug("loading StringTemplate from path: "+templatePath);
-		logger.debug("loading StringTemplate from file: "+templateFile);
+		logger.info("loading StringTemplate from path: "+templatePath);
+		logger.info("loading StringTemplate from file: "+templateFile);
 		
-		StringTemplateGroup group =  new StringTemplateGroup("loan", templatePath);
-		StringTemplate email = group.getInstanceOf(templateFile);
+		StringTemplateGroup group =  new StringTemplateGroup("loan");
+		StringTemplate email = group.getInstanceOf(templatePath + "/" + templateFile);
 		
 		//String email, String quoteID, String rate, String code, String ssn
 		email.setAttribute("quote", quoteID);

Deleted: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb-trailblazer-service.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb-trailblazer-service.xml	2007-03-22 18:24:11 UTC (rev 10441)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/esb-trailblazer-service.xml	2007-03-22 18:32:11 UTC (rev 10442)
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
-
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=esb-tb-creditAgencyQueue">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=esb-tb-bankRequestQueue">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=esb-tb-bankResponseQueue">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=esb-tb-bankGatewayResponseQueue">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-
-
-</server>

Modified: labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/readme.txt	2007-03-22 18:24:11 UTC (rev 10441)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/samples/trailblazer/readme.txt	2007-03-22 18:32:11 UTC (rev 10442)
@@ -1,5 +1,7 @@
+
 The trailblazer is a small application that uses several of the services provided by the JBoss ESB.
 
+
 Required to run the Trailblazer:
 - ANT
 - A mail server to send email notifications
@@ -22,10 +24,10 @@
 
 1 - run your JBoss AS - you will need to have the 4.0.4 or higher with the EJB3 support installed.  This is rquired because the TB uses the JSR-181 pojo style web service.
 
-2 - from the TB_ROOT, execute the command to start the ESB: ANT deploy-war runESB
-* this should deploy the WAR to your JBoss AS server/default and deploy the Web Service/JSP page.
+2 - from the TB_ROOT, execute the command to start the ESB: "ant deploy"
+* this should deploy the ESB and WAR files to your JBoss AS server/default.
 
-3 - from the TB_ROOT/banks execute the command to start the Bank service: ANT runJMSBank
+3 - from the TB_ROOT/banks execute the command to start the Bank service: "ant runJMSBank"
 
 4 - from the jsp: localhost:8080/trailblazer
 




More information about the jboss-svn-commits mailing list