What version of JBoss I am running?

前端 未结 11 1363
太阳男子
太阳男子 2021-02-05 11:05

(As asked in title:) How do I tell what version of JBoss I am running?

I am also curious what version of tomcat I am running. Does a specific version of JBoss correspond

11条回答
  •  盖世英雄少女心
    2021-02-05 11:28

    Just found another way to know the jboss version, so pointing out here:

    In Linux/Windows use --version parameter along with Jboss executable to know the Jboss Version

    eg:

    [immo@g012 bin]$  ./run.sh --version
    ========================================================================
    
      JBoss Bootstrap Environment
    
      JBOSS_HOME: /programs/jboss4.2-AES2.3Cert
    
      JAVA: /programs/java/jdk1.7.0_09/bin/java
    
      JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 
    
      CLASSPATH: /programs/jboss4.2-AES2.3Cert/bin/run.jar:/programs/java/jdk1.7.0_09/lib/tools.jar
    
    =========================================================================
    
    Listening for transport dt_socket at address: 8787
    JBoss 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
    

    Here JBoss 4.0.4.GA is the Jboss version

    in windows this could be

    run.bat --version
    

    Also, in new versions of jboss the executable is standalone.sh / standalone.bat

提交回复
热议问题