[jboss-as7-dev] Changed arguments…can we do better ? :P
Max Rydahl Andersen
max.andersen at redhat.com
Wed Feb 1 07:18:40 EST 2012
I meant JBOSS_MODULES_SYSTEM_PKGS environment variable - but yes, not pretty.
/max
On Feb 1, 2012, at 12:51, William Louth (JINSPIRED.COM) wrote:
> Hi Max,
>
> Yes the existence of this system property already in the script is a
> pain for integration with our metering engine as well as other code
> profiling solutions.
>
> Kind regards,
>
> William
>
> On 01/02/2012 12:38, Max Rydahl Andersen wrote:
>> Hey,
>>
>> Going over the AS7.1 server and how startup arguments has changed we noticed besides the -logmodule not being needed
>> the following two was added:
>>
>> -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
>>
>> Does the -Djava.awt.headless=true have any function besides maybe give a few milliseconds faster startup ?
>> (asking since this prevents you to launch (for debugging purposes) hsqldb admin and other swing based "inspection" tools)
>>
>> And last I asked about adding jboss.modules.system.pkgs= arguments to better support common tools that uses java agents such as JProfiler, yourkit, byteman and others
>> it was said we shouldn't add these specific ones since then we were choosing one over the other ;)
>>
>> Any reason why byte man gets added and not the others ?
>>
>> And couldn't we solve this in a better way by having jboss modules look for a property file to pick these up instead of command line arguments ?
>> i.e. anything found in<cwd>/jboss-modules.properties is added to system properties before it starts loading its actual module + treat jboss.modules.arguments as additional arguments ?
>>
>> Can't remove the need for -Djava.awt.headless but would remove need for many of the other custom settings.
>>
>> I can submit a patch that does this if interested.
>>
>> /max
>> http://about.me/maxandersen
>>
>>
>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
/max
http://about.me/maxandersen
More information about the jboss-as7-dev
mailing list