Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10282

Elytron subsystem, ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 7.1.0.DR16
    • Security

      When I try to register com.sun.net.ssl.internal.ssl.Provider I get ClassNotFoundException. I think problem is sun.jdk module does not expose com.sun.net.ssl.internal.ssl package.

      [standalone@localhost:9990 /] /subsystem=elytron/provider-loader=b:add(class-names=[com.sun.net.ssl.internal.ssl.Provider])
      {
          "outcome" => "failed",
          "failure-description" => {"WFLYCTL0080: Failed services" => {"org.wildfly.security.providers.b" => "java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider from [Module \"org.wildfly.extension.elytron\" from local module loader @282ba1e (finder: local module finder @13b6d03 (roots: /home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules,/home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules/system/layers/base))]
          Caused by: java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider from [Module \"org.wildfly.extension.elytron\" from local module loader @282ba1e (finder: local module finder @13b6d03 (roots: /home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules,/home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules/system/layers/base))]"}},
          "rolled-back" => true
      }
      
      server.log
      11:57:26,531 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service org.wildfly.security.providers.b: org.jboss.msc.service.StartException in service org.wildfly.security.providers.b: java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider from [Module "org.wildfly.extension.elytron" from local module loader @16c0663d (finder: local module finder @23223dd8 (roots: /home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules,/home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules/system/layers/base))]
      	at org.wildfly.extension.elytron.ProviderDefinitions$1$1.get(ProviderDefinitions.java:214)
      	at org.wildfly.extension.elytron.ProviderDefinitions$1$1.get(ProviderDefinitions.java:154)
      	at org.wildfly.extension.elytron.TrivialService.start(TrivialService.java:53)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider from [Module "org.wildfly.extension.elytron" from local module loader @16c0663d (finder: local module finder @23223dd8 (roots: /home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules,/home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules/system/layers/base))]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      	at org.wildfly.extension.elytron.ProviderDefinitions$1$1.get(ProviderDefinitions.java:176)
      	... 7 more
      
      11:57:26,534 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "elytron"),
          ("provider-loader" => "b")
      ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.security.providers.b" => "java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider from [Module \"org.wildfly.extension.elytron\" from local module loader @16c0663d (finder: local module finder @23223dd8 (roots: /home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules,/home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules/system/layers/base))]
          Caused by: java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider from [Module \"org.wildfly.extension.elytron\" from local module loader @16c0663d (finder: local module finder @23223dd8 (roots: /home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules,/home/mchoma/workspace/eap-versions/7.1.0.DR16/jboss-eap-7.1/modules/system/layers/base))]"}}
      

              Unassigned Unassigned
              mchoma@redhat.com Martin Choma
              Martin Choma Martin Choma
              Martin Choma Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: