-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.DR15
META-INF/wildfly-config.xml snippet:
<configuration>
<authentication-client xmlns="urn:elytron:1.0">
<authentication-rules>
<rule use-configuration="default"/>
</authentication-rules>
<authentication-configurations>
<configuration name="default">
<allow-all-sasl-mechanisms/>
<set-mechanism-properties>
<property key="wildfly.sasl.local-user.quiet-auth" value="true"/>
</set-mechanism-properties>
</configuration>
</authentication-configurations>
</authentication-client>
<jboss-ejb-client xmlns="urn:jboss:wildly-client-ejb:3.0">
<connections>
<connection uri="remote+http://127.0.0.1:8080" />
</connections>
</jboss-ejb-client>
</configuration>
EJB client code snippet:
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, WildFlyInitialContextFactory.class.getName());
InitialContext ctx = new InitialContext(props);
String lookupName = "ejb:/server/HelloBean!ejb.HelloBeanRemote";
HelloBeanRemote bean = (HelloBeanRemote)ctx.lookup(lookupName);
This doesn't work. EJB client library doesn't seem to take the connection configuration into account at all and doesn't try to connect anywhere, just fails with the universal EJBCLIENT000024 error.
- is blocked by
-
JBEAP-10101 Upgrade ejb client to 4.0.0.Beta23 from 4.0.0.Beta22
-
- Closed
-
- is caused by
-
EJBCLIENT-204 Ensure nodeConfigurations field of JBossEJBProperties.Builder is initialized correctly
-
- Resolved
-
-
EJBCLIENT-205 Protocol attribute is not being read from properties configuration
-
- Resolved
-
- is related to
-
JBEAP-8957 Unhelpful error messages from EJB client
-
- Closed
-