Author |
Message
|
mbmb |
Posted: Fri Sep 16, 2005 3:07 am Post subject: Java Plugin Node - Install/Deploy question |
|
|
Novice
Joined: 08 Sep 2005 Posts: 12
|
hi
I am trying to install a Custom Java Plugin Node on WBIMB5 csd2.
From what i have understood, the java classes go into the 'jplugin' directory under Broker installation dir as a jar file. This is for runtime? i think.
The other files ex. - msgnode, palette, gifs, etc go under the 'eclipse/plugins' dir and these are for design time. Here also there can a jar file for the plugin class or any editors one wants.
My question is - how do the 2 sets of files connect with each other under these 2 directories.
thanks
manish |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 16, 2005 6:16 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
the plugin.xml links the plugin-node representation with the implementation class. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mbmb |
Posted: Mon Sep 19, 2005 2:03 am Post subject: |
|
|
Novice
Joined: 08 Sep 2005 Posts: 12
|
When i try to deploy a flow with my node, i get this message
BIP2241E: LIL not found for message flow node type.........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.
I have placed the jar file with my single class in 'jplugin' dir and have put rest of the files required under 'eclipse/plugins' dir.
what else can i try/do.
thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 19, 2005 3:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you sure your jar file is built correctly, and contains the right things in the right places?
Did you restart the broker after putting your jar file in the jplugin directory? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mbmb |
Posted: Mon Sep 19, 2005 6:51 am Post subject: |
|
|
Novice
Joined: 08 Sep 2005 Posts: 12
|
I am trying to find what i am missing but cant. At design time the node appears in the message flow pane with other nodes but doesnt compile/run.
What i have noticed about the 'Amit' plugin(CEP) which i have is that it has 2 jars. One jar which is in 'eclipse/plugins/com.ibm.amit2nodes' is called amit2nodes.jar and has some .editor files for design time. The other jar 'amit2.jar' is in 'jplugin' directory and has the classes for the 2 Amit nodes for runtime. BUT, i cant find any link between the 2 directories. The plugin.xml in ''eclipse/plugins' has amit2nodes.jar as its runtime library but there is no mention of the jar in 'jplugin'.
I dont have any design time specific editors/stuff, so i dont need a jar file. BUT what do i specify in plugin.xml. And i have placed my runtime jar in 'jplugin' dir. BUT the compile doesnt work.
Cant get as to what to try next. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 19, 2005 6:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's complaining that it can't find your runtime classes.
So start by making sure that the runtime jar file, which you put into jplugin, and you named amit2.jar, is correct.
Try rebuilding it using the command line, rather than the Toolkit - and see if that fixed the problem.
And make sure to restart the broker after replacing the jar file in jplugin. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|