[jboss-jira] [JBoss JIRA] Commented: (JBAS-6411) Show Java runtime information in boot.log

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Thu Jan 22 18:46:54 EST 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12449366#action_12449366 ] 

Galder Zamarreno commented on JBAS-6411:
----------------------------------------

Example:

$ java -version
java version "1.6.0_0"
IcedTea6 1.4 Runtime Environment (build 1.6.0_0-b12)
OpenJDK Server VM (build 10.0-b19, mixed mode)

With the code change, boot.log now shows the same information:
00:40:36,112 INFO  [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc.
00:40:36,112 INFO  [ServerInfo] Java Runtime: IcedTea6 1.4 (fedora-7.b12.fc10-i386) Runtime Environment (build 1.6.0_0-b12)
00:40:36,112 INFO  [ServerInfo] Java VM: OpenJDK Server VM 10.0-b19,Sun Microsystems Inc.

> Show Java runtime information in boot.log
> -----------------------------------------
>
>                 Key: JBAS-6411
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6411
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: System service
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: JBossAS-5.0.1.GA, JBossAS-5.1.0.Beta1, JBossAS-6.0.0.Alpha1
>
>
> With different flavours of JDKs becoming more common, 
> it's important to show Java runtime properties in log/boot.log:
> System.getProperty("java.runtime.version");
> System.getProperty("java.runtime.name");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list