WFNAM00007: Invalid URL scheme name "iiop" in JBoss EAP 7

Solution Verified - Updated

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7

Issue

javax.naming.InvalidNameException: WFNAM00007: Invalid URL scheme name "iiop"
 	at org.wildfly.naming.client.WildFlyRootContext.getProviderContext(WildFlyRootContext.java:808)
 	at org.wildfly.naming.client.WildFlyRootContext.lookup(WildFlyRootContext.java:140)
 	at javax.naming.InitialContext.lookup(InitialContext.java:417)
 	at com.jboss.examples.ejb3.iiop.client.JDKClient.invoke(JDKClient.java:65)

Resolution

See: How to expose an EJB via IIOP and call it in JBoss EAP 7 / 6

Related Solutions

Root Cause

Using the wrong Context.INITIAL_CONTEXT_FACTORY when trying to invoke an EJB via IIOP

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.