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 » BIP2308E MB8.0 UDN

Post new topic  Reply to topic
 BIP2308E MB8.0 UDN « View previous topic :: View next topic » 
Author Message
chirayu
PostPosted: Mon Jan 02, 2012 7:06 am    Post subject: BIP2308E MB8.0 UDN Reply with quote

Apprentice

Joined: 04 May 2011
Posts: 30

Hi,
I am trying to shift my MB6.0 (on SPARC solaric) code to MB8.0 (Linux x86_64)
I have a flow in which i am using a user defined node with C code. Compiled .c and .h files to create lil file with g++ compiler. Got few warning during compilation but lil files got generated.
Have given this lil file folder path to broker lilpath with -l and even set MQSI_LILPATH to default lil on server.

But during startup of Broker I always get following error in /var/log/messages.

Jan 2 14:53:57 webservices2 WebSphere Broker v8000[15583]: (CHESS.BK.TEST.CHESS_EG1)[1]BIP2308E: File '/PUBSUB/main/ProcessOrderlinesActivitiesNode.lil' could not be loaded; operating system return code '/PUBSUB/main/ProcessOrderlinesActivitiesNode.lil: undefined symbol: constProcessCAMSSChainDataTraceLocation'. : CHESS.BK.TEST.cd100c66-3401-0000-0080-d845851b8f2a: /build/S000_P/src/DataFlowEngine/MessageServices/Unix/ImbLibrary.cpp: 106: ImbLibraryBase::ImbLibraryBase: :

Broker processes starts running , and when i try deploying my flow with UDN.. it shows an error :
BIP2241E: A Loadable Implementation Library (.lil, .jar, or .par) is not found for message flow node type 'ProcessOrderlinesActivitiesNode' in message flow 'com.bt.CSS_ORDERS_R036_00_00_00_WS'.

The broker received an instruction to create a message flow node of type 'ProcessOrderlinesActivitiesNode', in message flow 'com.bt.CSS_ORDERS_R036_00_00_00_WS'. The broker cannot create nodes of this type because an implementation library for this node type does not exist in the LIL path.

and /var/log/messages shows:
Jan 2 15:01:39 webservices2 WebSphere Broker v8000[15583]: (CHESS.BK.TEST.CHESS_EG1)[4]BIP4041E: Execution group 'CHESS_EG1' received an invalid configuration message. See the following messages for details of the error. : CHESS.BK.TEST.cd100c66-3401-0000-0080-d845851b8f2a: /build/S000_P/src/DataFlowEngine/ImbConfigurationNode.cpp: 307: ImbConfigurationNode::evaluate: ComIbmConfigurationNode: ConfigurationNode
Jan 2 15:01:39 webservices2 WebSphere Broker v8000[15583]: (CHESS.BK.TEST.CHESS_EG1)[4]BIP2241E: A Loadable Implementation Library (.lil, .jar, or .par) is not found for message flow node type 'ProcessOrderlinesActivitiesNode' in message flow 'com.bt.CSS_ORDERS_R036_00_00_00_WS'. : CHESS.BK.TEST.cd100c66-3401-0000-0080-d845851b8f2a: /build/S000_P/src/DataFlowEngine/ImbDataFlowManager.cpp: 1269: ImbDataFlowManager::createNode: MessageFlow: 30a2f09e-3401-0000-0080-ef31daa5a9a7


I am using make file something like follows:
install_dir=/opt/ibm/mqsi/8.0.0.0/
CC_COMPILER = /usr/bin/g++
CC_COMMAND = $(CC_COMPILER) -c -m64 -ansi -Wall -Wno-format-y2k -fpic \
-I. \
-I/$(install_dir)/include \
-I/$(install_dir)/include/plugin \
-DLINUX -D_THREADS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT

$(CC_COMPILER) -m64 -o ./CustomNode.lil $(OBJ) -shared -lc -lnsl -ldl -L$(install_dir)lib -limbdfplg

Please let me know what is going wrong here.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jan 02, 2012 7:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It sounds like the runtime does not have some of the dependent libraries for your node on it's PATH or LD_LIBRARY_PATH or etc.
Back to top
View user's profile Send private message
chirayu
PostPosted: Wed Jan 04, 2012 4:55 am    Post subject: Reply with quote

Apprentice

Joined: 04 May 2011
Posts: 30

LD_LIBRARY_PATH=/opt/ibm/mqsi/8.0.0.0/jre16/lib/amd64:
/opt/ibm/mqsi/8.0.0.0/jre16/lib/amd64/classic:
/opt/ibm/IE02/2.0.0/lib:
/opt/mqm/java/lib64:
/opt/ibm/mqsi/8.0.0.0/xml4c/lib:
/opt/mqm/lib64:/opt/ibm/mqsi/8.0.0.0/lib:
/opt/ibm/mqsi/8.0.0.0/bin:
/opt/ibm/mqsi/8.0.0.0/ODBC/V6.0/lib:
/opt/ibm/mqsi/8.0.0.0/xlxpc/lib:
/opt/ibm/mqsi/8.0.0.0/dfdlc/lib:
/home/oracle/lib::/opt/mqm/lib64

PATH=/opt/ibm/mqsi/8.0.0.0/jre16/bin:
/opt/ibm/mqsi/8.0.0.0/bin:
/usr/kerberos/sbin:
/usr/kerberos/bin:
/usr/local/sbin:
/usr/local/bin:
/sbin:
/bin:
/usr/sbin:
/usr/bin:
/root/bin:
/opt/mqm/bin:
/PUBSUB/ih03/linux/redhat50:
/home/oracle/bin

it does have required libraries, any idea onto what seems to be missing over here?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jan 04, 2012 5:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

chirayu wrote:
it does have required libraries, any idea onto what seems to be missing over here?

They have to be findable by the broker runtime. So, again, the location of YOUR dependent libraries needs to be in the PATH or LD_LIBRARY_PATH or whatever the correct library variable is for your OS.

you'll need to make sure that the mqsiprofile sets this, so that it's available when the broker runtime starts up.

Do this by putting a script in common/profiles and DO NOT MODIFY mqsiprofile.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jan 04, 2012 5:35 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

"code" tags areally help readability.
Code:

LD_LIBRARY_PATH=/opt/ibm/mqsi/8.0.0.0/jre16/lib/amd64:
/opt/ibm/mqsi/8.0.0.0/jre16/lib/amd64/classic:
/opt/ibm/IE02/2.0.0/lib:
/opt/mqm/java/lib64:
/opt/ibm/mqsi/8.0.0.0/xml4c/lib:
/opt/mqm/lib64:/opt/ibm/mqsi/8.0.0.0/lib:
/opt/ibm/mqsi/8.0.0.0/bin:
/opt/ibm/mqsi/8.0.0.0/ODBC/V6.0/lib:
/opt/ibm/mqsi/8.0.0.0/xlxpc/lib:
/opt/ibm/mqsi/8.0.0.0/dfdlc/lib:
/home/oracle/lib::/opt/mqm/lib64

PATH=/opt/ibm/mqsi/8.0.0.0/jre16/bin:
/opt/ibm/mqsi/8.0.0.0/bin:
/usr/kerberos/sbin:
/usr/kerberos/bin:
/usr/local/sbin:
/usr/local/bin:
/sbin:
/bin:
/usr/sbin:
/usr/bin:
/root/bin:
/opt/mqm/bin:
/PUBSUB/ih03/linux/redhat50:
/home/oracle/bin


With the user settings as described above, can you do
Code:

ldd -v <path_to_UDN>/<udn_Name>


You should also Review the V8 documentation relating to the location of UDN's in the runtime. I'm sure I recall reading a reply here from one of the Hursley team that some changes were made in V7. You may be putting the file in the wrong place for more recent versions of Broker.
_________________
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
chirayu
PostPosted: Thu Feb 09, 2012 5:56 am    Post subject: Reply with quote

Apprentice

Joined: 04 May 2011
Posts: 30

thanks all for reply.
fixed the issue by recoding source and compiling it fresh..
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 » BIP2308E MB8.0 UDN
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.