4 Replies Latest reply on Jun 2, 2005 5:09 PM by Justine Wang

    How to get the value of a Server Start Variable?

    Justine Wang Newbie

      Hi, all,

      When start the JBoss server, you get the following message on console, I want to get the Server Home URL's value from my code, does anyone know how?

      Thanks in advance!

      11:33:32,234 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:33:32,234 INFO [Server] Release ID: JBoss [WonderLand] 3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)
      11:33:32,234 INFO [Server] Home Dir: C:\JBoss\jboss-3.2.5
      11:33:32,234 INFO [Server] Home URL: file:/C:/JBoss/jboss-3.2.5/
      11:33:32,234 INFO [Server] Library URL: file:/C:/JBoss/jboss-3.2.5/lib/
      11:33:32,250 INFO [Server] Patch URL: null
      11:33:32,250 INFO [Server] Server Name: default
      11:33:32,250 INFO [Server] Server Home Dir: C:\JBoss\jboss-3.2.5\server\default
      11:33:32,250 INFO [Server] Server Home URL: file:/C:/JBoss/jboss-3.2.5/server/default/
      11:33:32,250 INFO [Server] Server Data Dir: C:\JBoss\jboss-3.2.5\server\default\data
      11:33:32,250 INFO [Server] Server Temp Dir: C:\JBoss\jboss-3.2.5\server\default\tmp
      11:33:32,250 INFO [Server] Server Config URL: file:/C:/JBoss/jboss-3.2.5/server/default/conf/
      11:33:32,250 INFO [Server] Server Library URL: file:/C:/JBoss/jboss-3.2.5/server/default/lib/
      11:33:32,250 INFO [Server] Root Deployment Filename: jboss-service.xml
      11:33:32,250 INFO [Server] Starting General Purpose Architecture (GPA)...
      11:33:32,531 INFO [ServerInfo] Java version: 1.4.2_04,Sun Microsystems Inc.
      11:33:32,531 INFO [ServerInfo] Java VM: Java HotSpot(TM) ...