Hello
OK, fixed by
https://jira.codehaus.org/browse/CARGO-879You can try the latest SNAPSHOT via
http://snapshots.repository.codehaus.org/org/codehaus/cargo/Cheers
S. Ali Tokmen
http://ali.tokmen.com/GSM (fr): +33 66 43 00 555 [Orange]
GSM (tr): +90 555 266 52 73 [Avea]
My AIM, ICQ, MSN Messenger and Yahoo IM
contact details are on
http://contact.ali.tokmen.comOn 18.12.2010 10:25, Carlo Camerino wrote:
> um, sorry i don't actually.
>
> i just noticed this behavior as i have been monitoring the heap using jvisualvm
>
> i noticed that an asasdminmain process usually starts first before the
> actual glassfish process itself.
>
> i was wondering where it is getting its initial heap values?
>
> On Sat, Dec 18, 2010 at 5:22 PM, S. Ali Tokmen <
nospam@...> wrote:
>> Hello
>>
>> Aahh... So the asadmin doesn't pass the Xmx arguments when starting GF.
>>
>> Do you know how it is passed when starting GF "usually"?
>>
>> Cheers
>>
>> S. Ali Tokmen
>>
http://ali.tokmen.com/>>
>> GSM (fr): +33 66 43 00 555 [Orange]
>> GSM (tr): +90 555 266 52 73 [Avea]
>>
>> My AIM, ICQ, MSN Messenger and Yahoo IM
>> contact details are on
http://contact.ali.tokmen.com>>
>>
>> On 18.12.2010 10:11, Carlo Camerino wrote:
>>> here is my source code:
>>>
>>> public class GlassfishInstance {
>>> private static GlassFish3xInstalledLocalContainer localContainer;
>>> private static final Logger LOG =
>>> LoggerFactory.getLogger(GlassfishInstance.class);
>>>
>>> public static void initialize() {
>>> GlassFishStandaloneLocalConfiguration contain = new
>>> GlassFishStandaloneLocalConfiguration("c:/carlo-glassfish");
>>> contain.setProperty(GeneralPropertySet.JVMARGS, "-Xms256m -Xmx1024m
>>> -XX:PermSize=256m -XX:MaxPermSize=384m");
>>> localContainer = new GlassFish3xInstalledLocalContainer(contain);
>>> localContainer.setHome("c:/utils/glassfishv3/");
>>> //localContainer.setSystemProperties(props);
>>> }
>>>
>>> public static void startGlassfish() {
>>> LOG.info("Starting glassfish.");
>>> Map props = new HashMap();
>>> props.put(GeneralPropertySet.JVMARGS, "-Xms256m -Xmx1024m
>>> -XX:PermSize=256m -XX:MaxPermSize=384m");
>>> localContainer.setSystemProperties(props);
>>> localContainer.start();
>>>
>>> LOG.info("Done starting Glassfish");
>>> }
>>>
>>> public static void stopGlassfish() {
>>> LOG.info("About to stop glassfish.");
>>> localContainer.stop();
>>> LOG.info("done stopping glassfish.");
>>> }
>>> }
>>>
>>> i noticed that the heap size that i set is being used in the
>>> asadminmain command that is starting the glassfish. however, the
>>> domain that is being sarted still has the same heap size as a default
>>> installation.
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>
http://xircles.codehaus.org/manage_email>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
http://xircles.codehaus.org/manage_email>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email