0 Replies Latest reply on Nov 13, 2013 8:26 AM by eramesh.java

    jboss.server.name  equalent command in jboss 7.1.1

    eramesh.java

      Hi Team,

       

      We are doing migration from Jboss 4 to Jboss 7.1.1 Final

       

      In Jboss 4, our front end is showing 'DEFAULT' using the code below.

       

        String jbossnode = System.getProperty("jboss.server.name");

       

      I tried in jboss 7 with the below code

       

        String jbossnode = System.getProperty("jboss.server.base.dir");

       

      But, in front end I am getting full path (ex: D:\Jboss 7.1.1\standalone).

       

      Could you please let me know, how to get only 'Standalone' in the front end.

       

      Also, in my SIT url  it is showing only B.  ( here B is my JBOSS NODE).

       

      Could you please advise!