Author: objectiser
Date: 2010-07-02 06:04:43 -0400 (Fri, 02 Jul 2010)
New Revision: 831
Modified:
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/JAXWSBindingContext.java
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/JAXWSBindingContext.java
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java
Log:
RIFTSAW-155 - problem was that the web service was being undeployed in a different
classloader context (associated with the BPM console), and therefore when redeployed
(after activate) the bind of the TransactionSynchronizationRegistry link had previously
been registered in that classloader context. All RiftSaw web services had been deployed
(and the bind of the link performed) in the context of the riftsaw.sar classloader.
Modified:
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/JAXWSBindingContext.java
===================================================================
---
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/JAXWSBindingContext.java 2010-07-01
12:27:41 UTC (rev 830)
+++
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/JAXWSBindingContext.java 2010-07-02
10:04:43 UTC (rev 831)
@@ -81,7 +81,7 @@
try
{
- final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
+ final ClassLoader classLoader = JAXWSBindingContext.class.getClassLoader();
//Thread.currentThread().getContextClassLoader();
String endpointId = UUID.randomUUID().toString();
EndpointMetaData endpointMD = new EndpointMetaData(
Modified:
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java
===================================================================
---
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java 2010-07-01
12:27:41 UTC (rev 830)
+++
branches/RiftSaw-2.1.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java 2010-07-02
10:04:43 UTC (rev 831)
@@ -224,6 +224,10 @@
String deploymentId = ref.getDeploymentName();
+ if (log.isDebugEnabled()) {
+ log.debug("Remove endpoint service="+service+"
port="+port+" deploymentId="+deploymentId+" ref="+ref);
+ }
+
if(ref!=null)
{
try
Modified:
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/JAXWSBindingContext.java
===================================================================
---
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/JAXWSBindingContext.java 2010-07-01
12:27:41 UTC (rev 830)
+++
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/JAXWSBindingContext.java 2010-07-02
10:04:43 UTC (rev 831)
@@ -81,7 +81,7 @@
try
{
- final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
+ final ClassLoader classLoader = JAXWSBindingContext.class.getClassLoader();
//Thread.currentThread().getContextClassLoader();
String endpointId = UUID.randomUUID().toString();
EndpointMetaData endpointMD = new EndpointMetaData(
Modified:
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java
===================================================================
---
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java 2010-07-01
12:27:41 UTC (rev 830)
+++
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java 2010-07-02
10:04:43 UTC (rev 831)
@@ -224,6 +224,10 @@
String deploymentId = ref.getDeploymentName();
+ if (log.isDebugEnabled()) {
+ log.debug("Remove endpoint service="+service+"
port="+port+" deploymentId="+deploymentId+" ref="+ref);
+ }
+
if(ref!=null)
{
try
Show replies by date