5 Replies Latest reply on Aug 4, 2017 7:25 AM by Wolfgang Mayer

    Detecting Server Type

    John Wright Newbie

      I've got a routine that detects and reports if my application is running on GlassFish, Tomcat or WebSphere but I'm having trouble detecting if the application is running on Wildfly.  If I'm running local (launched from Eclipse) I can check the system property "program.name" and detect "Wildfly 10" but if Wildfly is running as a service on a server this property doesn't seem to exist.


      Also, where is it documented on how to set a property somewhere in one of the configuration files? (this would be a work around to set our own property that we could query)


      Does anyone have a good solution?