|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Implementing a Java plugin node |
« View previous topic :: View next topic » |
Author |
Message
|
hallmark |
Posted: Sun May 15, 2005 11:42 pm Post subject: Implementing a Java plugin node |
|
|
 Voyager
Joined: 10 Mar 2005 Posts: 76
|
Hello all
I have created a java user defined extension (plugin node) with properties and the corresponding toolkit representation of the node with the matching properties defined. It worked first time! However, I have made some changes, renamed a property, added some new ones and now it fails with:
BIP2210E: Invalid configuration message: attribute name 'nodeUrl' not valid for target object 'ClobInsertTest.DatabaseInsertClob'.
nodeUrl is the original name in the first version of my node. I renamed this one to be nodeDriverUrl and updated the visual component, aswell as my java class, exported my java src and redeployed.
I also stopped and restarted the broker.
When this failed to resolve the problem I stopped and restarted the ConfigMgr thinking maybe some data was persisting in this database somehow.
I checked the xml files that describe this node and cannot find any reference to nodeUrl, so I am at a loss as to how the toolkit is remembering this old name.
I have seen similar posts without a resolution. I suspect if I define a new workspace and create my node with a new name that it will work, which is what I am about to do, however as I am not yet jedi enough to write code that is correct first time round I thought I would re-raise this issue
Thanks
Rob |
|
Back to top |
|
 |
chenulu |
Posted: Wed May 18, 2005 10:43 am Post subject: |
|
|
Voyager
Joined: 27 Mar 2002 Posts: 87 Location: Research Triangle Park, NC
|
Hi Rob,
Does this old version of your project still exist in <WBI-MB>\eclipse\plugins directory? If so, remove the directory and export the plugin project with the new name from your workbench and extract into your eclpse\plugins directory and restart your workbench.
Regards, Chenulu |
|
Back to top |
|
 |
hallmark |
Posted: Thu May 19, 2005 12:22 am Post subject: Implementing a Java plugin Node |
|
|
 Voyager
Joined: 10 Mar 2005 Posts: 76
|
Hi Chenulu,
Thanks for your response.
Renaming the project wasn't the issue. It does indeed resolve the problem if I recreate the node as a completely different entity and change the name.
The problem I was experiencing was that when I try to rename properties within the node the old names of those properties seem to persist somwhere in the broker toolkit (I think) and stop the node from deploying properly because when the jar file is read it cannot find the getMethods for those old properties.
Now I have been able to complete my node I will look into this problem in more depth and post my findings.
Rob |
|
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
|
|
|
|