riftsaw SVN: r212 - in trunk: integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages and 5 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2009-10-29 11:30:55 -0400 (Thu, 29 Oct 2009)
New Revision: 212
Added:
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq2.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq3.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp2.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp3.xml
trunk/samples/quickstart/loan_approval/messages/loanreq3.xml
Removed:
trunk/samples/quickstart/loan_approval/bpel/loan_approval.cbp
trunk/samples/quickstart/loan_approval/bpel/output/
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java
trunk/samples/quickstart/loan_approval/build.xml
trunk/samples/quickstart/loan_approval/readme.txt
trunk/samples/quickstart/loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java
Log:
Added fault generation to loan_approval example, when amount is > 20000 - currently causes exception in server (RIFTSAW-90). Also added to integration tests, but currently commented out this failing test case.
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java 2009-10-29 04:24:00 UTC (rev 211)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java 2009-10-29 15:30:55 UTC (rev 212)
@@ -42,10 +42,26 @@
TEST_NAME, "Quickstart_bpel_loan_approval-1.jar,Quickstart_bpel_loan_approval.war"));
}
- public void testSendHello() throws Exception {
+ public void testSendLoanRequest1() throws Exception {
String result=sendSOAPMessage("loanreq1.xml",
"http://localhost:8080/bpel/processes/loanService");
assertMessageFromFile(result, "loanresp1.xml");
}
+
+ public void testSendLoanRequest2() throws Exception {
+ String result=sendSOAPMessage("loanreq2.xml",
+ "http://localhost:8080/bpel/processes/loanService");
+
+ assertMessageFromFile(result, "loanresp2.xml");
+ }
+
+ /*
+ public void testSendLoanRequest3() throws Exception {
+ String result=sendSOAPMessage("loanreq3.xml",
+ "http://localhost:8080/bpel/processes/loanService");
+
+ assertMessageFromFile(result, "loanresp3.xml");
+ }
+ */
}
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq2.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq2.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq2.xml 2009-10-29 15:30:55 UTC (rev 212)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:request>
+ <firstName>Fred</firstName>
+ <name>Bloggs</name>
+ <amount>11000</amount>
+ </wsdl:request>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq3.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq3.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq3.xml 2009-10-29 15:30:55 UTC (rev 212)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:request>
+ <firstName>Joe</firstName>
+ <name>Bloggs</name>
+ <amount>21000</amount>
+ </wsdl:request>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp2.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp2.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp2.xml 2009-10-29 15:30:55 UTC (rev 212)
@@ -0,0 +1 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><message><accept>Evaluated and Approved</accept></message></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp3.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp3.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp3.xml 2009-10-29 15:30:55 UTC (rev 212)
@@ -0,0 +1 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><message><accept>yes</accept></message></env:Body></env:Envelope>
\ No newline at end of file
Modified: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java 2009-10-29 04:24:00 UTC (rev 211)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java 2009-10-29 15:30:55 UTC (rev 212)
@@ -12,20 +12,22 @@
@WebService(targetNamespace = "http://example.com/loan-approval/wsdl/",
endpointInterface="com.example.loan_approval.wsdl.LoanApprovalPT", portName="loanApprover_Port")
public class LoanApprovalPTImpl implements LoanApprovalPT {
-
- public String approve(
- String firstName,
- String name,
- BigInteger amount)
- throws ErrorMessage {
- System.out.println("\nLoanApprovalPTImpl");
- System.out.println("*************************************************");
- System.out.println("firstName Parameter: " + firstName );
- System.out.println("name Parameter: " + name );
- System.out.println("amount Parameter: " + amount );
- System.out.println("*************************************************");
- System.out.println("\n");
- return "Evaluated and Approved";
- }
+
+ public String approve(String firstName, String name,
+ BigInteger amount) throws ErrorMessage {
+ System.out.println("\nLoanApprovalPTImpl");
+ System.out.println("*************************************************");
+ System.out.println("firstName Parameter: " + firstName );
+ System.out.println("name Parameter: " + name );
+ System.out.println("amount Parameter: " + amount );
+ System.out.println("*************************************************");
+ System.out.println("\n");
+
+ if (amount.intValue() >= 20000) {
+ throw new ErrorMessage("Amount too large", amount);
+ }
+ return "Evaluated and Approved";
+ }
+
}
Deleted: trunk/samples/quickstart/loan_approval/bpel/loan_approval.cbp
===================================================================
(Binary files differ)
Modified: trunk/samples/quickstart/loan_approval/build.xml
===================================================================
--- trunk/samples/quickstart/loan_approval/build.xml 2009-10-29 04:24:00 UTC (rev 211)
+++ trunk/samples/quickstart/loan_approval/build.xml 2009-10-29 15:30:55 UTC (rev 212)
@@ -86,4 +86,32 @@
</java>
</target>
+ <target name="sendloanreq2">
+ <echo>Send test message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/bpel/processes/loanService"/>
+ <arg value="messages/loanreq2.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="sendloanreq3">
+ <echo>Send test message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/bpel/processes/loanService"/>
+ <arg value="messages/loanreq3.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+
</project>
Added: trunk/samples/quickstart/loan_approval/messages/loanreq3.xml
===================================================================
--- trunk/samples/quickstart/loan_approval/messages/loanreq3.xml (rev 0)
+++ trunk/samples/quickstart/loan_approval/messages/loanreq3.xml 2009-10-29 15:30:55 UTC (rev 212)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:request>
+ <firstName>Joe</firstName>
+ <name>Bloggs</name>
+ <amount>21000</amount>
+ </wsdl:request>
+ </soapenv:Body>
+</soapenv:Envelope>
Modified: trunk/samples/quickstart/loan_approval/readme.txt
===================================================================
--- trunk/samples/quickstart/loan_approval/readme.txt 2009-10-29 04:24:00 UTC (rev 211)
+++ trunk/samples/quickstart/loan_approval/readme.txt 2009-10-29 15:30:55 UTC (rev 212)
@@ -11,11 +11,9 @@
10000 are considered low risk.
If the loan amount is greater or equal to 10000, then it will invoke
-the loan approver service.
+the loan approver service. If the amount is greater than 20000, then the
+approver will return a fault, indicating that the amount is too much.
-If the approver service is invoked, its response will be returned back
-to the customer. Currently this service will approve all requests.
-
To deploy the example, open a command line window in the example's folder,
and simply type 'ant deploy'. To undeploy, use the command 'ant undeploy'.
@@ -26,7 +24,8 @@
Alternatively, use the 'ant sendloanreq1' command (from a command line window)
to send an example loan request message with amount less than 10000
directly to the deployed process. Or use the command 'ant sendloanreq2' to
-send a loan request with amount greater or equal to 10000.
+send a loan request with amount greater or equal to 10000. Or use command
+'ant sendloanreq3' to send an amount greater than 20000.
NOTE: The "ant deploy" command will by default deploy version 1 of the
example to the server. If you wish to change the example, and redeploy,
Modified: trunk/samples/quickstart/loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java
===================================================================
--- trunk/samples/quickstart/loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java 2009-10-29 04:24:00 UTC (rev 211)
+++ trunk/samples/quickstart/loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java 2009-10-29 15:30:55 UTC (rev 212)
@@ -12,20 +12,22 @@
@WebService(targetNamespace = "http://example.com/loan-approval/wsdl/",
endpointInterface="com.example.loan_approval.wsdl.LoanApprovalPT", portName="loanApprover_Port")
public class LoanApprovalPTImpl implements LoanApprovalPT {
-
- public String approve(
- String firstName,
- String name,
- BigInteger amount)
- throws ErrorMessage {
- System.out.println("\nLoanApprovalPTImpl");
- System.out.println("*************************************************");
- System.out.println("firstName Parameter: " + firstName );
- System.out.println("name Parameter: " + name );
- System.out.println("amount Parameter: " + amount );
- System.out.println("*************************************************");
- System.out.println("\n");
- return "Evaluated and Approved";
- }
+
+ public String approve(String firstName, String name,
+ BigInteger amount) throws ErrorMessage {
+ System.out.println("\nLoanApprovalPTImpl");
+ System.out.println("*************************************************");
+ System.out.println("firstName Parameter: " + firstName );
+ System.out.println("name Parameter: " + name );
+ System.out.println("amount Parameter: " + amount );
+ System.out.println("*************************************************");
+ System.out.println("\n");
+
+ if (amount.intValue() >= 20000) {
+ throw new ErrorMessage("Amount too large", amount);
+ }
+ return "Evaluated and Approved";
+ }
+
}
15 years, 2 months
Build failed in Hudson: RiftSaw #12
by jboss-qa-internal@redhat.com
See http://hudson.qa.jboss.com/hudson/job/RiftSaw/12/changes
Changes:
[jeff.yuchang] * Added the sqlserver, oracle and postgres.
* Consolidated the jdbc/database.properties, remove the hibernate folder.
------------------------------------------
[...truncated 300 lines...]
[INFO] [site:attach-descriptor]
[INFO] snapshot org.jboss.soa.bpel:jboss-riftsaw-war:2.0-SNAPSHOT: checking for updates from snapshots.jboss.org
[INFO] snapshot org.jboss.soa.bpel:jboss-riftsaw-war:2.0-SNAPSHOT: checking for updates from jboss
[INFO] snapshot org.jboss.soa.bpel:jboss-riftsaw-war:2.0-SNAPSHOT: checking for updates from jboss-snapshot
[INFO] snapshot org.jboss.soa.bpel:jboss-riftsaw-war:2.0-SNAPSHOT: checking for updates from maven.repo
[INFO] snapshot org.jboss.soa.bpel:jboss-riftsaw-war:2.0-SNAPSHOT: checking for updates from ibiblio
[INFO] snapshot org.jboss.soa.bpel:jboss-riftsaw-war:2.0-SNAPSHOT: checking for updates from codehaus
[INFO] [antrun:run {execution: test}]
[INFO] Executing tasks
unzip-ode:
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/ode-distro
[echo] /home/hudson/.m2/repository
[unzip] Expanding: /home/hudson/.m2/repository/org/jboss/soa/bpel/jboss-riftsaw-war/2.0-SNAPSHOT/jboss-riftsaw-war-2.0-SNAPSHOT.zip into /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/ode-distro
create-war:
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel.war
[unzip] Expanding: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/ode-distro/jboss-riftsaw-war-2.0-SNAPSHOT/bpel.war into /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel.war
[copy] Copying 4 files to /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel.war
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/riftsaw-bpel-store
[unzip] Expanding: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel.war/WEB-INF/lib/riftsaw-bpel-store-2.0-SNAPSHOT.jar into /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/riftsaw-bpel-store
[delete] Deleting: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/riftsaw-bpel-store/META-INF/persistence.xml
[jar] Building jar: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel.war/WEB-INF/lib/riftsaw-bpel-store-2.0-SNAPSHOT.jar
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/riftsaw-bpel-dao
[unzip] Expanding: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel.war/WEB-INF/lib/riftsaw-bpel-dao-2.0-SNAPSHOT.jar into /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/riftsaw-bpel-dao
[jar] Building jar: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel.war/WEB-INF/lib/riftsaw-bpel-dao-2.0-SNAPSHOT.jar
create-sar:
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel/lib
[unzip] Expanding: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine/target/riftsaw-framework.jar into /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel
[copy] Copying 21 files to /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel/lib
[copy] Copying 10 files to /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/bpel
package-bpel:
[INFO] Executed tasks
[INFO] [assembly:attached {execution: make-assembly}]
[INFO] Reading assembly descriptor: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/assembly.xml
[INFO] Building zip: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/riftsaw.sar.zip
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] [install:install]
[INFO] Installing /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/pom.xml to /home/hudson/.m2/repository/org/jboss/soa/bpel/runtime/bpel.sar/2.0-SNAPSHOT/bpel.sar-2.0-SNAPSHOT.pom
[INFO] Installing /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine-assembly/target/riftsaw.sar.zip to /home/hudson/.m2/repository/org/jboss/soa/bpel/runtime/bpel.sar/2.0-SNAPSHOT/bpel.sar-2.0-SNAPSHOT.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building RiftSaw::Runtime::JBossESB-BPEL
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel/target
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel/target/classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:testCompile]
[INFO] Compiling 2 source files to /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.soa.esb.actions.bpel.BPELInvokeTest
log4j:WARN No appenders could be found for logger (org.jboss.soa.esb.actions.bpel.BPELInvoke).
log4j:WARN Please initialize the log4j system properly.
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.935 sec
Results :
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel/target/jbossesb-bpel.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel/target/jbossesb-bpel-sources.jar
[INFO] [install:install]
[INFO] Installing /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel/target/jbossesb-bpel.jar to /home/hudson/.m2/repository/org/jboss/soa/bpel/runtime/jbossesb-bpel/2.0-SNAPSHOT/jbossesb-bpel-2.0-SNAPSHOT.jar
[INFO] Installing /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel/target/jbossesb-bpel-sources.jar to /home/hudson/.m2/repository/org/jboss/soa/bpel/runtime/jbossesb-bpel/2.0-SNAPSHOT/jbossesb-bpel-2.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building RiftSaw::Runtime::JBossESB-BPEL-Assembly
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel-assembly/target
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel-assembly/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jboss-packaging:esb]
[INFO] Exploding JBoss packaging...
[INFO] Assembling JBoss packaging bpel.esb in /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel-assembly/target/riftsaw
[INFO]
[INFO] Including artifacts:
[INFO] -------------------
[INFO] o org.jboss.soa.bpel.runtime:jbossesb-bpel
[INFO] o org.jboss.soa.bpel:riftsaw-bpel-runtime
[INFO] o org.jboss.soa.bpel:riftsaw-bpel-epr
[INFO] o org.jboss.soa.bpel:riftsaw-agents
[INFO] o javassist:javassist
[INFO] o javassist:javassist
[INFO] o org.jboss.soa.bpel.dependencies.esb:jbossesb-rosetta
[INFO]
[INFO] Excluded artifacts:
[INFO] ------------------
[INFO] o active project artifact:
artifact = org.jboss.soa.bpel.runtime:engine:jar:2.0-SNAPSHOT:compile;
project: MavenProject: org.jboss.soa.bpel.runtime:engine:2.0-SNAPSHOT @ /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/engine/pom.xml
[INFO] o wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] o commons-logging:commons-logging:jar:1.1.1:compile
[INFO] o org.jboss.soa.bpel:riftsaw-bpel-store:jar:2.0-SNAPSHOT:compile
[INFO] o org.jboss.soa.bpel:riftsaw-bpel-dao:jar:2.0-SNAPSHOT:compile
[INFO] o org.jboss.soa.bpel:riftsaw-bpel-api:jar:2.0-SNAPSHOT:compile
[INFO] o org.jboss.soa.bpel:riftsaw-utils:jar:2.0-SNAPSHOT:compile
[INFO] o org.jboss.soa.bpel:riftsaw-scheduler-simple:jar:2.0-SNAPSHOT:compile
[INFO]
[INFO] Generating JBoss packaging /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel-assembly/target/riftsaw.esb
[INFO] Building jar: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel-assembly/target/riftsaw.esb
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel-assembly/target/riftsaw-sources.jar
[INFO] [install:install]
[INFO] Installing /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel-assembly/target/riftsaw.esb to /home/hudson/.m2/repository/org/jboss/soa/bpel/runtime/bpel.esb/2.0-SNAPSHOT/bpel.esb-2.0-SNAPSHOT.esb
[INFO] Installing /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/runtime/jbossesb-bpel-assembly/target/riftsaw-sources.jar to /home/hudson/.m2/repository/org/jboss/soa/bpel/runtime/bpel.esb/2.0-SNAPSHOT/bpel.esb-2.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building RiftSaw::Console
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] [install:install]
[INFO] Installing /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/console/pom.xml to /home/hudson/.m2/repository/org/jboss/soa/bpel/console/parent/2.0-SNAPSHOT/parent-2.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building RiftSaw::Console::Integration
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /qa/services/hudson/hudson_workspace/workspace/RiftSaw/riftsaw/console/integration/target
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] snapshot org.jboss.bpm:gwt-console-server-integration:1.2.0-SNAPSHOT: checking for updates from jboss
[INFO] snapshot org.jboss.bpm:gwt-console-server-integration:1.2.0-SNAPSHOT: checking for updates from jboss-snapshot
[INFO] snapshot org.jboss.bpm:gwt-console-server-integration:1.2.0-SNAPSHOT: checking for updates from maven.repo
[INFO] snapshot org.jboss.bpm:gwt-console-server-integration:1.2.0-SNAPSHOT: checking for updates from ibiblio
[INFO] snapshot org.jboss.bpm:gwt-console-server-integration:1.2.0-SNAPSHOT: checking for updates from codehaus
Downloading: http://snapshots.jboss.org/maven2/org/jboss/bpm/gwt-console-server-integr...
0b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'; remote = '7c26b1fd122ad357c890b2914b7931931d7933e2' - RETRYING
Downloading: http://snapshots.jboss.org/maven2/org/jboss/bpm/gwt-console-server-integr...
0b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'; remote = '7c26b1fd122ad357c890b2914b7931931d7933e2' - IGNORING
Downloading: http://snapshots.jboss.org/maven2/org/jboss/bpm/gwt-console-server-integr...
0b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'; remote = '7c26b1fd122ad357c890b2914b7931931d7933e2' - RETRYING
Downloading: http://snapshots.jboss.org/maven2/org/jboss/bpm/gwt-console-server-integr...
0b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'; remote = '7c26b1fd122ad357c890b2914b7931931d7933e2' - IGNORING
[INFO] snapshot org.jboss.soa.bpel:riftsaw-bpel-schemas:2.0-SNAPSHOT: checking for updates from snapshots.jboss.org
[INFO] snapshot org.jboss.soa.bpel:riftsaw-bpel-schemas:2.0-SNAPSHOT: checking for updates from jboss
[INFO] snapshot org.jboss.soa.bpel:riftsaw-bpel-schemas:2.0-SNAPSHOT: checking for updates from jboss-snapshot
[INFO] snapshot org.jboss.soa.bpel:riftsaw-bpel-schemas:2.0-SNAPSHOT: checking for updates from maven.repo
[INFO] snapshot org.jboss.soa.bpel:riftsaw-bpel-schemas:2.0-SNAPSHOT: checking for updates from ibiblio
[INFO] snapshot org.jboss.soa.bpel:riftsaw-bpel-schemas:2.0-SNAPSHOT: checking for updates from codehaus
Downloading: http://snapshots.jboss.org/maven2/org/jboss/bpm/gwt-console-server-integr...
0b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'; remote = 'b23a8af7e01aec669fa8dbcdffdfd0f4c4f46515' - RETRYING
Downloading: http://snapshots.jboss.org/maven2/org/jboss/bpm/gwt-console-server-integr...
0b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'; remote = 'b23a8af7e01aec669fa8dbcdffdfd0f4c4f46515' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.jboss.bpm:gwt-console-server-integration:jar:1.2.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.bpm -DartifactId=gwt-console-server-integration -Dversion=1.2.0-20091026.110525-3 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jboss.bpm -DartifactId=gwt-console-server-integration -Dversion=1.2.0-20091026.110525-3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.jboss.soa.bpel.console:integration:jar:2.0-SNAPSHOT
2) org.jboss.bpm:gwt-console-server-integration:jar:1.2.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.jboss.soa.bpel.console:integration:jar:2.0-SNAPSHOT
from the specified remote repositories:
repository.exadel.com (http://repository.exadel.com),
jboss-snapshot (http://snapshots.jboss.org/maven2),
codehaus (http://repo1.maven.org/maven2),
maven.repo (http://repo1.maven.org/maven2),
snapshots.jboss.org (http://snapshots.jboss.org/maven2),
jboss (http://repository.jboss.com/maven2/),
ibiblio (http://mirrors.ibiblio.org/pub/mirrors/maven2),
central (http://repo1.maven.org/maven2),
repository.jboss.org (http://repository.jboss.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 46 seconds
[INFO] Finished at: Mon Oct 26 07:15:12 EDT 2009
[INFO] Final Memory: 85M/658M
[INFO] ------------------------------------------------------------------------
15 years, 2 months
riftsaw SVN: r211 - trunk/integration-tests.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2009-10-29 00:24:00 -0400 (Thu, 29 Oct 2009)
New Revision: 211
Modified:
trunk/integration-tests/pom.xml
Log:
* update the jbossesb-config-model version.
Modified: trunk/integration-tests/pom.xml
===================================================================
--- trunk/integration-tests/pom.xml 2009-10-28 16:48:47 UTC (rev 210)
+++ trunk/integration-tests/pom.xml 2009-10-29 04:24:00 UTC (rev 211)
@@ -17,7 +17,7 @@
<properties>
<jboss.jbosssx.version>2.0.2.SP3</jboss.jbosssx.version>
<jboss.common.version>1.2.1.GA</jboss.common.version>
- <jboss.version>jboss-5.1.0.GA</jboss.version>
+ <jboss.version>5.1.0.GA</jboss.version>
</properties>
<dependencies>
@@ -43,7 +43,7 @@
<dependency>
<groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
<artifactId>jbossesb-config-model</artifactId>
- <version>4.6</version>
+ <version>1.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -73,7 +73,7 @@
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-client</artifactId>
- <version>5.1.0.GA</version>
+ <version>${jboss.version}</version>
<type>pom</type>
<scope>test</scope>
</dependency>
15 years, 2 months
riftsaw SVN: r210 - trunk/integration-tests.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2009-10-28 12:48:47 -0400 (Wed, 28 Oct 2009)
New Revision: 210
Modified:
trunk/integration-tests/pom.xml
Log:
Fixed the ESB integration test issue.
Modified: trunk/integration-tests/pom.xml
===================================================================
--- trunk/integration-tests/pom.xml 2009-10-28 14:46:39 UTC (rev 209)
+++ trunk/integration-tests/pom.xml 2009-10-28 16:48:47 UTC (rev 210)
@@ -33,19 +33,7 @@
<version>3.1</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- <version>1.3.4</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-client</artifactId>
- <version>5.1.0.GA</version>
- <type>pom</type>
- <scope>test</scope>
- </dependency>
+
<dependency>
<groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
<artifactId>jbossesb-rosetta</artifactId>
@@ -54,40 +42,114 @@
</dependency>
<dependency>
<groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
+ <artifactId>jbossesb-config-model</artifactId>
+ <version>4.6</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
<artifactId>jbossts-common</artifactId>
<version>4.6</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.ws.scout</groupId>
- <artifactId>scout</artifactId>
- <version>1.2</version>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax</artifactId>
+ <version>1.2.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ <version>1.0.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-client</artifactId>
+ <version>5.1.0.GA</version>
+ <type>pom</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.ws.scout</groupId>
<artifactId>scout</artifactId>
<version>1.1</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.ws.scout</groupId>
- <artifactId>jaxr-api</artifactId>
- <version>1.0</version>
+ <groupId>org.apache.xmlbeans</groupId>
+ <artifactId>xmlbeans</artifactId>
+ <version>2.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.juddi</groupId>
- <artifactId>juddi</artifactId>
- <version>2.0.1</version>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1</version>
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>javassist</artifactId>
+ <version>3.6.0.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>trove</groupId>
+ <artifactId>trove</artifactId>
+ <version>2.1.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.juddi</groupId>
<artifactId>juddi-client</artifactId>
<version>2.0.1</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>jboss.messaging</groupId>
+ <artifactId>jboss-messaging-client</artifactId>
+ <version>1.4.3.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-remoting</artifactId>
+ <version>2.2.1.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.3</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ <version>3.2.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.8.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-spi</artifactId>
+ <version>2.1.0.GA</version>
+ <scope>test</scope>
+ </dependency>
+
</dependencies>
<build>
@@ -116,6 +178,9 @@
<ant antfile="${basedir}/build.xml">
<target name="unpack-distribution" />
</ant>
+ <ant antfile="${basedir}/build.xml">
+ <target name="package-tests" />
+ </ant>
<!-- Cleanup test environment in case of previous failure -->
<!--
@@ -129,9 +194,6 @@
<ant antfile="${basedir}/build.xml">
<target name="start-server" />
</ant>
- <ant antfile="${basedir}/build.xml">
- <target name="package-tests" />
- </ant>
</tasks>
</configuration>
<goals>
@@ -154,14 +216,14 @@
value="${maven.dependency.org.jboss.soa.bpel.runtime.engine.jar.path}" />
<property name="dependency.bpel.jb-bpel-store"
value="${maven.dependency.org.jboss.soa.bpel.runtime.jb-bpel-store.jar.path}" />
- <!--
- -->
- <ant antfile="${basedir}/build.xml">
+ <ant antfile="${basedir}/build.xml">
<target name="stop-server" />
</ant>
<ant antfile="${basedir}/build.xml">
<target name="undeploy-riftsaw" />
</ant>
+ <!--
+ -->
</tasks>
</configuration>
<goals>
15 years, 2 months
riftsaw SVN: r208 - in trunk: runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2009-10-28 10:30:33 -0400 (Wed, 28 Oct 2009)
New Revision: 208
Removed:
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbmq-queue-service.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbossesb-properties.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jndi.properties
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/juddi.properties
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/log4j.xml
Modified:
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jboss-esb.xml
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/BPELEngineImpl.java
Log:
Remove unnecessary files from esb test, and cleanup BPELEngineImpl to remove commented out code.
Deleted: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbmq-queue-service.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbmq-queue-service.xml 2009-10-28 13:39:21 UTC (rev 207)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbmq-queue-service.xml 2009-10-28 14:30:33 UTC (rev 208)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Modified: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jboss-esb.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jboss-esb.xml 2009-10-28 13:39:21 UTC (rev 207)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jboss-esb.xml 2009-10-28 14:30:33 UTC (rev 208)
@@ -43,6 +43,9 @@
</action>
<!-- The next action is for Continuous Integration testing -->
<action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ <action name="action4" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
</actions>
</service>
</services>
Deleted: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbossesb-properties.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbossesb-properties.xml 2009-10-28 13:39:21 UTC (rev 207)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbossesb-properties.xml 2009-10-28 14:30:33 UTC (rev 208)
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2006, JBoss Inc., and others contributors as indicated
- by the @authors tag. All rights reserved.
- See the copyright.txt in the distribution for a
- full listing of individual contributors.
- This copyrighted material is made available to anyone wishing to use,
- modify, copy, or redistribute it subject to the terms and conditions
- of the GNU Lesser General Public License, v. 2.1.
- This program is distributed in the hope that it will be useful, but WITHOUT A
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public License,
- v.2.1 along with this distribution; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- (C) 2005-2006,
- @author JBoss Inc.
--->
-<!-- $Id: jbossesb-unittest-properties.xml $ -->
-<!--
- These options are described in the JBossESB manual.
- Defaults are provided here for convenience only.
-
- Please read through this file prior to using the system, and consider
- updating the specified entries.
--->
-<esb
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
- <properties name="core">
- <property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>
- <property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
- <property name="org.jboss.soa.esb.persistence.connection.factory" value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
- <property name="jboss.esb.invm.scope.default" value="NONE"/>
- </properties>
- <properties name="registry">
- <property name="org.jboss.soa.esb.registry.queryManagerURI"
- value="jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>
- <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
- value="jnp://localhost:1099/PublishService?org.apache.juddi.registry.rmi.Publish#publish" />
- <property name="org.jboss.soa.esb.registry.implementationClass"
- value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
- <property name="org.jboss.soa.esb.registry.factoryClass"
- value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
- <property name="org.jboss.soa.esb.registry.user"
- value="jbossesb"/>
- <property name="org.jboss.soa.esb.registry.password"
- value="password"/>
- <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
- <property name="org.jboss.soa.esb.scout.proxy.transportClass"
- value="org.apache.ws.scout.transport.RMITransport"/>
- </properties>
- <properties name="transports" depends="core">
- <property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
- <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
- <property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
- <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
- </properties>
- <properties name="connection">
- <property name="min-pool-size" value="5"/>
- <property name="max-pool=size" value="10"/>
- <property name="blocking-timeout-millis" value="5000"/>
- <property name="abandoned-connection-timeout" value="10000"/>
- <property name="abandoned-connection-time-interval" value="30000"/>
- </properties>
- <properties name="dbstore">
- <property name="org.jboss.soa.esb.persistence.db.connection.url" value="jdbc:hsqldb:hsql://localhost:9001/"/>
- <property name="org.jboss.soa.esb.persistence.db.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
- <property name="org.jboss.soa.esb.persistence.db.user" value="sa"/>
- <property name="org.jboss.soa.esb.persistence.db.pwd" value=""/>
- <property name="org.jboss.soa.esb.persistence.db.pool.initial.size" value="2"/>
- <property name="org.jboss.soa.esb.persistence.db.pool.min.size" value="2"/>
- <property name="org.jboss.soa.esb.persistence.db.pool.max.size" value="5"/>
- <!--table managed by pool to test for valid connections - created by pool automatically -->
- <property name="org.jboss.soa.esb.persistence.db.pool.test.table" value="pooltest"/>
- <!-- # of milliseconds to timeout waiting for a connection from pool -->
- <property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis" value="5000"/>
- <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
- </properties>
- <properties name="messagerouting">
- <property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
- </properties>
-</esb>
Deleted: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jndi.properties
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jndi.properties 2009-10-28 13:39:21 UTC (rev 207)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jndi.properties 2009-10-28 14:30:33 UTC (rev 208)
@@ -1,5 +0,0 @@
-java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-java.naming.provider.url=jnp://localhost:1099
-java.naming.factory.url.pkgs=org.jboss.naming
-java.naming.factory.url.pkgs=org.jnp.interfaces
-
Deleted: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/juddi.properties
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/juddi.properties 2009-10-28 13:39:21 UTC (rev 207)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/juddi.properties 2009-10-28 14:30:33 UTC (rev 208)
@@ -1,69 +0,0 @@
-# jUDDI Registry Properties (used by RegistryServer)
-# see http://www.juddi.org for more information
-
-# The UDDI Operator Name
-juddi.operatorName = jUDDI.org
-
-# The i18n locale default codes
-juddi.i18n.languageCode = en
-juddi.i18n.countryCode = US
-
-# The UDDI DiscoveryURL Prefix
-juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
-
-# The UDDI Operator Contact Email Address
-juddi.operatorEmailAddress = admin(a)juddi.org
-
-# The maximum name size and maximum number
-# of name elements allows in several of the
-# FindXxxx and SaveXxxx UDDI functions.
-juddi.maxNameLength=255
-juddi.maxNameElementsAllowed=5
-
-# The maximum number of UDDI artifacts allowed
-# per publisher. A value of '-1' indicates any
-# number of artifacts is valid (These values can be
-# overridden at the individual publisher level).
-juddi.maxBusinessesPerPublisher=25
-juddi.maxServicesPerBusiness=20
-juddi.maxBindingsPerService=10
-juddi.maxTModelsPerPublisher=100
-
-# jUDDI Authentication module to use
-juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
-
-# jUDDI DataStore module currently to use
-juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
-
-# use a dataSource (if set to false a direct
-# jdbc connection will be used.
-juddi.isUseDataSource=false
-juddi.jdbcDriver=com.mysql.jdbc.Driver
-juddi.jdbcUrl=jdbc:mysql://localhost:3306/juddi
-juddi.jdbcUsername=root
-juddi.jdbcPassword=admin
-# jUDDI DataSource to use
-# juddi.dataSource=java:comp/env/jdbc/MySqlDS
-
-# jUDDI UUIDGen implementation to use
-juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
-
-# jUDDI Cryptor implementation to use
-juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
-
-# jUDDI Validator to use
-juddi.validator=org.apache.juddi.validator.DefaultValidator
-
-# jUDDI Proxy Properties (used by RegistryProxy)
-juddi.proxy.adminURL = http://localhost:8080/juddi/admin
-juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
-juddi.proxy.publishURL = http://localhost:8080/juddi/publish
-juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
-juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
-juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
-
-# JNDI settings (used by RMITransport)
-java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-java.naming.provider.url=jnp://localhost:1099
-java.naming.factory.url.pkgs=org.jboss.naming
-
Deleted: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/log4j.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/log4j.xml 2009-10-28 13:39:21 UTC (rev 207)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/log4j.xml 2009-10-28 14:30:33 UTC (rev 208)
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Log4j Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
-
-<!--
- | For more configuration infromation and examples see the Jakarta Log4j
- | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
- <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Target" value="System.out"/>
- <param name="Threshold" value="INFO"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <!-- The default pattern: Date Priority [Category] Message\n -->
- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
- </layout>
- </appender>
-
- <!-- ================================= -->
- <!-- Preserve messages in a local file -->
- <!-- ================================= -->
-
- <!-- A size based file rolling appender -->
- <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="./listener.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
- </layout>
- </appender>
-
- <!-- ================ -->
- <!-- Limit categories -->
- <!-- ================ -->
-
- <category name="org.jboss">
- <priority value="WARN"/>
- </category>
- <category name="org.jboss.soa.esb">
- <priority value="ERROR"/>
- </category>
- <category name="org.jboss.internal.soa.esb">
- <priority value="ERROR"/>
- </category>
- <category name="org.apache">
- <priority value="ERROR"/>
- </category>
- <category name="quickstart">
- <priority value="DEBUG"/>
- </category>
- <!-- ======================= -->
- <!-- Setup the Root category -->
- <!-- ======================= -->
-
- <root>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="FILE"/>
- </root>
-
-</log4j:configuration>
Modified: trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/BPELEngineImpl.java
===================================================================
--- trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/BPELEngineImpl.java 2009-10-28 13:39:21 UTC (rev 207)
+++ trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/BPELEngineImpl.java 2009-10-28 14:30:33 UTC (rev 208)
@@ -199,10 +199,6 @@
throw new Exception(errorMsg);
}
- //if (outMsgContext != null) {
- //SOAPEnvelope envelope = soapFactory.getDefaultEnvelope();
- //outMsgContext.setEnvelope(envelope);
-
// Hopefully we have a response
__log.debug("Handling response for MEX " + odeMex);
boolean commit = false;
@@ -214,10 +210,6 @@
}
try {
// Refreshing the message exchange
- //odeMex = (MyRoleMessageExchange) _server.getEngine().getMessageExchange(odeMex.getMessageExchangeId());
- //onResponse(odeMex, outMsgContext);
-
- // Refreshing the message exchange
odeMex = (MyRoleMessageExchange) _bpelServer.getEngine().getMessageExchange(odeMex.getMessageExchangeId());
ret = onResponse(odeMex);
@@ -258,76 +250,6 @@
odeMex.release(true);
}
-
-
-
-
-
- /*
-
- MyRoleMessageExchange odeMex = null;
- try {
- // Creating mesage exchange
- String messageId = new GUID().toString();
- odeMex = _bpelServer.createMessageExchange(
- InvocationStyle.UNRELIABLE, service, operation, messageId
- );
-
- __log.debug("ODE routed to operation " + odeMex.getOperation() + " from service " + service);
-
- if (odeMex.getOperation() == null) {
- String errmsg = "Call to " + service + "." + odeMex.getOperationName() + " was not routable.";
- __log.error(errmsg);
- throw new Exception(errmsg);
- }
-
- // Preparing message to send to ODE
- Message odeRequest = odeMex.createMessage(odeMex.getOperation().getInput().getMessage().getQName());
- //_converter.parseSoapRequest(odeRequest, msgContext.getEnvelope(), odeMex.getOperation());
-
- odeRequest.setMessage(message);
-
- // TODO: Might need to store session id/epr of caller?
- //readHeader(msgContext, odeMex);
-
- if (__log.isDebugEnabled()) {
- __log.debug("Invoking ODE using MEX " + odeMex);
- __log.debug("Message content: " + DOMUtils.domToString(odeRequest.getMessage()));
- }
-
- odeMex.setRequest(odeRequest);
- odeMex.setTimeout(resolveTimeout());
-
- if(__log.isDebugEnabled()) __log.debug("Blocking invoke with mex " + odeMex.getMessageExchangeId() + ".");
-
- odeMex.invokeBlocking();
-
- if (odeMex.getOperation().getOutput() != null) {
-
- // TODO: Need to check response type - i.e. could be fault, odeMex.getAckType()
-
- Message resp=odeMex.getResponse();
-
- ret = resp.getMessage();
-
- __log.debug("Returning: "+ret);
-
- }
- } catch (java.util.concurrent.TimeoutException te) {
- String errmsg = "Call to " + service + "." + odeMex.getOperationName() + " timed out(" + resolveTimeout() + " ms).";
- __log.error(errmsg, te);
- throw new Exception(errmsg);
- } catch (Exception e) {
- __log.error("EXCEPTION", e);
-
- String errmsg = "Call to " + service + "." + odeMex.getOperationName() + " caused an exception.";
- __log.error(errmsg, e);
- throw new Exception(errmsg, e);
- } finally {
- // we cannot release ode mex here since it's outside of the transaction
- }
- */
-
return(ret);
}
@@ -349,20 +271,6 @@
case FAILURE:
if (__log.isDebugEnabled())
__log.debug("Failure response message: " + mex.getFault());
-
- /*
- OdeFault odeFault;
- String beVerbose = _pconf.getEndpointProperties(_serviceRef).get(Properties.PROP_MEX_FAILURE_VERBOSE);
- // default is true
- if (beVerbose == null || Boolean.valueOf(beVerbose)) {
- odeFault = _converter.createOdeFault(mex.getFaultExplanation(), mex.getFaultResponse());
- } else {
- odeFault = new OdeFault("Message exchange failure.");
- odeFault.setDetail(null);
- odeFault.setStackTrace(new StackTraceElement[]{});
- }
- throw odeFault;
- */
__log.error("Failure details: "+mex.getFaultResponse());
throw new Exception("Failure response message: "+mex.getFault()+" : "+mex.getFaultExplanation());
@@ -398,16 +306,6 @@
}
private long resolveTimeout() {
- /* _serviceRef is a WSAEndpoint - not sure if we need to provide this?
- String timeout = _pconf.getEndpointProperties(_serviceRef).get(Properties.PROP_MEX_TIMEOUT);
- if (timeout != null) {
- try {
- return Long.parseLong(timeout);
- } catch (NumberFormatException e) {
- if(__log.isWarnEnabled()) __log.warn("Mal-formatted Property: ["+ Properties.PROP_MEX_TIMEOUT+"="+timeout+"] Default value ("+Properties.DEFAULT_MEX_TIMEOUT+") will be used");
- }
- }
- */
return Properties.DEFAULT_MEX_TIMEOUT;
}
@@ -422,7 +320,7 @@
__log.error("Failed to load properties", e);
}
- __log.info("ODE PROPS="+props);
+ __log.debug("ODE PROPS="+props);
_odeConfig = new OdeConfigProperties(props, "bpel.");
@@ -496,7 +394,7 @@
}
protected void initDAO() throws Exception {
- __log.info("USING DAO: "+_odeConfig.getDAOConnectionFactory());
+ __log.debug("USING DAO: "+_odeConfig.getDAOConnectionFactory());
try {
_daoCF = _db.createDaoCF();
} catch (Exception ex) {
@@ -524,32 +422,6 @@
return scheduler;
}
- /* ODE2 version
- protected void initBpelServer(EndpointReferenceContextImpl eprContext) {
- if (__log.isDebugEnabled()) {
- __log.debug("ODE initializing");
- }
-
- _bpelServer = new BpelServerImpl();
- _scheduler = createScheduler();
- _scheduler.setJobProcessor(_bpelServer);
-
- _bpelServer.setDaoConnectionFactory(_daoCF);
- _bpelServer.setEndpointReferenceContext(eprContext);
- _bpelServer.setMessageExchangeContext(new MessageExchangeContextImpl(this));
- _bpelServer.setBindingContext(new JAXWSBindingContext(this));
- _bpelServer.setScheduler(_scheduler);
- _bpelServer.setTransactionManager(_txMgr);
- if (_odeConfig.isDehydrationEnabled()) {
- CountLRUDehydrationPolicy dehy = new CountLRUDehydrationPolicy();
- // dehy.setProcessMaxAge(10000);
- _bpelServer.setDehydrationPolicy(dehy);
- }
- _bpelServer.setConfigProperties(_odeConfig);
- _bpelServer.init();
- }
- */
-
private void initBpelServer(EndpointReferenceContextImpl eprContext) {
if (__log.isDebugEnabled()) {
__log.debug("ODE initializing");
@@ -617,7 +489,7 @@
String listenerCN = tokenizer.nextToken();
try {
_bpelServer.registerBpelEventListener((BpelEventListener) Class.forName(listenerCN).newInstance());
- __log.info("REGISTERED EVENT LISTENER: "+listenerCN);
+ __log.debug("REGISTERED EVENT LISTENER: "+listenerCN);
} catch (Exception e) {
__log.warn("Couldn't register the event listener " + listenerCN + ", the class couldn't be "
+ "loaded properly: " + e);
@@ -634,7 +506,7 @@
String interceptorCN = tokenizer.nextToken();
try {
_bpelServer.registerMessageExchangeInterceptor((MessageExchangeInterceptor) Class.forName(interceptorCN).newInstance());
- __log.info("MESSAGE EXCHANGE INTERCEPTOR REGISTERED: "+interceptorCN);
+ __log.debug("MESSAGE EXCHANGE INTERCEPTOR REGISTERED: "+interceptorCN);
} catch (Exception e) {
__log.warn("Couldn't register the event listener " + interceptorCN + ", the class couldn't be "
+ "loaded properly: " + e);
@@ -643,45 +515,6 @@
}
}
- /*
- private void registerExtensionActivityBundles() {
- String extensionsRTStr = _odeConfig.getExtensionActivityBundlesRT();
- String extensionsValStr = _odeConfig.getExtensionActivityBundlesValidation();
- if (extensionsRTStr != null) {
- // TODO replace StringTokenizer by regex
- for (StringTokenizer tokenizer = new StringTokenizer(extensionsRTStr, ",;"); tokenizer.hasMoreTokens();) {
- String bundleCN = tokenizer.nextToken();
- try {
- // instantiate bundle
- ExtensionBundleRuntime bundleRT = (ExtensionBundleRuntime) Class.forName(bundleCN).newInstance();
- // register extension bundle (BPEL server)
- _bpelServer.registerExtensionBundle(bundleRT);
- } catch (Exception e) {
- __log.warn("Couldn't register the extension bundle runtime " + bundleCN + ", the class couldn't be " +
- "loaded properly.");
- }
- }
- }
- if (extensionsValStr != null) {
- Map<QName, ExtensionValidator> validators = new HashMap<QName, ExtensionValidator>();
- for (StringTokenizer tokenizer = new StringTokenizer(extensionsValStr, ",;"); tokenizer.hasMoreTokens();) {
- String bundleCN = tokenizer.nextToken();
- try {
- // instantiate bundle
- ExtensionBundleValidation bundleVal = (ExtensionBundleValidation) Class.forName(bundleCN).newInstance();
- //add validators
- validators.putAll(bundleVal.getExtensionValidators());
- } catch (Exception e) {
- __log.warn("Couldn't register the extension bundle validator " + bundleCN + ", the class couldn't be " +
- "loaded properly.");
- }
- }
- // register extension bundle (BPEL store)
- _store.setExtensionValidators(validators);
- }
- }
- */
-
private void registerExternalVariableModules() {
JdbcExternalVariableModule jdbcext;
jdbcext = new JdbcExternalVariableModule();
@@ -692,36 +525,7 @@
private void handleEvent(ProcessStoreEvent pse) {
- // TODO: TEAM_ODE - need to inform BPELEngine listeners of new process, in case
- // they need to do some dynamic registration of the service interface
- // (e.g. jbossws)
- // THIS could be done in the BindingContextImpl - as part of
- // activating and deactivating the endpoint - so the BindingContextImpl
- // invokes the appropriate Transport Layer implementation(s) to register/activate
- // the endpoint
-
- /*
__log.debug("Process store event: " + pse);
- switch (pse.type) {
- case ACTIVATED:
- case RETIRED:
- // bounce the process
- _bpelServer.unregister(pse.pid);
- ProcessConf pconf = _store.getProcessConfiguration(pse.pid);
- if (pconf != null) _bpelServer.register(pconf);
- else __log.debug("slighly odd: recevied event " + pse + " for process not in store!");
- break;
- case DISABLED:
- case UNDEPLOYED:
- _bpelServer.unregister(pse.pid);
- _bpelServer.cleanupProcess(pse.pid);
- break;
- default:
- __log.debug("Ignoring store event: " + pse);
- }
- */
-
- __log.debug("Process store event: " + pse);
ProcessConf pconf = _store.getProcessConfiguration(pse.pid);
switch (pse.type) {
case DEPLOYED:
15 years, 2 months
riftsaw SVN: r207 - trunk/qa.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2009-10-28 09:39:21 -0400 (Wed, 28 Oct 2009)
New Revision: 207
Modified:
trunk/qa/build.xml
Log:
* use the JBoss AS jdk 6 version.
Modified: trunk/qa/build.xml
===================================================================
--- trunk/qa/build.xml 2009-10-28 08:33:40 UTC (rev 206)
+++ trunk/qa/build.xml 2009-10-28 13:39:21 UTC (rev 207)
@@ -15,7 +15,7 @@
<property name="jboss.parent.dir" value="${riftsaw.home}" />
<property name="jboss.version" value="5.1.0.GA" />
<property name="jboss.home" value="${riftsaw.home}/jboss-${jboss.version}" />
- <property name="jboss.filename" value="jboss-${jboss.version}.zip" />
+ <property name="jboss.filename" value="jboss-${jboss.version}-jdk6.zip" />
<property name="download.dir" value="${riftsaw.parent.dir}/downloads" />
@@ -105,4 +105,4 @@
</target>
-</project>
\ No newline at end of file
+</project>
15 years, 2 months
riftsaw SVN: r206 - in trunk: qa and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2009-10-28 04:33:40 -0400 (Wed, 28 Oct 2009)
New Revision: 206
Modified:
trunk/integration-tests/build.xml
trunk/integration-tests/pom.xml
trunk/qa/hudson-riftsaw-jboss.sh
Log:
* update the ESB version from 4.6.GA to 4.6
* update the hudson job script.
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2009-10-27 19:19:52 UTC (rev 205)
+++ trunk/integration-tests/build.xml 2009-10-28 08:33:40 UTC (rev 206)
@@ -4,7 +4,7 @@
<property name="riftsaw.engine.version" value="2.0-SNAPSHOT" />
<property file="${riftsaw.test.deployment.properties}" />
-
+
<target name="unpack-distribution">
<mkdir dir="${basedir}/../distribution/target/dist"/>
<unzip dest="${basedir}/../distribution/target/dist" src="${basedir}/../distribution/target/riftsaw-${riftsaw.engine.version}.zip"/>
@@ -67,7 +67,7 @@
<target name="stop-server" >
<echo>Stopping the server</echo>
- <echo>Server is at ${riftsaw.jboss.home}</echo>
+ <echo>Server is at ${org.jboss.esb.server.home}</echo>
<java classname="org.jboss.Shutdown" fork="true" failonerror="false" resultproperty="shutdown.rc">
<arg line="-s jnp://localhost:1099 --shutdown"/>
Modified: trunk/integration-tests/pom.xml
===================================================================
--- trunk/integration-tests/pom.xml 2009-10-27 19:19:52 UTC (rev 205)
+++ trunk/integration-tests/pom.xml 2009-10-28 08:33:40 UTC (rev 206)
@@ -49,13 +49,13 @@
<dependency>
<groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
<artifactId>jbossesb-rosetta</artifactId>
- <version>4.6.GA</version>
+ <version>4.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
<artifactId>jbossts-common</artifactId>
- <version>4.6.GA</version>
+ <version>4.6</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -118,11 +118,11 @@
</ant>
<!-- Cleanup test environment in case of previous failure -->
- <!--
- -->
+ <!--
<ant antfile="${basedir}/build.xml">
<target name="undeploy-riftsaw" />
</ant>
+ -->
<ant antfile="${basedir}/build.xml">
<target name="deploy-riftsaw" />
</ant>
Modified: trunk/qa/hudson-riftsaw-jboss.sh
===================================================================
--- trunk/qa/hudson-riftsaw-jboss.sh 2009-10-27 19:19:52 UTC (rev 205)
+++ trunk/qa/hudson-riftsaw-jboss.sh 2009-10-28 08:33:40 UTC (rev 206)
@@ -9,11 +9,17 @@
ANT_PROPERTIES="-Driftsaw.parent.dir=$RIFTSAW_PARENT_DIR"
echo ANT_PROPERTIES=${ANT_PROPERTIES}
+# firstly build the Riftsaw and run unit tests
+echo build RiftSaw and running unit test
+cd ..
+mvn clean install
+
+# run integration test
echo cleanup the RiftSaw HOME
+cd qa
ant $ANT_PROPERTIES clean
ant $ANT_PROPERTIES install.jbossesb
-
DATABASE="hsql"
RIFTSAW_VERSION="2.0-SNAPSHOT"
ESB_HOME="$RIFTSAW_PARENT_DIR/riftsaw-$RIFTSAW_VERSION/jboss-$JBOSS_VERSION"
@@ -22,5 +28,5 @@
echo build the RiftSaw and run integration tests
echo ESB_HOME=$ESB_HOME, ESB_CONIFG=$ESB_CONFIG
-cd ..
-mvn -Dorg.jboss.esb.server.home=$ESB_HOME -Dorg.jboss.esb.server.config=$ESB_CONFIG -Ddatabase=$DATABASE clean install -P integration
+cd ../integration-tests
+mvn -Dorg.jboss.esb.server.home=$ESB_HOME -Dorg.jboss.esb.server.config=$ESB_CONFIG -Ddatabase=$DATABASE clean install
15 years, 2 months
riftsaw SVN: r205 - in trunk: integration-tests and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2009-10-27 15:19:52 -0400 (Tue, 27 Oct 2009)
New Revision: 205
Modified:
trunk/distribution/src/main/assembly/bin.xml
trunk/integration-tests/build.xml
trunk/integration-tests/pom.xml
Log:
Added first ESB related test - does not fully work at present.
Modified: trunk/distribution/src/main/assembly/bin.xml
===================================================================
--- trunk/distribution/src/main/assembly/bin.xml 2009-10-27 19:16:58 UTC (rev 204)
+++ trunk/distribution/src/main/assembly/bin.xml 2009-10-27 19:19:52 UTC (rev 205)
@@ -97,6 +97,11 @@
</fileSet>
<fileSet>
+ <directory>../docs/docbook/userguide/target/docbook/publish/en-US</directory>
+ <outputDirectory>docs/userguide</outputDirectory>
+ </fileSet>
+
+ <fileSet>
<directory>../console/integration/target</directory>
<outputDirectory>/modules/bpel-console</outputDirectory>
<includes>
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2009-10-27 19:16:58 UTC (rev 204)
+++ trunk/integration-tests/build.xml 2009-10-27 19:19:52 UTC (rev 205)
@@ -99,5 +99,7 @@
<ant antfile="src/test/resources/samples/Quickstart_bpel_simple_correlation/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_bpel_simple_invoke/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_bpel_loan_approval/build.xml" />
+
+ <ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world/build.xml" />
</target>
</project>
Modified: trunk/integration-tests/pom.xml
===================================================================
--- trunk/integration-tests/pom.xml 2009-10-27 19:16:58 UTC (rev 204)
+++ trunk/integration-tests/pom.xml 2009-10-27 19:19:52 UTC (rev 205)
@@ -46,6 +46,48 @@
<type>pom</type>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
+ <artifactId>jbossesb-rosetta</artifactId>
+ <version>4.6.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
+ <artifactId>jbossts-common</artifactId>
+ <version>4.6.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.scout</groupId>
+ <artifactId>scout</artifactId>
+ <version>1.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.scout</groupId>
+ <artifactId>scout</artifactId>
+ <version>1.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.scout</groupId>
+ <artifactId>jaxr-api</artifactId>
+ <version>1.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.juddi</groupId>
+ <artifactId>juddi</artifactId>
+ <version>2.0.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.juddi</groupId>
+ <artifactId>juddi-client</artifactId>
+ <version>2.0.1</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
@@ -77,10 +119,10 @@
<!-- Cleanup test environment in case of previous failure -->
<!--
+ -->
<ant antfile="${basedir}/build.xml">
<target name="undeploy-riftsaw" />
</ant>
- -->
<ant antfile="${basedir}/build.xml">
<target name="deploy-riftsaw" />
</ant>
@@ -114,13 +156,13 @@
value="${maven.dependency.org.jboss.soa.bpel.runtime.jb-bpel-store.jar.path}" />
<!--
-->
- <ant antfile="${basedir}/build.xml">
+ <ant antfile="${basedir}/build.xml">
<target name="stop-server" />
</ant>
<ant antfile="${basedir}/build.xml">
<target name="undeploy-riftsaw" />
</ant>
- </tasks>
+ </tasks>
</configuration>
<goals>
<goal>run</goal>
@@ -144,6 +186,9 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <additionalClasspathElements>
+ <additionalClasspathElement>${basedir}/src/test/resources/conf</additionalClasspathElement>
+ </additionalClasspathElements>
<systemProperties>
<property>
<name>test.dir</name>
15 years, 2 months
riftsaw SVN: r204 - in trunk/integration-tests/src/test: java/org/jboss/soa/bpel/tests/samples and 13 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2009-10-27 15:16:58 -0400 (Tue, 27 Oct 2009)
New Revision: 204
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELHelloWorldTestCase.java
trunk/integration-tests/src/test/resources/conf/
trunk/integration-tests/src/test/resources/conf/jbossesb-properties.xml
trunk/integration-tests/src/test/resources/conf/jndi.properties
trunk/integration-tests/src/test/resources/conf/juddi.properties
trunk/integration-tests/src/test/resources/conf/log4j.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/build.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/deployment.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbm-queue-service.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbmq-queue-service.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jboss-esb.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbossesb-properties.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jndi.properties
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/juddi.properties
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/lib/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/log4j.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/samples/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/samples/quickstart/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/samples/quickstart/helloworld/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/
trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTest.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestHelper.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleInvokeTestCase.java
Log:
Added first ESB related test - does not fully work at present.
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTest.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTest.java 2009-10-26 11:08:27 UTC (rev 203)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTest.java 2009-10-27 19:16:58 UTC (rev 204)
@@ -34,6 +34,9 @@
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.methods.StringRequestEntity;
import org.jboss.logging.Logger;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.client.ServiceInvoker;
/**
* Base class for RiftSaw test cases. Based on
@@ -82,7 +85,7 @@
return delegate.getTestFileURL(getTestSuiteName(), filename);
}
- protected void assertMessage(String message, String mesgFile) throws Exception {
+ protected void assertMessageFromFile(String message, String mesgFile) throws Exception {
String mesgpath=System.getProperty("test.dir")+java.io.File.separator+getTestSuiteName()+
java.io.File.separator+mesgFile;
@@ -100,7 +103,16 @@
}
}
- protected String sendMessage(String mesgFile, String url) throws Exception {
+ protected void assertMessage(String message, String comparison) throws Exception {
+ message = message.trim();
+
+ if (!comparison.equals(message)) {
+ fail("Expected message has content ["+comparison+
+ "] which is not the same as ["+message+"], lengths "+comparison.length()+" to "+message.length());
+ }
+ }
+
+ protected String sendSOAPMessage(String mesgFile, String url) throws Exception {
String mesgpath=System.getProperty("test.dir")+java.io.File.separator+getTestSuiteName()+
java.io.File.separator+mesgFile;
@@ -123,4 +135,22 @@
return(result);
}
+
+ protected String sendESBMessage(String message, String serviceCategory, String serviceName)
+ throws Exception {
+ String result=null;
+
+ System.setProperty("javax.xml.registry.ConnectionFactoryClass",
+ "org.apache.ws.scout.registry.ConnectionFactoryImpl");
+
+ Message esbMessage = MessageFactory.getInstance().getMessage();
+
+ esbMessage.getBody().add(message);
+
+ Message respMessage = new ServiceInvoker(serviceCategory, serviceName).deliverSync(esbMessage, 10000);
+
+ result = (String)respMessage.getBody().get();
+
+ return(result);
+ }
}
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestHelper.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestHelper.java 2009-10-26 11:08:27 UTC (rev 203)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/RiftSawTestHelper.java 2009-10-27 19:16:58 UTC (rev 204)
@@ -96,7 +96,7 @@
return file;
String notSet = (getTestArchiveDir() == null ? " System property '" + SYSPROP_TEST_ARCHIVE_DIRECTORY + "' not set." : "");
- throw new IllegalArgumentException("Cannot obtain '" + getTestArchiveDir() + "/" + archive + "'." + notSet);
+ throw new IllegalArgumentException("Cannot obtain '" + file + "'." + notSet);
}
public static String getTestArchiveDir() {
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java 2009-10-26 11:08:27 UTC (rev 203)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java 2009-10-27 19:16:58 UTC (rev 204)
@@ -43,9 +43,9 @@
}
public void testSendHello() throws Exception {
- String result=sendMessage("hello_request1.xml",
+ String result=sendSOAPMessage("hello_request1.xml",
"http://localhost:8080/bpel/processes/helloWorld");
- assertMessage(result, "hello_response1.xml");
+ assertMessageFromFile(result, "hello_response1.xml");
}
}
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java 2009-10-26 11:08:27 UTC (rev 203)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java 2009-10-27 19:16:58 UTC (rev 204)
@@ -43,9 +43,9 @@
}
public void testSendHello() throws Exception {
- String result=sendMessage("loanreq1.xml",
+ String result=sendSOAPMessage("loanreq1.xml",
"http://localhost:8080/bpel/processes/loanService");
- assertMessage(result, "loanresp1.xml");
+ assertMessageFromFile(result, "loanresp1.xml");
}
}
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java 2009-10-26 11:08:27 UTC (rev 203)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java 2009-10-27 19:16:58 UTC (rev 204)
@@ -43,14 +43,14 @@
}
public void testSendHello() throws Exception {
- String result1=sendMessage("hello_request1.xml",
+ String result1=sendSOAPMessage("hello_request1.xml",
"http://localhost:8080/bpel/processes/helloGoodbyeWorld");
- assertMessage(result1, "hello_response1.xml");
+ assertMessageFromFile(result1, "hello_response1.xml");
- String result2=sendMessage("goodbye_request1.xml",
+ String result2=sendSOAPMessage("goodbye_request1.xml",
"http://localhost:8080/bpel/processes/helloGoodbyeWorld");
- assertMessage(result2, "goodbye_response1.xml");
+ assertMessageFromFile(result2, "goodbye_response1.xml");
}
}
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleInvokeTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleInvokeTestCase.java 2009-10-26 11:08:27 UTC (rev 203)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleInvokeTestCase.java 2009-10-27 19:16:58 UTC (rev 204)
@@ -43,9 +43,9 @@
}
public void testSendHello() throws Exception {
- String result=sendMessage("hello_request1.xml",
+ String result=sendSOAPMessage("hello_request1.xml",
"http://localhost:8080/bpel/processes/simpleInvoke");
- assertMessage(result, "hello_response1.xml");
+ assertMessageFromFile(result, "hello_response1.xml");
}
}
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELHelloWorldTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELHelloWorldTestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartESBBPELHelloWorldTestCase.java 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the Quickstart_bpel_hello_world sample.
+ */
+public class QuickstartESBBPELHelloWorldTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_esb_bpel_hello_world";
+
+ public QuickstartESBBPELHelloWorldTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartESBBPELHelloWorldTestCase.class,
+ TEST_NAME, "Quickstart_esb_bpel_hello_world.esb,../Quickstart_bpel_hello_world/Quickstart_bpel_hello_world-1.jar"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendESBMessage("Hello World via ESB to BPEL", "HelloWorldBPELESB", "SayHello");
+
+ assertMessage(result, "Hello World via ESB to BPEL World");
+ }
+}
Added: trunk/integration-tests/src/test/resources/conf/jbossesb-properties.xml
===================================================================
--- trunk/integration-tests/src/test/resources/conf/jbossesb-properties.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/conf/jbossesb-properties.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2006, JBoss Inc., and others contributors as indicated
+ by the @authors tag. All rights reserved.
+ See the copyright.txt in the distribution for a
+ full listing of individual contributors.
+ This copyrighted material is made available to anyone wishing to use,
+ modify, copy, or redistribute it subject to the terms and conditions
+ of the GNU Lesser General Public License, v. 2.1.
+ This program is distributed in the hope that it will be useful, but WITHOUT A
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public License,
+ v.2.1 along with this distribution; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<!-- $Id: jbossesb-unittest-properties.xml $ -->
+<!--
+ These options are described in the JBossESB manual.
+ Defaults are provided here for convenience only.
+
+ Please read through this file prior to using the system, and consider
+ updating the specified entries.
+-->
+<esb
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
+ <properties name="core">
+ <property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>
+ <property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
+ <property name="org.jboss.soa.esb.persistence.connection.factory" value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
+ <property name="jboss.esb.invm.scope.default" value="NONE"/>
+ </properties>
+ <properties name="registry">
+ <property name="org.jboss.soa.esb.registry.queryManagerURI"
+ value="jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>
+ <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
+ value="jnp://localhost:1099/PublishService?org.apache.juddi.registry.rmi.Publish#publish" />
+ <property name="org.jboss.soa.esb.registry.implementationClass"
+ value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
+ <property name="org.jboss.soa.esb.registry.factoryClass"
+ value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
+ <property name="org.jboss.soa.esb.registry.user"
+ value="jbossesb"/>
+ <property name="org.jboss.soa.esb.registry.password"
+ value="password"/>
+ <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
+ <property name="org.jboss.soa.esb.scout.proxy.transportClass"
+ value="org.apache.ws.scout.transport.RMITransport"/>
+ </properties>
+ <properties name="transports" depends="core">
+ <property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
+ <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
+ <property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
+ <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
+ </properties>
+ <properties name="connection">
+ <property name="min-pool-size" value="5"/>
+ <property name="max-pool=size" value="10"/>
+ <property name="blocking-timeout-millis" value="5000"/>
+ <property name="abandoned-connection-timeout" value="10000"/>
+ <property name="abandoned-connection-time-interval" value="30000"/>
+ </properties>
+ <properties name="dbstore">
+ <property name="org.jboss.soa.esb.persistence.db.connection.url" value="jdbc:hsqldb:hsql://localhost:9001/"/>
+ <property name="org.jboss.soa.esb.persistence.db.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
+ <property name="org.jboss.soa.esb.persistence.db.user" value="sa"/>
+ <property name="org.jboss.soa.esb.persistence.db.pwd" value=""/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.initial.size" value="2"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.min.size" value="2"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.max.size" value="5"/>
+ <!--table managed by pool to test for valid connections - created by pool automatically -->
+ <property name="org.jboss.soa.esb.persistence.db.pool.test.table" value="pooltest"/>
+ <!-- # of milliseconds to timeout waiting for a connection from pool -->
+ <property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis" value="5000"/>
+ <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
+ </properties>
+ <properties name="messagerouting">
+ <property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
+ </properties>
+</esb>
Added: trunk/integration-tests/src/test/resources/conf/jndi.properties
===================================================================
--- trunk/integration-tests/src/test/resources/conf/jndi.properties (rev 0)
+++ trunk/integration-tests/src/test/resources/conf/jndi.properties 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,5 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+java.naming.factory.url.pkgs=org.jnp.interfaces
+
Added: trunk/integration-tests/src/test/resources/conf/juddi.properties
===================================================================
--- trunk/integration-tests/src/test/resources/conf/juddi.properties (rev 0)
+++ trunk/integration-tests/src/test/resources/conf/juddi.properties 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,69 @@
+# jUDDI Registry Properties (used by RegistryServer)
+# see http://www.juddi.org for more information
+
+# The UDDI Operator Name
+juddi.operatorName = jUDDI.org
+
+# The i18n locale default codes
+juddi.i18n.languageCode = en
+juddi.i18n.countryCode = US
+
+# The UDDI DiscoveryURL Prefix
+juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
+
+# The UDDI Operator Contact Email Address
+juddi.operatorEmailAddress = admin(a)juddi.org
+
+# The maximum name size and maximum number
+# of name elements allows in several of the
+# FindXxxx and SaveXxxx UDDI functions.
+juddi.maxNameLength=255
+juddi.maxNameElementsAllowed=5
+
+# The maximum number of UDDI artifacts allowed
+# per publisher. A value of '-1' indicates any
+# number of artifacts is valid (These values can be
+# overridden at the individual publisher level).
+juddi.maxBusinessesPerPublisher=25
+juddi.maxServicesPerBusiness=20
+juddi.maxBindingsPerService=10
+juddi.maxTModelsPerPublisher=100
+
+# jUDDI Authentication module to use
+juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
+
+# jUDDI DataStore module currently to use
+juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
+
+# use a dataSource (if set to false a direct
+# jdbc connection will be used.
+juddi.isUseDataSource=false
+juddi.jdbcDriver=com.mysql.jdbc.Driver
+juddi.jdbcUrl=jdbc:mysql://localhost:3306/juddi
+juddi.jdbcUsername=root
+juddi.jdbcPassword=admin
+# jUDDI DataSource to use
+# juddi.dataSource=java:comp/env/jdbc/MySqlDS
+
+# jUDDI UUIDGen implementation to use
+juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
+
+# jUDDI Cryptor implementation to use
+juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
+
+# jUDDI Validator to use
+juddi.validator=org.apache.juddi.validator.DefaultValidator
+
+# jUDDI Proxy Properties (used by RegistryProxy)
+juddi.proxy.adminURL = http://localhost:8080/juddi/admin
+juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
+juddi.proxy.publishURL = http://localhost:8080/juddi/publish
+juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
+juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
+juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
+
+# JNDI settings (used by RMITransport)
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+
Added: trunk/integration-tests/src/test/resources/conf/log4j.xml
===================================================================
--- trunk/integration-tests/src/test/resources/conf/log4j.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/conf/log4j.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+ <param name="Threshold" value="INFO"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A size based file rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="./listener.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jboss">
+ <priority value="WARN"/>
+ </category>
+ <category name="org.jboss.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.jboss.internal.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.apache">
+ <priority value="ERROR"/>
+ </category>
+ <category name="quickstart">
+ <priority value="DEBUG"/>
+ </category>
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/build.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,28 @@
+<project name="Quickstart_esb_bpel_hello_world" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/samples/${ant.project.name}" />
+
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <zip destfile="${deploy.dir}/${ant.project.name}/${sample.esb.name}">
+ <zipfileset dir="${test.dir}" includes="deployment.xml" fullpath="META-INF/deployment.xml"/>
+ <zipfileset dir="${test.dir}" includes="jboss-esb.xml" fullpath="META-INF/jboss-esb.xml"/>
+ <zipfileset dir="${test.dir}" includes="jbm-queue-service.xml" fullpath="jbm-queue-service.xml"/>
+ </zip>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/deployment.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/deployment.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/deployment.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.bpel:service=BPELEngine</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw</depends>
+</jbossesb-deployment>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbm-queue-service.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbm-queue-service.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbm-queue-service.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbmq-queue-service.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbmq-queue-service.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbmq-queue-service.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jboss-esb.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jboss-esb.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jboss-esb.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,50 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_helloworld_Request_gw"
+ />
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_helloworld_Request_esb"
+ />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service
+ category="HelloWorldBPELESB"
+ name="SayHello"
+ description="Hello World">
+ <listeners>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true" />
+ <jms-listener name="helloWorld"
+ busidref="quickstartEsbChannel" />
+ </listeners>
+ <actions>
+ <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://www.jboss.org/bpel/examples/wsdl}HelloService"/>
+ <property name="operation" value="hello" />
+ <property name="requestPartName" value="TestPart" />
+ <property name="responsePartName" value="TestPart" />
+ </action>
+ <!-- The next action is for Continuous Integration testing -->
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbossesb-properties.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbossesb-properties.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jbossesb-properties.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2006, JBoss Inc., and others contributors as indicated
+ by the @authors tag. All rights reserved.
+ See the copyright.txt in the distribution for a
+ full listing of individual contributors.
+ This copyrighted material is made available to anyone wishing to use,
+ modify, copy, or redistribute it subject to the terms and conditions
+ of the GNU Lesser General Public License, v. 2.1.
+ This program is distributed in the hope that it will be useful, but WITHOUT A
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public License,
+ v.2.1 along with this distribution; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<!-- $Id: jbossesb-unittest-properties.xml $ -->
+<!--
+ These options are described in the JBossESB manual.
+ Defaults are provided here for convenience only.
+
+ Please read through this file prior to using the system, and consider
+ updating the specified entries.
+-->
+<esb
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
+ <properties name="core">
+ <property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>
+ <property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
+ <property name="org.jboss.soa.esb.persistence.connection.factory" value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
+ <property name="jboss.esb.invm.scope.default" value="NONE"/>
+ </properties>
+ <properties name="registry">
+ <property name="org.jboss.soa.esb.registry.queryManagerURI"
+ value="jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>
+ <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
+ value="jnp://localhost:1099/PublishService?org.apache.juddi.registry.rmi.Publish#publish" />
+ <property name="org.jboss.soa.esb.registry.implementationClass"
+ value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
+ <property name="org.jboss.soa.esb.registry.factoryClass"
+ value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
+ <property name="org.jboss.soa.esb.registry.user"
+ value="jbossesb"/>
+ <property name="org.jboss.soa.esb.registry.password"
+ value="password"/>
+ <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
+ <property name="org.jboss.soa.esb.scout.proxy.transportClass"
+ value="org.apache.ws.scout.transport.RMITransport"/>
+ </properties>
+ <properties name="transports" depends="core">
+ <property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
+ <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
+ <property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
+ <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
+ </properties>
+ <properties name="connection">
+ <property name="min-pool-size" value="5"/>
+ <property name="max-pool=size" value="10"/>
+ <property name="blocking-timeout-millis" value="5000"/>
+ <property name="abandoned-connection-timeout" value="10000"/>
+ <property name="abandoned-connection-time-interval" value="30000"/>
+ </properties>
+ <properties name="dbstore">
+ <property name="org.jboss.soa.esb.persistence.db.connection.url" value="jdbc:hsqldb:hsql://localhost:9001/"/>
+ <property name="org.jboss.soa.esb.persistence.db.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
+ <property name="org.jboss.soa.esb.persistence.db.user" value="sa"/>
+ <property name="org.jboss.soa.esb.persistence.db.pwd" value=""/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.initial.size" value="2"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.min.size" value="2"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.max.size" value="5"/>
+ <!--table managed by pool to test for valid connections - created by pool automatically -->
+ <property name="org.jboss.soa.esb.persistence.db.pool.test.table" value="pooltest"/>
+ <!-- # of milliseconds to timeout waiting for a connection from pool -->
+ <property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis" value="5000"/>
+ <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
+ </properties>
+ <properties name="messagerouting">
+ <property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
+ </properties>
+</esb>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jndi.properties
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jndi.properties (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/jndi.properties 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,5 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+java.naming.factory.url.pkgs=org.jnp.interfaces
+
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/juddi.properties
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/juddi.properties (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/juddi.properties 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,69 @@
+# jUDDI Registry Properties (used by RegistryServer)
+# see http://www.juddi.org for more information
+
+# The UDDI Operator Name
+juddi.operatorName = jUDDI.org
+
+# The i18n locale default codes
+juddi.i18n.languageCode = en
+juddi.i18n.countryCode = US
+
+# The UDDI DiscoveryURL Prefix
+juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
+
+# The UDDI Operator Contact Email Address
+juddi.operatorEmailAddress = admin(a)juddi.org
+
+# The maximum name size and maximum number
+# of name elements allows in several of the
+# FindXxxx and SaveXxxx UDDI functions.
+juddi.maxNameLength=255
+juddi.maxNameElementsAllowed=5
+
+# The maximum number of UDDI artifacts allowed
+# per publisher. A value of '-1' indicates any
+# number of artifacts is valid (These values can be
+# overridden at the individual publisher level).
+juddi.maxBusinessesPerPublisher=25
+juddi.maxServicesPerBusiness=20
+juddi.maxBindingsPerService=10
+juddi.maxTModelsPerPublisher=100
+
+# jUDDI Authentication module to use
+juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
+
+# jUDDI DataStore module currently to use
+juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
+
+# use a dataSource (if set to false a direct
+# jdbc connection will be used.
+juddi.isUseDataSource=false
+juddi.jdbcDriver=com.mysql.jdbc.Driver
+juddi.jdbcUrl=jdbc:mysql://localhost:3306/juddi
+juddi.jdbcUsername=root
+juddi.jdbcPassword=admin
+# jUDDI DataSource to use
+# juddi.dataSource=java:comp/env/jdbc/MySqlDS
+
+# jUDDI UUIDGen implementation to use
+juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
+
+# jUDDI Cryptor implementation to use
+juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
+
+# jUDDI Validator to use
+juddi.validator=org.apache.juddi.validator.DefaultValidator
+
+# jUDDI Proxy Properties (used by RegistryProxy)
+juddi.proxy.adminURL = http://localhost:8080/juddi/admin
+juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
+juddi.proxy.publishURL = http://localhost:8080/juddi/publish
+juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
+juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
+juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
+
+# JNDI settings (used by RMITransport)
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/log4j.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/log4j.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/log4j.xml 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+ <param name="Threshold" value="INFO"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A size based file rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="./listener.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jboss">
+ <priority value="WARN"/>
+ </category>
+ <category name="org.jboss.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.jboss.internal.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.apache">
+ <priority value="ERROR"/>
+ </category>
+ <category name="quickstart">
+ <priority value="DEBUG"/>
+ </category>
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_esb_bpel_hello_world/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java 2009-10-27 19:16:58 UTC (rev 204)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.soa.esb.samples.quickstart.helloworld.test;
+
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.client.ServiceInvoker;
+
+/**
+ * Standalone class with to send ESB messages to a 'known' [category,name].
+ * <p/> arg0 - service category
+ * <br/>arg1 - service name
+ * <br/>arg2 - Text of message to send
+ *
+ * @author <a href="mailto:schifest@heuristica.com.ar">schifest(a)heuristica.com.ar</a>
+ * @since Version 4.0
+ *
+ */
+public class SendEsbMessage
+{
+ public static void main(String args[]) throws Exception
+ {
+// Setting the ConnectionFactory such that it will use scout
+ System.setProperty("javax.xml.registry.ConnectionFactoryClass","org.apache.ws.scout.registry.ConnectionFactoryImpl");
+
+ if (args.length < 3)
+ {
+ System.err.println("Usage SendEsbMessage <category> <name> <text to send>");
+ System.exit(1);
+ }
+
+ Message esbMessage = MessageFactory.getInstance().getMessage();
+
+ esbMessage.getBody().add(args[2]);
+
+ Message respMessage = new ServiceInvoker(args[0], args[1]).deliverSync(esbMessage, 5000);
+
+ System.out.println("REPLY: "+respMessage.getBody().get());
+ }
+
+}
15 years, 2 months