English 中文(简体)
为什么背景会看一下Fail在玻璃鱼中的这一特殊JMS信息吗?
原标题:Why would the Context Lookup Fail for this Specific JMS Message Queue in Glassfish?

我在玻璃鱼中有一种像“String.String.etc”这样的信息。 每当我试图向薪金部发出信息时,我就收到以下错误信息:

Look:comp/env/[MQ name] in SerialContext[myEnv={java.naming. Factor.naming.SerialInitContextFactory, java.naming. Factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming. Factor. Factor.centy.url.pkgs=com.sun. Enterprises.naming}

I have another JMS Queue with the name of "jms/Beta". I don t get this problem for that MQ. Why would the first mentioned MQ cause the Context lookup to fail, but not the second one?

问题回答

在Java E申请中,JMS管理的物体通常放在jms点名下。

I think GF absolutely needs the jms part before the JMS Queue.

Cheers, Eugene.





相关问题
Webspehere 6.1 and JNDI for something other than a Datasource

I was wondering: how does one go about configuring WAS if they want to store some confidential information that is not datasource, JMS or Mail related? I m looking more for an adhoc JNDI resource (a ...

JBoss JNDI Binding Manager - maximum length of value?

I m using the technique described here to register string values on the JNDI tree via an XML file deployed to JBoss. This is working fine for my system constants (URLs and the like). However I am ...

How to configure JPA to use JNDI?

I have a working persistence definition that works on java level tests. Now I want to incorporate that into a web application which defines the database connection as JNDI in the context.xml. What do ...

Jetty JNDI Java Mail

I am using Jetty 7 with JBoss Seam and have 2 Java Mail Sessions configured, one for support notifications and another for general notifications. The problem I am having appears to be from JBoss Seam ...

Using JNDI for Database connections

This might sound like a noob question but this is the first time I m treading into Database territory. From here I got the info that The most efficient way to implement communication between the ...

JNDI Names -- Is Prefix "jdbc/" needed?

What s up with JNDI names? I m trying to get a javax.sql.DataSource using the new annotations feature of Java 5. It s not working for me, so I want to ask... I have a in my web.xml, inside of it is ...

热门标签