|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
PostIt support with MQSI 2.1 |
View previous topic :: View next topic |
Author |
Message
|
simon.starkie |
Posted: Mon Mar 25, 2002 2:09 pm Post subject: |
|
|
Disciple
Joined: 24 Mar 2002 Posts: 180
|
The MQSI support pack “IA0H: MQSeries Integrator V2 - Postit Plug-In” contains the following note:
“The supplied .lil file is compatible with WebSphere MQ Integrator V2.1. However, the supplied source files are not and use of a .lil file produced as a result of compiling it in a WebSphere MQ Integrator environment is currently not supported. “.
Does anyone know what exactly what this means and why?
It sounds as though compiling the source with MQSI 2.1 is a problem.
What is the technical nature of the problem?
Is there a workaround?
Does anyone know if any other MQSI support packs have similar problems with
MQSI 2.1?
Thanks!
|
|
Back to top |
|
 |
kirani |
Posted: Mon Mar 25, 2002 3:21 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Hi,
Here are the answers to your questions,
Q. Does anyone know what exactly what this means and why?
A> It means, if you try to recompile the source code for PostIt/PostApply plug-in in WMQI 2.1, it will not work correctly.
Q. What is the technical nature of the problem?
A> Existing lil file will work with WMQI 2.1 without any modification or recompilation. If you are planning to recompile plug-in in WMQI2.1, there are few things that needs to be changed in the source code. Please refer to Programming Guide for more information.
Q. Is there a workaround?
A> Yes, make changes in the source code to initialize some structures.
Q. Does anyone know if any other MQSI support packs have similar problems with MQSI 2.1?
A> Probably yes, if you try to recompile the source code in WMQI 2.1.
Kiran
|
|
Back to top |
|
 |
simon.starkie |
Posted: Mon Mar 25, 2002 4:07 pm Post subject: |
|
|
Disciple
Joined: 24 Mar 2002 Posts: 180
|
Thanks for answering my question, Kiran. The Programming Guide does not clearly indicate the specific source changes that you mentioned. Unfortunately, I don't have WMQSI21 yet to see what happens when I compile my plugins in that environment. Are you saying that compile errors occur or is it up to the programmer to eyeball the code looking for unitialized variables and fix hopefully all of them?
[ This Message was edited by: simon.starkie on 2002-03-25 16:07 ]
[ This Message was edited by: simon.starkie on 2002-03-25 16:08 ] |
|
Back to top |
|
 |
kirani |
Posted: Mon Mar 25, 2002 5:08 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
If you look at page 105 of Programming Guide, you will get some information on changes that I talked about. Basically, you need to use supplied initializers for CNI_VFT, CPI_VFT, CCI_EXCEPTION_ST and CCI_BROKER_INFO_ST structures in 2.1. In your source code, if you are using these structures, you can default it by declaring them as,
static CNI_VFT vftable={CNI_VFT_DEFAULT};
static CPI_VFT vftable={CPI_VFT_DEFAULT};
CCI_EXCEPTION_ST exception_st = {CCI_EXCEPTION_ST_DEFAULT};
CNI_BROKER_INFO_ST exception_st = {CNI_BROKER_INFO_ST_DEFAULT};
I think You will not get any compilation error if you try to compile old source on 2.1. Probably Broker will throw an error while loading the lil file.
I tried to recompile my plug-in source code in 2.1 without making any changes and it gave me an error code CCI_MISSING_IMPL_FUNCTION while calling cniDefineNodeClass() function. The problem was fixed after I made above changes.
|
|
Back to top |
|
 |
simon.starkie |
Posted: Thu Apr 04, 2002 3:34 pm Post subject: |
|
|
Disciple
Joined: 24 Mar 2002 Posts: 180
|
Thanks Kirani. Hope to get 2.1 soon and check it out.  |
|
Back to top |
|
 |
|
|
  |
|
Page 1 of 1 |
|
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
|
|
|
|