1 Reply Latest reply on Dec 22, 2014 11:34 PM by jaikiran

    Missing dependent plug-in-authentication

    ninjagumby

      JBAS014775:    New missing/unsatisfied dependencies:

      [Server:server-one] service jboss.remoting.remotingConnectorInfoService.http-remoting-connector (missing) dependents: [service jboss.clustering.registry.ejb.default.entry, service jboss.ejb3.connector]

      [Server:server-one] service jboss.server.controller.management.security_realm.EchoRealm.plug-in-loader (missing) dependents: [service jboss.server.controller.management.security_realm.EchoRealm.plug-in-authentication]

       

       

      How can I satisfy dependency on plug-in-authentication?  I have followed the example set in https://docs.jboss.org/author/display/WFLY8/Security+Realms to create a plugin and have the following:

       

      <security-realm name="EchoRealm">

        <plug-ins>

           <plug-in module="org.jboss.as.sample.plugin"/>

         </plug-ins>

         <authentication>

           <plug-in name="Sample"/>

         </authentication>

      </security-realm>

       

       

      This is the contents of the plugin, placed in $WILDFLY/modules/system/layers/base/org/jboss/as/sample/plugin/main

       

      $ jar tf target/Sample.jar

      META-INF/

      META-INF/MANIFEST.MF

      org

      org/jboss

      org/jboss/as

      org/jboss/as/sample/

      org/jboss/as/sample/plugin/

      META-INF/services/

      org/jboss/as/sample/plugin/SampleAuthenticationPlugin$1.class

      org/jboss/as/sample/plugin/SampleAuthenticationPlugin$SampleIdentity.class

      org/jboss/as/sample/plugin/SampleAuthenticationPlugin.class

      org/jboss/as/sample/plugin/SamplePluginProvider.class

      META-INF/services/module.xml

      META-INF/services/org.jboss.as.domain.management.plugin.PlugInProvider

       

       

      The module.xml:

       

      <?xml version="1.0" encoding="UTF-8"?>

       

      <module xmlns="urn:jboss:module:1.3" name="org.jboss.as.sample.plugin">

          <properties>

          </properties>

         

          <resources>

                  <resource-root path="Sample.jar"/>

          </resources>

                 

          <dependencies>

                  <module name="org.jboss.as.domain-management" />

          </dependencies>

      </module>

       

       

       

      The contents of org.jboss.as.domain.management.plugin.PlugInProvider:


      org.jboss.as.sample.plugin.SamplePluginProvider

        • 1. Re: Missing dependent plug-in-authentication
          jaikiran

          n g wrote:

           

          JBAS014775:    New missing/unsatisfied dependencies:

          [Server:server-one] service jboss.remoting.remotingConnectorInfoService.http-remoting-connector (missing) dependents: [service jboss.clustering.registry.ejb.default.entry, service jboss.ejb3.connector]

          [Server:server-one] service jboss.server.controller.management.security_realm.EchoRealm.plug-in-loader (missing) dependents: [service jboss.server.controller.management.security_realm.EchoRealm.plug-in-authentication]

           

           

          What that error message is saying is that it's missing a service named http-remoting-connector which is required by some other services. This is a sign that you probably changed something that probably got rid of the http-remoting-connector from the configuration. Make sure that's not the case.