Hello,
in my code a JNDI lookup does look like: InitialContext.doLookup("java:comp/env/wm/WorkManager")
Now for that entry I want to register an ObjectFactory in the WildFly configuration file under the subsystem "naming". What would be the correct JNDI name to that the above lookup works?
I for instance tried:
<subsystem xmlns="urn:jboss:domain:naming:2.0"> | |
<bindings> | |
<object-factory name="java:jboss/env/wm/WorkManager" module="hl.workmanager" class="com.hlag.fislocal.asyncbeans.WorkManager"/> | |
</bindings> | |
<remote-naming/> | |
</subsystem> |
java:/wm/WorkManager does not work and so does java:global. java:comp is not allowed.
Thanks
Jan R.