This content has been marked as final.
Show 3 replies
-
1. Re: How can one find the jboss version that is installed?
jiwils Apr 18, 2006 2:03 PM (in response to babureddy)"babureddy@rocketmail.com" wrote:
Is there any other way to find the jboss version.
Use the Version attribute of the jboss.system:type=Server MBean.
Use this wiki to see how to communicate with MBeans from Java-based code when running as a part of the application server. -
2. Re: How can one find the jboss version that is installed?
fbiaggi Apr 19, 2006 9:54 AM (in response to babureddy)Hi,
try:Package mainPkg = Package.getPackage( "org.jboss" ); String v = mainPkg.getImplementationVersion( );
-
3. Re: How can one find the jboss version that is installed?
starksm64 Apr 20, 2006 3:14 AM (in response to babureddy)Other than the readme.html in the root of the dist, you can get this from the run.jar manifest version headers. The jdk extcheck tool can display this:
[sstark@sstark bin]$ extcheck -verbose run.jar Target file:run.jar Specification title:JBoss Specification version:4.0.3 Specification vendor:JBoss (http://www.jboss.org/) Implementation version:4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054) Implementation vendor:JBoss.org Comparing with file:/C:/usr/java/jdk1.5.0_04/jre/lib/ext/dnsns.jar Comparing with file:/C:/usr/java/jdk1.5.0_04/jre/lib/ext/localedata.jar Comparing with file:/C:/usr/java/jdk1.5.0_04/jre/lib/ext/sunjce_provider.jar Comparing with file:/C:/usr/java/jdk1.5.0_04/jre/lib/ext/sunpkcs11.jar No conflicting installed jar found.