Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17666

Deployments using RMI Java Naming provider must define explicit dependency on jdk.naming.rmi JPMS module

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 28.0.0.Final
    • None
    • JMX, Test Suite
    • None
    • ---
    • ---

      Deployments relying on internal JDK APIs / features need to declare an explicit dependency on particular Java SE internal JPMS module prividing that API / feature.

      For example in this concrete case to enable JNDI over RMI JDK feature jdk.naming.rmi module must be added:

       * either to deployment manifest 'Depencencies' attribute

       * or to the jboss-deployment-structure.xml 'jboss-deployment-structure/deployment/dependencies' element

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: