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 » Sample plugins.

Post new topic  Reply to topic
 Sample plugins. « View previous topic :: View next topic » 
Author Message
jgooch
PostPosted: Mon Aug 19, 2002 7:57 am    Post subject: Sample plugins. Reply with quote

Acolyte

Joined: 29 May 2002
Posts: 63
Location: UK

Hi,

We're running MQSI v2.0.1 on Solaris and are investigating the implementation of plug-in nodes. To do this, I did the following:-
- compiled the sample plug-ins;
- copied BipSampPluginNode.lil to /opt/mqsi/lib;
- bounced the brokers (we're running two on each machine);
- bounced them again ('cos they never come up cleanly);
- installed the gifs, properties files, WDR files and XML defs on my PC;
- created a message flow category;
- added the SampleSwitch and SampleTransform nodes to my Control Centre;
- checked them in and locked them within the Message Flow tabs;
- created a test flow;
- failed to deploy the test flow;
- bounced the config mgr;
- still failed to deploy the test flow.

I get the error:-

BIP2241E: Configuration message requests creation of message flow node type 'ComIbmSampleTransformNode' in message flow 'JG.TEST'; broker cannot create nodes of this type.

I was following the instructions in the Programming Guide and in the Business Integration Solutions redbook. I'm fairly certain that I've not missed a step but am now stuck.

How can I be sure that the BipSampPluginNode.lil file was loaded into the broker? Would it fail if there was anything wrong with it?

Can anyone help?

The compilation script I created went something like:-
__________________________
#!/usr/bin/ksh
CC=/usr/local/bin/gcc; export CC
MQSI_ROOT=/opt/mqsi; export MQSI_ROOT
__CCI_SOLARIS__=1; export __CCI_SOLARIS__
SOURCE_DIR=/export/home/db2admin/jg
DEST_DIR=/export/home/db2admin/jg

$CC \
-I $MQSI_ROOT/include\
-I $MQSI_ROOT/include/plugin\
-I $SOURCE_DIR\
-c $SOURCE_DIR/BipSampPluginNode.c\
-o $DEST_DIR/BipSampPluginNode.o
$CC \
-I $MQSI_ROOT/include\
-I $MQSI_ROOT/include/plugin\
-I $SOURCE_DIR\
-c $SOURCE_DIR/BipSampPluginUtil.c\
-o $DEST_DIR/BipSampPluginUtil.o
$CC -G\
-o $DEST_DIR/BipSampPluginNode.lil\
$DEST_DIR/BipSampPluginNode.o\
$DEST_DIR/BipSampPluginUtil.o\
-L $MQSI_ROOT/lib\
-limbdfplg
chmod a+r $DEST_DIR/BipSampPluginNode.lil
__________________________

It's the __CCI_SOLARIS__ thing that worries me. It's used in most of the sample functions but is not contained in any header file. I would not style myself a C programmer in any way, so am unsure how the programs are accessing it (in desparation I added it to the script above). Is this the culprit or is it a compiler-internal value and hence a red herring?

Thanks. Apologies for the length of the above - I'm trying to pre-empt the first level of questions

J.
Back to top
View user's profile Send private message
jgooch
PostPosted: Tue Aug 20, 2002 1:19 am    Post subject: Reply with quote

Acolyte

Joined: 29 May 2002
Posts: 63
Location: UK

Bump...

I've done some more investigations that tell me that the __CCI_SOLARIS__ issue is a red herring (I found the definition in BipCos.h).

I still cannot see why the new library is not available.

Can any give me any pointers?

Thx.
Back to top
View user's profile Send private message
jgooch
PostPosted: Tue Aug 20, 2002 5:15 am    Post subject: I am a pillock. Reply with quote

Acolyte

Joined: 29 May 2002
Posts: 63
Location: UK

It was staring me in the face all along - you need to copy the library into /opt/mqsi/lil, not /opt/mqsi/lib.

Doh! Time to get the glasses checked...
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 » Sample plugins.
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.