2 Replies Latest reply on Apr 19, 2016 3:26 AM by Eduard Drenth

    org.jboss.as.server.ServerEnvironment

    Eduard Drenth Newbie

      Dear all,

       

      For a customer we have the following issue

       

      1. an application uses org.jboss.as.server.ServerEnvironment, retrieved through org.jboss.msc.service.ServiceActivator
      2. this needs a dependency to wildfly-server
      3. we want this dependency to be of scope "provided", but org.jboss.as.server.ServerEnvironment cannot be found at runtime then

      The question is how to make org.jboss.as.server.ServerEnvironment available to the application at runtime (using some configuration in wildfly).