[jboss-svn-commits] JBL Code SVN: r23038 - in labs/jbossesb/branches/JBESB_4_4_GA_CP: product/lib/ext and 2 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Sep 24 04:57:56 EDT 2008
Author: kevin.conner at jboss.com
Date: 2008-09-24 04:57:56 -0400 (Wed, 24 Sep 2008)
New Revision: 23038
Removed:
labs/jbossesb/branches/JBESB_4_4_GA_CP/product/lib/ext/jgroups-all.jar
Modified:
labs/jbossesb/branches/JBESB_4_4_GA_CP/product/ivy.xml
labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_ftp_action/build.xml
labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_ftp_action/readme.txt
labs/jbossesb/branches/JBESB_4_4_GA_CP/qa/quickstarts/src/org/jboss/soa/esb/quickstart/test/WebServiceProducerTest.java
Log:
Remove jgroups/jboss cache: JBESB-1987
Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/ivy.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/ivy.xml 2008-09-24 05:20:21 UTC (rev 23037)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/ivy.xml 2008-09-24 08:57:56 UTC (rev 23038)
@@ -16,6 +16,7 @@
<dependency org="com.h2database" name="h2" rev="1.0.68"/>
<dependency org="hibernate" name="hibernate3" rev="3.2.4.SP1"/>
<dependency org="jboss" name="jboss-cache" rev="1.2.4.SP2"/>
+ <dependency org="jgroups" name="jgroups" rev="2.4.1"/>
<dependency org="javassist" name="javassist" rev="3.6.0.GA"/>
Deleted: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/lib/ext/jgroups-all.jar
===================================================================
(Binary files differ)
Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_ftp_action/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_ftp_action/build.xml 2008-09-24 05:20:21 UTC (rev 23037)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_ftp_action/build.xml 2008-09-24 08:57:56 UTC (rev 23038)
@@ -5,7 +5,7 @@
${line.separator}
</description>
- <property name="additional.deploys" value="ftpfile-cache-config.xml,lib/cache.jar,lib/jgroups.jar"/>
+ <property name="additional.deploys" value="ftpfile-cache-config.xml"/>
<import file="../conf/base-build.xml"/>
@@ -33,7 +33,7 @@
</java>
</target>
- <target name="run-readonly" description="run the readonly version">
+ <target name="run-readonly" description="run the readonly version" depends="assert-jgroups">
<copy file="ftpfile-cache-config.xml" todir="${basedir}/build/classes"/>
<property name="readonly.mode" value="true"/>
@@ -53,7 +53,7 @@
</antcall>
</target>
- <target name="deploy-readonly" description="deploy the readonly version">
+ <target name="deploy-readonly" description="deploy the readonly version" depends="assert-jgroups">
<copy file="ftpfile-cache-config.xml" todir="${basedir}/classes"/>
<property name="readonly.mode" value="true"/>
Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_ftp_action/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_ftp_action/readme.txt 2008-09-24 05:20:21 UTC (rev 23037)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/samples/quickstarts/helloworld_ftp_action/readme.txt 2008-09-24 08:57:56 UTC (rev 23038)
@@ -4,6 +4,17 @@
gateway so that it picks up messages from an ftp server, routes them through
a JMS queue and finally to your action class for processing.
+Pre-requisites
+==============
+ This quickstart includes a demonstration of a setup for processing remote
+ files on an ftp server without renaming. This ability relies on a distributed
+ cache provided by jgroups and, as a consequence, can only run when targetting
+ a server containing jgroups.jar within the lib directory.
+
+ The 'readonly' targets reference an assertion test which checks for the
+ existence of this jar file. If the jar is not present then please adjust
+ your configuration to target an instance which contains the jar.
+
Running this quickstart:
========================
Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
@@ -29,15 +40,15 @@
==============================================
1. In a command terminal window in this folder ("Window1"), type
'ant deploy-jms-dests'.
- 1. In a command terminal window in this folder ("Window2"), type
+ 2. In a command terminal window in this folder ("Window2"), type
'ant run-readonly'.
- 2. In another command terminal window in this folder ("Window3"), type
+ 3. In another command terminal window in this folder ("Window3"), type
'ant run-readonly'.
- 3. In "Window1", type 'ant runtest'.
- 4. You should see the file contents displayed in the one of the listener
+ 4. In "Window1", type 'ant runtest'.
+ 5. You should see the file contents displayed in the one of the listener
windows.
Log onto the ftpserver and see that the file has not been renamed.
- 5. Examine the jboss-esb-readonly-unfiltered.xml file and specifically this
+ 6. Examine the jboss-esb-readonly-unfiltered.xml file and specifically this
ftp-listener section:
<property name="remoteFileSystemStrategy-configFile"
Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/qa/quickstarts/src/org/jboss/soa/esb/quickstart/test/WebServiceProducerTest.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/qa/quickstarts/src/org/jboss/soa/esb/quickstart/test/WebServiceProducerTest.java 2008-09-24 05:20:21 UTC (rev 23037)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/qa/quickstarts/src/org/jboss/soa/esb/quickstart/test/WebServiceProducerTest.java 2008-09-24 08:57:56 UTC (rev 23038)
@@ -6,7 +6,6 @@
import org.jboss.soa.esb.samples.quickstart.webserviceproducer.test.SendMessage;
import org.jboss.soa.esb.testutils.FileUtil;
-import org.jgroups.protocols.JMS;
/**
* CI test for the webservice_producer quickstart.
More information about the jboss-svn-commits
mailing list