riftsaw SVN: r472 - in trunk: integration-tests/src/test/resources/samples/Quickstart_bpel_hello_world_header_wsdl/bpel and 1 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-01-22 10:38:40 -0500 (Fri, 22 Jan 2010)
New Revision: 472
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCase.java
Removed:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCasePending.java
Modified:
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello_world_header_wsdl/bpel/HelloWorld.wsdl
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/SOAPMessageAdapter.java
Log:
RIFTSAW-127 - retrieving WSDL bound soap header part was throwing PICK exception. This was because the header was incorrectly being added twice to the consolidated message, the second time was also contained in too many levels of 'part'.
Copied: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCase.java (from rev 438, trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCasePending.java)
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCase.java 2010-01-22 15:38:40 UTC (rev 472)
@@ -0,0 +1,52 @@
+/*
+ * 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_header_wsdl sample.
+ */
+// TODO: Remove pending suffix when fixed (RIFTSAW-127)
+public class QuickstartBPELHelloWorldHeaderWSDLTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_bpel_hello_world_header_wsdl";
+
+ public QuickstartBPELHelloWorldHeaderWSDLTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartBPELHelloWorldHeaderWSDLTestCase.class,
+ TEST_NAME, "Quickstart_bpel_hello_world_header_wsdl-1.jar"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendSOAPMessage("hello_request1.xml",
+ "http://localhost:8080/Quickstart_bpel_hello_world_header_wsdlWS");
+
+ assertMessageFromFile(result, "hello_response1.xml");
+ }
+}
Deleted: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCasePending.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCasePending.java 2010-01-22 15:35:44 UTC (rev 471)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldHeaderWSDLTestCasePending.java 2010-01-22 15:38:40 UTC (rev 472)
@@ -1,52 +0,0 @@
-/*
- * 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_header_wsdl sample.
- */
-// TODO: Remove pending suffix when fixed (RIFTSAW-127)
-public class QuickstartBPELHelloWorldHeaderWSDLTestCasePending extends RiftSawTest {
-
- private static final String TEST_NAME = "Quickstart_bpel_hello_world_header_wsdl";
-
- public QuickstartBPELHelloWorldHeaderWSDLTestCasePending() {
- super(TEST_NAME);
- }
-
- public static Test suite() {
- return(new RiftSawTestSetup(QuickstartBPELHelloWorldHeaderWSDLTestCasePending.class,
- TEST_NAME, "Quickstart_bpel_hello_world_header_wsdl-1.jar"));
- }
-
- public void testSendHello() throws Exception {
- String result=sendSOAPMessage("hello_request1.xml",
- "http://localhost:8080/Quickstart_bpel_hello_world_header_wsdlWS");
-
- assertMessageFromFile(result, "hello_response1.xml");
- }
-}
Modified: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello_world_header_wsdl/bpel/HelloWorld.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello_world_header_wsdl/bpel/HelloWorld.wsdl 2010-01-22 15:35:44 UTC (rev 471)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello_world_header_wsdl/bpel/HelloWorld.wsdl 2010-01-22 15:38:40 UTC (rev 472)
@@ -32,7 +32,7 @@
<xsd:element name="conversationId" type="xsd:string" />
</xsd:schema>
</wsdl:types>
-
+
<wsdl:message name="HelloMessage">
<wsdl:part name="TestPart" type="xsd:string"/>
<wsdl:part name="conversationId" element="types:conversationId" />
@@ -50,18 +50,18 @@
<wsdl:operation name="hello">
<soap:operation soapAction="" style="rpc"/>
<wsdl:input>
+ <soap:header message="tns:HelloMessage"
+ part="conversationId" use="literal"/>
<soap:body
namespace="http://www.jboss.org/bpel/examples/wsdl"
use="literal" parts="TestPart" />
+ </wsdl:input>
+ <wsdl:output>
<soap:header message="tns:HelloMessage"
part="conversationId" use="literal"/>
- </wsdl:input>
- <wsdl:output>
<soap:body
namespace="http://www.jboss.org/bpel/examples/wsdl"
use="literal" parts="TestPart" />
- <soap:header message="tns:HelloMessage"
- part="conversationId" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
Modified: trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/SOAPMessageAdapter.java
===================================================================
--- trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/SOAPMessageAdapter.java 2010-01-22 15:35:44 UTC (rev 471)
+++ trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/SOAPMessageAdapter.java 2010-01-22 15:38:40 UTC (rev 472)
@@ -394,10 +394,14 @@
if (headerEl == null) return;
+ /* RIFTSAW-127 - this was duplicating the header part in the consolidated (merged) message stored in the
+ * BPEL process - but this code actually causes two levels of 'part' to be defined - e.g.
+ * <conversionId><conversationId><details .... /></conversatioId></conversationId>
Document doc = DOMUtils.newDocument();
Element destPart = doc.createElementNS(null, p.getName());
destPart.appendChild(doc.importNode(headerEl, true));
odeMessage.setHeaderPart(p.getName(), destPart);
+ */
}
private void extractSoapBodyParts(
14 years, 11 months
riftsaw SVN: r471 - in branches/ODE/ODE-2.0-maven: bpel-store and 2 other directories.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-01-22 10:35:44 -0500 (Fri, 22 Jan 2010)
New Revision: 471
Modified:
branches/ODE/ODE-2.0-maven/bpel-store/pom.xml
branches/ODE/ODE-2.0-maven/jbi/pom.xml
branches/ODE/ODE-2.0-maven/jbi/src/main/assembly/bin.xml
branches/ODE/ODE-2.0-maven/pom.xml
Log:
* update for jbi distribution built. tested against smx 3.3.
Modified: branches/ODE/ODE-2.0-maven/bpel-store/pom.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/bpel-store/pom.xml 2010-01-22 04:04:07 UTC (rev 470)
+++ branches/ODE/ODE-2.0-maven/bpel-store/pom.xml 2010-01-22 15:35:44 UTC (rev 471)
@@ -147,7 +147,7 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
+ <!--dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon</artifactId>
<scope>test</scope>
@@ -166,7 +166,7 @@
<groupId>net.sf.saxon</groupId>
<artifactId>saxon-xqj</artifactId>
<scope>test</scope>
- </dependency>
+ </dependency-->
<dependency>
<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa</artifactId>
Modified: branches/ODE/ODE-2.0-maven/jbi/pom.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/jbi/pom.xml 2010-01-22 04:04:07 UTC (rev 470)
+++ branches/ODE/ODE-2.0-maven/jbi/pom.xml 2010-01-22 15:35:44 UTC (rev 471)
@@ -43,10 +43,32 @@
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-bpel-api</artifactId>
- </dependency>
+ </dependency>
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-bpel-compiler</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jdom</groupId>
+ <artifactId>jdom</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xom</groupId>
+ <artifactId>xom</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
@@ -59,6 +81,20 @@
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-il-common</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.geronimo.components</groupId>
+ <artifactId>geronimo-connector</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.components</groupId>
+ <artifactId>geronimo-transaction</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jencks</groupId>
+ <artifactId>jencks</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
@@ -71,6 +107,24 @@
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-bpel-store</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jms_1.1_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jpa_1.0_spec</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
@@ -79,19 +133,84 @@
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-utils</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-adb</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-codegen</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-java2wsdl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-jibx</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-saaj</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-xmlbeans</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-javamail_1.4_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-activation_1.1_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xpp3</groupId>
+ <artifactId>xpp3_min</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-runtimes</artifactId>
</dependency>
<dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-bpel-ql</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-jacob-ap</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.servicemix.specs</groupId>
<artifactId>org.apache.servicemix.specs.jbi-api-1.0</artifactId>
<version>${jbi.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-dao-jpa</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
@@ -100,27 +219,32 @@
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-dao-hibernate</artifactId>
- <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-bpel-api-jca</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-jca-ra</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-jca-server</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ode</groupId>
<artifactId>ode-jacob</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -186,6 +310,24 @@
<groupId>tranql</groupId>
<artifactId>tranql-connector</artifactId>
<version>${tranql.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>geronimo-spec</groupId>
+ <artifactId>geronimo-spec-j2ee-connector</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>geronimo-spec</groupId>
+ <artifactId>geronimo-spec-jta</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>regexp</groupId>
+ <artifactId>regexp</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>net.java.dev.javacc</groupId>
+ <artifactId>javacc</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>tranql</groupId>
@@ -202,6 +344,41 @@
<groupId>commons-primitives</groupId>
<artifactId>commons-primitives</artifactId>
</dependency>
+ <dependency>
+ <groupId>backport-util-concurrent</groupId>
+ <artifactId>backport-util-concurrent</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-dbcp</groupId>
+ <artifactId>commons-dbcp</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-ejb_2.1_spec</artifactId>
+ </dependency>
+
+ <!-- This is a way to specify the global exclusion in the dependency tree -->
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
Modified: branches/ODE/ODE-2.0-maven/jbi/src/main/assembly/bin.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/jbi/src/main/assembly/bin.xml 2010-01-22 04:04:07 UTC (rev 470)
+++ branches/ODE/ODE-2.0-maven/jbi/src/main/assembly/bin.xml 2010-01-22 15:35:44 UTC (rev 471)
@@ -60,7 +60,8 @@
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<includes>
- <include>ant:ant</include>
+ <include>ant:ant</include>
+ <include>org.apache.ode:ode-jbi</include>
<include>org.apache.ode:ode-bpel-api</include>
<include>org.apache.ode:ode-bpel-api-jca</include>
<include>org.apache.ode:ode-bpel-compiler</include>
@@ -108,7 +109,9 @@
<include>wsdl4j:wsdl4j</include>
<include>tranql:tranql-connector</include>
<include>org.apache.ode:xalan</include>
- <include>org.apache.xmlbeans:xmlbeans</include>
+ <include>org.apache.xmlbeans:xmlbeans</include>
+ <include>com.thoughtworks.xstream:xstream</include>
+ <include>axion:axion</include>
</includes>
</dependencySet>
Modified: branches/ODE/ODE-2.0-maven/pom.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/pom.xml 2010-01-22 04:04:07 UTC (rev 470)
+++ branches/ODE/ODE-2.0-maven/pom.xml 2010-01-22 15:35:44 UTC (rev 471)
@@ -77,7 +77,7 @@
<jencks.version>1.3</jencks.version>
<jasper.version>4.2.20RC0</jasper.version>
<log4j.version>1.2.15</log4j.version>
- <saxon.version>9.x</saxon.version>
+ <saxon.version>9.1.0.8</saxon.version>
<servicemix.version>3.3</servicemix.version>
<slf4j.version>1.4.3</slf4j.version>
<stax-api.version>1.0</stax-api.version>
@@ -242,6 +242,11 @@
<name>ODE Maven2 repository</name>
<url>http://pxe.intalio.org/public/maven2</url>
</repository>
+ <repository>
+ <id>JBoss</id>
+ <name>JBoss Repository</name>
+ <url>http://repository.jboss.com/maven2/</url>
+ </repository>
</repositories>
<pluginRepositories>
14 years, 11 months
riftsaw SVN: r470 - branches/ODE/ODE-2.0-maven/dao-jpa-db.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-01-21 23:04:07 -0500 (Thu, 21 Jan 2010)
New Revision: 470
Modified:
branches/ODE/ODE-2.0-maven/dao-jpa-db/pom.xml
Log:
* remove the '^M'.
Modified: branches/ODE/ODE-2.0-maven/dao-jpa-db/pom.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/dao-jpa-db/pom.xml 2010-01-20 17:13:20 UTC (rev 469)
+++ branches/ODE/ODE-2.0-maven/dao-jpa-db/pom.xml 2010-01-22 04:04:07 UTC (rev 470)
@@ -53,8 +53,7 @@
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
- </dependency>
-
+ </dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
14 years, 11 months
riftsaw SVN: r469 - trunk/docs/docbook/userguide/src/main/module.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-01-20 12:13:20 -0500 (Wed, 20 Jan 2010)
New Revision: 469
Modified:
trunk/docs/docbook/userguide/src/main/module/deploy.xml
Log:
Added further text about explicitly undeploying a version, and what happens to any active process instances associated with the undeployed version.
Modified: trunk/docs/docbook/userguide/src/main/module/deploy.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-01-20 17:09:46 UTC (rev 468)
+++ trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-01-20 17:13:20 UTC (rev 469)
@@ -229,6 +229,14 @@
</imageobject>
<para>
+ If you expand the deployed project node, in the <emphasis>Server View</emphasis>, you will see that
+ both of the deployed versions are shown. The older version is retained as there may still be
+ BPEL process instances using that version of the process. If you right-click on each of the child nodes, you will
+ see that it is also possible to undeploy the specific versions. However, if you explicitly undeploy
+ a version, then any remaining active process instances for that version will be terminated.
+ </para>
+
+ <para>
You can then use the menu associated with the project, contained in the <emphasis>Server View</emphasis>, to undeploy
the project (using the <emphasis>Add and Remove ...</emphasis> menu item) and finally use
the menu associated with the server itself to <emphasis>Stop</emphasis> the server.
14 years, 11 months
riftsaw SVN: r468 - in trunk/docs/docbook/userguide/src/main: module and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-01-20 12:09:46 -0500 (Wed, 20 Jan 2010)
New Revision: 468
Added:
trunk/docs/docbook/userguide/src/main/images/EclipseHelloWorldResponseUpdated.png
trunk/docs/docbook/userguide/src/main/images/EclipseHelloWorldUpdated.png
Modified:
trunk/docs/docbook/userguide/src/main/images/EclipseHelloWorldResponse.png
trunk/docs/docbook/userguide/src/main/module/deploy.xml
Log:
RIFTSAW-143 - add section on using the 'full publish' as part of deploying an updated version of a BPEL project.
Modified: trunk/docs/docbook/userguide/src/main/images/EclipseHelloWorldResponse.png
===================================================================
(Binary files differ)
Added: trunk/docs/docbook/userguide/src/main/images/EclipseHelloWorldResponseUpdated.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/images/EclipseHelloWorldResponseUpdated.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/docbook/userguide/src/main/images/EclipseHelloWorldUpdated.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/images/EclipseHelloWorldUpdated.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/docs/docbook/userguide/src/main/module/deploy.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-01-20 09:56:26 UTC (rev 467)
+++ trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-01-20 17:09:46 UTC (rev 468)
@@ -200,7 +200,36 @@
</imageobject>
<para>
- You can then use the menu associated with the project, contained in the server, to undeploy
+ If you now want to update the BPEL process, select the <emphasis>assignHelloMesg</emphasis>
+ node in the diagram, and select the <emphasis>Properties</emphasis> view. On the left of the
+ view is a vertical list of tabs. Select the <emphasis>Details</emphasis> tab. Then select the
+ "Expression to Variable" from the list, and update the <emphasis>concat</emphasis> function's
+ second parameter - for example to add 'UPDATED' to the text.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/EclipseHelloWorldUpdated.png" align="center" width="6in" />
+ </imageobject>
+
+ <para>
+ Once the update has been saved, go to the <emphasis>Server View</emphasis> and select the
+ <emphasis>Full Publish</emphasis> option from the menu associated with the
+ <emphasis>Quickstart_bpel_hello_world</emphasis> project. This will cause the project to be
+ re-deployed to the RiftSaw server.
+ </para>
+
+ <para>
+ The final step is to then re-run the 'sendhello' target within the <filename>build.xml</filename>
+ file, to send a new request, and view the response. The response should now be modified
+ according to the changes you made in the BPEL process.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/EclipseHelloWorldResponseUpdated.png" align="center" width="6in" />
+ </imageobject>
+
+ <para>
+ You can then use the menu associated with the project, contained in the <emphasis>Server View</emphasis>, to undeploy
the project (using the <emphasis>Add and Remove ...</emphasis> menu item) and finally use
the menu associated with the server itself to <emphasis>Stop</emphasis> the server.
</para>
14 years, 11 months
riftsaw SVN: r467 - trunk/distribution/src/main/release/db/sql.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-01-20 04:56:26 -0500 (Wed, 20 Jan 2010)
New Revision: 467
Modified:
trunk/distribution/src/main/release/db/sql/sqlserver.drop.sql
Log:
* add fix for the sqlserver.
Modified: trunk/distribution/src/main/release/db/sql/sqlserver.drop.sql
===================================================================
--- trunk/distribution/src/main/release/db/sql/sqlserver.drop.sql 2010-01-20 07:46:00 UTC (rev 466)
+++ trunk/distribution/src/main/release/db/sql/sqlserver.drop.sql 2010-01-20 09:56:26 UTC (rev 467)
@@ -9,7 +9,6 @@
drop table BPEL_FAULT;
drop table BPEL_INSTANCE;
drop table BPEL_MESSAGE;
-drop table BPEL_MESSAGE_EXCHANGE;
drop table BPEL_MEX_PROPS;
drop table BPEL_PLINK_VAL;
drop table BPEL_PROCESS;
@@ -23,6 +22,4 @@
drop table STORE_PROCESS;
drop table STORE_PROCESS_PROP;
drop table STORE_VERSIONS;
-
-
-
+drop table BPEL_MESSAGE_EXCHANGE;
14 years, 11 months
riftsaw SVN: r466 - trunk/distribution/src/main/release/db/sql.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-01-20 02:46:00 -0500 (Wed, 20 Jan 2010)
New Revision: 466
Modified:
trunk/distribution/src/main/release/db/sql/oracle.drop.sql
Log:
* update the sequence of dropping tables for oracle, fix following error in hudson server.
[sql] Failed to execute: drop table BPEL_MESSAGE_EXCHANGE
[sql] java.sql.SQLException: ORA-02449: unique/primary keys in table referenced by foreign keys
Modified: trunk/distribution/src/main/release/db/sql/oracle.drop.sql
===================================================================
--- trunk/distribution/src/main/release/db/sql/oracle.drop.sql 2010-01-19 06:07:26 UTC (rev 465)
+++ trunk/distribution/src/main/release/db/sql/oracle.drop.sql 2010-01-20 07:46:00 UTC (rev 466)
@@ -9,7 +9,6 @@
drop table BPEL_FAULT;
drop table BPEL_INSTANCE;
drop table BPEL_MESSAGE;
-drop table BPEL_MESSAGE_EXCHANGE;
drop table BPEL_MEX_PROPS;
drop table BPEL_PLINK_VAL;
drop table BPEL_PROCESS;
@@ -23,6 +22,7 @@
drop table STORE_PROCESS;
drop table STORE_PROCESS_PROP;
drop table STORE_VERSIONS;
+drop table BPEL_MESSAGE_EXCHANGE;
drop sequence hibernate_sequence;
14 years, 11 months
riftsaw SVN: r465 - trunk/distribution/src/main/release/db.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-01-19 01:07:26 -0500 (Tue, 19 Jan 2010)
New Revision: 465
Modified:
trunk/distribution/src/main/release/db/build.xml
Log:
* add show table sql statement for easily debugging.
Modified: trunk/distribution/src/main/release/db/build.xml
===================================================================
--- trunk/distribution/src/main/release/db/build.xml 2010-01-16 11:45:38 UTC (rev 464)
+++ trunk/distribution/src/main/release/db/build.xml 2010-01-19 06:07:26 UTC (rev 465)
@@ -11,6 +11,22 @@
<available file="${basedir}/../../libs/ojdbc14.jar" />
</condition>
+ <condition property="show.table.sql" value="show tables;">
+ <equals arg1="${database}" arg2="mysql" />
+ </condition>
+
+ <condition property="show.table.sql" value="select table_name from information_schema.tables where table_schema='public' and table_type='BASE TABLE';">
+ <equals arg1="${database}" arg2="postgres" />
+ </condition>
+
+ <condition property="show.table.sql" value="select table_name from tabs;">
+ <equals arg1="${database}" arg2="oracle" />
+ </condition>
+
+ <condition property="show.table.sql" value="select name from riftsaw..sysobjects where xtype = 'U';">
+ <equals arg1="${database}" arg2="sqlserver" />
+ </condition>
+
<!-- ### LOG PROPERTIES ################################################# -->
<target name="log.properties">
<echo message="database....... ${database}" />
@@ -32,7 +48,7 @@
userid="${username}"
password="${password}"
onerror="continue"
- src="../modules/riftsaw.sar/bpel-sql/bpel.${database}.sql">
+ src="../modules/riftsaw.sar/bpel-sql/${database}.sql">
<classpath>
<fileset dir="drivers">
<include name="*.jar"/>
@@ -59,4 +75,23 @@
</sql>
</target>
+ <!-- ### Show tables in the database ############################### -->
+ <target name="db.show.tables"
+ depends="log.properties, copy.ojdbc"
+ description="show tables in db">
+ <sql driver="${driver}"
+ url="${connection.url}"
+ userid="${username}"
+ password="${password}"
+ onerror="continue"
+ print="true">
+ ${show.table.sql}
+ <classpath>
+ <fileset dir="drivers">
+ <include name="*.jar"/>
+ </fileset>
+ </classpath>
+ </sql>
+ </target>
+
</project>
14 years, 11 months