How to bind a URL into JNDI via the naming subsystem configuration in JBoss EAP 6

Solution Verified - Updated -

Issue

  • We are migrating from IBM WebSphere (WAS), where we were able to configure URL resources that our application could look up in JNDI, is there a similar feature in JBoss EAP 6? http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Fujtc_rurlsi.html

  • Is there a way to bind a URL into JNDI via some xml configuration similar to the JNDIBindingServiceMgr MBean in previous versions of JBoss? http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#ch3.mbeans

  • What is the procedure to create an URL resource in JBoss EAP 6.4? Need information to bind a JNDI with an URL resource, i.e to call an url resource through an application using a JNDI.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content