Author |
Message
|
wbintegrator |
Posted: Thu Nov 20, 2008 7:24 am Post subject: Retrieve multi-level objects from WSRR |
|
|
Voyager
Joined: 08 Feb 2006 Posts: 83
|
Hi everyone,
We have introduced several new IBM tools in our enterprise, WSRR being one of them and currently are trying to find a way of retrieving objects , say, concepts with all of its sibling objects, that is, relationships, properties etc.
from the Message Broker.
Looking in the API, there are several methods of retrieving objetcs and its siblings - by specifuing the 'depth' argument either to the 'retrieve' or 'query' method. However, unfortunately, developers of the WSRR nodes in WMB, did not externalize this parameter in the RegistryLookup Node. (correct me if I'm wrong)
Thus, the only way left is, a JavaNode implementation of the above functionality. Has anyone already done that successfully? When writing a simple java application, both 'retrieve' and 'query' methods work for me OK, but when in JavaNode I get an exception on the retrieving method saying:
"GSR0166E: An error occured while trying to invoke the Web Service: null"
I have the required jars in the shared-library on the WMB server (Red Hat Linux AS 4 Release 4 Update 4) and there seems to be no problem prior to the point where the retrieving is performed.
This issue is hindering our project to progress - any help will be very much appreciated.
Thanks! |
|
Back to top |
|
 |
wbintegrator |
Posted: Sat Nov 22, 2008 5:14 am Post subject: |
|
|
Voyager
Joined: 08 Feb 2006 Posts: 83
|
According to IBM support, there turns to be some unclear issue (bug?) with the classloader which, in specific (unknown circumstances), causes the above error to occur. I was told there is a workaround - will update the post after I try and ensure it works. |
|
Back to top |
|
 |
wbintegrator |
Posted: Wed Nov 26, 2008 11:51 pm Post subject: |
|
|
Voyager
Joined: 08 Feb 2006 Posts: 83
|
Unfortunately the workaround, which was to put an empty javaNode before the "real" javaNode that would supposedly cause the classloader to load the relevant classes which would be missing without this "trick", didn't work in my case..
If anyone has a solution or any way of achieving the result I'm trying to,
please write here...
Thanks. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 27, 2008 3:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Search the forum with the terms "class loader". There are a few other tricks described there. Let us know which one worked for you.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Mandeep |
Posted: Fri Nov 28, 2008 12:03 am Post subject: |
|
|
Apprentice
Joined: 03 May 2004 Posts: 33
|
With WBIMB i.e. Ver 6.0, WSRR Nodes were introduced as support pac IA9L. There were 3 pattern nodes (SRxxxxVirtualService nodes) and 2 nodes (SRretreiveITService and SRretreiveITEntity). The last 2 nodes were introduced as part of WMB i.e Ver 6.1 Product but rest 3 pattern nodes were supposed to be available as support pac still.
These 3 nodes worked on retreiving Concepts with Child elements and its properties, relationships etc. and setting the end point environment based on protocol type i.e MQ, HTTP or JMS.
You can contact IBM for this support pac IA9L for pattern nodes (SRxxxxVirtualService nodes) for WMB 6.1. So if you read about these nodes you can understand if they suit your requirements. |
|
Back to top |
|
 |
wbintegrator |
Posted: Wed Dec 03, 2008 1:56 am Post subject: |
|
|
Voyager
Joined: 08 Feb 2006 Posts: 83
|
fjb_saper wrote: |
Search the forum with the terms "class loader". There are a few other tricks described there. Let us know which one worked for you.  |
An IBM representative tested my issue and having found that "it really doesn't work", opened a pmr. Stopped looking for "woodoo" workarounds.
As for IA9L, I will check that out. Thank you Mandeep. |
|
Back to top |
|
 |
wbintegrator |
Posted: Sun Jan 18, 2009 11:02 pm Post subject: |
|
|
Voyager
Joined: 08 Feb 2006 Posts: 83
|
Hi all,
A fix is planned for the issue.
Sometime ago they sent me a fix that will be included in the future releases of the broker.
Now the retrieving works fine. |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Jan 18, 2009 11:17 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Can you let us know what the ifix number is?
This way, if other people need this they can request it from IBM support using the ifix number.
The ifix will also be listed in the list of problems fixed in a future support pack. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
wbintegrator |
Posted: Mon Jan 19, 2009 1:16 am Post subject: |
|
|
Voyager
Joined: 08 Feb 2006 Posts: 83
|
Info from readme:
Code: |
Fix name: 6.1.0.3-WS-MB-WinIA32-TFIC58943
Build number: 24939
Product: WebSphere Message Broker V6.1 (WS-MB)
Platform: Windows on x86 platform (WinIA32)
Maintenance level: 6.1.0.3 *** ONLY APPLY THIS FIX TO A 6.1.0.3 INSTALLATION ***
Date: 18 December 2008
Issues fixed in package: IC58943
|
|
|
Back to top |
|
 |
|