1 Reply Latest reply on Aug 14, 2009 12:14 AM by jaikiran

    Getting Server's 'Config Name' to display in JSP

    zmcmahon

      Hi -

      I'd like to develop a JSP page which we can use to determine which jboss server instance we are connected to. The idea is to use this page to determine which server your session is on when you are hitting a clustered application.

      I see in the ServerInfo.jsp page within the web-console, they get access to the org.jboss.system.server.ServerConfigImplMBean object through a special taglib and then do the following:

      serverConfig.getServerHomeDir().getName()

      Is there any way for me to get access to this object or the server name without using this taglib?

      Thanks