简体   繁体   English

如何了解Jboss EAP版本

[英]How to know Jboss EAP version

I am using JBoss5.1.0.GA. 我正在使用JBoss5.1.0.GA。

How to know whether is this a EAP version or normal? 如何知道这是EAP版还是普通版? Actually I am stuck in this issue . 实际上我陷入了这个问题 So trying to solve it by seeing comments. 所以试图通过看评论来解决它。

Assuming you have the required permissions to execute the command 假设您具有执行命令所需的权限

$JBOSS_HOME/bin/jboss-cli.sh --connect
# next two lines to enter in the JBoss command line interface
/:read-attribute(name=product-name)
/:read-attribute(name=product-version)

Or you can use JConsole and explore the jboss.as:server MBean the attributes have the names 或者您可以使用JConsole并浏览jboss.as:server MBean,这些属性具有名称

productName
productVersion

Or (might not work with 5.1.0 GA, was tested with a newer version) 或者(可能不适用于5.1.0 GA,使用较新版本进行测试)

cat $JBOSS_HOME/modules/system/layers/base/org/jboss/as/product/eap/dir/META-INF/MANIFEST.MF

The JBoss EAP 5.1 is provided as a bundle, which contains not only the application server but also other components: JBoss EAP 5.1作为捆绑包提供,它不仅包含应用程序服务器,还包含其他组件:

jboss-eap-5.1/
    jboss-as/
    mod_cluster/
    picketlink/
    resteasy/
    seam/

All JAR files are signed in the EAP . 所有JAR文件都在EAP中签名 You can find the information about signatures in META-INF folder: 您可以在META-INF文件夹中找到有关签名的信息:

$ unzip -l jboss-eap-5.1/jboss-as/lib/concurrent.jar
Archive:  jboss-eap-5.1/jboss-as/lib/concurrent.jar
  Length      Date    Time    Name
---------  ---------- -----   ----
    25286  2010-05-04 17:19   META-INF/MANIFEST.MF
    25376  2010-09-14 21:10   META-INF/JBOSSCOD.SF
     2826  2010-09-14 21:10   META-INF/JBOSSCOD.RSA
....

The EAP contains production server profile: EAP包含生产服务器配置文件:

$ ls jboss-eap-5.1/jboss-as/server/
all  default  minimal  production  standard  web

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM