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 » Help Installing Java Plug-In in WMQI 2.1 !!!

Post new topic  Reply to topic
 Help Installing Java Plug-In in WMQI 2.1 !!! « View previous topic :: View next topic » 
Author Message
shcherb
PostPosted: Sun Jan 20, 2002 1:49 am    Post subject: Reply with quote

Apprentice

Joined: 12 Sep 2001
Posts: 34

We have a deployment problem with Java plugin. I've read carefully the Chapter 7 of "MQSI V2 - Programming Guide" and still don't know what we did wrong. Below, I attached all relevant configuration and error info. We are working on Windows NT SP 4.0 Server Edition SP6a with WMQI 2.1 CSD 1.
We would greatly appreciate your help in this issue. Thanks in advance for your help.

Vladimir

package name: com.ibm.amitnode
class names:
Amit for node
AmitCustomizer for node customizer

xmi.uuid: ComIbmAmitnodeAmit
xmi.label: Amit


xml files:
ComIbmAmitnodeAmit:



longDescription="longDescription" icon="images/Amit.gif"
versionCreator="" package="com.ibm.amitnode" shortDescription="shortDescription"
version="" creationTimestamp="" isPrimitive="true" creator=""
versionTimestamp="" xmi.uuid="ComIbmAmitnodeAmit"
xmi.label="Amit" collectionPath="">

value="amitTraceOutfile.txt" xmi.uuid="" valueMandatory="false" encoded="false"/>

value="2" xmi.uuid="" valueMandatory="false" encoded="false"/>

ComIbmAmitnodeAmit.wdp:


2001-01-16T15:01:30-05:00

repositoryprivateps93-34Amit_qmMessageProcessingNodeTypeComIbmAmitnodeAmit
text/plain

Amit
text/plain

images/Amit.gif
text/plain

new
text/plain


text/plain


Deployment failes :
BIP2210E: Invalid configuration message: attribute name 'MessageType' not valid for target object 'AMIT.Amit1'.

The message broker received a configuration message containing the attribute name 'MessageType' which is not valid for the target object 'AMIT.Amit1'. This can be caused by a mismatch in levels between the Control Center, the Configuration Manager and the Broker, or as a result of a user or third party written plug-in node where the implementation library installed at the broker does not match the node definition held at the Configuration manager and Control Center.

Ensure that the levels of code installed at the Control Center, Configuration Manager and Broker are all consistent. If they are, identify the supplier of the target object and report the problem to them. If this is IBM, contact your IBM support center.


BIP4041E: Execution group 'default' received an invalid configuration message. See the following messages for details of the error.

The message broker received an invalid configuration message and has not updated its configuration. This can arise as a result of errors in the specification of either message flows or message sets which the configuration manager was unable to detect. It can also result from a message flow requiring a type of node that is not supported by the broker installation, from the broker having become out of step with the configuration database or from other applications sending extraneous messages to the broker's configuration queues (SYSTEM.BROKER.ADMIN.QUEUE & SYSTEM.BROKER.EXECUTIONGROUP.QUEUE).

Check the relevant message flow and message set definitions, check that all necessary plug-ins are installed, perform a complete redeploy of the broker's configuration and ensure that no applications are writing to the broker's configuration queues.


BIP2086E: Broker AMIT_BROKER could only process parts of the internal configuration message.

Parts of the internal configuration message were not processed successfully.

This response indicates that one or more Execution Groups could not process the internal configuration message. Analyse all of the following messages to determine why the internal configuration message could not be processed.




Right Click on new plug-in node Amit in the list of IBM Primitives on the Message Flows page of Control Center causes exception:
_createInputTerminal
java.lang.UnsatisfiedLinkError: _createInputTerminal
at com.ibm.broker.plugin.MbNode.createInputTerminal(MbNode.java:137)
at com.ibm.amitnode.Amit.(Amit.java:71)
at com.ibm.amitnode.Amit.(Amit.java:55)
at java.lang.Class.newInstance2(Native Method)
at java.lang.Class.newInstance1(Class.java(Compiled Code))
at java.util.ResourceBundle.findBundle(ResourceBundle.java(Compiled Code))
at java.util.ResourceBundle.getBundle(ResourceBundle.java:432)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:350)
at com.ibm.ivm.tools.model.BaseModel.getTranslatedString(BaseModel.java:3536)
at com.ibm.ivm.tools.model.BaseModel.getTranslatedAttribute(BaseModel.java:3399)
at com.ibm.ivm.mqitool.messageflowtype.DescriptionView.handleLinkEvent(DescriptionView.java:89)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ivb.jface.Tool$LinkChangedJob.run(Tool.java(Compiled Code))
at com.ibm.ivb.jface.Tool.linkChangedImpl(Tool.java(Compiled Code))
at com.ibm.ivb.jface.Tool.linkChanged(Tool.java(Compiled Code))
at com.ibm.ivb.jface.LinkEventMulticaster.linkChanged(LinkEventMulticaster.java:60)
at com.ibm.ivb.jface.LinkEventMulticaster.linkChanged(LinkEventMulticaster.java:60)
at com.ibm.ivb.jface.Tool.fireLinkEvent(Tool.java:536)
at com.ibm.ivm.tools.tree.NodeTreeSelectionListener.valueChanged(NodeTreeSelectionListener.java:64)
at javax.swing.JTree.fireValueChanged(JTree.java:2062)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2361)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:589)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:905)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:251)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:146)
at javax.swing.JTree.setSelectionPath(JTree.java:979)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2107)
at com.ibm.ivm.tools.tree.C3MLWindowsTreeUI.selectPathForEvent(C3MLWindowsTreeUI.java:139)
at com.ibm.ivm.tools.tree.C3MLWindowsTreeUIMouseAdapter.mouseReleased(C3MLWindowsTreeUIMouseAdapter.java:72)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.Component.processMouseEvent(Component.java:3190)
at java.awt.Component.processEvent(Component.java(Compiled Code))
at java.awt.Container.processEvent(Container.java(Compiled Code))
at java.awt.Component.dispatchEventImpl(Component.java(Compiled Code))
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
at java.awt.Component.dispatchEvent(Component.java(Compiled Code))
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java(Compiled Code))
at java.awt.LightweightDispatcher.processMouseEvent(Container.java(Compiled Code))
at java.awt.LightweightDispatcher.dispatchEvent(Container.java(Compiled Code))
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
at java.awt.Window.dispatchEventImpl(Window.java(Compiled Code))
at java.awt.Component.dispatchEvent(Component.java(Compiled Code))
at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled Code))
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java(Compiled Code))
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Back to top
View user's profile Send private message Send e-mail
mpuetz
PostPosted: Sun Jan 20, 2002 4:21 am    Post subject: Reply with quote

Centurion

Joined: 05 Jul 2001
Posts: 149
Location: IBM/Central WebSphere Services

Hi,

I'm pretty sure that you have a spelling mistake
in your attributes.
When you design your plugin with the control center
wizard, make sure that all your attribute names start
with a *low* letter, i.e.
use

messageType

instead of

MessageType

your Java get/set methods should be spelled

getMessageType() and setMessageType()

This convention is described in chapter 7 of the Programming Guide,
but this small detail is easily overlooked. Hence you get the
error in the control center which says MessageType is an invalid
property of your node: From the Java Class inspection the broker
deduced messageType as the name of your attribute from the setMessageType()
method.


Note, that you can chnage the way the attribute names are *rendered*
in your control center by supplying appropriate *.properties files.
I hope that solves your problem.


_________________
Mathias Puetz

IBM/Central WebSphere Services
WebSphere Business Integration Specialist
Back to top
View user's profile Send private message
shcherb
PostPosted: Sun Jan 20, 2002 7:56 am    Post subject: Reply with quote

Apprentice

Joined: 12 Sep 2001
Posts: 34

Mathias,


Thanks a lot for your help, I understand that we need to follow strictly to Javabean naming conventions in our plugin XML file.
Maybe you can also help with UnsatisfiedLinkError (cannot load some DLL...) ?

Right Click on new plug-in node Amit in the list of IBM Primitives on the Message Flows page of Control Center causes exception:
_createInputTerminal
java.lang.UnsatisfiedLinkError: _createInputTerminal
at com.ibm.broker.plugin.MbNode.createInputTerminal(MbNode.java:137)
at com.ibm.amitnode.Amit.(Amit.java:71)
at com.ibm.amitnode.Amit.(Amit.java:55)
at java.lang.Class.newInstance2(Native Method)
at java.lang.Class.newInstance1(Class.java(Compiled Code))
at java.util.ResourceBundle.findBundle(ResourceBundle.java(Compiled Code))
at java.util.ResourceBundle.getBundle(ResourceBundle.java:432)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:350)
at com.ibm.ivm.tools.model.BaseModel.getTranslatedString(BaseModel.java:3536)
at com.ibm.ivm.tools.model.BaseModel.getTranslatedAttribute(BaseModel.java:3399)
at com.ibm.ivm.mqitool.messageflowtype.DescriptionView.handleLinkEvent(DescriptionView.java:89)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ivb.jface.Tool$LinkChangedJob.run(Tool.java(Compiled Code))
at com.ibm.ivb.jface.Tool.linkChangedImpl(Tool.java(Compiled Code))
at com.ibm.ivb.jface.Tool.linkChanged(Tool.java(Compiled Code))
at com.ibm.ivb.jface.LinkEventMulticaster.linkChanged(LinkEventMulticaster.java:60)
at com.ibm.ivb.jface.LinkEventMulticaster.linkChanged(LinkEventMulticaster.java:60)
at com.ibm.ivb.jface.Tool.fireLinkEvent(Tool.java:536)
at com.ibm.ivm.tools.tree.NodeTreeSelectionListener.valueChanged(NodeTreeSelectionListener.java:64)
at javax.swing.JTree.fireValueChanged(JTree.java:2062)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2361)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:589)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:905)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:251)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:146)
at javax.swing.JTree.setSelectionPath(JTree.java:979)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2107)
at com.ibm.ivm.tools.tree.C3MLWindowsTreeUI.selectPathForEvent(C3MLWindowsTreeUI.java:139)
at com.ibm.ivm.tools.tree.C3MLWindowsTreeUIMouseAdapter.mouseReleased(C3MLWindowsTreeUIMouseAdapter.java:72)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.Component.processMouseEvent(Component.java:3190)
at java.awt.Component.processEvent(Component.java(Compiled Code))
at java.awt.Container.processEvent(Container.java(Compiled Code))
at java.awt.Component.dispatchEventImpl(Component.java(Compiled Code))
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
at java.awt.Component.dispatchEvent(Component.java(Compiled Code))
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java(Compiled Code))
at java.awt.LightweightDispatcher.processMouseEvent(Container.java(Compiled Code))
at java.awt.LightweightDispatcher.dispatchEvent(Container.java(Compiled Code))
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
at java.awt.Window.dispatchEventImpl(Window.java(Compiled Code))
at java.awt.Component.dispatchEvent(Component.java(Compiled Code))
at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled Code))
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java(Compiled Code))
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
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 » Help Installing Java Plug-In in WMQI 2.1 !!!
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.