Troubleshooting
Problem
Weblogic JNDI Names cannot be like A and A.0001
Symptom
PART: Documentation 5.5 Platform
PRODUCT: Distributed Order
Management
COMPONENT: Installation_Guide
OS: HP-UX - 11i
DATABASE:
Oracle - 9.2.0.4
WEB SERVER: WebLogic - 8.1 SP1
WEB BROWSER: Internet
Explorer - 6.0 sp1
If you try to put entry like
<JMSServer
Name="MyJMSServer" Targets="sp2server">
<JMSQueue
JNDIName="DefaultAgentQueue" Name="DefaultAgentQueue"/>
<JMSQueue
JNDIName="Abhijitwithdot" Name="Abhijitwithdot"/>
<JMSQueue
JNDIName="Abhijitwithdot.Queue" Name="Abhijitwithdot.Queue"/>
<JMSQueue JNDIName="Abhijitwithdot.onemore"
Name="Abhijitwithdot.onemore"/>
<JMSQueue JNDIName="AbhijitJMSQueue"
Name="AbhijitJMSQueue"/>
</JMSServer>
"java.security.PrivilegedActionException:
javax.naming.NameAlreadyBoundException: Abhijitwithdot is already bound;
remaining name ''
So if you have a queue name like A, then you cant
(also) have something like A.0001.
Also, error happens if you create the
queue in Weblogic Console. It politely tells you this problem.
If you
manually put this in the config.xml, then one of the JMSQueues will not come
up.
Cause
Resolving The Problem
Use other JNDI Names. Make sure you dont cause this conflict.
It is
perfectly okay to have queue names like A.0001 and A.0002.
Historical Number
PRI49358
Product Synonym
[<p><b>]Fact[</b><p>];
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21547131