MSMQ Adapter problem

Hello,

I’m trying to create a server setting for one of my private queues, but I constantly get this message :

Unable to obtain MSMQ Server Settings
class wm.queue.API.WmQueueException
[BASWMQP.0002.0055] Exception caught: [BASMSMP.0001.0011]WmDispatchException invoking reset on COM object [Ljava.lang.Object;@271adbdb: {2}:{3}

The error logged is :

2002-12-03 14:56:27 GMT+01:00 wm.queue.API.WmQueueException:[BASWMQP.0002.0055] Exception caught: [BASMSMP.0001.0011]WmDispatchException invoking reset on COM object [Ljava.lang.Object;@7eda18d4: {2}:{3}
2002-12-03 14:56:36 GMT+01:00 wm.queue.API.WmQueueException:[BASWMQP.0002.0055] Exception caught: [BASMSMP.0001.0011]WmDispatchException invoking reset on COM object [Ljava.lang.Object;@78b0d8d4: {2}:{3}
2002-12-03 14:56:41 GMT+01:00 wm.queue.API.WmQueueException:[BASWMQP.0002.0055] Exception caught: [BASMSMP.0001.0011]WmDispatchException invoking reset on COM object [Ljava.lang.Object;@709a58db: {2}:{3}
2002-12-03 14:58:00 GMT+01:00 java.lang.IllegalArgumentException: [BASMSMP.0001.00071]Unable to load message template - (Can’t find resource for bundle com.wm.pkg.msmq.resources.MSMQErrorMsgBundle, key BASMSMP.0001.00071)
at wm.msmq.WMMSMQAdmin.getServerSettingQueues(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:288)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:688)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:480)
at com.wm.app.b2b.server.ns.Namespace.invoke(Namespace.java:452)
at com.wm.util.template.Reporter.invoke(Reporter.java:867)
at com.wm.util.template.InvokeToken.eval(InvokeToken.java:70)
at com.wm.util.template.IfVarToken.evalChild(IfVarToken.java(Compiled Code))
at com.wm.util.template.IfVarToken.evalChild(IfVarToken.java(Compiled Code))
at com.wm.util.template.TemplateToken.eval(TemplateToken.java(Compiled Code))
at com.wm.util.template.IfVarToken.eval(IfVarToken.java:172)
at com.wm.util.template.IfVarToken.evalChild(IfVarToken.java(Compiled Code))
at com.wm.util.template.IfVarToken.evalChild(IfVarToken.java(Compiled Code))
at com.wm.util.template.TemplateToken.eval(TemplateToken.java(Compiled Code))
at com.wm.util.template.IfVarToken.eval(IfVarToken.java:172)
at com.wm.util.template.TemplateToken.evalChild(TemplateToken.java(Compiled Code))
at com.wm.util.template.TemplateToken.eval(TemplateToken.java(Compiled Code))
at com.wm.util.template.Reporter.reportNoReset(Reporter.java:1167)
at com.wm.util.template.Reporter.reportToOutput(Reporter.java:1142)
at com.wm.util.template.Reporter.reportIData(Reporter.java:1031)
at com.wm.app.b2b.server.HTTPDocHandler._process(HTTPDocHandler.java:477)
at com.wm.app.b2b.server.HTTPDocHandler.process(HTTPDocHandler.java:109)
at com.wm.app.b2b.server.HTTPDispatch.run(HTTPDispatch.java:468)
at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
at java.lang.Thread.run(Thread.java:498)

2002-12-03 14:58:18 GMT+01:00 wm.queue.API.WmQueueException:[BASWMQP.0002.0055] Exception caught: [BASMSMP.0001.0011]WmDispatchException invoking reset on COM object [Ljava.lang.Object;@23758d8: {2}:{3}
2002-12-03 15:01:16 GMT+01:00 —( Start )—
2002-12-03 15:02:51 GMT+01:00 wm.queue.API.WmQueueException:[BASWMQP.0002.0055] Exception caught: [BASMSMP.0001.0011]WmDispatchException invoking reset on COM object [Ljava.lang.Object;@34995bd3: {2}:{3}
2002-12-03 15:03:05 GMT+01:00 wm.queue.API.WmQueueException:[BASWMQP.0002.0055] Exception caught: [BASMSMP.0001.0011]WmDispatchException invoking reset on COM object [Ljava.lang.Object;@7628dbd3: {2}:{3}

Does anyone know wherever this error might come from, or even how to correct it ?

Thanks
Gilles

It’s very likely that you didn’t install the MSMQ client on the machine where the adapter is running, as the error seems to indicate that it couldn’t instantiate the COM object.

Volluz,

One other comments that I like to mention is that private queues are not visible in the MQSI database, which is what the adapter queries to get the public queues information. So, you can’t fetch private queues. However, you can still create a message handler for it by specifying your private queue name. Also, there is a difference between a MSMQ client and a MSMQ server. The MSMQ adapter interfaces with the MSMQ server’s queue via the MSMQ client. You need to install the MSMQ client, in addition to the MSMQ server, in order for the MSMQ adapter to work.

There are some sample programs that come with the MSMQ client that you can try to see if it works first before you try the MSMQ adapter.

Hope this helps.

Bruce

I’m also having the same problem while trying to get the MSMQ adapter to work. I have Win2k Server running MSMQ Server locally. The problem is, i can’t seem to figure out how to have an MSMQ client and Server on the same machine as the Win2K setup does not allow this. any ideas how I can get the client installed separately? Is there a separate install that I can download anywhere?

thanks

Guy (busy evaluating webMethods)