This content has been marked as final.
Show 4 replies
-
1. Re: URGENT:: identify JBoss Version at run time
jaikiran Jul 7, 2006 6:00 AM (in response to kesso01)Try this out:
System.out.println("Here's the server version: " + org.jboss.Version.getInstance().toString());
-
2. Re: URGENT:: identify JBoss Version at run time--hostname an
kesso01 Jul 7, 2006 6:29 AM (in response to kesso01)Thanks kiran.
Unfortunately i don't have access for Jboss library at run time. is there any XML i can parse and get the JBoss version..
Also i have another question. Is there any configuration file in Jboss directory i cane get the webserver hostname and port? -
3. Re: URGENT:: identify JBoss Version at run time
jaikiran Jul 7, 2006 8:24 AM (in response to kesso01)is there any XML i can parse and get the JBoss version
You can read the "version.properties" file present in jboss-system.jar file, which you can find in %JBOSS_HOME%/lib directory. -
4. Re: URGENT:: identify JBoss Version at run time
kesso01 Jul 7, 2006 11:49 AM (in response to kesso01)Hi
I am using 4.0.3 SP1. I have not seen version.properties file inside the Jboss-System.jar file. Could you please guide me in which file i can get the answer.
Thanks for the help...
Regards
SomaSekharaReddy.K