What version of JBoss I am running?

前端 未结 11 1387
太阳男子
太阳男子 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:13

    Use the following command from Linux

    find $JBOSS_HOME -name run.sh -exec {} -V \; | grep '^JBoss'
    
    0 讨论(0)
  • 2021-02-05 11:15

    In your JBoss lib Directory:

    • Open the file jboss-system.jar by example
    • Extract the file MANIFEST.MF from the META-INF directory
    • Open MANIFEST.MF with a text editor and then look at the property Specification-Version and Implementation-Version
    0 讨论(0)
  • 2021-02-05 11:18

    The version of JBoss should also be visible in the boot log file. Standard install would have that (for linux) in

    /var/log/jboss/boot.log

    $ head boot.log

    08:30:07,477 INFO  [Server] Starting JBoss (MX MicroKernel)...
    08:30:07,478 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
    08:30:07,478 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl@4277158a
    08:30:07,478 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl
    08:30:07,478 DEBUG [Server] Server loaded through: org.jboss.system.server.NoAnnotationURLClassLoader
    08:30:07,478 DEBUG [Server] Boot URLs:
    

    so required info int the above case is

    Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)

    0 讨论(0)
  • 2021-02-05 11:23

    If you know the location of installed jboss folder then simply open it and look for version.txt file.

    0 讨论(0)
  • 2021-02-05 11:24

    JBoss has an MBean called Server. That reports the build and version of JBoss itself. Once you know the version, you can see what components are involved. It is not that well cataloged, but you can see it in the release notes.

    0 讨论(0)
  • 2021-02-05 11:25

    Realize this is an old thread but here are a couple other ways (works with EAP 6.4):

    1. Use JBoss CLI (/opt/jboss/bin)

    # jboss-cli.sh -c --controller=127.0.0.1:9999 'version' JBoss Admin Command-line Interface JBOSS_HOME: /opt/AAS/latest/jboss JBoss AS release: 7.5.14.Final-redhat-2 "Janus" JBoss AS product: EAP 6.4.14.GA

    1. Inspect the identity.conf file

    # more /opt/jboss/.installation/identity.conf patches= cumulative-patch-id=jboss-eap-6.4.14.CP installed-patches=jboss-eap-6.4.1.CP,jboss-eap-6.4.2.CP,jboss-eap-6.4.3.CP,jboss-eap-6.4.4.CP,jboss-eap-6.4.5.CP,jboss-eap-6.4.6.CP,jboss-eap-6.4.7.CP,jboss-eap-6.4.8.CP,jboss-eap-6.4.9.CP, jboss-eap-6.4.10.CP,jboss-eap-6.4.11.CP,jboss-eap-6.4.12.CP,jboss-eap-6.4.13.CP,jboss-eap-6.4.14.CP

    0 讨论(0)
提交回复
热议问题