Author |
Message
|
chirayu |
Posted: Mon Jan 02, 2012 7:06 am Post subject: BIP2308E MB8.0 UDN |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Jan 02, 2012 7:13 am Post subject: |
|
|
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 |
|
 |
chirayu |
Posted: Wed Jan 04, 2012 4:55 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Jan 04, 2012 5:33 am Post subject: |
|
|
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 |
|
 |
smdavies99 |
Posted: Wed Jan 04, 2012 5:35 am Post subject: |
|
|
 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 |
|
 |
chirayu |
Posted: Thu Feb 09, 2012 5:56 am Post subject: |
|
|
Apprentice
Joined: 04 May 2011 Posts: 30
|
thanks all for reply.
fixed the issue by recoding source and compiling it fresh.. |
|
Back to top |
|
 |
|