Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3770

CNFE: sun.security.x509.X500Name from module elytron-private

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Optional
    • 5.0.0.Beta1
    • 5.0.0.Alpha3
    • Security
    • None

    Description

      with new style (jboss-modules 1.8 + ) of dependencies in elytron-private module (no sun.jdk module) I see this exception

      15:29:14,654 TRACE [org.wildfly.security] (management task-1) X550Name.asX500Principal() is not available.: java.lang.ClassNotFoundException: sun.security.x509.X500Name from [Module "org.wildfly.security.elytron-private" version 1.2.4.Final from local module loader @17f6480 (finder: local module finder @2d6e8792 (roots: /home/mchoma/Repos/tests-security/elytron/target/dist/jboss-eap/modules,/home/mchoma/Repos/tests-security/elytron/target/dist/jboss-eap/modules/system/layers/base))]
              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:348)
              at org.wildfly.security.x500.util.X500PrincipalUtil.<clinit>(X500PrincipalUtil.java:54)
      

      This exception is not breaking anything. Just create unnecessary log noise on TRACE level.

      Either we need to:

      • wait for ELY-1569
      • somehow add back dependency on sun.security.x509 package to elytron-private module

      Attachments

        Issue Links

          Activity

            People

              darran.lofthouse@redhat.com Darran Lofthouse
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: