System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Rostislav Svoboda
Hi.

CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.

Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.


What do you think about it? Especially Alexey, Brian and Heiko.
There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162

Thanks for comments.
Rosta
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Scott Stark
It would be nice if one could specify the names of system
properties/env-vars that one would like to display in the console in the
server configuration, with a notion of whether or not the value should
be masked.

On 10/19/11 6:01 AM, Rostislav Svoboda wrote:

> Hi.
>
> CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.
>
> Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.
>
>
> What do you think about it? Especially Alexey, Brian and Heiko.
> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>
> Thanks for comments.
> Rosta
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Brian Stansberry
In reply to this post by Rostislav Svoboda
The platform-mbean RuntimeMBean resource exposes all system properties:

[standalone@localhost:9999 /]
/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
{
     "outcome" => "success",
     "result" => {
         "java.vm.version" => "20.1-b02-384",
         "java.vendor.url" => "http://www.apple.com/",
         "sun.jnu.encoding" => "MacRoman",
         "java.vm.info" => "mixed mode",
         "jboss.server.name" => "pingguo",
         "user.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
         "java.awt.headless" => "true",
         "logging.configuration" =>
"file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
         "sun.cpu.isalist" => "",
         "java.awt.graphicsenv" => "apple.awt.CGraphicsEnvironment",
         "sun.os.patch.level" => "unknown",
         "org.omg.CORBA.ORBSingletonClass" => "org.jacorb.orb.ORBSingleton",
         "javax.xml.datatype.DatatypeFactory" =>
"__redirected.__DatatypeFactory",
         "jboss.server.base.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
         "java.io.tmpdir" =>
"/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
         "user.home" => "/Users/bstansberry",
         "java.awt.printerjob" => "apple.awt.CPrinterJob",
         "jboss.server.deploy.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
         "java.version" => "1.6.0_26",
         "file.encoding.pkg" => "sun.io",
         "javax.xml.parsers.SAXParserFactory" =>
"__redirected.__SAXParserFactory",
         "org.jboss.boot.log.file" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
         "javax.xml.stream.XMLInputFactory" =>
"__redirected.__XMLInputFactory",
         "jboss.server.config.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
         "java.vendor.url.bug" => "http://bugreport.apple.com/",
         "mrj.build" => "10M3425",
         "file.encoding" => "MacRoman",
         "line.separator" => "
",
         "sun.java.command" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
-mp
/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
-logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
org.jboss.as.standalone
-Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
         "sun.rmi.dgc.client.gcInterval" => "3600000",
         "module.path" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
         "org.omg.CORBA.ORBClass" => "org.jacorb.orb.ORB",
         "java.vm.specification.vendor" => "Sun Microsystems Inc.",
         "javax.xml.transform.TransformerFactory" =>
"__redirected.__TransformerFactory",
 
"javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema" =>
"__redirected.__SchemaFactory",
         "java.util.logging.manager" => "org.jboss.logmanager.LogManager",
         "jboss.node.name" => "pingguo",
         "catalina.home" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
         "java.vm.vendor" => "Apple Inc.",
         "jboss.host.name" => "pingguo",
         "java.class.path" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
         "awt.nativeDoubleBuffering" => "true",
         "sun.io.unicode.encoding" => "UnicodeLittle",
         "os.arch" => "x86_64",
         "user.language" => "en",
         "user.name" => "bstansberry",
         "java.runtime.version" => "1.6.0_26-b03-384-10M3425",
         "sun.boot.class.path" =>
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
 
"javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
"__redirected.__XPathFactory",
         "gopherProxySet" => "false",
         "org.xml.sax.driver" => "__redirected.__XMLReaderFactory",
         "jboss.server.log.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
         "sun.cpu.endian" => "little",
         "jboss.modules.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
         "ftp.nonProxyHosts" => "local|*.local|169.254/16|*.169.254/16",
         "awt.toolkit" => "apple.awt.CToolkit",
         "sun.boot.library.path" =>
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
         "java.vm.name" => "Java HotSpot(TM) 64-Bit Server VM",
         "jboss.server.data.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
         "sun.rmi.dgc.server.gcInterval" => "3600000",
         "java.home" =>
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
         "java.endorsed.dirs" =>
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
         "javax.xml.parsers.DocumentBuilderFactory" =>
"__redirected.__DocumentBuilderFactory",
         "jboss.modules.system.pkgs" => "org.jboss.byteman",
         "java.net.preferIPv4Stack" => "true",
         "jboss.qualified.host.name" => "pingguo.local",
         "sun.management.compiler" => "HotSpot 64-Bit Tiered Compilers",
         "java.runtime.name" => "Java(TM) SE Runtime Environment",
         "java.library.path" =>
".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
         "file.separator" => "/",
         "jboss.home.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
         "javax.xml.stream.XMLOutputFactory" =>
"__redirected.__XMLOutputFactory",
         "java.specification.vendor" => "Sun Microsystems Inc.",
         "java.vm.specification.version" => "1.0",
         "org.jboss.resolver.warning" => "true",
         "sun.java.launcher" => "SUN_STANDARD",
         "user.timezone" => "America/Chicago",
         "http.nonProxyHosts" => "local|*.local|169.254/16|*.169.254/16",
         "os.name" => "Mac OS X",
         "path.separator" => ":",
         "java.ext.dirs" =>
"/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
         "jboss.server.temp.dir" =>
"/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
         "sun.arch.data.model" => "64",
         "org.osgi.vendor.framework" => "org.jboss.osgi.framework",
         "java.specification.name" => "Java Platform API Specification",
         "os.version" => "10.6.8",
         "mrj.version" => "1060.1.6.0_26-384",
         "java.class.version" => "50.0",
         "user.country" => "US",
         "socksNonProxyHosts" => "local|*.local|169.254/16|*.169.254/16",
         "java.vendor" => "Apple Inc.",
         "javax.xml.stream.XMLEventFactory" =>
"__redirected.__XMLEventFactory",
         "java.rmi.server.hostname" => "127.0.0.1",
         "java.vm.specification.name" => "Java Virtual Machine
Specification",
         "java.specification.version" => "1.6",
         "java.naming.factory.url.pkgs" =>
"org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
     }
}

On 10/19/11 8:01 AM, Rostislav Svoboda wrote:

> Hi.
>
> CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.
>
> Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.
>
>
> What do you think about it? Especially Alexey, Brian and Heiko.
> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>
> Thanks for comments.
> Rosta
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

David Lloyd-2
Phew, maybe that list ought to be sorted...

(hint: easy patch idea for a new contributor!)

On 10/19/2011 09:38 AM, Brian Stansberry wrote:

> The platform-mbean RuntimeMBean resource exposes all system properties:
>
> [standalone@localhost:9999 /]
> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> {
>       "outcome" =>  "success",
>       "result" =>  {
>           "java.vm.version" =>  "20.1-b02-384",
>           "java.vendor.url" =>  "http://www.apple.com/",
>           "sun.jnu.encoding" =>  "MacRoman",
>           "java.vm.info" =>  "mixed mode",
>           "jboss.server.name" =>  "pingguo",
>           "user.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>           "java.awt.headless" =>  "true",
>           "logging.configuration" =>
> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>           "sun.cpu.isalist" =>  "",
>           "java.awt.graphicsenv" =>  "apple.awt.CGraphicsEnvironment",
>           "sun.os.patch.level" =>  "unknown",
>           "org.omg.CORBA.ORBSingletonClass" =>  "org.jacorb.orb.ORBSingleton",
>           "javax.xml.datatype.DatatypeFactory" =>
> "__redirected.__DatatypeFactory",
>           "jboss.server.base.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>           "java.io.tmpdir" =>
> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>           "user.home" =>  "/Users/bstansberry",
>           "java.awt.printerjob" =>  "apple.awt.CPrinterJob",
>           "jboss.server.deploy.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>           "java.version" =>  "1.6.0_26",
>           "file.encoding.pkg" =>  "sun.io",
>           "javax.xml.parsers.SAXParserFactory" =>
> "__redirected.__SAXParserFactory",
>           "org.jboss.boot.log.file" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>           "javax.xml.stream.XMLInputFactory" =>
> "__redirected.__XMLInputFactory",
>           "jboss.server.config.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>           "java.vendor.url.bug" =>  "http://bugreport.apple.com/",
>           "mrj.build" =>  "10M3425",
>           "file.encoding" =>  "MacRoman",
>           "line.separator" =>  "
> ",
>           "sun.java.command" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
> -mp
> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
> org.jboss.as.standalone
> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>           "sun.rmi.dgc.client.gcInterval" =>  "3600000",
>           "module.path" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>           "org.omg.CORBA.ORBClass" =>  "org.jacorb.orb.ORB",
>           "java.vm.specification.vendor" =>  "Sun Microsystems Inc.",
>           "javax.xml.transform.TransformerFactory" =>
> "__redirected.__TransformerFactory",
>
> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema" =>
> "__redirected.__SchemaFactory",
>           "java.util.logging.manager" =>  "org.jboss.logmanager.LogManager",
>           "jboss.node.name" =>  "pingguo",
>           "catalina.home" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>           "java.vm.vendor" =>  "Apple Inc.",
>           "jboss.host.name" =>  "pingguo",
>           "java.class.path" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>           "awt.nativeDoubleBuffering" =>  "true",
>           "sun.io.unicode.encoding" =>  "UnicodeLittle",
>           "os.arch" =>  "x86_64",
>           "user.language" =>  "en",
>           "user.name" =>  "bstansberry",
>           "java.runtime.version" =>  "1.6.0_26-b03-384-10M3425",
>           "sun.boot.class.path" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>
> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
> "__redirected.__XPathFactory",
>           "gopherProxySet" =>  "false",
>           "org.xml.sax.driver" =>  "__redirected.__XMLReaderFactory",
>           "jboss.server.log.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>           "sun.cpu.endian" =>  "little",
>           "jboss.modules.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>           "ftp.nonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>           "awt.toolkit" =>  "apple.awt.CToolkit",
>           "sun.boot.library.path" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>           "java.vm.name" =>  "Java HotSpot(TM) 64-Bit Server VM",
>           "jboss.server.data.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>           "sun.rmi.dgc.server.gcInterval" =>  "3600000",
>           "java.home" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>           "java.endorsed.dirs" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>           "javax.xml.parsers.DocumentBuilderFactory" =>
> "__redirected.__DocumentBuilderFactory",
>           "jboss.modules.system.pkgs" =>  "org.jboss.byteman",
>           "java.net.preferIPv4Stack" =>  "true",
>           "jboss.qualified.host.name" =>  "pingguo.local",
>           "sun.management.compiler" =>  "HotSpot 64-Bit Tiered Compilers",
>           "java.runtime.name" =>  "Java(TM) SE Runtime Environment",
>           "java.library.path" =>
> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>           "file.separator" =>  "/",
>           "jboss.home.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>           "javax.xml.stream.XMLOutputFactory" =>
> "__redirected.__XMLOutputFactory",
>           "java.specification.vendor" =>  "Sun Microsystems Inc.",
>           "java.vm.specification.version" =>  "1.0",
>           "org.jboss.resolver.warning" =>  "true",
>           "sun.java.launcher" =>  "SUN_STANDARD",
>           "user.timezone" =>  "America/Chicago",
>           "http.nonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>           "os.name" =>  "Mac OS X",
>           "path.separator" =>  ":",
>           "java.ext.dirs" =>
> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>           "jboss.server.temp.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>           "sun.arch.data.model" =>  "64",
>           "org.osgi.vendor.framework" =>  "org.jboss.osgi.framework",
>           "java.specification.name" =>  "Java Platform API Specification",
>           "os.version" =>  "10.6.8",
>           "mrj.version" =>  "1060.1.6.0_26-384",
>           "java.class.version" =>  "50.0",
>           "user.country" =>  "US",
>           "socksNonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>           "java.vendor" =>  "Apple Inc.",
>           "javax.xml.stream.XMLEventFactory" =>
> "__redirected.__XMLEventFactory",
>           "java.rmi.server.hostname" =>  "127.0.0.1",
>           "java.vm.specification.name" =>  "Java Virtual Machine
> Specification",
>           "java.specification.version" =>  "1.6",
>           "java.naming.factory.url.pkgs" =>
> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>       }
> }
>
> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>> Hi.
>>
>> CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.
>>
>> Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.
>>
>>
>> What do you think about it? Especially Alexey, Brian and Heiko.
>> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>>
>> Thanks for comments.
>> Rosta
>> _______________________________________________
>> jboss-as7-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>


--
- DML
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Rostislav Svoboda
In reply to this post by Brian Stansberry
For server instance in domain I can use /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)

Is there way how to receive system-properties just for DC process and not for server instance?

Thanks.
Rosta


----- Original Message -----

> The platform-mbean RuntimeMBean resource exposes all system
> properties:
>
> [standalone@localhost:9999 /]
> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> {
>      "outcome" => "success",
>      "result" => {
>          "java.vm.version" => "20.1-b02-384",
>          "java.vendor.url" => "http://www.apple.com/",
>          "sun.jnu.encoding" => "MacRoman",
>          "java.vm.info" => "mixed mode",
>          "jboss.server.name" => "pingguo",
>          "user.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>          "java.awt.headless" => "true",
>          "logging.configuration" =>
> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>          "sun.cpu.isalist" => "",
>          "java.awt.graphicsenv" => "apple.awt.CGraphicsEnvironment",
>          "sun.os.patch.level" => "unknown",
>          "org.omg.CORBA.ORBSingletonClass" =>
>          "org.jacorb.orb.ORBSingleton",
>          "javax.xml.datatype.DatatypeFactory" =>
> "__redirected.__DatatypeFactory",
>          "jboss.server.base.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>          "java.io.tmpdir" =>
> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>          "user.home" => "/Users/bstansberry",
>          "java.awt.printerjob" => "apple.awt.CPrinterJob",
>          "jboss.server.deploy.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>          "java.version" => "1.6.0_26",
>          "file.encoding.pkg" => "sun.io",
>          "javax.xml.parsers.SAXParserFactory" =>
> "__redirected.__SAXParserFactory",
>          "org.jboss.boot.log.file" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>          "javax.xml.stream.XMLInputFactory" =>
> "__redirected.__XMLInputFactory",
>          "jboss.server.config.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>          "java.vendor.url.bug" => "http://bugreport.apple.com/",
>          "mrj.build" => "10M3425",
>          "file.encoding" => "MacRoman",
>          "line.separator" => "
> ",
>          "sun.java.command" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
> -mp
> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
> org.jboss.as.standalone
> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>          "sun.rmi.dgc.client.gcInterval" => "3600000",
>          "module.path" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>          "org.omg.CORBA.ORBClass" => "org.jacorb.orb.ORB",
>          "java.vm.specification.vendor" => "Sun Microsystems Inc.",
>          "javax.xml.transform.TransformerFactory" =>
> "__redirected.__TransformerFactory",
>  
> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
> =>
> "__redirected.__SchemaFactory",
>          "java.util.logging.manager" =>
>          "org.jboss.logmanager.LogManager",
>          "jboss.node.name" => "pingguo",
>          "catalina.home" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>          "java.vm.vendor" => "Apple Inc.",
>          "jboss.host.name" => "pingguo",
>          "java.class.path" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>          "awt.nativeDoubleBuffering" => "true",
>          "sun.io.unicode.encoding" => "UnicodeLittle",
>          "os.arch" => "x86_64",
>          "user.language" => "en",
>          "user.name" => "bstansberry",
>          "java.runtime.version" => "1.6.0_26-b03-384-10M3425",
>          "sun.boot.class.path" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>  
> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
> "__redirected.__XPathFactory",
>          "gopherProxySet" => "false",
>          "org.xml.sax.driver" => "__redirected.__XMLReaderFactory",
>          "jboss.server.log.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>          "sun.cpu.endian" => "little",
>          "jboss.modules.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>          "ftp.nonProxyHosts" =>
>          "local|*.local|169.254/16|*.169.254/16",
>          "awt.toolkit" => "apple.awt.CToolkit",
>          "sun.boot.library.path" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>          "java.vm.name" => "Java HotSpot(TM) 64-Bit Server VM",
>          "jboss.server.data.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>          "sun.rmi.dgc.server.gcInterval" => "3600000",
>          "java.home" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>          "java.endorsed.dirs" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>          "javax.xml.parsers.DocumentBuilderFactory" =>
> "__redirected.__DocumentBuilderFactory",
>          "jboss.modules.system.pkgs" => "org.jboss.byteman",
>          "java.net.preferIPv4Stack" => "true",
>          "jboss.qualified.host.name" => "pingguo.local",
>          "sun.management.compiler" => "HotSpot 64-Bit Tiered
>          Compilers",
>          "java.runtime.name" => "Java(TM) SE Runtime Environment",
>          "java.library.path" =>
> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>          "file.separator" => "/",
>          "jboss.home.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>          "javax.xml.stream.XMLOutputFactory" =>
> "__redirected.__XMLOutputFactory",
>          "java.specification.vendor" => "Sun Microsystems Inc.",
>          "java.vm.specification.version" => "1.0",
>          "org.jboss.resolver.warning" => "true",
>          "sun.java.launcher" => "SUN_STANDARD",
>          "user.timezone" => "America/Chicago",
>          "http.nonProxyHosts" =>
>          "local|*.local|169.254/16|*.169.254/16",
>          "os.name" => "Mac OS X",
>          "path.separator" => ":",
>          "java.ext.dirs" =>
> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>          "jboss.server.temp.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>          "sun.arch.data.model" => "64",
>          "org.osgi.vendor.framework" => "org.jboss.osgi.framework",
>          "java.specification.name" => "Java Platform API
>          Specification",
>          "os.version" => "10.6.8",
>          "mrj.version" => "1060.1.6.0_26-384",
>          "java.class.version" => "50.0",
>          "user.country" => "US",
>          "socksNonProxyHosts" =>
>          "local|*.local|169.254/16|*.169.254/16",
>          "java.vendor" => "Apple Inc.",
>          "javax.xml.stream.XMLEventFactory" =>
> "__redirected.__XMLEventFactory",
>          "java.rmi.server.hostname" => "127.0.0.1",
>          "java.vm.specification.name" => "Java Virtual Machine
> Specification",
>          "java.specification.version" => "1.6",
>          "java.naming.factory.url.pkgs" =>
> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>      }
> }
>
> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
> > Hi.
> >
> > CLI and web console shows only properties defined in .xml
> > configuration files. System properties propagated from command
> > line using -D, -P or --properties args should be visible too. It
> > would be useful for administrators when searching for possible
> > problems, the same applies to devels. For domain I'd like to see
> > sysprops on each instance and separate overview for DC.
> >
> > Previous versions of AS/EAP provided such overview in
> > /web-console/SysProperties.jsp. JVM based properties like
> > java.vendor etc. would be beneficial too.
> >
> >
> > What do you think about it? Especially Alexey, Brian and Heiko.
> > There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
> >
> > Thanks for comments.
> > Rosta
> > _______________________________________________
> > jboss-as7-dev mailing list
> > [hidden email]
> > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> --
> Brian Stansberry
> Principal Software Engineer
> JBoss by Red Hat
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Rostislav Svoboda
In reply to this post by David Lloyd-2
----- Original Message -----
> Phew, maybe that list ought to be sorted...

Brian was faster, he did it yesterday using TreeMap to sort it.

> (hint: easy patch idea for a new contributor!)
>
> On 10/19/2011 09:38 AM, Brian Stansberry wrote:
> > The platform-mbean RuntimeMBean resource exposes all system
> > properties:
> >
> > [standalone@localhost:9999 /]
> > /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> > {
> >       "outcome" =>  "success",
> >       "result" =>  {
> >           "java.vm.version" =>  "20.1-b02-384",
> >           "java.vendor.url" =>  "http://www.apple.com/",
> >           "sun.jnu.encoding" =>  "MacRoman",
> >           "java.vm.info" =>  "mixed mode",
> >           "jboss.server.name" =>  "pingguo",
> >           "user.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
> >           "java.awt.headless" =>  "true",
> >           "logging.configuration" =>
> > "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
> >           "sun.cpu.isalist" =>  "",
> >           "java.awt.graphicsenv" =>
> >            "apple.awt.CGraphicsEnvironment",
> >           "sun.os.patch.level" =>  "unknown",
> >           "org.omg.CORBA.ORBSingletonClass" =>
> >            "org.jacorb.orb.ORBSingleton",
> >           "javax.xml.datatype.DatatypeFactory" =>
> > "__redirected.__DatatypeFactory",
> >           "jboss.server.base.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
> >           "java.io.tmpdir" =>
> > "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
> >           "user.home" =>  "/Users/bstansberry",
> >           "java.awt.printerjob" =>  "apple.awt.CPrinterJob",
> >           "jboss.server.deploy.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
> >           "java.version" =>  "1.6.0_26",
> >           "file.encoding.pkg" =>  "sun.io",
> >           "javax.xml.parsers.SAXParserFactory" =>
> > "__redirected.__SAXParserFactory",
> >           "org.jboss.boot.log.file" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
> >           "javax.xml.stream.XMLInputFactory" =>
> > "__redirected.__XMLInputFactory",
> >           "jboss.server.config.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
> >           "java.vendor.url.bug" =>  "http://bugreport.apple.com/",
> >           "mrj.build" =>  "10M3425",
> >           "file.encoding" =>  "MacRoman",
> >           "line.separator" =>  "
> > ",
> >           "sun.java.command" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
> > -mp
> > /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
> > -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
> > org.jboss.as.standalone
> > -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
> >           "sun.rmi.dgc.client.gcInterval" =>  "3600000",
> >           "module.path" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
> >           "org.omg.CORBA.ORBClass" =>  "org.jacorb.orb.ORB",
> >           "java.vm.specification.vendor" =>  "Sun Microsystems
> >           Inc.",
> >           "javax.xml.transform.TransformerFactory" =>
> > "__redirected.__TransformerFactory",
> >
> > "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
> > =>
> > "__redirected.__SchemaFactory",
> >           "java.util.logging.manager" =>
> >            "org.jboss.logmanager.LogManager",
> >           "jboss.node.name" =>  "pingguo",
> >           "catalina.home" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
> >           "java.vm.vendor" =>  "Apple Inc.",
> >           "jboss.host.name" =>  "pingguo",
> >           "java.class.path" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
> >           "awt.nativeDoubleBuffering" =>  "true",
> >           "sun.io.unicode.encoding" =>  "UnicodeLittle",
> >           "os.arch" =>  "x86_64",
> >           "user.language" =>  "en",
> >           "user.name" =>  "bstansberry",
> >           "java.runtime.version" =>  "1.6.0_26-b03-384-10M3425",
> >           "sun.boot.class.path" =>
> > "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
> >
> > "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom"
> > =>
> > "__redirected.__XPathFactory",
> >           "gopherProxySet" =>  "false",
> >           "org.xml.sax.driver" =>
> >            "__redirected.__XMLReaderFactory",
> >           "jboss.server.log.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
> >           "sun.cpu.endian" =>  "little",
> >           "jboss.modules.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
> >           "ftp.nonProxyHosts" =>
> >            "local|*.local|169.254/16|*.169.254/16",
> >           "awt.toolkit" =>  "apple.awt.CToolkit",
> >           "sun.boot.library.path" =>
> > "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
> >           "java.vm.name" =>  "Java HotSpot(TM) 64-Bit Server VM",
> >           "jboss.server.data.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
> >           "sun.rmi.dgc.server.gcInterval" =>  "3600000",
> >           "java.home" =>
> > "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
> >           "java.endorsed.dirs" =>
> > "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
> >           "javax.xml.parsers.DocumentBuilderFactory" =>
> > "__redirected.__DocumentBuilderFactory",
> >           "jboss.modules.system.pkgs" =>  "org.jboss.byteman",
> >           "java.net.preferIPv4Stack" =>  "true",
> >           "jboss.qualified.host.name" =>  "pingguo.local",
> >           "sun.management.compiler" =>  "HotSpot 64-Bit Tiered
> >           Compilers",
> >           "java.runtime.name" =>  "Java(TM) SE Runtime
> >           Environment",
> >           "java.library.path" =>
> > ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
> >           "file.separator" =>  "/",
> >           "jboss.home.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
> >           "javax.xml.stream.XMLOutputFactory" =>
> > "__redirected.__XMLOutputFactory",
> >           "java.specification.vendor" =>  "Sun Microsystems Inc.",
> >           "java.vm.specification.version" =>  "1.0",
> >           "org.jboss.resolver.warning" =>  "true",
> >           "sun.java.launcher" =>  "SUN_STANDARD",
> >           "user.timezone" =>  "America/Chicago",
> >           "http.nonProxyHosts" =>
> >            "local|*.local|169.254/16|*.169.254/16",
> >           "os.name" =>  "Mac OS X",
> >           "path.separator" =>  ":",
> >           "java.ext.dirs" =>
> > "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
> >           "jboss.server.temp.dir" =>
> > "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
> >           "sun.arch.data.model" =>  "64",
> >           "org.osgi.vendor.framework" =>
> >            "org.jboss.osgi.framework",
> >           "java.specification.name" =>  "Java Platform API
> >           Specification",
> >           "os.version" =>  "10.6.8",
> >           "mrj.version" =>  "1060.1.6.0_26-384",
> >           "java.class.version" =>  "50.0",
> >           "user.country" =>  "US",
> >           "socksNonProxyHosts" =>
> >            "local|*.local|169.254/16|*.169.254/16",
> >           "java.vendor" =>  "Apple Inc.",
> >           "javax.xml.stream.XMLEventFactory" =>
> > "__redirected.__XMLEventFactory",
> >           "java.rmi.server.hostname" =>  "127.0.0.1",
> >           "java.vm.specification.name" =>  "Java Virtual Machine
> > Specification",
> >           "java.specification.version" =>  "1.6",
> >           "java.naming.factory.url.pkgs" =>
> > "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
> >       }
> > }
> >
> > On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
> >> Hi.
> >>
> >> CLI and web console shows only properties defined in .xml
> >> configuration files. System properties propagated from command
> >> line using -D, -P or --properties args should be visible too. It
> >> would be useful for administrators when searching for possible
> >> problems, the same applies to devels. For domain I'd like to see
> >> sysprops on each instance and separate overview for DC.
> >>
> >> Previous versions of AS/EAP provided such overview in
> >> /web-console/SysProperties.jsp. JVM based properties like
> >> java.vendor etc. would be beneficial too.
> >>
> >>
> >> What do you think about it? Especially Alexey, Brian and Heiko.
> >> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
> >>
> >> Thanks for comments.
> >> Rosta
> >> _______________________________________________
> >> jboss-as7-dev mailing list
> >> [hidden email]
> >> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >
> >
>
>
> --
> - DML
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Brian Stansberry
In reply to this post by Rostislav Svoboda
Remove "/server=server-one" from the address.

On 10/20/11 2:38 AM, Rostislav Svoboda wrote:

> For server instance in domain I can use /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>
> Is there way how to receive system-properties just for DC process and not for server instance?
>
> Thanks.
> Rosta
>
>
> ----- Original Message -----
>> The platform-mbean RuntimeMBean resource exposes all system
>> properties:
>>
>> [standalone@localhost:9999 /]
>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>> {
>>       "outcome" =>  "success",
>>       "result" =>  {
>>           "java.vm.version" =>  "20.1-b02-384",
>>           "java.vendor.url" =>  "http://www.apple.com/",
>>           "sun.jnu.encoding" =>  "MacRoman",
>>           "java.vm.info" =>  "mixed mode",
>>           "jboss.server.name" =>  "pingguo",
>>           "user.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>           "java.awt.headless" =>  "true",
>>           "logging.configuration" =>
>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>           "sun.cpu.isalist" =>  "",
>>           "java.awt.graphicsenv" =>  "apple.awt.CGraphicsEnvironment",
>>           "sun.os.patch.level" =>  "unknown",
>>           "org.omg.CORBA.ORBSingletonClass" =>
>>           "org.jacorb.orb.ORBSingleton",
>>           "javax.xml.datatype.DatatypeFactory" =>
>> "__redirected.__DatatypeFactory",
>>           "jboss.server.base.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>           "java.io.tmpdir" =>
>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>           "user.home" =>  "/Users/bstansberry",
>>           "java.awt.printerjob" =>  "apple.awt.CPrinterJob",
>>           "jboss.server.deploy.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>           "java.version" =>  "1.6.0_26",
>>           "file.encoding.pkg" =>  "sun.io",
>>           "javax.xml.parsers.SAXParserFactory" =>
>> "__redirected.__SAXParserFactory",
>>           "org.jboss.boot.log.file" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>           "javax.xml.stream.XMLInputFactory" =>
>> "__redirected.__XMLInputFactory",
>>           "jboss.server.config.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>           "java.vendor.url.bug" =>  "http://bugreport.apple.com/",
>>           "mrj.build" =>  "10M3425",
>>           "file.encoding" =>  "MacRoman",
>>           "line.separator" =>  "
>> ",
>>           "sun.java.command" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>> -mp
>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
>> org.jboss.as.standalone
>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>           "sun.rmi.dgc.client.gcInterval" =>  "3600000",
>>           "module.path" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>           "org.omg.CORBA.ORBClass" =>  "org.jacorb.orb.ORB",
>>           "java.vm.specification.vendor" =>  "Sun Microsystems Inc.",
>>           "javax.xml.transform.TransformerFactory" =>
>> "__redirected.__TransformerFactory",
>>
>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
>> =>
>> "__redirected.__SchemaFactory",
>>           "java.util.logging.manager" =>
>>           "org.jboss.logmanager.LogManager",
>>           "jboss.node.name" =>  "pingguo",
>>           "catalina.home" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>           "java.vm.vendor" =>  "Apple Inc.",
>>           "jboss.host.name" =>  "pingguo",
>>           "java.class.path" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>           "awt.nativeDoubleBuffering" =>  "true",
>>           "sun.io.unicode.encoding" =>  "UnicodeLittle",
>>           "os.arch" =>  "x86_64",
>>           "user.language" =>  "en",
>>           "user.name" =>  "bstansberry",
>>           "java.runtime.version" =>  "1.6.0_26-b03-384-10M3425",
>>           "sun.boot.class.path" =>
>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>
>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
>> "__redirected.__XPathFactory",
>>           "gopherProxySet" =>  "false",
>>           "org.xml.sax.driver" =>  "__redirected.__XMLReaderFactory",
>>           "jboss.server.log.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>           "sun.cpu.endian" =>  "little",
>>           "jboss.modules.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>           "ftp.nonProxyHosts" =>
>>           "local|*.local|169.254/16|*.169.254/16",
>>           "awt.toolkit" =>  "apple.awt.CToolkit",
>>           "sun.boot.library.path" =>
>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>           "java.vm.name" =>  "Java HotSpot(TM) 64-Bit Server VM",
>>           "jboss.server.data.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>           "sun.rmi.dgc.server.gcInterval" =>  "3600000",
>>           "java.home" =>
>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>           "java.endorsed.dirs" =>
>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>           "javax.xml.parsers.DocumentBuilderFactory" =>
>> "__redirected.__DocumentBuilderFactory",
>>           "jboss.modules.system.pkgs" =>  "org.jboss.byteman",
>>           "java.net.preferIPv4Stack" =>  "true",
>>           "jboss.qualified.host.name" =>  "pingguo.local",
>>           "sun.management.compiler" =>  "HotSpot 64-Bit Tiered
>>           Compilers",
>>           "java.runtime.name" =>  "Java(TM) SE Runtime Environment",
>>           "java.library.path" =>
>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>           "file.separator" =>  "/",
>>           "jboss.home.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>           "javax.xml.stream.XMLOutputFactory" =>
>> "__redirected.__XMLOutputFactory",
>>           "java.specification.vendor" =>  "Sun Microsystems Inc.",
>>           "java.vm.specification.version" =>  "1.0",
>>           "org.jboss.resolver.warning" =>  "true",
>>           "sun.java.launcher" =>  "SUN_STANDARD",
>>           "user.timezone" =>  "America/Chicago",
>>           "http.nonProxyHosts" =>
>>           "local|*.local|169.254/16|*.169.254/16",
>>           "os.name" =>  "Mac OS X",
>>           "path.separator" =>  ":",
>>           "java.ext.dirs" =>
>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>           "jboss.server.temp.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>           "sun.arch.data.model" =>  "64",
>>           "org.osgi.vendor.framework" =>  "org.jboss.osgi.framework",
>>           "java.specification.name" =>  "Java Platform API
>>           Specification",
>>           "os.version" =>  "10.6.8",
>>           "mrj.version" =>  "1060.1.6.0_26-384",
>>           "java.class.version" =>  "50.0",
>>           "user.country" =>  "US",
>>           "socksNonProxyHosts" =>
>>           "local|*.local|169.254/16|*.169.254/16",
>>           "java.vendor" =>  "Apple Inc.",
>>           "javax.xml.stream.XMLEventFactory" =>
>> "__redirected.__XMLEventFactory",
>>           "java.rmi.server.hostname" =>  "127.0.0.1",
>>           "java.vm.specification.name" =>  "Java Virtual Machine
>> Specification",
>>           "java.specification.version" =>  "1.6",
>>           "java.naming.factory.url.pkgs" =>
>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>       }
>> }
>>
>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>> Hi.
>>>
>>> CLI and web console shows only properties defined in .xml
>>> configuration files. System properties propagated from command
>>> line using -D, -P or --properties args should be visible too. It
>>> would be useful for administrators when searching for possible
>>> problems, the same applies to devels. For domain I'd like to see
>>> sysprops on each instance and separate overview for DC.
>>>
>>> Previous versions of AS/EAP provided such overview in
>>> /web-console/SysProperties.jsp. JVM based properties like
>>> java.vendor etc. would be beneficial too.
>>>
>>>
>>> What do you think about it? Especially Alexey, Brian and Heiko.
>>> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>>>
>>> Thanks for comments.
>>> Rosta
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> [hidden email]
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>
>> --
>> Brian Stansberry
>> Principal Software Engineer
>> JBoss by Red Hat
>> _______________________________________________
>> jboss-as7-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>


--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Anil Saldhana
May I suggest an update to this page
http://community.jboss.org/wiki/JBossAS7HowDoI

anytime we learn some fun cli command that works?


On 10/20/2011 10:36 AM, Brian Stansberry wrote:

> Remove "/server=server-one" from the address.
>
> On 10/20/11 2:38 AM, Rostislav Svoboda wrote:
>> For server instance in domain I can use /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>
>> Is there way how to receive system-properties just for DC process and not for server instance?
>>
>> Thanks.
>> Rosta
>>
>>
>> ----- Original Message -----
>>> The platform-mbean RuntimeMBean resource exposes all system
>>> properties:
>>>
>>> [standalone@localhost:9999 /]
>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>> {
>>>        "outcome" =>   "success",
>>>        "result" =>   {
>>>            "java.vm.version" =>   "20.1-b02-384",
>>>            "java.vendor.url" =>   "http://www.apple.com/",
>>>            "sun.jnu.encoding" =>   "MacRoman",
>>>            "java.vm.info" =>   "mixed mode",
>>>            "jboss.server.name" =>   "pingguo",
>>>            "user.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>>            "java.awt.headless" =>   "true",
>>>            "logging.configuration" =>
>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>>            "sun.cpu.isalist" =>   "",
>>>            "java.awt.graphicsenv" =>   "apple.awt.CGraphicsEnvironment",
>>>            "sun.os.patch.level" =>   "unknown",
>>>            "org.omg.CORBA.ORBSingletonClass" =>
>>>            "org.jacorb.orb.ORBSingleton",
>>>            "javax.xml.datatype.DatatypeFactory" =>
>>> "__redirected.__DatatypeFactory",
>>>            "jboss.server.base.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>>            "java.io.tmpdir" =>
>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>>            "user.home" =>   "/Users/bstansberry",
>>>            "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
>>>            "jboss.server.deploy.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>>            "java.version" =>   "1.6.0_26",
>>>            "file.encoding.pkg" =>   "sun.io",
>>>            "javax.xml.parsers.SAXParserFactory" =>
>>> "__redirected.__SAXParserFactory",
>>>            "org.jboss.boot.log.file" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>>            "javax.xml.stream.XMLInputFactory" =>
>>> "__redirected.__XMLInputFactory",
>>>            "jboss.server.config.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>>            "java.vendor.url.bug" =>   "http://bugreport.apple.com/",
>>>            "mrj.build" =>   "10M3425",
>>>            "file.encoding" =>   "MacRoman",
>>>            "line.separator" =>   "
>>> ",
>>>            "sun.java.command" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>>> -mp
>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>>> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
>>> org.jboss.as.standalone
>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>            "sun.rmi.dgc.client.gcInterval" =>   "3600000",
>>>            "module.path" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>            "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
>>>            "java.vm.specification.vendor" =>   "Sun Microsystems Inc.",
>>>            "javax.xml.transform.TransformerFactory" =>
>>> "__redirected.__TransformerFactory",
>>>
>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
>>> =>
>>> "__redirected.__SchemaFactory",
>>>            "java.util.logging.manager" =>
>>>            "org.jboss.logmanager.LogManager",
>>>            "jboss.node.name" =>   "pingguo",
>>>            "catalina.home" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>            "java.vm.vendor" =>   "Apple Inc.",
>>>            "jboss.host.name" =>   "pingguo",
>>>            "java.class.path" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>>            "awt.nativeDoubleBuffering" =>   "true",
>>>            "sun.io.unicode.encoding" =>   "UnicodeLittle",
>>>            "os.arch" =>   "x86_64",
>>>            "user.language" =>   "en",
>>>            "user.name" =>   "bstansberry",
>>>            "java.runtime.version" =>   "1.6.0_26-b03-384-10M3425",
>>>            "sun.boot.class.path" =>
>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>>
>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
>>> "__redirected.__XPathFactory",
>>>            "gopherProxySet" =>   "false",
>>>            "org.xml.sax.driver" =>   "__redirected.__XMLReaderFactory",
>>>            "jboss.server.log.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>>            "sun.cpu.endian" =>   "little",
>>>            "jboss.modules.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>            "ftp.nonProxyHosts" =>
>>>            "local|*.local|169.254/16|*.169.254/16",
>>>            "awt.toolkit" =>   "apple.awt.CToolkit",
>>>            "sun.boot.library.path" =>
>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>>            "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server VM",
>>>            "jboss.server.data.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>>            "sun.rmi.dgc.server.gcInterval" =>   "3600000",
>>>            "java.home" =>
>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>>            "java.endorsed.dirs" =>
>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>>            "javax.xml.parsers.DocumentBuilderFactory" =>
>>> "__redirected.__DocumentBuilderFactory",
>>>            "jboss.modules.system.pkgs" =>   "org.jboss.byteman",
>>>            "java.net.preferIPv4Stack" =>   "true",
>>>            "jboss.qualified.host.name" =>   "pingguo.local",
>>>            "sun.management.compiler" =>   "HotSpot 64-Bit Tiered
>>>            Compilers",
>>>            "java.runtime.name" =>   "Java(TM) SE Runtime Environment",
>>>            "java.library.path" =>
>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>>            "file.separator" =>   "/",
>>>            "jboss.home.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>            "javax.xml.stream.XMLOutputFactory" =>
>>> "__redirected.__XMLOutputFactory",
>>>            "java.specification.vendor" =>   "Sun Microsystems Inc.",
>>>            "java.vm.specification.version" =>   "1.0",
>>>            "org.jboss.resolver.warning" =>   "true",
>>>            "sun.java.launcher" =>   "SUN_STANDARD",
>>>            "user.timezone" =>   "America/Chicago",
>>>            "http.nonProxyHosts" =>
>>>            "local|*.local|169.254/16|*.169.254/16",
>>>            "os.name" =>   "Mac OS X",
>>>            "path.separator" =>   ":",
>>>            "java.ext.dirs" =>
>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>>            "jboss.server.temp.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>            "sun.arch.data.model" =>   "64",
>>>            "org.osgi.vendor.framework" =>   "org.jboss.osgi.framework",
>>>            "java.specification.name" =>   "Java Platform API
>>>            Specification",
>>>            "os.version" =>   "10.6.8",
>>>            "mrj.version" =>   "1060.1.6.0_26-384",
>>>            "java.class.version" =>   "50.0",
>>>            "user.country" =>   "US",
>>>            "socksNonProxyHosts" =>
>>>            "local|*.local|169.254/16|*.169.254/16",
>>>            "java.vendor" =>   "Apple Inc.",
>>>            "javax.xml.stream.XMLEventFactory" =>
>>> "__redirected.__XMLEventFactory",
>>>            "java.rmi.server.hostname" =>   "127.0.0.1",
>>>            "java.vm.specification.name" =>   "Java Virtual Machine
>>> Specification",
>>>            "java.specification.version" =>   "1.6",
>>>            "java.naming.factory.url.pkgs" =>
>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>>        }
>>> }
>>>
>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>>> Hi.
>>>>
>>>> CLI and web console shows only properties defined in .xml
>>>> configuration files. System properties propagated from command
>>>> line using -D, -P or --properties args should be visible too. It
>>>> would be useful for administrators when searching for possible
>>>> problems, the same applies to devels. For domain I'd like to see
>>>> sysprops on each instance and separate overview for DC.
>>>>
>>>> Previous versions of AS/EAP provided such overview in
>>>> /web-console/SysProperties.jsp. JVM based properties like
>>>> java.vendor etc. would be beneficial too.
>>>>
>>>>
>>>> What do you think about it? Especially Alexey, Brian and Heiko.
>>>> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>>>>
>>>> Thanks for comments.
>>>> Rosta
>>>> _______________________________________________
>>>> jboss-as7-dev mailing list
>>>> [hidden email]
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Rostislav Svoboda
----- Original Message -----
> May I suggest an update to this page
> http://community.jboss.org/wiki/JBossAS7HowDoI
>
> anytime we learn some fun cli command that works?

Done,

http://community.jboss.org/wiki/JBossAS7HowDoI and http://community.jboss.org/wiki/JBossAS7SystemProperties updated, new document http://community.jboss.org/wiki/JBossAS7OverviewOfAllSystemProperties crated.

Rosta

> On 10/20/2011 10:36 AM, Brian Stansberry wrote:
> > Remove "/server=server-one" from the address.
> >
> > On 10/20/11 2:38 AM, Rostislav Svoboda wrote:
> >> For server instance in domain I can use
> >> /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> >>
> >> Is there way how to receive system-properties just for DC process
> >> and not for server instance?
> >>
> >> Thanks.
> >> Rosta
> >>
> >>
> >> ----- Original Message -----
> >>> The platform-mbean RuntimeMBean resource exposes all system
> >>> properties:
> >>>
> >>> [standalone@localhost:9999 /]
> >>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> >>> {
> >>>        "outcome" =>   "success",
> >>>        "result" =>   {
> >>>            "java.vm.version" =>   "20.1-b02-384",
> >>>            "java.vendor.url" =>   "http://www.apple.com/",
> >>>            "sun.jnu.encoding" =>   "MacRoman",
> >>>            "java.vm.info" =>   "mixed mode",
> >>>            "jboss.server.name" =>   "pingguo",
> >>>            "user.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
> >>>            "java.awt.headless" =>   "true",
> >>>            "logging.configuration" =>
> >>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
> >>>            "sun.cpu.isalist" =>   "",
> >>>            "java.awt.graphicsenv" =>
> >>>              "apple.awt.CGraphicsEnvironment",
> >>>            "sun.os.patch.level" =>   "unknown",
> >>>            "org.omg.CORBA.ORBSingletonClass" =>
> >>>            "org.jacorb.orb.ORBSingleton",
> >>>            "javax.xml.datatype.DatatypeFactory" =>
> >>> "__redirected.__DatatypeFactory",
> >>>            "jboss.server.base.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
> >>>            "java.io.tmpdir" =>
> >>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
> >>>            "user.home" =>   "/Users/bstansberry",
> >>>            "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
> >>>            "jboss.server.deploy.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
> >>>            "java.version" =>   "1.6.0_26",
> >>>            "file.encoding.pkg" =>   "sun.io",
> >>>            "javax.xml.parsers.SAXParserFactory" =>
> >>> "__redirected.__SAXParserFactory",
> >>>            "org.jboss.boot.log.file" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
> >>>            "javax.xml.stream.XMLInputFactory" =>
> >>> "__redirected.__XMLInputFactory",
> >>>            "jboss.server.config.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
> >>>            "java.vendor.url.bug" =>
> >>>              "http://bugreport.apple.com/",
> >>>            "mrj.build" =>   "10M3425",
> >>>            "file.encoding" =>   "MacRoman",
> >>>            "line.separator" =>   "
> >>> ",
> >>>            "sun.java.command" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
> >>> -mp
> >>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
> >>> -logmodule org.jboss.logmanager -jaxpmodule
> >>> javax.xml.jaxp-provider
> >>> org.jboss.as.standalone
> >>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
> >>>            "sun.rmi.dgc.client.gcInterval" =>   "3600000",
> >>>            "module.path" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
> >>>            "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
> >>>            "java.vm.specification.vendor" =>   "Sun Microsystems
> >>>            Inc.",
> >>>            "javax.xml.transform.TransformerFactory" =>
> >>> "__redirected.__TransformerFactory",
> >>>
> >>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
> >>> =>
> >>> "__redirected.__SchemaFactory",
> >>>            "java.util.logging.manager" =>
> >>>            "org.jboss.logmanager.LogManager",
> >>>            "jboss.node.name" =>   "pingguo",
> >>>            "catalina.home" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
> >>>            "java.vm.vendor" =>   "Apple Inc.",
> >>>            "jboss.host.name" =>   "pingguo",
> >>>            "java.class.path" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
> >>>            "awt.nativeDoubleBuffering" =>   "true",
> >>>            "sun.io.unicode.encoding" =>   "UnicodeLittle",
> >>>            "os.arch" =>   "x86_64",
> >>>            "user.language" =>   "en",
> >>>            "user.name" =>   "bstansberry",
> >>>            "java.runtime.version" =>
> >>>              "1.6.0_26-b03-384-10M3425",
> >>>            "sun.boot.class.path" =>
> >>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
> >>>
> >>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom"
> >>> =>
> >>> "__redirected.__XPathFactory",
> >>>            "gopherProxySet" =>   "false",
> >>>            "org.xml.sax.driver" =>
> >>>              "__redirected.__XMLReaderFactory",
> >>>            "jboss.server.log.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
> >>>            "sun.cpu.endian" =>   "little",
> >>>            "jboss.modules.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
> >>>            "ftp.nonProxyHosts" =>
> >>>            "local|*.local|169.254/16|*.169.254/16",
> >>>            "awt.toolkit" =>   "apple.awt.CToolkit",
> >>>            "sun.boot.library.path" =>
> >>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
> >>>            "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server
> >>>            VM",
> >>>            "jboss.server.data.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
> >>>            "sun.rmi.dgc.server.gcInterval" =>   "3600000",
> >>>            "java.home" =>
> >>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
> >>>            "java.endorsed.dirs" =>
> >>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
> >>>            "javax.xml.parsers.DocumentBuilderFactory" =>
> >>> "__redirected.__DocumentBuilderFactory",
> >>>            "jboss.modules.system.pkgs" =>   "org.jboss.byteman",
> >>>            "java.net.preferIPv4Stack" =>   "true",
> >>>            "jboss.qualified.host.name" =>   "pingguo.local",
> >>>            "sun.management.compiler" =>   "HotSpot 64-Bit Tiered
> >>>            Compilers",
> >>>            "java.runtime.name" =>   "Java(TM) SE Runtime
> >>>            Environment",
> >>>            "java.library.path" =>
> >>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
> >>>            "file.separator" =>   "/",
> >>>            "jboss.home.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
> >>>            "javax.xml.stream.XMLOutputFactory" =>
> >>> "__redirected.__XMLOutputFactory",
> >>>            "java.specification.vendor" =>   "Sun Microsystems
> >>>            Inc.",
> >>>            "java.vm.specification.version" =>   "1.0",
> >>>            "org.jboss.resolver.warning" =>   "true",
> >>>            "sun.java.launcher" =>   "SUN_STANDARD",
> >>>            "user.timezone" =>   "America/Chicago",
> >>>            "http.nonProxyHosts" =>
> >>>            "local|*.local|169.254/16|*.169.254/16",
> >>>            "os.name" =>   "Mac OS X",
> >>>            "path.separator" =>   ":",
> >>>            "java.ext.dirs" =>
> >>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
> >>>            "jboss.server.temp.dir" =>
> >>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
> >>>            "sun.arch.data.model" =>   "64",
> >>>            "org.osgi.vendor.framework" =>
> >>>              "org.jboss.osgi.framework",
> >>>            "java.specification.name" =>   "Java Platform API
> >>>            Specification",
> >>>            "os.version" =>   "10.6.8",
> >>>            "mrj.version" =>   "1060.1.6.0_26-384",
> >>>            "java.class.version" =>   "50.0",
> >>>            "user.country" =>   "US",
> >>>            "socksNonProxyHosts" =>
> >>>            "local|*.local|169.254/16|*.169.254/16",
> >>>            "java.vendor" =>   "Apple Inc.",
> >>>            "javax.xml.stream.XMLEventFactory" =>
> >>> "__redirected.__XMLEventFactory",
> >>>            "java.rmi.server.hostname" =>   "127.0.0.1",
> >>>            "java.vm.specification.name" =>   "Java Virtual
> >>>            Machine
> >>> Specification",
> >>>            "java.specification.version" =>   "1.6",
> >>>            "java.naming.factory.url.pkgs" =>
> >>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
> >>>        }
> >>> }
> >>>
> >>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
> >>>> Hi.
> >>>>
> >>>> CLI and web console shows only properties defined in .xml
> >>>> configuration files. System properties propagated from command
> >>>> line using -D, -P or --properties args should be visible too. It
> >>>> would be useful for administrators when searching for possible
> >>>> problems, the same applies to devels. For domain I'd like to see
> >>>> sysprops on each instance and separate overview for DC.
> >>>>
> >>>> Previous versions of AS/EAP provided such overview in
> >>>> /web-console/SysProperties.jsp. JVM based properties like
> >>>> java.vendor etc. would be beneficial too.
> >>>>
> >>>>
> >>>> What do you think about it? Especially Alexey, Brian and Heiko.
> >>>> There is JIRA for it, see
> >>>> https://issues.jboss.org/browse/AS7-2162
> >>>>
> >>>> Thanks for comments.
> >>>> Rosta
> >>>> _______________________________________________
> >>>> jboss-as7-dev mailing list
> >>>> [hidden email]
> >>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >>>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Heiko Braun


Why don't it right to the actual documentation?

On Oct 21, 2011, at 8:57 AM, Rostislav Svoboda wrote:

> ----- Original Message -----
>> May I suggest an update to this page
>> http://community.jboss.org/wiki/JBossAS7HowDoI
>>
>> anytime we learn some fun cli command that works?
>
> Done,
>
> http://community.jboss.org/wiki/JBossAS7HowDoI and http://community.jboss.org/wiki/JBossAS7SystemProperties updated, new document http://community.jboss.org/wiki/JBossAS7OverviewOfAllSystemProperties crated.
>
> Rosta
>
>> On 10/20/2011 10:36 AM, Brian Stansberry wrote:
>>> Remove "/server=server-one" from the address.
>>>
>>> On 10/20/11 2:38 AM, Rostislav Svoboda wrote:
>>>> For server instance in domain I can use
>>>> /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>
>>>> Is there way how to receive system-properties just for DC process
>>>> and not for server instance?
>>>>
>>>> Thanks.
>>>> Rosta
>>>>
>>>>
>>>> ----- Original Message -----
>>>>> The platform-mbean RuntimeMBean resource exposes all system
>>>>> properties:
>>>>>
>>>>> [standalone@localhost:9999 /]
>>>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>> {
>>>>>       "outcome" =>   "success",
>>>>>       "result" =>   {
>>>>>           "java.vm.version" =>   "20.1-b02-384",
>>>>>           "java.vendor.url" =>   "http://www.apple.com/",
>>>>>           "sun.jnu.encoding" =>   "MacRoman",
>>>>>           "java.vm.info" =>   "mixed mode",
>>>>>           "jboss.server.name" =>   "pingguo",
>>>>>           "user.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>>>>           "java.awt.headless" =>   "true",
>>>>>           "logging.configuration" =>
>>>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>>>>           "sun.cpu.isalist" =>   "",
>>>>>           "java.awt.graphicsenv" =>
>>>>>             "apple.awt.CGraphicsEnvironment",
>>>>>           "sun.os.patch.level" =>   "unknown",
>>>>>           "org.omg.CORBA.ORBSingletonClass" =>
>>>>>           "org.jacorb.orb.ORBSingleton",
>>>>>           "javax.xml.datatype.DatatypeFactory" =>
>>>>> "__redirected.__DatatypeFactory",
>>>>>           "jboss.server.base.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>>>>           "java.io.tmpdir" =>
>>>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>>>>           "user.home" =>   "/Users/bstansberry",
>>>>>           "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
>>>>>           "jboss.server.deploy.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>>>>           "java.version" =>   "1.6.0_26",
>>>>>           "file.encoding.pkg" =>   "sun.io",
>>>>>           "javax.xml.parsers.SAXParserFactory" =>
>>>>> "__redirected.__SAXParserFactory",
>>>>>           "org.jboss.boot.log.file" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>>>>           "javax.xml.stream.XMLInputFactory" =>
>>>>> "__redirected.__XMLInputFactory",
>>>>>           "jboss.server.config.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>>>>           "java.vendor.url.bug" =>
>>>>>             "http://bugreport.apple.com/",
>>>>>           "mrj.build" =>   "10M3425",
>>>>>           "file.encoding" =>   "MacRoman",
>>>>>           "line.separator" =>   "
>>>>> ",
>>>>>           "sun.java.command" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>>>>> -mp
>>>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>>>>> -logmodule org.jboss.logmanager -jaxpmodule
>>>>> javax.xml.jaxp-provider
>>>>> org.jboss.as.standalone
>>>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>           "sun.rmi.dgc.client.gcInterval" =>   "3600000",
>>>>>           "module.path" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>           "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
>>>>>           "java.vm.specification.vendor" =>   "Sun Microsystems
>>>>>           Inc.",
>>>>>           "javax.xml.transform.TransformerFactory" =>
>>>>> "__redirected.__TransformerFactory",
>>>>>
>>>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
>>>>> =>
>>>>> "__redirected.__SchemaFactory",
>>>>>           "java.util.logging.manager" =>
>>>>>           "org.jboss.logmanager.LogManager",
>>>>>           "jboss.node.name" =>   "pingguo",
>>>>>           "catalina.home" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>           "java.vm.vendor" =>   "Apple Inc.",
>>>>>           "jboss.host.name" =>   "pingguo",
>>>>>           "java.class.path" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>>>>           "awt.nativeDoubleBuffering" =>   "true",
>>>>>           "sun.io.unicode.encoding" =>   "UnicodeLittle",
>>>>>           "os.arch" =>   "x86_64",
>>>>>           "user.language" =>   "en",
>>>>>           "user.name" =>   "bstansberry",
>>>>>           "java.runtime.version" =>
>>>>>             "1.6.0_26-b03-384-10M3425",
>>>>>           "sun.boot.class.path" =>
>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>>>>
>>>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom"
>>>>> =>
>>>>> "__redirected.__XPathFactory",
>>>>>           "gopherProxySet" =>   "false",
>>>>>           "org.xml.sax.driver" =>
>>>>>             "__redirected.__XMLReaderFactory",
>>>>>           "jboss.server.log.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>>>>           "sun.cpu.endian" =>   "little",
>>>>>           "jboss.modules.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>           "ftp.nonProxyHosts" =>
>>>>>           "local|*.local|169.254/16|*.169.254/16",
>>>>>           "awt.toolkit" =>   "apple.awt.CToolkit",
>>>>>           "sun.boot.library.path" =>
>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>>>>           "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server
>>>>>           VM",
>>>>>           "jboss.server.data.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>>>>           "sun.rmi.dgc.server.gcInterval" =>   "3600000",
>>>>>           "java.home" =>
>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>>>>           "java.endorsed.dirs" =>
>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>>>>           "javax.xml.parsers.DocumentBuilderFactory" =>
>>>>> "__redirected.__DocumentBuilderFactory",
>>>>>           "jboss.modules.system.pkgs" =>   "org.jboss.byteman",
>>>>>           "java.net.preferIPv4Stack" =>   "true",
>>>>>           "jboss.qualified.host.name" =>   "pingguo.local",
>>>>>           "sun.management.compiler" =>   "HotSpot 64-Bit Tiered
>>>>>           Compilers",
>>>>>           "java.runtime.name" =>   "Java(TM) SE Runtime
>>>>>           Environment",
>>>>>           "java.library.path" =>
>>>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>>>>           "file.separator" =>   "/",
>>>>>           "jboss.home.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>           "javax.xml.stream.XMLOutputFactory" =>
>>>>> "__redirected.__XMLOutputFactory",
>>>>>           "java.specification.vendor" =>   "Sun Microsystems
>>>>>           Inc.",
>>>>>           "java.vm.specification.version" =>   "1.0",
>>>>>           "org.jboss.resolver.warning" =>   "true",
>>>>>           "sun.java.launcher" =>   "SUN_STANDARD",
>>>>>           "user.timezone" =>   "America/Chicago",
>>>>>           "http.nonProxyHosts" =>
>>>>>           "local|*.local|169.254/16|*.169.254/16",
>>>>>           "os.name" =>   "Mac OS X",
>>>>>           "path.separator" =>   ":",
>>>>>           "java.ext.dirs" =>
>>>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>>>>           "jboss.server.temp.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>           "sun.arch.data.model" =>   "64",
>>>>>           "org.osgi.vendor.framework" =>
>>>>>             "org.jboss.osgi.framework",
>>>>>           "java.specification.name" =>   "Java Platform API
>>>>>           Specification",
>>>>>           "os.version" =>   "10.6.8",
>>>>>           "mrj.version" =>   "1060.1.6.0_26-384",
>>>>>           "java.class.version" =>   "50.0",
>>>>>           "user.country" =>   "US",
>>>>>           "socksNonProxyHosts" =>
>>>>>           "local|*.local|169.254/16|*.169.254/16",
>>>>>           "java.vendor" =>   "Apple Inc.",
>>>>>           "javax.xml.stream.XMLEventFactory" =>
>>>>> "__redirected.__XMLEventFactory",
>>>>>           "java.rmi.server.hostname" =>   "127.0.0.1",
>>>>>           "java.vm.specification.name" =>   "Java Virtual
>>>>>           Machine
>>>>> Specification",
>>>>>           "java.specification.version" =>   "1.6",
>>>>>           "java.naming.factory.url.pkgs" =>
>>>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>>>>       }
>>>>> }
>>>>>
>>>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>>>>> Hi.
>>>>>>
>>>>>> CLI and web console shows only properties defined in .xml
>>>>>> configuration files. System properties propagated from command
>>>>>> line using -D, -P or --properties args should be visible too. It
>>>>>> would be useful for administrators when searching for possible
>>>>>> problems, the same applies to devels. For domain I'd like to see
>>>>>> sysprops on each instance and separate overview for DC.
>>>>>>
>>>>>> Previous versions of AS/EAP provided such overview in
>>>>>> /web-console/SysProperties.jsp. JVM based properties like
>>>>>> java.vendor etc. would be beneficial too.
>>>>>>
>>>>>>
>>>>>> What do you think about it? Especially Alexey, Brian and Heiko.
>>>>>> There is JIRA for it, see
>>>>>> https://issues.jboss.org/browse/AS7-2162
>>>>>>
>>>>>> Thanks for comments.
>>>>>> Rosta
>>>>>> _______________________________________________
>>>>>> jboss-as7-dev mailing list
>>>>>> [hidden email]
>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Rostislav Svoboda
----- Original Message -----
>
>
> Why don't it right to the actual documentation?

https://docs.jboss.org/author/display/AS71/Admin+Guide#AdminGuide-SystemProperties 

Or which document do you suggest?

>
> On Oct 21, 2011, at 8:57 AM, Rostislav Svoboda wrote:
>
> > ----- Original Message -----
> >> May I suggest an update to this page
> >> http://community.jboss.org/wiki/JBossAS7HowDoI
> >>
> >> anytime we learn some fun cli command that works?
> >
> > Done,
> >
> > http://community.jboss.org/wiki/JBossAS7HowDoI and
> > http://community.jboss.org/wiki/JBossAS7SystemProperties updated,
> > new document
> > http://community.jboss.org/wiki/JBossAS7OverviewOfAllSystemProperties
> > crated.
> >
> > Rosta
> >
> >> On 10/20/2011 10:36 AM, Brian Stansberry wrote:
> >>> Remove "/server=server-one" from the address.
> >>>
> >>> On 10/20/11 2:38 AM, Rostislav Svoboda wrote:
> >>>> For server instance in domain I can use
> >>>> /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> >>>>
> >>>> Is there way how to receive system-properties just for DC
> >>>> process
> >>>> and not for server instance?
> >>>>
> >>>> Thanks.
> >>>> Rosta
> >>>>
> >>>>
> >>>> ----- Original Message -----
> >>>>> The platform-mbean RuntimeMBean resource exposes all system
> >>>>> properties:
> >>>>>
> >>>>> [standalone@localhost:9999 /]
> >>>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> >>>>> {
> >>>>>       "outcome" =>   "success",
> >>>>>       "result" =>   {
> >>>>>           "java.vm.version" =>   "20.1-b02-384",
> >>>>>           "java.vendor.url" =>   "http://www.apple.com/",
> >>>>>           "sun.jnu.encoding" =>   "MacRoman",
> >>>>>           "java.vm.info" =>   "mixed mode",
> >>>>>           "jboss.server.name" =>   "pingguo",
> >>>>>           "user.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
> >>>>>           "java.awt.headless" =>   "true",
> >>>>>           "logging.configuration" =>
> >>>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
> >>>>>           "sun.cpu.isalist" =>   "",
> >>>>>           "java.awt.graphicsenv" =>
> >>>>>             "apple.awt.CGraphicsEnvironment",
> >>>>>           "sun.os.patch.level" =>   "unknown",
> >>>>>           "org.omg.CORBA.ORBSingletonClass" =>
> >>>>>           "org.jacorb.orb.ORBSingleton",
> >>>>>           "javax.xml.datatype.DatatypeFactory" =>
> >>>>> "__redirected.__DatatypeFactory",
> >>>>>           "jboss.server.base.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
> >>>>>           "java.io.tmpdir" =>
> >>>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
> >>>>>           "user.home" =>   "/Users/bstansberry",
> >>>>>           "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
> >>>>>           "jboss.server.deploy.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
> >>>>>           "java.version" =>   "1.6.0_26",
> >>>>>           "file.encoding.pkg" =>   "sun.io",
> >>>>>           "javax.xml.parsers.SAXParserFactory" =>
> >>>>> "__redirected.__SAXParserFactory",
> >>>>>           "org.jboss.boot.log.file" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
> >>>>>           "javax.xml.stream.XMLInputFactory" =>
> >>>>> "__redirected.__XMLInputFactory",
> >>>>>           "jboss.server.config.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
> >>>>>           "java.vendor.url.bug" =>
> >>>>>             "http://bugreport.apple.com/",
> >>>>>           "mrj.build" =>   "10M3425",
> >>>>>           "file.encoding" =>   "MacRoman",
> >>>>>           "line.separator" =>   "
> >>>>> ",
> >>>>>           "sun.java.command" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
> >>>>> -mp
> >>>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
> >>>>> -logmodule org.jboss.logmanager -jaxpmodule
> >>>>> javax.xml.jaxp-provider
> >>>>> org.jboss.as.standalone
> >>>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
> >>>>>           "sun.rmi.dgc.client.gcInterval" =>   "3600000",
> >>>>>           "module.path" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
> >>>>>           "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
> >>>>>           "java.vm.specification.vendor" =>   "Sun Microsystems
> >>>>>           Inc.",
> >>>>>           "javax.xml.transform.TransformerFactory" =>
> >>>>> "__redirected.__TransformerFactory",
> >>>>>
> >>>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
> >>>>> =>
> >>>>> "__redirected.__SchemaFactory",
> >>>>>           "java.util.logging.manager" =>
> >>>>>           "org.jboss.logmanager.LogManager",
> >>>>>           "jboss.node.name" =>   "pingguo",
> >>>>>           "catalina.home" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
> >>>>>           "java.vm.vendor" =>   "Apple Inc.",
> >>>>>           "jboss.host.name" =>   "pingguo",
> >>>>>           "java.class.path" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
> >>>>>           "awt.nativeDoubleBuffering" =>   "true",
> >>>>>           "sun.io.unicode.encoding" =>   "UnicodeLittle",
> >>>>>           "os.arch" =>   "x86_64",
> >>>>>           "user.language" =>   "en",
> >>>>>           "user.name" =>   "bstansberry",
> >>>>>           "java.runtime.version" =>
> >>>>>             "1.6.0_26-b03-384-10M3425",
> >>>>>           "sun.boot.class.path" =>
> >>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
> >>>>>
> >>>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom"
> >>>>> =>
> >>>>> "__redirected.__XPathFactory",
> >>>>>           "gopherProxySet" =>   "false",
> >>>>>           "org.xml.sax.driver" =>
> >>>>>             "__redirected.__XMLReaderFactory",
> >>>>>           "jboss.server.log.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
> >>>>>           "sun.cpu.endian" =>   "little",
> >>>>>           "jboss.modules.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
> >>>>>           "ftp.nonProxyHosts" =>
> >>>>>           "local|*.local|169.254/16|*.169.254/16",
> >>>>>           "awt.toolkit" =>   "apple.awt.CToolkit",
> >>>>>           "sun.boot.library.path" =>
> >>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
> >>>>>           "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server
> >>>>>           VM",
> >>>>>           "jboss.server.data.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
> >>>>>           "sun.rmi.dgc.server.gcInterval" =>   "3600000",
> >>>>>           "java.home" =>
> >>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
> >>>>>           "java.endorsed.dirs" =>
> >>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
> >>>>>           "javax.xml.parsers.DocumentBuilderFactory" =>
> >>>>> "__redirected.__DocumentBuilderFactory",
> >>>>>           "jboss.modules.system.pkgs" =>   "org.jboss.byteman",
> >>>>>           "java.net.preferIPv4Stack" =>   "true",
> >>>>>           "jboss.qualified.host.name" =>   "pingguo.local",
> >>>>>           "sun.management.compiler" =>   "HotSpot 64-Bit Tiered
> >>>>>           Compilers",
> >>>>>           "java.runtime.name" =>   "Java(TM) SE Runtime
> >>>>>           Environment",
> >>>>>           "java.library.path" =>
> >>>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
> >>>>>           "file.separator" =>   "/",
> >>>>>           "jboss.home.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
> >>>>>           "javax.xml.stream.XMLOutputFactory" =>
> >>>>> "__redirected.__XMLOutputFactory",
> >>>>>           "java.specification.vendor" =>   "Sun Microsystems
> >>>>>           Inc.",
> >>>>>           "java.vm.specification.version" =>   "1.0",
> >>>>>           "org.jboss.resolver.warning" =>   "true",
> >>>>>           "sun.java.launcher" =>   "SUN_STANDARD",
> >>>>>           "user.timezone" =>   "America/Chicago",
> >>>>>           "http.nonProxyHosts" =>
> >>>>>           "local|*.local|169.254/16|*.169.254/16",
> >>>>>           "os.name" =>   "Mac OS X",
> >>>>>           "path.separator" =>   ":",
> >>>>>           "java.ext.dirs" =>
> >>>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
> >>>>>           "jboss.server.temp.dir" =>
> >>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
> >>>>>           "sun.arch.data.model" =>   "64",
> >>>>>           "org.osgi.vendor.framework" =>
> >>>>>             "org.jboss.osgi.framework",
> >>>>>           "java.specification.name" =>   "Java Platform API
> >>>>>           Specification",
> >>>>>           "os.version" =>   "10.6.8",
> >>>>>           "mrj.version" =>   "1060.1.6.0_26-384",
> >>>>>           "java.class.version" =>   "50.0",
> >>>>>           "user.country" =>   "US",
> >>>>>           "socksNonProxyHosts" =>
> >>>>>           "local|*.local|169.254/16|*.169.254/16",
> >>>>>           "java.vendor" =>   "Apple Inc.",
> >>>>>           "javax.xml.stream.XMLEventFactory" =>
> >>>>> "__redirected.__XMLEventFactory",
> >>>>>           "java.rmi.server.hostname" =>   "127.0.0.1",
> >>>>>           "java.vm.specification.name" =>   "Java Virtual
> >>>>>           Machine
> >>>>> Specification",
> >>>>>           "java.specification.version" =>   "1.6",
> >>>>>           "java.naming.factory.url.pkgs" =>
> >>>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
> >>>>>       }
> >>>>> }
> >>>>>
> >>>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
> >>>>>> Hi.
> >>>>>>
> >>>>>> CLI and web console shows only properties defined in .xml
> >>>>>> configuration files. System properties propagated from command
> >>>>>> line using -D, -P or --properties args should be visible too.
> >>>>>> It
> >>>>>> would be useful for administrators when searching for possible
> >>>>>> problems, the same applies to devels. For domain I'd like to
> >>>>>> see
> >>>>>> sysprops on each instance and separate overview for DC.
> >>>>>>
> >>>>>> Previous versions of AS/EAP provided such overview in
> >>>>>> /web-console/SysProperties.jsp. JVM based properties like
> >>>>>> java.vendor etc. would be beneficial too.
> >>>>>>
> >>>>>>
> >>>>>> What do you think about it? Especially Alexey, Brian and
> >>>>>> Heiko.
> >>>>>> There is JIRA for it, see
> >>>>>> https://issues.jboss.org/browse/AS7-2162
> >>>>>>
> >>>>>> Thanks for comments.
> >>>>>> Rosta
> >>>>>> _______________________________________________
> >>>>>> jboss-as7-dev mailing list
> >>>>>> [hidden email]
> >>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >>>>>
> >> _______________________________________________
> >> jboss-as7-dev mailing list
> >> [hidden email]
> >> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >>
> > _______________________________________________
> > jboss-as7-dev mailing list
> > [hidden email]
> > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Bruno Georges
In reply to this post by Heiko Braun
+1, on confluence.
On 21 Oct 2011, at 15:00, Heiko Braun wrote:

>
>
> Why don't it right to the actual documentation?
>
> On Oct 21, 2011, at 8:57 AM, Rostislav Svoboda wrote:
>
>> ----- Original Message -----
>>> May I suggest an update to this page
>>> http://community.jboss.org/wiki/JBossAS7HowDoI
>>>
>>> anytime we learn some fun cli command that works?
>>
>> Done,
>>
>> http://community.jboss.org/wiki/JBossAS7HowDoI and http://community.jboss.org/wiki/JBossAS7SystemProperties updated, new document http://community.jboss.org/wiki/JBossAS7OverviewOfAllSystemProperties crated.
>>
>> Rosta
>>
>>> On 10/20/2011 10:36 AM, Brian Stansberry wrote:
>>>> Remove "/server=server-one" from the address.
>>>>
>>>> On 10/20/11 2:38 AM, Rostislav Svoboda wrote:
>>>>> For server instance in domain I can use
>>>>> /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>>
>>>>> Is there way how to receive system-properties just for DC process
>>>>> and not for server instance?
>>>>>
>>>>> Thanks.
>>>>> Rosta
>>>>>
>>>>>
>>>>> ----- Original Message -----
>>>>>> The platform-mbean RuntimeMBean resource exposes all system
>>>>>> properties:
>>>>>>
>>>>>> [standalone@localhost:9999 /]
>>>>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>>> {
>>>>>>      "outcome" =>   "success",
>>>>>>      "result" =>   {
>>>>>>          "java.vm.version" =>   "20.1-b02-384",
>>>>>>          "java.vendor.url" =>   "http://www.apple.com/",
>>>>>>          "sun.jnu.encoding" =>   "MacRoman",
>>>>>>          "java.vm.info" =>   "mixed mode",
>>>>>>          "jboss.server.name" =>   "pingguo",
>>>>>>          "user.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>>>>>          "java.awt.headless" =>   "true",
>>>>>>          "logging.configuration" =>
>>>>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>>>>>          "sun.cpu.isalist" =>   "",
>>>>>>          "java.awt.graphicsenv" =>
>>>>>>            "apple.awt.CGraphicsEnvironment",
>>>>>>          "sun.os.patch.level" =>   "unknown",
>>>>>>          "org.omg.CORBA.ORBSingletonClass" =>
>>>>>>          "org.jacorb.orb.ORBSingleton",
>>>>>>          "javax.xml.datatype.DatatypeFactory" =>
>>>>>> "__redirected.__DatatypeFactory",
>>>>>>          "jboss.server.base.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>>>>>          "java.io.tmpdir" =>
>>>>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>>>>>          "user.home" =>   "/Users/bstansberry",
>>>>>>          "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
>>>>>>          "jboss.server.deploy.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>>>>>          "java.version" =>   "1.6.0_26",
>>>>>>          "file.encoding.pkg" =>   "sun.io",
>>>>>>          "javax.xml.parsers.SAXParserFactory" =>
>>>>>> "__redirected.__SAXParserFactory",
>>>>>>          "org.jboss.boot.log.file" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>>>>>          "javax.xml.stream.XMLInputFactory" =>
>>>>>> "__redirected.__XMLInputFactory",
>>>>>>          "jboss.server.config.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>>>>>          "java.vendor.url.bug" =>
>>>>>>            "http://bugreport.apple.com/",
>>>>>>          "mrj.build" =>   "10M3425",
>>>>>>          "file.encoding" =>   "MacRoman",
>>>>>>          "line.separator" =>   "
>>>>>> ",
>>>>>>          "sun.java.command" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>>>>>> -mp
>>>>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>>>>>> -logmodule org.jboss.logmanager -jaxpmodule
>>>>>> javax.xml.jaxp-provider
>>>>>> org.jboss.as.standalone
>>>>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>>          "sun.rmi.dgc.client.gcInterval" =>   "3600000",
>>>>>>          "module.path" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>>          "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
>>>>>>          "java.vm.specification.vendor" =>   "Sun Microsystems
>>>>>>          Inc.",
>>>>>>          "javax.xml.transform.TransformerFactory" =>
>>>>>> "__redirected.__TransformerFactory",
>>>>>>
>>>>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
>>>>>> =>
>>>>>> "__redirected.__SchemaFactory",
>>>>>>          "java.util.logging.manager" =>
>>>>>>          "org.jboss.logmanager.LogManager",
>>>>>>          "jboss.node.name" =>   "pingguo",
>>>>>>          "catalina.home" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>>          "java.vm.vendor" =>   "Apple Inc.",
>>>>>>          "jboss.host.name" =>   "pingguo",
>>>>>>          "java.class.path" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>>>>>          "awt.nativeDoubleBuffering" =>   "true",
>>>>>>          "sun.io.unicode.encoding" =>   "UnicodeLittle",
>>>>>>          "os.arch" =>   "x86_64",
>>>>>>          "user.language" =>   "en",
>>>>>>          "user.name" =>   "bstansberry",
>>>>>>          "java.runtime.version" =>
>>>>>>            "1.6.0_26-b03-384-10M3425",
>>>>>>          "sun.boot.class.path" =>
>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>>>>>
>>>>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom"
>>>>>> =>
>>>>>> "__redirected.__XPathFactory",
>>>>>>          "gopherProxySet" =>   "false",
>>>>>>          "org.xml.sax.driver" =>
>>>>>>            "__redirected.__XMLReaderFactory",
>>>>>>          "jboss.server.log.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>>>>>          "sun.cpu.endian" =>   "little",
>>>>>>          "jboss.modules.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>>          "ftp.nonProxyHosts" =>
>>>>>>          "local|*.local|169.254/16|*.169.254/16",
>>>>>>          "awt.toolkit" =>   "apple.awt.CToolkit",
>>>>>>          "sun.boot.library.path" =>
>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>>>>>          "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server
>>>>>>          VM",
>>>>>>          "jboss.server.data.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>>>>>          "sun.rmi.dgc.server.gcInterval" =>   "3600000",
>>>>>>          "java.home" =>
>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>>>>>          "java.endorsed.dirs" =>
>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>>>>>          "javax.xml.parsers.DocumentBuilderFactory" =>
>>>>>> "__redirected.__DocumentBuilderFactory",
>>>>>>          "jboss.modules.system.pkgs" =>   "org.jboss.byteman",
>>>>>>          "java.net.preferIPv4Stack" =>   "true",
>>>>>>          "jboss.qualified.host.name" =>   "pingguo.local",
>>>>>>          "sun.management.compiler" =>   "HotSpot 64-Bit Tiered
>>>>>>          Compilers",
>>>>>>          "java.runtime.name" =>   "Java(TM) SE Runtime
>>>>>>          Environment",
>>>>>>          "java.library.path" =>
>>>>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>>>>>          "file.separator" =>   "/",
>>>>>>          "jboss.home.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>>          "javax.xml.stream.XMLOutputFactory" =>
>>>>>> "__redirected.__XMLOutputFactory",
>>>>>>          "java.specification.vendor" =>   "Sun Microsystems
>>>>>>          Inc.",
>>>>>>          "java.vm.specification.version" =>   "1.0",
>>>>>>          "org.jboss.resolver.warning" =>   "true",
>>>>>>          "sun.java.launcher" =>   "SUN_STANDARD",
>>>>>>          "user.timezone" =>   "America/Chicago",
>>>>>>          "http.nonProxyHosts" =>
>>>>>>          "local|*.local|169.254/16|*.169.254/16",
>>>>>>          "os.name" =>   "Mac OS X",
>>>>>>          "path.separator" =>   ":",
>>>>>>          "java.ext.dirs" =>
>>>>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>>>>>          "jboss.server.temp.dir" =>
>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>>          "sun.arch.data.model" =>   "64",
>>>>>>          "org.osgi.vendor.framework" =>
>>>>>>            "org.jboss.osgi.framework",
>>>>>>          "java.specification.name" =>   "Java Platform API
>>>>>>          Specification",
>>>>>>          "os.version" =>   "10.6.8",
>>>>>>          "mrj.version" =>   "1060.1.6.0_26-384",
>>>>>>          "java.class.version" =>   "50.0",
>>>>>>          "user.country" =>   "US",
>>>>>>          "socksNonProxyHosts" =>
>>>>>>          "local|*.local|169.254/16|*.169.254/16",
>>>>>>          "java.vendor" =>   "Apple Inc.",
>>>>>>          "javax.xml.stream.XMLEventFactory" =>
>>>>>> "__redirected.__XMLEventFactory",
>>>>>>          "java.rmi.server.hostname" =>   "127.0.0.1",
>>>>>>          "java.vm.specification.name" =>   "Java Virtual
>>>>>>          Machine
>>>>>> Specification",
>>>>>>          "java.specification.version" =>   "1.6",
>>>>>>          "java.naming.factory.url.pkgs" =>
>>>>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>>>>>      }
>>>>>> }
>>>>>>
>>>>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>>>>>> Hi.
>>>>>>>
>>>>>>> CLI and web console shows only properties defined in .xml
>>>>>>> configuration files. System properties propagated from command
>>>>>>> line using -D, -P or --properties args should be visible too. It
>>>>>>> would be useful for administrators when searching for possible
>>>>>>> problems, the same applies to devels. For domain I'd like to see
>>>>>>> sysprops on each instance and separate overview for DC.
>>>>>>>
>>>>>>> Previous versions of AS/EAP provided such overview in
>>>>>>> /web-console/SysProperties.jsp. JVM based properties like
>>>>>>> java.vendor etc. would be beneficial too.
>>>>>>>
>>>>>>>
>>>>>>> What do you think about it? Especially Alexey, Brian and Heiko.
>>>>>>> There is JIRA for it, see
>>>>>>> https://issues.jboss.org/browse/AS7-2162
>>>>>>>
>>>>>>> Thanks for comments.
>>>>>>> Rosta
>>>>>>> _______________________________________________
>>>>>>> jboss-as7-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> [hidden email]
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>


_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Heiko Braun
In reply to this post by Rostislav Svoboda


Yes, that's the right IMO.
We can add something like a "CLI Recipes" Section to the admin guide.


Ike

On Oct 21, 2011, at 9:19 AM, Rostislav Svoboda wrote:

> ----- Original Message -----
>>
>>
>> Why don't it right to the actual documentation?
>
> https://docs.jboss.org/author/display/AS71/Admin+Guide#AdminGuide-SystemProperties 
>
> Or which document do you suggest?
>
>>
>> On Oct 21, 2011, at 8:57 AM, Rostislav Svoboda wrote:
>>
>>> ----- Original Message -----
>>>> May I suggest an update to this page
>>>> http://community.jboss.org/wiki/JBossAS7HowDoI
>>>>
>>>> anytime we learn some fun cli command that works?
>>>
>>> Done,
>>>
>>> http://community.jboss.org/wiki/JBossAS7HowDoI and
>>> http://community.jboss.org/wiki/JBossAS7SystemProperties updated,
>>> new document
>>> http://community.jboss.org/wiki/JBossAS7OverviewOfAllSystemProperties
>>> crated.
>>>
>>> Rosta
>>>
>>>> On 10/20/2011 10:36 AM, Brian Stansberry wrote:
>>>>> Remove "/server=server-one" from the address.
>>>>>
>>>>> On 10/20/11 2:38 AM, Rostislav Svoboda wrote:
>>>>>> For server instance in domain I can use
>>>>>> /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>>>
>>>>>> Is there way how to receive system-properties just for DC
>>>>>> process
>>>>>> and not for server instance?
>>>>>>
>>>>>> Thanks.
>>>>>> Rosta
>>>>>>
>>>>>>
>>>>>> ----- Original Message -----
>>>>>>> The platform-mbean RuntimeMBean resource exposes all system
>>>>>>> properties:
>>>>>>>
>>>>>>> [standalone@localhost:9999 /]
>>>>>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>>>> {
>>>>>>>      "outcome" =>   "success",
>>>>>>>      "result" =>   {
>>>>>>>          "java.vm.version" =>   "20.1-b02-384",
>>>>>>>          "java.vendor.url" =>   "http://www.apple.com/",
>>>>>>>          "sun.jnu.encoding" =>   "MacRoman",
>>>>>>>          "java.vm.info" =>   "mixed mode",
>>>>>>>          "jboss.server.name" =>   "pingguo",
>>>>>>>          "user.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>>>>>>          "java.awt.headless" =>   "true",
>>>>>>>          "logging.configuration" =>
>>>>>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>>>>>>          "sun.cpu.isalist" =>   "",
>>>>>>>          "java.awt.graphicsenv" =>
>>>>>>>            "apple.awt.CGraphicsEnvironment",
>>>>>>>          "sun.os.patch.level" =>   "unknown",
>>>>>>>          "org.omg.CORBA.ORBSingletonClass" =>
>>>>>>>          "org.jacorb.orb.ORBSingleton",
>>>>>>>          "javax.xml.datatype.DatatypeFactory" =>
>>>>>>> "__redirected.__DatatypeFactory",
>>>>>>>          "jboss.server.base.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>>>>>>          "java.io.tmpdir" =>
>>>>>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>>>>>>          "user.home" =>   "/Users/bstansberry",
>>>>>>>          "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
>>>>>>>          "jboss.server.deploy.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>>>>>>          "java.version" =>   "1.6.0_26",
>>>>>>>          "file.encoding.pkg" =>   "sun.io",
>>>>>>>          "javax.xml.parsers.SAXParserFactory" =>
>>>>>>> "__redirected.__SAXParserFactory",
>>>>>>>          "org.jboss.boot.log.file" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>>>>>>          "javax.xml.stream.XMLInputFactory" =>
>>>>>>> "__redirected.__XMLInputFactory",
>>>>>>>          "jboss.server.config.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>>>>>>          "java.vendor.url.bug" =>
>>>>>>>            "http://bugreport.apple.com/",
>>>>>>>          "mrj.build" =>   "10M3425",
>>>>>>>          "file.encoding" =>   "MacRoman",
>>>>>>>          "line.separator" =>   "
>>>>>>> ",
>>>>>>>          "sun.java.command" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>>>>>>> -mp
>>>>>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>>>>>>> -logmodule org.jboss.logmanager -jaxpmodule
>>>>>>> javax.xml.jaxp-provider
>>>>>>> org.jboss.as.standalone
>>>>>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>>>          "sun.rmi.dgc.client.gcInterval" =>   "3600000",
>>>>>>>          "module.path" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>>>          "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
>>>>>>>          "java.vm.specification.vendor" =>   "Sun Microsystems
>>>>>>>          Inc.",
>>>>>>>          "javax.xml.transform.TransformerFactory" =>
>>>>>>> "__redirected.__TransformerFactory",
>>>>>>>
>>>>>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
>>>>>>> =>
>>>>>>> "__redirected.__SchemaFactory",
>>>>>>>          "java.util.logging.manager" =>
>>>>>>>          "org.jboss.logmanager.LogManager",
>>>>>>>          "jboss.node.name" =>   "pingguo",
>>>>>>>          "catalina.home" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>>>          "java.vm.vendor" =>   "Apple Inc.",
>>>>>>>          "jboss.host.name" =>   "pingguo",
>>>>>>>          "java.class.path" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>>>>>>          "awt.nativeDoubleBuffering" =>   "true",
>>>>>>>          "sun.io.unicode.encoding" =>   "UnicodeLittle",
>>>>>>>          "os.arch" =>   "x86_64",
>>>>>>>          "user.language" =>   "en",
>>>>>>>          "user.name" =>   "bstansberry",
>>>>>>>          "java.runtime.version" =>
>>>>>>>            "1.6.0_26-b03-384-10M3425",
>>>>>>>          "sun.boot.class.path" =>
>>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>>>>>>
>>>>>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom"
>>>>>>> =>
>>>>>>> "__redirected.__XPathFactory",
>>>>>>>          "gopherProxySet" =>   "false",
>>>>>>>          "org.xml.sax.driver" =>
>>>>>>>            "__redirected.__XMLReaderFactory",
>>>>>>>          "jboss.server.log.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>>>>>>          "sun.cpu.endian" =>   "little",
>>>>>>>          "jboss.modules.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>>>          "ftp.nonProxyHosts" =>
>>>>>>>          "local|*.local|169.254/16|*.169.254/16",
>>>>>>>          "awt.toolkit" =>   "apple.awt.CToolkit",
>>>>>>>          "sun.boot.library.path" =>
>>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>>>>>>          "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server
>>>>>>>          VM",
>>>>>>>          "jboss.server.data.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>>>>>>          "sun.rmi.dgc.server.gcInterval" =>   "3600000",
>>>>>>>          "java.home" =>
>>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>>>>>>          "java.endorsed.dirs" =>
>>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>>>>>>          "javax.xml.parsers.DocumentBuilderFactory" =>
>>>>>>> "__redirected.__DocumentBuilderFactory",
>>>>>>>          "jboss.modules.system.pkgs" =>   "org.jboss.byteman",
>>>>>>>          "java.net.preferIPv4Stack" =>   "true",
>>>>>>>          "jboss.qualified.host.name" =>   "pingguo.local",
>>>>>>>          "sun.management.compiler" =>   "HotSpot 64-Bit Tiered
>>>>>>>          Compilers",
>>>>>>>          "java.runtime.name" =>   "Java(TM) SE Runtime
>>>>>>>          Environment",
>>>>>>>          "java.library.path" =>
>>>>>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>>>>>>          "file.separator" =>   "/",
>>>>>>>          "jboss.home.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>>>          "javax.xml.stream.XMLOutputFactory" =>
>>>>>>> "__redirected.__XMLOutputFactory",
>>>>>>>          "java.specification.vendor" =>   "Sun Microsystems
>>>>>>>          Inc.",
>>>>>>>          "java.vm.specification.version" =>   "1.0",
>>>>>>>          "org.jboss.resolver.warning" =>   "true",
>>>>>>>          "sun.java.launcher" =>   "SUN_STANDARD",
>>>>>>>          "user.timezone" =>   "America/Chicago",
>>>>>>>          "http.nonProxyHosts" =>
>>>>>>>          "local|*.local|169.254/16|*.169.254/16",
>>>>>>>          "os.name" =>   "Mac OS X",
>>>>>>>          "path.separator" =>   ":",
>>>>>>>          "java.ext.dirs" =>
>>>>>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>>>>>>          "jboss.server.temp.dir" =>
>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>>>          "sun.arch.data.model" =>   "64",
>>>>>>>          "org.osgi.vendor.framework" =>
>>>>>>>            "org.jboss.osgi.framework",
>>>>>>>          "java.specification.name" =>   "Java Platform API
>>>>>>>          Specification",
>>>>>>>          "os.version" =>   "10.6.8",
>>>>>>>          "mrj.version" =>   "1060.1.6.0_26-384",
>>>>>>>          "java.class.version" =>   "50.0",
>>>>>>>          "user.country" =>   "US",
>>>>>>>          "socksNonProxyHosts" =>
>>>>>>>          "local|*.local|169.254/16|*.169.254/16",
>>>>>>>          "java.vendor" =>   "Apple Inc.",
>>>>>>>          "javax.xml.stream.XMLEventFactory" =>
>>>>>>> "__redirected.__XMLEventFactory",
>>>>>>>          "java.rmi.server.hostname" =>   "127.0.0.1",
>>>>>>>          "java.vm.specification.name" =>   "Java Virtual
>>>>>>>          Machine
>>>>>>> Specification",
>>>>>>>          "java.specification.version" =>   "1.6",
>>>>>>>          "java.naming.factory.url.pkgs" =>
>>>>>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>>>>>>      }
>>>>>>> }
>>>>>>>
>>>>>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>>>>>>> Hi.
>>>>>>>>
>>>>>>>> CLI and web console shows only properties defined in .xml
>>>>>>>> configuration files. System properties propagated from command
>>>>>>>> line using -D, -P or --properties args should be visible too.
>>>>>>>> It
>>>>>>>> would be useful for administrators when searching for possible
>>>>>>>> problems, the same applies to devels. For domain I'd like to
>>>>>>>> see
>>>>>>>> sysprops on each instance and separate overview for DC.
>>>>>>>>
>>>>>>>> Previous versions of AS/EAP provided such overview in
>>>>>>>> /web-console/SysProperties.jsp. JVM based properties like
>>>>>>>> java.vendor etc. would be beneficial too.
>>>>>>>>
>>>>>>>>
>>>>>>>> What do you think about it? Especially Alexey, Brian and
>>>>>>>> Heiko.
>>>>>>>> There is JIRA for it, see
>>>>>>>> https://issues.jboss.org/browse/AS7-2162
>>>>>>>>
>>>>>>>> Thanks for comments.
>>>>>>>> Rosta
>>>>>>>> _______________________________________________
>>>>>>>> jboss-as7-dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>>>>
>>>> _______________________________________________
>>>> jboss-as7-dev mailing list
>>>> [hidden email]
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> [hidden email]
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>


_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Rostislav Svoboda
Hi.

I created "CLI Recipes" section in Admin Guide.

https://docs.jboss.org/author/display/AS71/Admin+Guide#AdminGuide-CLIRecipes

My and Anil's comments about CLI were back-ported from http://community.jboss.org/wiki/JBossAS7HowDoI

Rosta


----- Original Message -----

>
>
> Yes, that's the right IMO.
> We can add something like a "CLI Recipes" Section to the admin guide.
>
>
> Ike
>
> On Oct 21, 2011, at 9:19 AM, Rostislav Svoboda wrote:
>
> > ----- Original Message -----
> >>
> >>
> >> Why don't it right to the actual documentation?
> >
> > https://docs.jboss.org/author/display/AS71/Admin+Guide#AdminGuide-SystemProperties
> >
> > Or which document do you suggest?
> >
> >>
> >> On Oct 21, 2011, at 8:57 AM, Rostislav Svoboda wrote:
> >>
> >>> ----- Original Message -----
> >>>> May I suggest an update to this page
> >>>> http://community.jboss.org/wiki/JBossAS7HowDoI
> >>>>
> >>>> anytime we learn some fun cli command that works?
> >>>
> >>> Done,
> >>>
> >>> http://community.jboss.org/wiki/JBossAS7HowDoI and
> >>> http://community.jboss.org/wiki/JBossAS7SystemProperties updated,
> >>> new document
> >>> http://community.jboss.org/wiki/JBossAS7OverviewOfAllSystemProperties
> >>> crated.
> >>>
> >>> Rosta
> >>>
> >>>> On 10/20/2011 10:36 AM, Brian Stansberry wrote:
> >>>>> Remove "/server=server-one" from the address.
> >>>>>
> >>>>> On 10/20/11 2:38 AM, Rostislav Svoboda wrote:
> >>>>>> For server instance in domain I can use
> >>>>>> /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> >>>>>>
> >>>>>> Is there way how to receive system-properties just for DC
> >>>>>> process
> >>>>>> and not for server instance?
> >>>>>>
> >>>>>> Thanks.
> >>>>>> Rosta
> >>>>>>
> >>>>>>
> >>>>>> ----- Original Message -----
> >>>>>>> The platform-mbean RuntimeMBean resource exposes all system
> >>>>>>> properties:
> >>>>>>>
> >>>>>>> [standalone@localhost:9999 /]
> >>>>>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> >>>>>>> {
> >>>>>>>      "outcome" =>   "success",
> >>>>>>>      "result" =>   {
> >>>>>>>          "java.vm.version" =>   "20.1-b02-384",
> >>>>>>>          "java.vendor.url" =>   "http://www.apple.com/",
> >>>>>>>          "sun.jnu.encoding" =>   "MacRoman",
> >>>>>>>          "java.vm.info" =>   "mixed mode",
> >>>>>>>          "jboss.server.name" =>   "pingguo",
> >>>>>>>          "user.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
> >>>>>>>          "java.awt.headless" =>   "true",
> >>>>>>>          "logging.configuration" =>
> >>>>>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
> >>>>>>>          "sun.cpu.isalist" =>   "",
> >>>>>>>          "java.awt.graphicsenv" =>
> >>>>>>>            "apple.awt.CGraphicsEnvironment",
> >>>>>>>          "sun.os.patch.level" =>   "unknown",
> >>>>>>>          "org.omg.CORBA.ORBSingletonClass" =>
> >>>>>>>          "org.jacorb.orb.ORBSingleton",
> >>>>>>>          "javax.xml.datatype.DatatypeFactory" =>
> >>>>>>> "__redirected.__DatatypeFactory",
> >>>>>>>          "jboss.server.base.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
> >>>>>>>          "java.io.tmpdir" =>
> >>>>>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
> >>>>>>>          "user.home" =>   "/Users/bstansberry",
> >>>>>>>          "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
> >>>>>>>          "jboss.server.deploy.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
> >>>>>>>          "java.version" =>   "1.6.0_26",
> >>>>>>>          "file.encoding.pkg" =>   "sun.io",
> >>>>>>>          "javax.xml.parsers.SAXParserFactory" =>
> >>>>>>> "__redirected.__SAXParserFactory",
> >>>>>>>          "org.jboss.boot.log.file" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
> >>>>>>>          "javax.xml.stream.XMLInputFactory" =>
> >>>>>>> "__redirected.__XMLInputFactory",
> >>>>>>>          "jboss.server.config.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
> >>>>>>>          "java.vendor.url.bug" =>
> >>>>>>>            "http://bugreport.apple.com/",
> >>>>>>>          "mrj.build" =>   "10M3425",
> >>>>>>>          "file.encoding" =>   "MacRoman",
> >>>>>>>          "line.separator" =>   "
> >>>>>>> ",
> >>>>>>>          "sun.java.command" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
> >>>>>>> -mp
> >>>>>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
> >>>>>>> -logmodule org.jboss.logmanager -jaxpmodule
> >>>>>>> javax.xml.jaxp-provider
> >>>>>>> org.jboss.as.standalone
> >>>>>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
> >>>>>>>          "sun.rmi.dgc.client.gcInterval" =>   "3600000",
> >>>>>>>          "module.path" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
> >>>>>>>          "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
> >>>>>>>          "java.vm.specification.vendor" =>   "Sun
> >>>>>>>          Microsystems
> >>>>>>>          Inc.",
> >>>>>>>          "javax.xml.transform.TransformerFactory" =>
> >>>>>>> "__redirected.__TransformerFactory",
> >>>>>>>
> >>>>>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
> >>>>>>> =>
> >>>>>>> "__redirected.__SchemaFactory",
> >>>>>>>          "java.util.logging.manager" =>
> >>>>>>>          "org.jboss.logmanager.LogManager",
> >>>>>>>          "jboss.node.name" =>   "pingguo",
> >>>>>>>          "catalina.home" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
> >>>>>>>          "java.vm.vendor" =>   "Apple Inc.",
> >>>>>>>          "jboss.host.name" =>   "pingguo",
> >>>>>>>          "java.class.path" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
> >>>>>>>          "awt.nativeDoubleBuffering" =>   "true",
> >>>>>>>          "sun.io.unicode.encoding" =>   "UnicodeLittle",
> >>>>>>>          "os.arch" =>   "x86_64",
> >>>>>>>          "user.language" =>   "en",
> >>>>>>>          "user.name" =>   "bstansberry",
> >>>>>>>          "java.runtime.version" =>
> >>>>>>>            "1.6.0_26-b03-384-10M3425",
> >>>>>>>          "sun.boot.class.path" =>
> >>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
> >>>>>>>
> >>>>>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom"
> >>>>>>> =>
> >>>>>>> "__redirected.__XPathFactory",
> >>>>>>>          "gopherProxySet" =>   "false",
> >>>>>>>          "org.xml.sax.driver" =>
> >>>>>>>            "__redirected.__XMLReaderFactory",
> >>>>>>>          "jboss.server.log.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
> >>>>>>>          "sun.cpu.endian" =>   "little",
> >>>>>>>          "jboss.modules.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
> >>>>>>>          "ftp.nonProxyHosts" =>
> >>>>>>>          "local|*.local|169.254/16|*.169.254/16",
> >>>>>>>          "awt.toolkit" =>   "apple.awt.CToolkit",
> >>>>>>>          "sun.boot.library.path" =>
> >>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
> >>>>>>>          "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server
> >>>>>>>          VM",
> >>>>>>>          "jboss.server.data.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
> >>>>>>>          "sun.rmi.dgc.server.gcInterval" =>   "3600000",
> >>>>>>>          "java.home" =>
> >>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
> >>>>>>>          "java.endorsed.dirs" =>
> >>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
> >>>>>>>          "javax.xml.parsers.DocumentBuilderFactory" =>
> >>>>>>> "__redirected.__DocumentBuilderFactory",
> >>>>>>>          "jboss.modules.system.pkgs" =>
> >>>>>>>            "org.jboss.byteman",
> >>>>>>>          "java.net.preferIPv4Stack" =>   "true",
> >>>>>>>          "jboss.qualified.host.name" =>   "pingguo.local",
> >>>>>>>          "sun.management.compiler" =>   "HotSpot 64-Bit
> >>>>>>>          Tiered
> >>>>>>>          Compilers",
> >>>>>>>          "java.runtime.name" =>   "Java(TM) SE Runtime
> >>>>>>>          Environment",
> >>>>>>>          "java.library.path" =>
> >>>>>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
> >>>>>>>          "file.separator" =>   "/",
> >>>>>>>          "jboss.home.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
> >>>>>>>          "javax.xml.stream.XMLOutputFactory" =>
> >>>>>>> "__redirected.__XMLOutputFactory",
> >>>>>>>          "java.specification.vendor" =>   "Sun Microsystems
> >>>>>>>          Inc.",
> >>>>>>>          "java.vm.specification.version" =>   "1.0",
> >>>>>>>          "org.jboss.resolver.warning" =>   "true",
> >>>>>>>          "sun.java.launcher" =>   "SUN_STANDARD",
> >>>>>>>          "user.timezone" =>   "America/Chicago",
> >>>>>>>          "http.nonProxyHosts" =>
> >>>>>>>          "local|*.local|169.254/16|*.169.254/16",
> >>>>>>>          "os.name" =>   "Mac OS X",
> >>>>>>>          "path.separator" =>   ":",
> >>>>>>>          "java.ext.dirs" =>
> >>>>>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
> >>>>>>>          "jboss.server.temp.dir" =>
> >>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
> >>>>>>>          "sun.arch.data.model" =>   "64",
> >>>>>>>          "org.osgi.vendor.framework" =>
> >>>>>>>            "org.jboss.osgi.framework",
> >>>>>>>          "java.specification.name" =>   "Java Platform API
> >>>>>>>          Specification",
> >>>>>>>          "os.version" =>   "10.6.8",
> >>>>>>>          "mrj.version" =>   "1060.1.6.0_26-384",
> >>>>>>>          "java.class.version" =>   "50.0",
> >>>>>>>          "user.country" =>   "US",
> >>>>>>>          "socksNonProxyHosts" =>
> >>>>>>>          "local|*.local|169.254/16|*.169.254/16",
> >>>>>>>          "java.vendor" =>   "Apple Inc.",
> >>>>>>>          "javax.xml.stream.XMLEventFactory" =>
> >>>>>>> "__redirected.__XMLEventFactory",
> >>>>>>>          "java.rmi.server.hostname" =>   "127.0.0.1",
> >>>>>>>          "java.vm.specification.name" =>   "Java Virtual
> >>>>>>>          Machine
> >>>>>>> Specification",
> >>>>>>>          "java.specification.version" =>   "1.6",
> >>>>>>>          "java.naming.factory.url.pkgs" =>
> >>>>>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
> >>>>>>>      }
> >>>>>>> }
> >>>>>>>
> >>>>>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
> >>>>>>>> Hi.
> >>>>>>>>
> >>>>>>>> CLI and web console shows only properties defined in .xml
> >>>>>>>> configuration files. System properties propagated from
> >>>>>>>> command
> >>>>>>>> line using -D, -P or --properties args should be visible
> >>>>>>>> too.
> >>>>>>>> It
> >>>>>>>> would be useful for administrators when searching for
> >>>>>>>> possible
> >>>>>>>> problems, the same applies to devels. For domain I'd like to
> >>>>>>>> see
> >>>>>>>> sysprops on each instance and separate overview for DC.
> >>>>>>>>
> >>>>>>>> Previous versions of AS/EAP provided such overview in
> >>>>>>>> /web-console/SysProperties.jsp. JVM based properties like
> >>>>>>>> java.vendor etc. would be beneficial too.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> What do you think about it? Especially Alexey, Brian and
> >>>>>>>> Heiko.
> >>>>>>>> There is JIRA for it, see
> >>>>>>>> https://issues.jboss.org/browse/AS7-2162
> >>>>>>>>
> >>>>>>>> Thanks for comments.
> >>>>>>>> Rosta
> >>>>>>>> _______________________________________________
> >>>>>>>> jboss-as7-dev mailing list
> >>>>>>>> [hidden email]
> >>>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >>>>>>>
> >>>> _______________________________________________
> >>>> jboss-as7-dev mailing list
> >>>> [hidden email]
> >>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >>>>
> >>> _______________________________________________
> >>> jboss-as7-dev mailing list
> >>> [hidden email]
> >>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >>
> >>
>
>
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Heiko Braun
great. thanks.

On Oct 21, 2011, at 1:42 PM, Rostislav Svoboda wrote:

> Hi.
>
> I created "CLI Recipes" section in Admin Guide.
>
> https://docs.jboss.org/author/display/AS71/Admin+Guide#AdminGuide-CLIRecipes
>
> My and Anil's comments about CLI were back-ported from http://community.jboss.org/wiki/JBossAS7HowDoI
>
> Rosta
>
>
> ----- Original Message -----
>>
>>
>> Yes, that's the right IMO.
>> We can add something like a "CLI Recipes" Section to the admin guide.
>>
>>
>> Ike
>>
>> On Oct 21, 2011, at 9:19 AM, Rostislav Svoboda wrote:
>>
>>> ----- Original Message -----
>>>>
>>>>
>>>> Why don't it right to the actual documentation?
>>>
>>> https://docs.jboss.org/author/display/AS71/Admin+Guide#AdminGuide-SystemProperties
>>>
>>> Or which document do you suggest?
>>>
>>>>
>>>> On Oct 21, 2011, at 8:57 AM, Rostislav Svoboda wrote:
>>>>
>>>>> ----- Original Message -----
>>>>>> May I suggest an update to this page
>>>>>> http://community.jboss.org/wiki/JBossAS7HowDoI
>>>>>>
>>>>>> anytime we learn some fun cli command that works?
>>>>>
>>>>> Done,
>>>>>
>>>>> http://community.jboss.org/wiki/JBossAS7HowDoI and
>>>>> http://community.jboss.org/wiki/JBossAS7SystemProperties updated,
>>>>> new document
>>>>> http://community.jboss.org/wiki/JBossAS7OverviewOfAllSystemProperties
>>>>> crated.
>>>>>
>>>>> Rosta
>>>>>
>>>>>> On 10/20/2011 10:36 AM, Brian Stansberry wrote:
>>>>>>> Remove "/server=server-one" from the address.
>>>>>>>
>>>>>>> On 10/20/11 2:38 AM, Rostislav Svoboda wrote:
>>>>>>>> For server instance in domain I can use
>>>>>>>> /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>>>>>
>>>>>>>> Is there way how to receive system-properties just for DC
>>>>>>>> process
>>>>>>>> and not for server instance?
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>> Rosta
>>>>>>>>
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>>> The platform-mbean RuntimeMBean resource exposes all system
>>>>>>>>> properties:
>>>>>>>>>
>>>>>>>>> [standalone@localhost:9999 /]
>>>>>>>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>>>>>> {
>>>>>>>>>     "outcome" =>   "success",
>>>>>>>>>     "result" =>   {
>>>>>>>>>         "java.vm.version" =>   "20.1-b02-384",
>>>>>>>>>         "java.vendor.url" =>   "http://www.apple.com/",
>>>>>>>>>         "sun.jnu.encoding" =>   "MacRoman",
>>>>>>>>>         "java.vm.info" =>   "mixed mode",
>>>>>>>>>         "jboss.server.name" =>   "pingguo",
>>>>>>>>>         "user.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>>>>>>>>         "java.awt.headless" =>   "true",
>>>>>>>>>         "logging.configuration" =>
>>>>>>>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>>>>>>>>         "sun.cpu.isalist" =>   "",
>>>>>>>>>         "java.awt.graphicsenv" =>
>>>>>>>>>           "apple.awt.CGraphicsEnvironment",
>>>>>>>>>         "sun.os.patch.level" =>   "unknown",
>>>>>>>>>         "org.omg.CORBA.ORBSingletonClass" =>
>>>>>>>>>         "org.jacorb.orb.ORBSingleton",
>>>>>>>>>         "javax.xml.datatype.DatatypeFactory" =>
>>>>>>>>> "__redirected.__DatatypeFactory",
>>>>>>>>>         "jboss.server.base.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>>>>>>>>         "java.io.tmpdir" =>
>>>>>>>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>>>>>>>>         "user.home" =>   "/Users/bstansberry",
>>>>>>>>>         "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
>>>>>>>>>         "jboss.server.deploy.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>>>>>>>>         "java.version" =>   "1.6.0_26",
>>>>>>>>>         "file.encoding.pkg" =>   "sun.io",
>>>>>>>>>         "javax.xml.parsers.SAXParserFactory" =>
>>>>>>>>> "__redirected.__SAXParserFactory",
>>>>>>>>>         "org.jboss.boot.log.file" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>>>>>>>>         "javax.xml.stream.XMLInputFactory" =>
>>>>>>>>> "__redirected.__XMLInputFactory",
>>>>>>>>>         "jboss.server.config.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>>>>>>>>         "java.vendor.url.bug" =>
>>>>>>>>>           "http://bugreport.apple.com/",
>>>>>>>>>         "mrj.build" =>   "10M3425",
>>>>>>>>>         "file.encoding" =>   "MacRoman",
>>>>>>>>>         "line.separator" =>   "
>>>>>>>>> ",
>>>>>>>>>         "sun.java.command" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>>>>>>>>> -mp
>>>>>>>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>>>>>>>>> -logmodule org.jboss.logmanager -jaxpmodule
>>>>>>>>> javax.xml.jaxp-provider
>>>>>>>>> org.jboss.as.standalone
>>>>>>>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>>>>>         "sun.rmi.dgc.client.gcInterval" =>   "3600000",
>>>>>>>>>         "module.path" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>>>>>         "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
>>>>>>>>>         "java.vm.specification.vendor" =>   "Sun
>>>>>>>>>         Microsystems
>>>>>>>>>         Inc.",
>>>>>>>>>         "javax.xml.transform.TransformerFactory" =>
>>>>>>>>> "__redirected.__TransformerFactory",
>>>>>>>>>
>>>>>>>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema"
>>>>>>>>> =>
>>>>>>>>> "__redirected.__SchemaFactory",
>>>>>>>>>         "java.util.logging.manager" =>
>>>>>>>>>         "org.jboss.logmanager.LogManager",
>>>>>>>>>         "jboss.node.name" =>   "pingguo",
>>>>>>>>>         "catalina.home" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>>>>>         "java.vm.vendor" =>   "Apple Inc.",
>>>>>>>>>         "jboss.host.name" =>   "pingguo",
>>>>>>>>>         "java.class.path" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>>>>>>>>         "awt.nativeDoubleBuffering" =>   "true",
>>>>>>>>>         "sun.io.unicode.encoding" =>   "UnicodeLittle",
>>>>>>>>>         "os.arch" =>   "x86_64",
>>>>>>>>>         "user.language" =>   "en",
>>>>>>>>>         "user.name" =>   "bstansberry",
>>>>>>>>>         "java.runtime.version" =>
>>>>>>>>>           "1.6.0_26-b03-384-10M3425",
>>>>>>>>>         "sun.boot.class.path" =>
>>>>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>>>>>>>>
>>>>>>>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom"
>>>>>>>>> =>
>>>>>>>>> "__redirected.__XPathFactory",
>>>>>>>>>         "gopherProxySet" =>   "false",
>>>>>>>>>         "org.xml.sax.driver" =>
>>>>>>>>>           "__redirected.__XMLReaderFactory",
>>>>>>>>>         "jboss.server.log.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>>>>>>>>         "sun.cpu.endian" =>   "little",
>>>>>>>>>         "jboss.modules.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>>>>>         "ftp.nonProxyHosts" =>
>>>>>>>>>         "local|*.local|169.254/16|*.169.254/16",
>>>>>>>>>         "awt.toolkit" =>   "apple.awt.CToolkit",
>>>>>>>>>         "sun.boot.library.path" =>
>>>>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>>>>>>>>         "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server
>>>>>>>>>         VM",
>>>>>>>>>         "jboss.server.data.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>>>>>>>>         "sun.rmi.dgc.server.gcInterval" =>   "3600000",
>>>>>>>>>         "java.home" =>
>>>>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>>>>>>>>         "java.endorsed.dirs" =>
>>>>>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>>>>>>>>         "javax.xml.parsers.DocumentBuilderFactory" =>
>>>>>>>>> "__redirected.__DocumentBuilderFactory",
>>>>>>>>>         "jboss.modules.system.pkgs" =>
>>>>>>>>>           "org.jboss.byteman",
>>>>>>>>>         "java.net.preferIPv4Stack" =>   "true",
>>>>>>>>>         "jboss.qualified.host.name" =>   "pingguo.local",
>>>>>>>>>         "sun.management.compiler" =>   "HotSpot 64-Bit
>>>>>>>>>         Tiered
>>>>>>>>>         Compilers",
>>>>>>>>>         "java.runtime.name" =>   "Java(TM) SE Runtime
>>>>>>>>>         Environment",
>>>>>>>>>         "java.library.path" =>
>>>>>>>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>>>>>>>>         "file.separator" =>   "/",
>>>>>>>>>         "jboss.home.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>>>>>         "javax.xml.stream.XMLOutputFactory" =>
>>>>>>>>> "__redirected.__XMLOutputFactory",
>>>>>>>>>         "java.specification.vendor" =>   "Sun Microsystems
>>>>>>>>>         Inc.",
>>>>>>>>>         "java.vm.specification.version" =>   "1.0",
>>>>>>>>>         "org.jboss.resolver.warning" =>   "true",
>>>>>>>>>         "sun.java.launcher" =>   "SUN_STANDARD",
>>>>>>>>>         "user.timezone" =>   "America/Chicago",
>>>>>>>>>         "http.nonProxyHosts" =>
>>>>>>>>>         "local|*.local|169.254/16|*.169.254/16",
>>>>>>>>>         "os.name" =>   "Mac OS X",
>>>>>>>>>         "path.separator" =>   ":",
>>>>>>>>>         "java.ext.dirs" =>
>>>>>>>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>>>>>>>>         "jboss.server.temp.dir" =>
>>>>>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>>>>>         "sun.arch.data.model" =>   "64",
>>>>>>>>>         "org.osgi.vendor.framework" =>
>>>>>>>>>           "org.jboss.osgi.framework",
>>>>>>>>>         "java.specification.name" =>   "Java Platform API
>>>>>>>>>         Specification",
>>>>>>>>>         "os.version" =>   "10.6.8",
>>>>>>>>>         "mrj.version" =>   "1060.1.6.0_26-384",
>>>>>>>>>         "java.class.version" =>   "50.0",
>>>>>>>>>         "user.country" =>   "US",
>>>>>>>>>         "socksNonProxyHosts" =>
>>>>>>>>>         "local|*.local|169.254/16|*.169.254/16",
>>>>>>>>>         "java.vendor" =>   "Apple Inc.",
>>>>>>>>>         "javax.xml.stream.XMLEventFactory" =>
>>>>>>>>> "__redirected.__XMLEventFactory",
>>>>>>>>>         "java.rmi.server.hostname" =>   "127.0.0.1",
>>>>>>>>>         "java.vm.specification.name" =>   "Java Virtual
>>>>>>>>>         Machine
>>>>>>>>> Specification",
>>>>>>>>>         "java.specification.version" =>   "1.6",
>>>>>>>>>         "java.naming.factory.url.pkgs" =>
>>>>>>>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>>>>>>>>     }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>>>>>>>>> Hi.
>>>>>>>>>>
>>>>>>>>>> CLI and web console shows only properties defined in .xml
>>>>>>>>>> configuration files. System properties propagated from
>>>>>>>>>> command
>>>>>>>>>> line using -D, -P or --properties args should be visible
>>>>>>>>>> too.
>>>>>>>>>> It
>>>>>>>>>> would be useful for administrators when searching for
>>>>>>>>>> possible
>>>>>>>>>> problems, the same applies to devels. For domain I'd like to
>>>>>>>>>> see
>>>>>>>>>> sysprops on each instance and separate overview for DC.
>>>>>>>>>>
>>>>>>>>>> Previous versions of AS/EAP provided such overview in
>>>>>>>>>> /web-console/SysProperties.jsp. JVM based properties like
>>>>>>>>>> java.vendor etc. would be beneficial too.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> What do you think about it? Especially Alexey, Brian and
>>>>>>>>>> Heiko.
>>>>>>>>>> There is JIRA for it, see
>>>>>>>>>> https://issues.jboss.org/browse/AS7-2162
>>>>>>>>>>
>>>>>>>>>> Thanks for comments.
>>>>>>>>>> Rosta
>>>>>>>>>> _______________________________________________
>>>>>>>>>> jboss-as7-dev mailing list
>>>>>>>>>> [hidden email]
>>>>>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>>>>>>
>>>>>> _______________________________________________
>>>>>> jboss-as7-dev mailing list
>>>>>> [hidden email]
>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>>>
>>>>> _______________________________________________
>>>>> jboss-as7-dev mailing list
>>>>> [hidden email]
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>
>>>>
>>
>>


_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Jaikiran Pai
In reply to this post by Brian Stansberry
Is there some operation which allows me to fetch the system property
value of a specific system property (instead of listing all the system
properties)? For example, if I want to get the value of the
jboss.node.name system property?

P.S: Should all system properties be allowed to be fetched in this
manner or should there be restrictions on which properties are allowed
and which are not?

-Jaikiran
On Wednesday 19 October 2011 08:08 PM, Brian Stansberry wrote:

> The platform-mbean RuntimeMBean resource exposes all system properties:
>
> [standalone@localhost:9999 /]
> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
> {
>       "outcome" =>  "success",
>       "result" =>  {
>           "java.vm.version" =>  "20.1-b02-384",
>           "java.vendor.url" =>  "http://www.apple.com/",
>           "sun.jnu.encoding" =>  "MacRoman",
>           "java.vm.info" =>  "mixed mode",
>           "jboss.server.name" =>  "pingguo",
>           "user.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>           "java.awt.headless" =>  "true",
>           "logging.configuration" =>
> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>           "sun.cpu.isalist" =>  "",
>           "java.awt.graphicsenv" =>  "apple.awt.CGraphicsEnvironment",
>           "sun.os.patch.level" =>  "unknown",
>           "org.omg.CORBA.ORBSingletonClass" =>  "org.jacorb.orb.ORBSingleton",
>           "javax.xml.datatype.DatatypeFactory" =>
> "__redirected.__DatatypeFactory",
>           "jboss.server.base.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>           "java.io.tmpdir" =>
> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>           "user.home" =>  "/Users/bstansberry",
>           "java.awt.printerjob" =>  "apple.awt.CPrinterJob",
>           "jboss.server.deploy.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>           "java.version" =>  "1.6.0_26",
>           "file.encoding.pkg" =>  "sun.io",
>           "javax.xml.parsers.SAXParserFactory" =>
> "__redirected.__SAXParserFactory",
>           "org.jboss.boot.log.file" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>           "javax.xml.stream.XMLInputFactory" =>
> "__redirected.__XMLInputFactory",
>           "jboss.server.config.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>           "java.vendor.url.bug" =>  "http://bugreport.apple.com/",
>           "mrj.build" =>  "10M3425",
>           "file.encoding" =>  "MacRoman",
>           "line.separator" =>  "
> ",
>           "sun.java.command" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
> -mp
> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
> org.jboss.as.standalone
> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>           "sun.rmi.dgc.client.gcInterval" =>  "3600000",
>           "module.path" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>           "org.omg.CORBA.ORBClass" =>  "org.jacorb.orb.ORB",
>           "java.vm.specification.vendor" =>  "Sun Microsystems Inc.",
>           "javax.xml.transform.TransformerFactory" =>
> "__redirected.__TransformerFactory",
>
> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema" =>
> "__redirected.__SchemaFactory",
>           "java.util.logging.manager" =>  "org.jboss.logmanager.LogManager",
>           "jboss.node.name" =>  "pingguo",
>           "catalina.home" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>           "java.vm.vendor" =>  "Apple Inc.",
>           "jboss.host.name" =>  "pingguo",
>           "java.class.path" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>           "awt.nativeDoubleBuffering" =>  "true",
>           "sun.io.unicode.encoding" =>  "UnicodeLittle",
>           "os.arch" =>  "x86_64",
>           "user.language" =>  "en",
>           "user.name" =>  "bstansberry",
>           "java.runtime.version" =>  "1.6.0_26-b03-384-10M3425",
>           "sun.boot.class.path" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>
> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
> "__redirected.__XPathFactory",
>           "gopherProxySet" =>  "false",
>           "org.xml.sax.driver" =>  "__redirected.__XMLReaderFactory",
>           "jboss.server.log.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>           "sun.cpu.endian" =>  "little",
>           "jboss.modules.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>           "ftp.nonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>           "awt.toolkit" =>  "apple.awt.CToolkit",
>           "sun.boot.library.path" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>           "java.vm.name" =>  "Java HotSpot(TM) 64-Bit Server VM",
>           "jboss.server.data.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>           "sun.rmi.dgc.server.gcInterval" =>  "3600000",
>           "java.home" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>           "java.endorsed.dirs" =>
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>           "javax.xml.parsers.DocumentBuilderFactory" =>
> "__redirected.__DocumentBuilderFactory",
>           "jboss.modules.system.pkgs" =>  "org.jboss.byteman",
>           "java.net.preferIPv4Stack" =>  "true",
>           "jboss.qualified.host.name" =>  "pingguo.local",
>           "sun.management.compiler" =>  "HotSpot 64-Bit Tiered Compilers",
>           "java.runtime.name" =>  "Java(TM) SE Runtime Environment",
>           "java.library.path" =>
> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>           "file.separator" =>  "/",
>           "jboss.home.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>           "javax.xml.stream.XMLOutputFactory" =>
> "__redirected.__XMLOutputFactory",
>           "java.specification.vendor" =>  "Sun Microsystems Inc.",
>           "java.vm.specification.version" =>  "1.0",
>           "org.jboss.resolver.warning" =>  "true",
>           "sun.java.launcher" =>  "SUN_STANDARD",
>           "user.timezone" =>  "America/Chicago",
>           "http.nonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>           "os.name" =>  "Mac OS X",
>           "path.separator" =>  ":",
>           "java.ext.dirs" =>
> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>           "jboss.server.temp.dir" =>
> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>           "sun.arch.data.model" =>  "64",
>           "org.osgi.vendor.framework" =>  "org.jboss.osgi.framework",
>           "java.specification.name" =>  "Java Platform API Specification",
>           "os.version" =>  "10.6.8",
>           "mrj.version" =>  "1060.1.6.0_26-384",
>           "java.class.version" =>  "50.0",
>           "user.country" =>  "US",
>           "socksNonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>           "java.vendor" =>  "Apple Inc.",
>           "javax.xml.stream.XMLEventFactory" =>
> "__redirected.__XMLEventFactory",
>           "java.rmi.server.hostname" =>  "127.0.0.1",
>           "java.vm.specification.name" =>  "Java Virtual Machine
> Specification",
>           "java.specification.version" =>  "1.6",
>           "java.naming.factory.url.pkgs" =>
> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>       }
> }
>
> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>> Hi.
>>
>> CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.
>>
>> Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.
>>
>>
>> What do you think about it? Especially Alexey, Brian and Heiko.
>> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>>
>> Thanks for comments.
>> Rosta
>> _______________________________________________
>> jboss-as7-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>

_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

kkhan
#Add a few properties
[standalone@localhost:9999 /] /system-property=blah:add(value=test)
{"outcome" => "success"}
[standalone@localhost:9999 /] /system-property=blah2:add(value=test2)
{"outcome" => "success"}

#read all of them
[standalone@localhost:9999 /] /system-property=*:read-resource
{
    "outcome" => "success",
    "result" => [
        {
            "address" => [("system-property" => "blah2")],
            "outcome" => "success",
            "result" => {"value" => "test2"}
        },
        {
            "address" => [("system-property" => "blah")],
            "outcome" => "success",
            "result" => {"value" => "test"}
        }
    ]
}

#Read one
[standalone@localhost:9999 /] /system-property=blah:read-resource
{
    "outcome" => "success",
    "result" => {"value" => "test"}
}

On 3 Nov 2011, at 11:35, Jaikiran Pai wrote:

> Is there some operation which allows me to fetch the system property
> value of a specific system property (instead of listing all the system
> properties)? For example, if I want to get the value of the
> jboss.node.name system property?
>
> P.S: Should all system properties be allowed to be fetched in this
> manner or should there be restrictions on which properties are allowed
> and which are not?
>
> -Jaikiran
> On Wednesday 19 October 2011 08:08 PM, Brian Stansberry wrote:
>> The platform-mbean RuntimeMBean resource exposes all system properties:
>>
>> [standalone@localhost:9999 /]
>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>> {
>>      "outcome" =>  "success",
>>      "result" =>  {
>>          "java.vm.version" =>  "20.1-b02-384",
>>          "java.vendor.url" =>  "http://www.apple.com/",
>>          "sun.jnu.encoding" =>  "MacRoman",
>>          "java.vm.info" =>  "mixed mode",
>>          "jboss.server.name" =>  "pingguo",
>>          "user.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>          "java.awt.headless" =>  "true",
>>          "logging.configuration" =>
>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>          "sun.cpu.isalist" =>  "",
>>          "java.awt.graphicsenv" =>  "apple.awt.CGraphicsEnvironment",
>>          "sun.os.patch.level" =>  "unknown",
>>          "org.omg.CORBA.ORBSingletonClass" =>  "org.jacorb.orb.ORBSingleton",
>>          "javax.xml.datatype.DatatypeFactory" =>
>> "__redirected.__DatatypeFactory",
>>          "jboss.server.base.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>          "java.io.tmpdir" =>
>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>          "user.home" =>  "/Users/bstansberry",
>>          "java.awt.printerjob" =>  "apple.awt.CPrinterJob",
>>          "jboss.server.deploy.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>          "java.version" =>  "1.6.0_26",
>>          "file.encoding.pkg" =>  "sun.io",
>>          "javax.xml.parsers.SAXParserFactory" =>
>> "__redirected.__SAXParserFactory",
>>          "org.jboss.boot.log.file" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>          "javax.xml.stream.XMLInputFactory" =>
>> "__redirected.__XMLInputFactory",
>>          "jboss.server.config.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>          "java.vendor.url.bug" =>  "http://bugreport.apple.com/",
>>          "mrj.build" =>  "10M3425",
>>          "file.encoding" =>  "MacRoman",
>>          "line.separator" =>  "
>> ",
>>          "sun.java.command" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>> -mp
>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
>> org.jboss.as.standalone
>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>          "sun.rmi.dgc.client.gcInterval" =>  "3600000",
>>          "module.path" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>          "org.omg.CORBA.ORBClass" =>  "org.jacorb.orb.ORB",
>>          "java.vm.specification.vendor" =>  "Sun Microsystems Inc.",
>>          "javax.xml.transform.TransformerFactory" =>
>> "__redirected.__TransformerFactory",
>>
>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema" =>
>> "__redirected.__SchemaFactory",
>>          "java.util.logging.manager" =>  "org.jboss.logmanager.LogManager",
>>          "jboss.node.name" =>  "pingguo",
>>          "catalina.home" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>          "java.vm.vendor" =>  "Apple Inc.",
>>          "jboss.host.name" =>  "pingguo",
>>          "java.class.path" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>          "awt.nativeDoubleBuffering" =>  "true",
>>          "sun.io.unicode.encoding" =>  "UnicodeLittle",
>>          "os.arch" =>  "x86_64",
>>          "user.language" =>  "en",
>>          "user.name" =>  "bstansberry",
>>          "java.runtime.version" =>  "1.6.0_26-b03-384-10M3425",
>>          "sun.boot.class.path" =>
>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>
>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
>> "__redirected.__XPathFactory",
>>          "gopherProxySet" =>  "false",
>>          "org.xml.sax.driver" =>  "__redirected.__XMLReaderFactory",
>>          "jboss.server.log.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>          "sun.cpu.endian" =>  "little",
>>          "jboss.modules.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>          "ftp.nonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>>          "awt.toolkit" =>  "apple.awt.CToolkit",
>>          "sun.boot.library.path" =>
>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>          "java.vm.name" =>  "Java HotSpot(TM) 64-Bit Server VM",
>>          "jboss.server.data.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>          "sun.rmi.dgc.server.gcInterval" =>  "3600000",
>>          "java.home" =>
>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>          "java.endorsed.dirs" =>
>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>          "javax.xml.parsers.DocumentBuilderFactory" =>
>> "__redirected.__DocumentBuilderFactory",
>>          "jboss.modules.system.pkgs" =>  "org.jboss.byteman",
>>          "java.net.preferIPv4Stack" =>  "true",
>>          "jboss.qualified.host.name" =>  "pingguo.local",
>>          "sun.management.compiler" =>  "HotSpot 64-Bit Tiered Compilers",
>>          "java.runtime.name" =>  "Java(TM) SE Runtime Environment",
>>          "java.library.path" =>
>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>          "file.separator" =>  "/",
>>          "jboss.home.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>          "javax.xml.stream.XMLOutputFactory" =>
>> "__redirected.__XMLOutputFactory",
>>          "java.specification.vendor" =>  "Sun Microsystems Inc.",
>>          "java.vm.specification.version" =>  "1.0",
>>          "org.jboss.resolver.warning" =>  "true",
>>          "sun.java.launcher" =>  "SUN_STANDARD",
>>          "user.timezone" =>  "America/Chicago",
>>          "http.nonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>>          "os.name" =>  "Mac OS X",
>>          "path.separator" =>  ":",
>>          "java.ext.dirs" =>
>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>          "jboss.server.temp.dir" =>
>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>          "sun.arch.data.model" =>  "64",
>>          "org.osgi.vendor.framework" =>  "org.jboss.osgi.framework",
>>          "java.specification.name" =>  "Java Platform API Specification",
>>          "os.version" =>  "10.6.8",
>>          "mrj.version" =>  "1060.1.6.0_26-384",
>>          "java.class.version" =>  "50.0",
>>          "user.country" =>  "US",
>>          "socksNonProxyHosts" =>  "local|*.local|169.254/16|*.169.254/16",
>>          "java.vendor" =>  "Apple Inc.",
>>          "javax.xml.stream.XMLEventFactory" =>
>> "__redirected.__XMLEventFactory",
>>          "java.rmi.server.hostname" =>  "127.0.0.1",
>>          "java.vm.specification.name" =>  "Java Virtual Machine
>> Specification",
>>          "java.specification.version" =>  "1.6",
>>          "java.naming.factory.url.pkgs" =>
>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>      }
>> }
>>
>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>> Hi.
>>>
>>> CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.
>>>
>>> Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.
>>>
>>>
>>> What do you think about it? Especially Alexey, Brian and Heiko.
>>> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>>>
>>> Thanks for comments.
>>> Rosta
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> [hidden email]
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>
>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Jaikiran Pai
But that doesn't allow us to query for a system property that's
(internally) set by the ServerEnvironment like jboss.node.name:

[standalone@localhost:9999 /] /system-property=jboss.node.name:read-resource
{
     "outcome" => "failed",
     "failure-description" => "Operation handler failed:
java.util.NoSuchElementException: \"system-property\" =>
\"jboss.node.name\"",
     "rolled-back" => true
}


-Jaikiran
On Thursday 03 November 2011 05:15 PM, Kabir Khan wrote:

> #Add a few properties
> [standalone@localhost:9999 /] /system-property=blah:add(value=test)
> {"outcome" =>  "success"}
> [standalone@localhost:9999 /] /system-property=blah2:add(value=test2)
> {"outcome" =>  "success"}
>
> #read all of them
> [standalone@localhost:9999 /] /system-property=*:read-resource
> {
>      "outcome" =>  "success",
>      "result" =>  [
>          {
>              "address" =>  [("system-property" =>  "blah2")],
>              "outcome" =>  "success",
>              "result" =>  {"value" =>  "test2"}
>          },
>          {
>              "address" =>  [("system-property" =>  "blah")],
>              "outcome" =>  "success",
>              "result" =>  {"value" =>  "test"}
>          }
>      ]
> }
>
> #Read one
> [standalone@localhost:9999 /] /system-property=blah:read-resource
> {
>      "outcome" =>  "success",
>      "result" =>  {"value" =>  "test"}
> }
>
> On 3 Nov 2011, at 11:35, Jaikiran Pai wrote:
>
>> Is there some operation which allows me to fetch the system property
>> value of a specific system property (instead of listing all the system
>> properties)? For example, if I want to get the value of the
>> jboss.node.name system property?
>>
>> P.S: Should all system properties be allowed to be fetched in this
>> manner or should there be restrictions on which properties are allowed
>> and which are not?
>>
>> -Jaikiran
>> On Wednesday 19 October 2011 08:08 PM, Brian Stansberry wrote:
>>> The platform-mbean RuntimeMBean resource exposes all system properties:
>>>
>>> [standalone@localhost:9999 /]
>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>> {
>>>       "outcome" =>   "success",
>>>       "result" =>   {
>>>           "java.vm.version" =>   "20.1-b02-384",
>>>           "java.vendor.url" =>   "http://www.apple.com/",
>>>           "sun.jnu.encoding" =>   "MacRoman",
>>>           "java.vm.info" =>   "mixed mode",
>>>           "jboss.server.name" =>   "pingguo",
>>>           "user.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>>           "java.awt.headless" =>   "true",
>>>           "logging.configuration" =>
>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>>           "sun.cpu.isalist" =>   "",
>>>           "java.awt.graphicsenv" =>   "apple.awt.CGraphicsEnvironment",
>>>           "sun.os.patch.level" =>   "unknown",
>>>           "org.omg.CORBA.ORBSingletonClass" =>   "org.jacorb.orb.ORBSingleton",
>>>           "javax.xml.datatype.DatatypeFactory" =>
>>> "__redirected.__DatatypeFactory",
>>>           "jboss.server.base.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>>           "java.io.tmpdir" =>
>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>>           "user.home" =>   "/Users/bstansberry",
>>>           "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
>>>           "jboss.server.deploy.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>>           "java.version" =>   "1.6.0_26",
>>>           "file.encoding.pkg" =>   "sun.io",
>>>           "javax.xml.parsers.SAXParserFactory" =>
>>> "__redirected.__SAXParserFactory",
>>>           "org.jboss.boot.log.file" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>>           "javax.xml.stream.XMLInputFactory" =>
>>> "__redirected.__XMLInputFactory",
>>>           "jboss.server.config.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>>           "java.vendor.url.bug" =>   "http://bugreport.apple.com/",
>>>           "mrj.build" =>   "10M3425",
>>>           "file.encoding" =>   "MacRoman",
>>>           "line.separator" =>   "
>>> ",
>>>           "sun.java.command" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>>> -mp
>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>>> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
>>> org.jboss.as.standalone
>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>           "sun.rmi.dgc.client.gcInterval" =>   "3600000",
>>>           "module.path" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>           "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
>>>           "java.vm.specification.vendor" =>   "Sun Microsystems Inc.",
>>>           "javax.xml.transform.TransformerFactory" =>
>>> "__redirected.__TransformerFactory",
>>>
>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema" =>
>>> "__redirected.__SchemaFactory",
>>>           "java.util.logging.manager" =>   "org.jboss.logmanager.LogManager",
>>>           "jboss.node.name" =>   "pingguo",
>>>           "catalina.home" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>           "java.vm.vendor" =>   "Apple Inc.",
>>>           "jboss.host.name" =>   "pingguo",
>>>           "java.class.path" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>>           "awt.nativeDoubleBuffering" =>   "true",
>>>           "sun.io.unicode.encoding" =>   "UnicodeLittle",
>>>           "os.arch" =>   "x86_64",
>>>           "user.language" =>   "en",
>>>           "user.name" =>   "bstansberry",
>>>           "java.runtime.version" =>   "1.6.0_26-b03-384-10M3425",
>>>           "sun.boot.class.path" =>
>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>>
>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
>>> "__redirected.__XPathFactory",
>>>           "gopherProxySet" =>   "false",
>>>           "org.xml.sax.driver" =>   "__redirected.__XMLReaderFactory",
>>>           "jboss.server.log.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>>           "sun.cpu.endian" =>   "little",
>>>           "jboss.modules.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>           "ftp.nonProxyHosts" =>   "local|*.local|169.254/16|*.169.254/16",
>>>           "awt.toolkit" =>   "apple.awt.CToolkit",
>>>           "sun.boot.library.path" =>
>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>>           "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server VM",
>>>           "jboss.server.data.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>>           "sun.rmi.dgc.server.gcInterval" =>   "3600000",
>>>           "java.home" =>
>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>>           "java.endorsed.dirs" =>
>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>>           "javax.xml.parsers.DocumentBuilderFactory" =>
>>> "__redirected.__DocumentBuilderFactory",
>>>           "jboss.modules.system.pkgs" =>   "org.jboss.byteman",
>>>           "java.net.preferIPv4Stack" =>   "true",
>>>           "jboss.qualified.host.name" =>   "pingguo.local",
>>>           "sun.management.compiler" =>   "HotSpot 64-Bit Tiered Compilers",
>>>           "java.runtime.name" =>   "Java(TM) SE Runtime Environment",
>>>           "java.library.path" =>
>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>>           "file.separator" =>   "/",
>>>           "jboss.home.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>           "javax.xml.stream.XMLOutputFactory" =>
>>> "__redirected.__XMLOutputFactory",
>>>           "java.specification.vendor" =>   "Sun Microsystems Inc.",
>>>           "java.vm.specification.version" =>   "1.0",
>>>           "org.jboss.resolver.warning" =>   "true",
>>>           "sun.java.launcher" =>   "SUN_STANDARD",
>>>           "user.timezone" =>   "America/Chicago",
>>>           "http.nonProxyHosts" =>   "local|*.local|169.254/16|*.169.254/16",
>>>           "os.name" =>   "Mac OS X",
>>>           "path.separator" =>   ":",
>>>           "java.ext.dirs" =>
>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>>           "jboss.server.temp.dir" =>
>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>           "sun.arch.data.model" =>   "64",
>>>           "org.osgi.vendor.framework" =>   "org.jboss.osgi.framework",
>>>           "java.specification.name" =>   "Java Platform API Specification",
>>>           "os.version" =>   "10.6.8",
>>>           "mrj.version" =>   "1060.1.6.0_26-384",
>>>           "java.class.version" =>   "50.0",
>>>           "user.country" =>   "US",
>>>           "socksNonProxyHosts" =>   "local|*.local|169.254/16|*.169.254/16",
>>>           "java.vendor" =>   "Apple Inc.",
>>>           "javax.xml.stream.XMLEventFactory" =>
>>> "__redirected.__XMLEventFactory",
>>>           "java.rmi.server.hostname" =>   "127.0.0.1",
>>>           "java.vm.specification.name" =>   "Java Virtual Machine
>>> Specification",
>>>           "java.specification.version" =>   "1.6",
>>>           "java.naming.factory.url.pkgs" =>
>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>>       }
>>> }
>>>
>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>>> Hi.
>>>>
>>>> CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.
>>>>
>>>> Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.
>>>>
>>>>
>>>> What do you think about it? Especially Alexey, Brian and Heiko.
>>>> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>>>>
>>>> Thanks for comments.
>>>> Rosta
>>>> _______________________________________________
>>>> jboss-as7-dev mailing list
>>>> [hidden email]
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
>>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>

_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

kkhan
Ah I totally missed that you were using the platform mbean stuff :-)

That does not support that since I believe it is a direct wrapper for the platform mbean which only returns things in that format, but it should be relatively trivial to add another operation to read a particular system property from it. Something like:
>>>> /core-service=platform-mbean/type=runtime:read-system-property(name=jboss.blah)

Although that kind of clashes with the approach taken elsewhere where each property is a child resource.

On 3 Nov 2011, at 11:47, Jaikiran Pai wrote:

> But that doesn't allow us to query for a system property that's (internally) set by the ServerEnvironment like jboss.node.name:
>
> [standalone@localhost:9999 /] /system-property=jboss.node.name:read-resource
> {
>    "outcome" => "failed",
>    "failure-description" => "Operation handler failed: java.util.NoSuchElementException: \"system-property\" => \"jboss.node.name\"",
>    "rolled-back" => true
> }
>
>
> -Jaikiran
> On Thursday 03 November 2011 05:15 PM, Kabir Khan wrote:
>> #Add a few properties
>> [standalone@localhost:9999 /] /system-property=blah:add(value=test)
>> {"outcome" =>  "success"}
>> [standalone@localhost:9999 /] /system-property=blah2:add(value=test2)
>> {"outcome" =>  "success"}
>>
>> #read all of them
>> [standalone@localhost:9999 /] /system-property=*:read-resource
>> {
>>     "outcome" =>  "success",
>>     "result" =>  [
>>         {
>>             "address" =>  [("system-property" =>  "blah2")],
>>             "outcome" =>  "success",
>>             "result" =>  {"value" =>  "test2"}
>>         },
>>         {
>>             "address" =>  [("system-property" =>  "blah")],
>>             "outcome" =>  "success",
>>             "result" =>  {"value" =>  "test"}
>>         }
>>     ]
>> }
>>
>> #Read one
>> [standalone@localhost:9999 /] /system-property=blah:read-resource
>> {
>>     "outcome" =>  "success",
>>     "result" =>  {"value" =>  "test"}
>> }
>>
>> On 3 Nov 2011, at 11:35, Jaikiran Pai wrote:
>>
>>> Is there some operation which allows me to fetch the system property
>>> value of a specific system property (instead of listing all the system
>>> properties)? For example, if I want to get the value of the
>>> jboss.node.name system property?
>>>
>>> P.S: Should all system properties be allowed to be fetched in this
>>> manner or should there be restrictions on which properties are allowed
>>> and which are not?
>>>
>>> -Jaikiran
>>> On Wednesday 19 October 2011 08:08 PM, Brian Stansberry wrote:
>>>> The platform-mbean RuntimeMBean resource exposes all system properties:
>>>>
>>>> [standalone@localhost:9999 /]
>>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>> {
>>>>      "outcome" =>   "success",
>>>>      "result" =>   {
>>>>          "java.vm.version" =>   "20.1-b02-384",
>>>>          "java.vendor.url" =>   "http://www.apple.com/",
>>>>          "sun.jnu.encoding" =>   "MacRoman",
>>>>          "java.vm.info" =>   "mixed mode",
>>>>          "jboss.server.name" =>   "pingguo",
>>>>          "user.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>>>          "java.awt.headless" =>   "true",
>>>>          "logging.configuration" =>
>>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>>>          "sun.cpu.isalist" =>   "",
>>>>          "java.awt.graphicsenv" =>   "apple.awt.CGraphicsEnvironment",
>>>>          "sun.os.patch.level" =>   "unknown",
>>>>          "org.omg.CORBA.ORBSingletonClass" =>   "org.jacorb.orb.ORBSingleton",
>>>>          "javax.xml.datatype.DatatypeFactory" =>
>>>> "__redirected.__DatatypeFactory",
>>>>          "jboss.server.base.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>>>          "java.io.tmpdir" =>
>>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>>>          "user.home" =>   "/Users/bstansberry",
>>>>          "java.awt.printerjob" =>   "apple.awt.CPrinterJob",
>>>>          "jboss.server.deploy.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>>>          "java.version" =>   "1.6.0_26",
>>>>          "file.encoding.pkg" =>   "sun.io",
>>>>          "javax.xml.parsers.SAXParserFactory" =>
>>>> "__redirected.__SAXParserFactory",
>>>>          "org.jboss.boot.log.file" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>>>          "javax.xml.stream.XMLInputFactory" =>
>>>> "__redirected.__XMLInputFactory",
>>>>          "jboss.server.config.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>>>          "java.vendor.url.bug" =>   "http://bugreport.apple.com/",
>>>>          "mrj.build" =>   "10M3425",
>>>>          "file.encoding" =>   "MacRoman",
>>>>          "line.separator" =>   "
>>>> ",
>>>>          "sun.java.command" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>>>> -mp
>>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>>>> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
>>>> org.jboss.as.standalone
>>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>          "sun.rmi.dgc.client.gcInterval" =>   "3600000",
>>>>          "module.path" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>          "org.omg.CORBA.ORBClass" =>   "org.jacorb.orb.ORB",
>>>>          "java.vm.specification.vendor" =>   "Sun Microsystems Inc.",
>>>>          "javax.xml.transform.TransformerFactory" =>
>>>> "__redirected.__TransformerFactory",
>>>>
>>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema" =>
>>>> "__redirected.__SchemaFactory",
>>>>          "java.util.logging.manager" =>   "org.jboss.logmanager.LogManager",
>>>>          "jboss.node.name" =>   "pingguo",
>>>>          "catalina.home" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>          "java.vm.vendor" =>   "Apple Inc.",
>>>>          "jboss.host.name" =>   "pingguo",
>>>>          "java.class.path" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>>>          "awt.nativeDoubleBuffering" =>   "true",
>>>>          "sun.io.unicode.encoding" =>   "UnicodeLittle",
>>>>          "os.arch" =>   "x86_64",
>>>>          "user.language" =>   "en",
>>>>          "user.name" =>   "bstansberry",
>>>>          "java.runtime.version" =>   "1.6.0_26-b03-384-10M3425",
>>>>          "sun.boot.class.path" =>
>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>>>
>>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
>>>> "__redirected.__XPathFactory",
>>>>          "gopherProxySet" =>   "false",
>>>>          "org.xml.sax.driver" =>   "__redirected.__XMLReaderFactory",
>>>>          "jboss.server.log.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>>>          "sun.cpu.endian" =>   "little",
>>>>          "jboss.modules.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>          "ftp.nonProxyHosts" =>   "local|*.local|169.254/16|*.169.254/16",
>>>>          "awt.toolkit" =>   "apple.awt.CToolkit",
>>>>          "sun.boot.library.path" =>
>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>>>          "java.vm.name" =>   "Java HotSpot(TM) 64-Bit Server VM",
>>>>          "jboss.server.data.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>>>          "sun.rmi.dgc.server.gcInterval" =>   "3600000",
>>>>          "java.home" =>
>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>>>          "java.endorsed.dirs" =>
>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>>>          "javax.xml.parsers.DocumentBuilderFactory" =>
>>>> "__redirected.__DocumentBuilderFactory",
>>>>          "jboss.modules.system.pkgs" =>   "org.jboss.byteman",
>>>>          "java.net.preferIPv4Stack" =>   "true",
>>>>          "jboss.qualified.host.name" =>   "pingguo.local",
>>>>          "sun.management.compiler" =>   "HotSpot 64-Bit Tiered Compilers",
>>>>          "java.runtime.name" =>   "Java(TM) SE Runtime Environment",
>>>>          "java.library.path" =>
>>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>>>          "file.separator" =>   "/",
>>>>          "jboss.home.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>          "javax.xml.stream.XMLOutputFactory" =>
>>>> "__redirected.__XMLOutputFactory",
>>>>          "java.specification.vendor" =>   "Sun Microsystems Inc.",
>>>>          "java.vm.specification.version" =>   "1.0",
>>>>          "org.jboss.resolver.warning" =>   "true",
>>>>          "sun.java.launcher" =>   "SUN_STANDARD",
>>>>          "user.timezone" =>   "America/Chicago",
>>>>          "http.nonProxyHosts" =>   "local|*.local|169.254/16|*.169.254/16",
>>>>          "os.name" =>   "Mac OS X",
>>>>          "path.separator" =>   ":",
>>>>          "java.ext.dirs" =>
>>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>>>          "jboss.server.temp.dir" =>
>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>          "sun.arch.data.model" =>   "64",
>>>>          "org.osgi.vendor.framework" =>   "org.jboss.osgi.framework",
>>>>          "java.specification.name" =>   "Java Platform API Specification",
>>>>          "os.version" =>   "10.6.8",
>>>>          "mrj.version" =>   "1060.1.6.0_26-384",
>>>>          "java.class.version" =>   "50.0",
>>>>          "user.country" =>   "US",
>>>>          "socksNonProxyHosts" =>   "local|*.local|169.254/16|*.169.254/16",
>>>>          "java.vendor" =>   "Apple Inc.",
>>>>          "javax.xml.stream.XMLEventFactory" =>
>>>> "__redirected.__XMLEventFactory",
>>>>          "java.rmi.server.hostname" =>   "127.0.0.1",
>>>>          "java.vm.specification.name" =>   "Java Virtual Machine
>>>> Specification",
>>>>          "java.specification.version" =>   "1.6",
>>>>          "java.naming.factory.url.pkgs" =>
>>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>>>      }
>>>> }
>>>>
>>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>>>> Hi.
>>>>>
>>>>> CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.
>>>>>
>>>>> Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.
>>>>>
>>>>>
>>>>> What do you think about it? Especially Alexey, Brian and Heiko.
>>>>> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>>>>>
>>>>> Thanks for comments.
>>>>> Rosta
>>>>> _______________________________________________
>>>>> jboss-as7-dev mailing list
>>>>> [hidden email]
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> [hidden email]
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>


_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: System properties propagated from command line using -D, -P or --properties aren't visible in CLI and console

Brian Stansberry
I'm not worried about trying to make this look like a resource. The
intent of these platform-mbean resources is to expose the JDK API that
people are familiar with.

On 11/3/11 7:02 AM, Kabir Khan wrote:

> Ah I totally missed that you were using the platform mbean stuff :-)
>
> That does not support that since I believe it is a direct wrapper for the platform mbean which only returns things in that format, but it should be relatively trivial to add another operation to read a particular system property from it. Something like:
>>>>> /core-service=platform-mbean/type=runtime:read-system-property(name=jboss.blah)
>
> Although that kind of clashes with the approach taken elsewhere where each property is a child resource.
>
> On 3 Nov 2011, at 11:47, Jaikiran Pai wrote:
>
>> But that doesn't allow us to query for a system property that's (internally) set by the ServerEnvironment like jboss.node.name:
>>
>> [standalone@localhost:9999 /] /system-property=jboss.node.name:read-resource
>> {
>>     "outcome" =>  "failed",
>>     "failure-description" =>  "Operation handler failed: java.util.NoSuchElementException: \"system-property\" =>  \"jboss.node.name\"",
>>     "rolled-back" =>  true
>> }
>>
>>
>> -Jaikiran
>> On Thursday 03 November 2011 05:15 PM, Kabir Khan wrote:
>>> #Add a few properties
>>> [standalone@localhost:9999 /] /system-property=blah:add(value=test)
>>> {"outcome" =>   "success"}
>>> [standalone@localhost:9999 /] /system-property=blah2:add(value=test2)
>>> {"outcome" =>   "success"}
>>>
>>> #read all of them
>>> [standalone@localhost:9999 /] /system-property=*:read-resource
>>> {
>>>      "outcome" =>   "success",
>>>      "result" =>   [
>>>          {
>>>              "address" =>   [("system-property" =>   "blah2")],
>>>              "outcome" =>   "success",
>>>              "result" =>   {"value" =>   "test2"}
>>>          },
>>>          {
>>>              "address" =>   [("system-property" =>   "blah")],
>>>              "outcome" =>   "success",
>>>              "result" =>   {"value" =>   "test"}
>>>          }
>>>      ]
>>> }
>>>
>>> #Read one
>>> [standalone@localhost:9999 /] /system-property=blah:read-resource
>>> {
>>>      "outcome" =>   "success",
>>>      "result" =>   {"value" =>   "test"}
>>> }
>>>
>>> On 3 Nov 2011, at 11:35, Jaikiran Pai wrote:
>>>
>>>> Is there some operation which allows me to fetch the system property
>>>> value of a specific system property (instead of listing all the system
>>>> properties)? For example, if I want to get the value of the
>>>> jboss.node.name system property?
>>>>
>>>> P.S: Should all system properties be allowed to be fetched in this
>>>> manner or should there be restrictions on which properties are allowed
>>>> and which are not?
>>>>
>>>> -Jaikiran
>>>> On Wednesday 19 October 2011 08:08 PM, Brian Stansberry wrote:
>>>>> The platform-mbean RuntimeMBean resource exposes all system properties:
>>>>>
>>>>> [standalone@localhost:9999 /]
>>>>> /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
>>>>> {
>>>>>       "outcome" =>    "success",
>>>>>       "result" =>    {
>>>>>           "java.vm.version" =>    "20.1-b02-384",
>>>>>           "java.vendor.url" =>    "http://www.apple.com/",
>>>>>           "sun.jnu.encoding" =>    "MacRoman",
>>>>>           "java.vm.info" =>    "mixed mode",
>>>>>           "jboss.server.name" =>    "pingguo",
>>>>>           "user.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin",
>>>>>           "java.awt.headless" =>    "true",
>>>>>           "logging.configuration" =>
>>>>> "file:/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration/logging.properties",
>>>>>           "sun.cpu.isalist" =>    "",
>>>>>           "java.awt.graphicsenv" =>    "apple.awt.CGraphicsEnvironment",
>>>>>           "sun.os.patch.level" =>    "unknown",
>>>>>           "org.omg.CORBA.ORBSingletonClass" =>    "org.jacorb.orb.ORBSingleton",
>>>>>           "javax.xml.datatype.DatatypeFactory" =>
>>>>> "__redirected.__DatatypeFactory",
>>>>>           "jboss.server.base.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone",
>>>>>           "java.io.tmpdir" =>
>>>>> "/var/folders/IO/IOJd+-FEG0uH-mrEv+tGRk+++TI/-Tmp-/",
>>>>>           "user.home" =>    "/Users/bstansberry",
>>>>>           "java.awt.printerjob" =>    "apple.awt.CPrinterJob",
>>>>>           "jboss.server.deploy.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data/content",
>>>>>           "java.version" =>    "1.6.0_26",
>>>>>           "file.encoding.pkg" =>    "sun.io",
>>>>>           "javax.xml.parsers.SAXParserFactory" =>
>>>>> "__redirected.__SAXParserFactory",
>>>>>           "org.jboss.boot.log.file" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log/boot.log",
>>>>>           "javax.xml.stream.XMLInputFactory" =>
>>>>> "__redirected.__XMLInputFactory",
>>>>>           "jboss.server.config.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/configuration",
>>>>>           "java.vendor.url.bug" =>    "http://bugreport.apple.com/",
>>>>>           "mrj.build" =>    "10M3425",
>>>>>           "file.encoding" =>    "MacRoman",
>>>>>           "line.separator" =>    "
>>>>> ",
>>>>>           "sun.java.command" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar
>>>>> -mp
>>>>> /Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules
>>>>> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
>>>>> org.jboss.as.standalone
>>>>> -Djboss.home.dir=/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>           "sun.rmi.dgc.client.gcInterval" =>    "3600000",
>>>>>           "module.path" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>           "org.omg.CORBA.ORBClass" =>    "org.jacorb.orb.ORB",
>>>>>           "java.vm.specification.vendor" =>    "Sun Microsystems Inc.",
>>>>>           "javax.xml.transform.TransformerFactory" =>
>>>>> "__redirected.__TransformerFactory",
>>>>>
>>>>> "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema" =>
>>>>> "__redirected.__SchemaFactory",
>>>>>           "java.util.logging.manager" =>    "org.jboss.logmanager.LogManager",
>>>>>           "jboss.node.name" =>    "pingguo",
>>>>>           "catalina.home" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>           "java.vm.vendor" =>    "Apple Inc.",
>>>>>           "jboss.host.name" =>    "pingguo",
>>>>>           "java.class.path" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/jboss-modules.jar",
>>>>>           "awt.nativeDoubleBuffering" =>    "true",
>>>>>           "sun.io.unicode.encoding" =>    "UnicodeLittle",
>>>>>           "os.arch" =>    "x86_64",
>>>>>           "user.language" =>    "en",
>>>>>           "user.name" =>    "bstansberry",
>>>>>           "java.runtime.version" =>    "1.6.0_26-b03-384-10M3425",
>>>>>           "sun.boot.class.path" =>
>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar",
>>>>>
>>>>> "javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom" =>
>>>>> "__redirected.__XPathFactory",
>>>>>           "gopherProxySet" =>    "false",
>>>>>           "org.xml.sax.driver" =>    "__redirected.__XMLReaderFactory",
>>>>>           "jboss.server.log.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/log",
>>>>>           "sun.cpu.endian" =>    "little",
>>>>>           "jboss.modules.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules",
>>>>>           "ftp.nonProxyHosts" =>    "local|*.local|169.254/16|*.169.254/16",
>>>>>           "awt.toolkit" =>    "apple.awt.CToolkit",
>>>>>           "sun.boot.library.path" =>
>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries",
>>>>>           "java.vm.name" =>    "Java HotSpot(TM) 64-Bit Server VM",
>>>>>           "jboss.server.data.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/data",
>>>>>           "sun.rmi.dgc.server.gcInterval" =>    "3600000",
>>>>>           "java.home" =>
>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home",
>>>>>           "java.endorsed.dirs" =>
>>>>> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed",
>>>>>           "javax.xml.parsers.DocumentBuilderFactory" =>
>>>>> "__redirected.__DocumentBuilderFactory",
>>>>>           "jboss.modules.system.pkgs" =>    "org.jboss.byteman",
>>>>>           "java.net.preferIPv4Stack" =>    "true",
>>>>>           "jboss.qualified.host.name" =>    "pingguo.local",
>>>>>           "sun.management.compiler" =>    "HotSpot 64-Bit Tiered Compilers",
>>>>>           "java.runtime.name" =>    "Java(TM) SE Runtime Environment",
>>>>>           "java.library.path" =>
>>>>> ".:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java",
>>>>>           "file.separator" =>    "/",
>>>>>           "jboss.home.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT",
>>>>>           "javax.xml.stream.XMLOutputFactory" =>
>>>>> "__redirected.__XMLOutputFactory",
>>>>>           "java.specification.vendor" =>    "Sun Microsystems Inc.",
>>>>>           "java.vm.specification.version" =>    "1.0",
>>>>>           "org.jboss.resolver.warning" =>    "true",
>>>>>           "sun.java.launcher" =>    "SUN_STANDARD",
>>>>>           "user.timezone" =>    "America/Chicago",
>>>>>           "http.nonProxyHosts" =>    "local|*.local|169.254/16|*.169.254/16",
>>>>>           "os.name" =>    "Mac OS X",
>>>>>           "path.separator" =>    ":",
>>>>>           "java.ext.dirs" =>
>>>>> "/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext",
>>>>>           "jboss.server.temp.dir" =>
>>>>> "/Users/bstansberry/dev/jbossas/bootstrap/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/tmp",
>>>>>           "sun.arch.data.model" =>    "64",
>>>>>           "org.osgi.vendor.framework" =>    "org.jboss.osgi.framework",
>>>>>           "java.specification.name" =>    "Java Platform API Specification",
>>>>>           "os.version" =>    "10.6.8",
>>>>>           "mrj.version" =>    "1060.1.6.0_26-384",
>>>>>           "java.class.version" =>    "50.0",
>>>>>           "user.country" =>    "US",
>>>>>           "socksNonProxyHosts" =>    "local|*.local|169.254/16|*.169.254/16",
>>>>>           "java.vendor" =>    "Apple Inc.",
>>>>>           "javax.xml.stream.XMLEventFactory" =>
>>>>> "__redirected.__XMLEventFactory",
>>>>>           "java.rmi.server.hostname" =>    "127.0.0.1",
>>>>>           "java.vm.specification.name" =>    "Java Virtual Machine
>>>>> Specification",
>>>>>           "java.specification.version" =>    "1.6",
>>>>>           "java.naming.factory.url.pkgs" =>
>>>>> "org.jboss.as.naming.interfaces:org.jboss.ejb.client.naming"
>>>>>       }
>>>>> }
>>>>>
>>>>> On 10/19/11 8:01 AM, Rostislav Svoboda wrote:
>>>>>> Hi.
>>>>>>
>>>>>> CLI and web console shows only properties defined in .xml configuration files. System properties propagated from command line using -D, -P or --properties args should be visible too. It would be useful for administrators when searching for possible problems, the same applies to devels. For domain I'd like to see sysprops on each instance and separate overview for DC.
>>>>>>
>>>>>> Previous versions of AS/EAP provided such overview in /web-console/SysProperties.jsp. JVM based properties like java.vendor etc. would be beneficial too.
>>>>>>
>>>>>>
>>>>>> What do you think about it? Especially Alexey, Brian and Heiko.
>>>>>> There is JIRA for it, see https://issues.jboss.org/browse/AS7-2162
>>>>>>
>>>>>> Thanks for comments.
>>>>>> Rosta
>>>>>> _______________________________________________
>>>>>> jboss-as7-dev mailing list
>>>>>> [hidden email]
>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> jboss-as7-dev mailing list
>>>> [hidden email]
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
>>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev