好吧,我通过 ConfigManagerProxy (IIB v9)生成了一个Bar文件
.flux
在命令中添加-v,我意识到无法识别消息流的组件:ClassNotFoundException
mqsipackagebar -a <barName> -w <workspacePath> -k <appName> -v <logFile>
CLASSPATH:
2018-11-02 15:06:42.0938 main........... com.ibm.broker.config.appdev.PropertyCompiler.getNodePropertyCompilerClass() threw an exception: com.ibm.broker.config.appdev.propertycompilers.ComIbmMQInputNode. Stack trace follows.
java.lang.ClassNotFoundException: com.ibm.broker.config.appdev.propertycompilers.ComIbmMQInputNode
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:278)
at com.ibm.broker.config.appdev.PropertyCompiler.getNodePropertyCompilerClass(PropertyCompiler.java:314)
at com.ibm.broker.config.appdev.FlowRendererInternalCMF.addNode(FlowRendererInternalCMF.java:227)
at com.ibm.broker.config.appdev.FlowRendererInternalCMF.renderMessageFlowAsString(FlowRendererInternalCMF.java:145)
at com.ibm.broker.config.appdev.FlowRendererInternalCMF.toByteArray(FlowRendererInternalCMF.java:61)
at com.ibm.broker.config.appdev.Flow.<init>(Flow.java:51)
at com.ibm.broker.config.appdev.BARInternalZip.zipDirectory(BARInternalZip.java:121)
at com.ibm.broker.config.appdev.BARInternalZip.zipDirectory(BARInternalZip.java:118)
at com.ibm.broker.config.appdev.BARInternalZip.handleContent(BARInternalZip.java:66)
at com.ibm.broker.config.appdev.AppZip.<init>(AppZip.java:44)
at com.ibm.broker.config.appdev.FlowRendererInternalBAR.zipDirectory(FlowRendererInternalBAR.java:298)
at com.ibm.broker.config.appdev.FlowRendererInternalBAR.toByteArray(FlowRendererInternalBAR.java:184)
at com.ibm.broker.config.appdev.FlowRendererInternalBAR.toInputStream(FlowRendererInternalBAR.java:457)
at com.ibm.broker.config.appdev.FlowRendererInternalBAR.write(FlowRendererInternalBAR.java:385)
at com.ibm.broker.config.appdev.FlowRendererBAR.write(FlowRendererBAR.java:143)
at com.ibm.broker.config.appdev.CommandProcessor.packageBAR(CommandProcessor.java:368)
at com.ibm.broker.config.appdev.CommandProcessor.process(CommandProcessor.java:291)
at com.ibm.broker.config.appdev.FlowRendererBAR.main(FlowRendererBAR.java:204)
使用 mqsipackagebar 是否缺少任何PATH或某些jar文件不完整?