Bug 6633 - backwards compatibility with context broker is broken
: backwards compatibility with context broker is broken
Status: RESOLVED FIXED
: Nimbus
Context broker
: TP2.2
: PC Linux
: P3 normal
: TP2.2.1
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-01-28 09:42 by
Modified: 2009-01-28 11:20 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-01-28 09:42:15
Constants that the old (pre-TP2.2) context broker referred to do not exist in
TP2.2.  And so a TP2.2 deployment will not work with both new and old style
contextualization as planned.  That is, a cloud client 011 will work with the
standalone broker but a cloud client 010 will not work with the old embedded
broker.
------- Comment #1 From 2009-01-28 09:43:59 -------
Index:
vm/messaging/gt4.0/java/common/src/org/nimbustools/messaging/gt4_0/common/Constants_GT4_0.java
===================================================================
---
vm/messaging/gt4.0/java/common/src/org/nimbustools/messaging/gt4_0/common/Constants_GT4_0.java
     (revision 1.2)
+++
vm/messaging/gt4.0/java/common/src/org/nimbustools/messaging/gt4_0/common/Constants_GT4_0.java
     Wed Jan 28 09:30:46 CST 2009
@@ -116,6 +116,10 @@

     // namespace: http://www.globus.org/2008/06/workspace/contextualization

+    public static final QName CONTEXTUALIZATION_RP_SET =
+                                    new QName(OLD_NS_CONTEXTUALIZATION,
+                                              "ContextBrokerRPSet");
+
     public static final QName OLD_CONTEXTUALIZATION_RP_SET =
                                     new QName(OLD_NS_CONTEXTUALIZATION,
                                               "ContextBrokerRPSet");
@@ -123,7 +127,10 @@
     public static final QName OLD_RP_CONTEXTUALIZATION_CONTEXT =
                            new QName(NS_TYPES, "contextualizationContext");

+    public static final QName RP_CONTEXTUALIZATION_CONTEXT =
+                           new QName(NS_TYPES, "contextualizationContext");

+
     // namespace: http://www.globus.org/2008/12/nimbus/ctxtypes

     public static final QName CTXBROKER_RP =
------- Comment #2 From 2009-01-28 09:44:51 -------
Patching that file -- adding the two constants -- will result in a new
"nimbus-messaging-common-gt4.0.jar" (you can, for example, compile this
elsewhere and drop it in to a running deployment and restart the container).
------- Comment #3 From 2009-01-28 10:41:09 -------
For your convenience:

http://workspace.globus.org/downloads/bug_6633/nimbus-messaging-common-gt4.0.jar

e9d1d74098ef4c847a3b2a868cb07368  nimbus-messaging-common-gt4.0.jar
------- Comment #4 From 2009-01-28 10:41:34 -------
(In reply to comment #3)
> 
> e9d1d74098ef4c847a3b2a868cb07368  nimbus-messaging-common-gt4.0.jar
> 

(that is an md5sum)
------- Comment #5 From 2009-01-28 11:20:11 -------
Summary/guidance:

http://workspace.globus.org/vm/TP2.2/admin/reference.html#context-broker