I've wildfly-22.0.1.Final running on Windows 10 as standalone. When my application tries to access open LDAP running on remote Linux (Ubuntu 20.10 with kernel 5.8.0) this fails and warning messages are logged:
11:45:43,846 INFO [
org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on
http://192.168.2.101:9990WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.as.naming.InitialContext (jar:file:/C:/app/jboss/wildfly-22.0.1.Final/modules/system/layers/base/org/jboss/as/naming/main/wildfly-naming-22.0.1.Final.jar!/) to constructor com.sun.jndi.ldap.LdapCtxFactory()
WARNING: Please consider reporting this to the maintainers of org.jboss.as.naming.InitialContext
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
I can access LDAP from Windows 10 eg via JXPlorer indeed and this works when my application is running locally on Ubuntu.
Any idea what might be wrong?