WFNAM00003: Invalid naming provider URI ... URISyntaxException: Illegal character in path at index in JBoss EAP 7.1

Solution Verified - Updated -

Issue

  • We have a property that contains LDAP URLs separated by spaces that was working before we changed it to use org.wildfly.naming.client.WildFlyInitialContextFactory
    in EAP 7.1. Now we are getting the exception below:
WFNAM00003: Invalid naming provider URI: ldaps://host1.net:389/ ldaps://host2.net:389/: javax.naming.ConfigurationException: WFNAM00003: Invalid naming provider URI: ldaps://host1.net:389/ ldaps://host2.net:389/ [Root exception is java.net.URISyntaxException: Illegal character in path at index 36: ldaps://host1.net:389/ ldaps://host2.net:389/]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7

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