-
Enhancement
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
Currently using
jndiProperties.put(Context.PROVIDER_URL,"remote+http://localhost:8080");
results in error
Exception in thread "main" javax.naming.OperationNotSupportedException: WFNAM00026: No provider for found for URI: ejb at org.wildfly.naming.client.WildFlyRootContext.getProviderContext(WildFlyRootContext.java:500) at org.wildfly.naming.client.WildFlyRootContext.lookup(WildFlyRootContext.java:140) at javax.naming.InitialContext.lookup(Unknown Source)
where the problem is actually wrong url portocol
jndiProperties.put(Context.PROVIDER_URL,"remote+http://localhost:8080");
see the remoting+http vs right remote+http