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 » SwitchNode sample user extension problem

Post new topic  Reply to topic
 SwitchNode sample user extension problem « View previous topic :: View next topic » 
Author Message
skydoor
PostPosted: Mon Nov 19, 2007 3:01 am    Post subject: SwitchNode sample user extension problem Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

I am trying to develop a user defined node for the Broker and I am experiencing problems with the sample nodes provided by IBM.

I can compile the C code and deploy and I can import the UI into the toolkit and develop a flow.

As soon as I want to deploy the flow however, I get the following error.

BIP2241E: Loadable Implementation Library (.lil, .jar or .par) not found for message flow node type 'SwitchNode' in message flow 'test'.

The message broker received an instruction to create a message flow node of type 'SwitchNode', in message flow 'test'. The broker does not have the capability to create nodes of this type because an implementation library for this node type was not found in the LIL path.

Ensure that the LIL path is correct and contains all the necessary node implementation libraries, including those supplied by IBM. The node name is case sensitive so ensure the toolkit and runtime names match. If the broker is trying to create a node type that ends in 'NodeNode' then ensure that when the node was registered with the toolkit the name registered didn't end in 'Node'. Then ensure that the message flow and any nested message flows have been saved. Redeploy the new configuration to the broker ensuring that the complete configuration option is used. If the problem persists contact your IBM support center.


I have created a directory called c:\IBM\MQSI\6.0\UserDefined and I have used the following command after I stopped the broker to let the broker know about the new directory.

mqsichangebroker BROKER -l C:\IBM\MQSI\6.0\UserDefined

I made sure that both the SwitchNode.lil and SwitchNode.pdb is in this directory. I have also copied the .lil and .pdb into the c:\IBM\MQSI\6.0\bin directory. This has however, not made a difference.

Name: WebSphere MQ
Version: 6.0.2.1
CMVC level: p600-201-070323
BuildType: IKAP - (Production)

MQSI 6.0.0.1
C:\IBM\MQSI\6.0

Windows XP Version 5.1 SP2

Compiler: Visual Studio .NET 2003
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Nov 19, 2007 3:49 am    Post subject: Re: SwitchNode sample user extension problem Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi skydoor,
skydoor wrote:
BIP2241E: Loadable Implementation Library (.lil, .jar or .par) not found for message flow node type 'SwitchNode' in message flow 'test'.
This question has been answered hundreds on times on this forum...please try a search.

Regards.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Mon Nov 19, 2007 3:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you restart broker after putting the .lil and .pdb files in there?

Did you try putting something like the SendMail node (an exisitng, known to work .lil file) in your new lil and see if that works?

What are the permissions you've set on the LIL directory? What about the .lil files?

Did you "ensure the toolkit and runtime names match"?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
skydoor
PostPosted: Mon Nov 19, 2007 4:25 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

Hi elvis_gn
I have searched and I did not find anything relevant to this particular scenario. If I missed something - apologies, could you point me to the URL that deals with this as I can not find it, any one of the hundreds will do.

Hi Jeff
1. I did restart the broker.
2. I did deploy the SendMailPlugin to the same execution group and it deployed successfully.
3. I did not check the permissions previously but I have given full permissions on the directory now -> no joy.
4. Yes, I checked and it is correct.

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 19, 2007 4:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Then your compiled file is not loadable somehow.

There's no other useful information in the errors, other than the one you posted?

Try enabling user trace(debug) on your flow and see if that gives more information.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Nov 19, 2007 4:46 am    Post subject: Re: SwitchNode sample user extension problem Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi skydoor,
skydoor wrote:
I have searched and I did not find anything relevant to this particular scenario. If I missed something - apologies, could you point me to the URL that deals with this as I can not find it, any one of the hundreds will do.
Go to the search page and type search parameter 'Loadable Implementation Library' with 'all words' options...I got too many hits...

skydoor wrote:
I have also copied the .lil and .pdb into the c:\IBM\MQSI\6.0\bin directory. This has however, not made a difference.
Try the path \IBM\MQSI\6.0\jplugin and restart the broker...

Regards.
Back to top
View user's profile Send private message Send e-mail
skydoor
PostPosted: Mon Nov 19, 2007 4:50 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

Jeff,

I have looked under c:\IBM\MQSI\6.0\logs and c:\IBM\MessageBrokersToolkit\6.0\logs but I did not find anything there.

Are there any other places that I can go and scout for errors?

Unless I am wrong, user trace will only be effective on a running flow, or did you mean something else?

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 19, 2007 5:19 am    Post subject: Re: SwitchNode sample user extension problem Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

elvis_gn wrote:
Try the path \IBM\MQSI\6.0\jplugin and restart the broker...


That's for JAVA... thus the "j". It won't help. The LIL Path is working.

skydoor wrote:
Are there any other places that I can go and scout for errors?


I mean in the Event Viewer - are there additional entries?

skydoor wrote:
Unless I am wrong, user trace will only be effective on a running flow, or did you mean something else?


Um. Well. Yeah. Okay. I must have meant something else. but what, I'm not sure right now...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
skydoor
PostPosted: Mon Nov 19, 2007 5:43 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

Jeff

Yes, this is interesting. At the same time it throws the errors regarding not being able to find the .lil it throws the following in the event viewer.

Event Type: Error
Event Source: DB2-0
Event Category: None
Event ID: 4
Date: 2007/11/19
Time: 03:32:29 PM
User: N/A
Computer: [removed for this post]
Description:

2007-11-19-15.32.29.372000 Instance:DB2 Node:000
PID:1336(db2syscs.exe) TID:4268 Appid:*LOCAL.DB2.071119133229
oper system services sqloisus Probe:30 Database:DBBROKER

ADM0500E The DB2 Service does not have the necessary authority to complete the
command. If a user account has been associated with the DB2 Service, ensure
that the user account has the correct access rights on the local system and
access to the Domain Security Database for user authentication and group
enumeration.



I will have to go and look at this error. I do not however have a clue as to what it is. Search time.

Although looking in the event viewer is obvious I did not do it . Thanks for the pointer. I will get back after I have had a look at this error.

Thanks
Back to top
View user's profile Send private message
skydoor
PostPosted: Tue Nov 20, 2007 12:37 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

I could not find any more information than what is stated in the error text.

As I am testing on my local machine, I added myself to the following groups to try and resolve the authority issue.

DB2ADMNS
DB2USERS
mqbrkrs
mqm

This did not solve the problem.

Any help/pointers/suggestions would be welcome.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 20, 2007 7:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Are you sure the DB2 service user doesn't have an expired password?
If this is the case you need to recycle DB2 after having fixed the problem...

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
skydoor
PostPosted: Wed Nov 21, 2007 1:15 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

fjb_saper,

I did a clean install of the db2 components about 2 weeks ago. I also set the db2admin password to never expire at that time. This is the user that the db2 service is running under.

However, there are 3 other db2 services running under local system account.
Here they are:

DB2 JDBC Applet Server
DB2 License Server
DB2 Security Server

I do not know if this will have an impact.

Thanks
Back to top
View user's profile Send private message
francoisvdm
PostPosted: Tue Nov 27, 2007 1:59 am    Post subject: Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

skydoor, the userid and password specified "inside" the db.... is that set ok?
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
Back to top
View user's profile Send private message Send e-mail
skydoor
PostPosted: Tue Nov 27, 2007 2:10 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jul 2007
Posts: 43
Location: Cape Town

francoisvdm,

Do you mean the userid and password that I set when I do mqsicreatedb?

I think that it is all ok as I can deploy the SendMailPlugin. If it was incorrect then I should not have been able to deploy anything? Correct me if I am wrong.

I am starting to feel that it is some step I am missing in the basic user defined node procedure.

Thanks,
Back to top
View user's profile Send private message
francoisvdm
PostPosted: Tue Nov 27, 2007 2:42 am    Post subject: Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

nope, the one inside the DB. If you open up DB there is userid and pwd assigned. I know in DB2 you can add and change the userids and passwords inside the DB.
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SwitchNode sample user extension problem
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.