A workgroup installation computer does not support the operation

转载 2012年03月26日 22:04:54

In one of our internal forums, recently, someone had posted a query regarding issues in connecting and receiving messages from journal queues. The exception they were getting was "Queue ID is not registered in DS". I hadn't worked with Journal queues before, but this error seemed to me to be related to the queue path.

In my earlier blogs (here andhere), I had discussed about the importance of specifying the right name for the queue and also mentioned how the path will typically look like. I decided to give it a try and created a private queue on my local machine and enabled journaling on it. Enabling journaling is as trivial as checking a checkbox in the queue property window.  You can also enable it by setting theUseJournalQueue property on the message.

Having done this, I used the syntax as described on MSDN Documentation.

            MessageQueue queue =new MessageQueue(".\\test\\journal$");

To my surprise, I got an exception stating "A workgroup installation computer does not support the operation." Well, it isn't really a surprise, since this syntax is for public queues and that's what the error message is also indicating. The following are the various syntaxes that did work for me. You could use either of the following based on your own preferences.  Note that the "test" in the queue path is name of the private queue that i created.

            MessageQueue queue =new MessageQueue(".\\private$\\test\\journal$");

            MessageQueue queue =new MessageQueue(".\\private$\\test;journal");

The casing for "journal" doesn't matter and you can very well specify it as "JOURNAL". So much for local private queue. I quickly tried accessing the journal queue for a remote private queue as well, and following worked for me

            MessageQueue queue =new MessageQueue("FormatName:DIRECT=OS:server\\private$\\remote;journal");

Where "server" is the remote machine name. Again, "journal" can be specified as "JOURNAL" as well. The following, though is an extension of what worked in case of local private queue, didn't work for remote private queue and I got a "Format name is invalid" exception.

            MessageQueue queue =new MessageQueue("FormatName:DIRECT=OS:punhjw30076\\private$\\remote\\journal$");


举报

相关文章推荐

org.apache.cxf.interceptor.Fault: The given SOAPAction ... does not match an operation

在使用

The environment variable JAVA_HOME(with the value of xxx) does not point to a valid JVM installation

电脑上的IntelliJ IDEA有段时间没用了,今天有朋友在相关文章 IntelliJ IDEA 运行你的第一个Java应用程序 中提出问题,我就打开IntelliJ IDEA看看,结果提示以下信息...

我是如何成为一名python大咖的?

人生苦短,都说必须python,那么我分享下我是如何从小白成为Python资深开发者的吧。2014年我大学刚毕业..

解决The environment variable JAVA_HOME does not point to a valid JVM installation 问题

安装Android Studio和JDK之后,打开Android Studio 提示The environment variable JAVA_HOME does not point to a val...

the specified jre installation does not exist 不存在指定的JRE安装

开发过程中环境只要配置好了,如果没有出现什么意外的话JRE工作环境一般是不会有问题的。the specified jre installation does not exist 这个问题也算把我这菜鸟...
  • karali
  • karali
  • 2013-03-16 00:09
  • 15210

your cpu does not support NX

类型 android开发环境错误 出现时机 在创建模拟器的时候 在avd manager上提示了 your cpu does not support NX 错误。双击展示的信息是大体意思就是电脑...

UE4打包时出现 FMemoryWriter does not support data larger than 2GB 的解决方案

博主前段时间做一个小型别墅的场景,一开始还能正常打包,但在提高渲染效果构建场景后打包,出现了错误。 仔细观察后发现大致意思是 FMemoryWriter 不支持超过2gb大小的场景 ,于是百度找了好...

linux下安装Myeclipse提示Your system does not have sufficient memory to support MyEclipse

之前在网上很多办法都是要写一个程序强制消耗内存,一直到系统开始启动虚拟内存。其实并不需要那么复杂。 Your system does not have sufficient memory to sup...

Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法

目前正在学习python,使用的工具为python3.2.3。发现3x版本和2x版本有些差异,在套接字编程时,困扰了我很久,先将python核心编程书中的例子 代码如下: 服务器端...

是用BeanUtils做工程出错org.apache.commons.beanutils.ConversionException: DateConverter does not support def

使用eclipse新建一动态工程,建好包, 新建了四个文件:ActionServlet.java\ActionForm.java\AddForm.java\FormUtil.java WebCon...
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)