How to add simple bindings in naming subsystem of JBoss EAP 6?
Issue
- In
webspsherethere is aurl Providerthat can have different values as below. Is there a similar feature in JBoss EAP 6?
name=url/test Value=http://www.google.com or
name=url/test2 Value=file:///temp/
- While we were setting JNDI in EAP, we followed the JBOSS like the following in domain.xml :
<subsystem xmlns="urn:jboss:domain:naming:1.1">
<bindings>
<simple name="ABCD" value="XYZ"/>
…
….
Then we faced the error like below :
13:59:40,721 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 42) JBAS014613: Operation ("add") failed - address: ([
[Server:common] ("subsystem" => "naming"),
[Server:common] ("binding" => "ABCD")
[Server:common] ]) - failure description: "JBAS011864: Invaliding binding name ABCD, name must start with one of [java:global, java:jboss, java:/]"
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
