ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Retrieve multi-level objects from WSRR

Post new topic  Reply to topic
 Retrieve multi-level objects from WSRR « View previous topic :: View next topic » 
Author Message
wbintegrator
PostPosted: Thu Nov 20, 2008 7:24 am    Post subject: Retrieve multi-level objects from WSRR Reply with quote

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
View user's profile Send private message
wbintegrator
PostPosted: Sat Nov 22, 2008 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
wbintegrator
PostPosted: Wed Nov 26, 2008 11:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 27, 2008 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Mandeep
PostPosted: Fri Nov 28, 2008 12:03 am    Post subject: Reply with quote

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
View user's profile Send private message
wbintegrator
PostPosted: Wed Dec 03, 2008 1:56 am    Post subject: Reply with quote

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
View user's profile Send private message
wbintegrator
PostPosted: Sun Jan 18, 2009 11:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Sun Jan 18, 2009 11:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
wbintegrator
PostPosted: Mon Jan 19, 2009 1:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Retrieve multi-level objects from WSRR
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.