Hi Stale,

That's sounds good.

Hi Jerr,

we talked about it in last night.. my suggestion was change the command to work like:
--minHeapSize xxxmb --maxHeapSize xxxmb --permSize xxxmb

But I think that Stale solution is a better way. ;)
This case, I think that we don't have a issue for fix in aesh. 

On Wed, Jan 28, 2015 at 8:11 AM, Ståle W Pedersen <spederse@redhat.com> wrote:
- in the last mail when i write:
"jvmargs is a separate option and X is a separate command" i meant:
"jvmargs is a separate option and X is a separate option".

On 28.01.15 10:53, Ståle W Pedersen wrote:
>hi, i didnt respond to this thread since i didnt quite understand what
>the problem was, but daniel explained it to me so i think i have a
>better understanding now.
>
>so what you want is to have an option that have other options "under"
>it. in this example "jvmargs" would support/enable -Xms, -Xmx, etc...
>
>this is not something that æsh supports and from my knowledge its also
>not common practice. there are no standards in the shell world (afaik),
>so æsh tries to work as close to the "norm" as possible. atm æsh have
>three different option types + arguments.
>- Option, most common with a specific name that can have a value (not
>  required)
>- OptionList, similar to Option, but it can have multiple values (by
>  default separated with ','). eg: --foo 1,2,3,4
>- OptionGroup, is similar to OptionList, but support specific name for
>  each attribute. eg if you have an optiongroup named 'X' you could do:
>  -Xms=512m -Xmx=1024m -XX:MaxPermSize=256m
>
>to support what you're doing in your example you could for instance make
>an OptionGroup command named 'X' be dependant on the 'jvmargs' option.
>this means that the X option will not be "visible" for the user unless
>the --jvmargs option have been set. this would enable you to do
>something like:
>--jvmargs -Xms=512m -Xmx=1024m -XX:MaxPermSize=256m
>
>but have in mind that jvmargs is a separate option and X is a separate
>command.
>
>i hope this would work for you and let me/daniel know if you have other
>questions/suggestions regarding æsh.
>
>regards, ståle
>
>On 26.01.15 21:48, Jérémie wrote:
>>Hi all,
>>
>>The problem is on the Aesh parser not in as7 ,  wildfly or tomee.
>>
>>My little workaround is to add  space character in the command line like
>>that :
>>as-setup --server wildfly8 --jvmargs " -Xms512m -Xmx1024m
>>-XX:MaxPermSize=256m"
>>
>>Hope to provide a patch on aesh  forge integration, but this is not so easy.
>>
>>Regards,
>>Jeremie.
>>
>>2014-12-17 11:53 GMT-05:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>:
>>
>>> Antonio,
>>>
>>> Does the same PermGen error occur if you build the app, start AS7 manually
>>> from the native operating system, and deploy the application?
>>>
>>> ~Lincoln
>>>
>>> On Wed, Dec 17, 2014 at 5:52 AM, Daniel Cunha <danielsoro@gmail.com>
>>> wrote:
>>>>
>>>> Jerr,
>>>>
>>>> try in 2.13.0.Final and 2.13.1-SNAPSHOT.
>>>>
>>>> On Wed, Dec 17, 2014 at 2:38 AM, Jérémie <jer@printstacktrace.org> wrote:
>>>>>
>>>>> Hi Daniel and Antonio,
>>>>>
>>>>> After some debugging it seems that the UIInputMany<String> no longer
>>>>> working in version 2.12.13 in my case.
>>>>>
>>>>> https://github.com/jerr/jboss-as-addon/blob/forge2/common/src/main/java/org/jboss/forge/addon/as/jboss/common/ui/JBossConfigurationWizard.java#L80
>>>>>
>>>>> I will investigate on this.
>>>>> I'll let you know.
>>>>>
>>>>> Regards,
>>>>> Jérémie.
>>>>>
>>>>>
>>>>>
>>>>> 2014-12-16 17:09 GMT-05:00 Daniel Cunha <danielsoro@gmail.com>:
>>>>>
>>>>>> +1
>>>>>>
>>>>>> On Tue, Nov 11, 2014 at 12:34 PM, Antonio Goncalves <
>>>>>> antonio.goncalves@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> The other day on #IRC I mentioned having PermGen issues with the
>>>>>>> JBossAS add-on. It's confirmed. During the HoL there are plenty of people
>>>>>>> who had the same issue : install the JBoss add-on, start wildfly 8.1, build
>>>>>>> the app, deploy it, go to the index.html page (fine), click on an Entity,
>>>>>>> bang ! PermGen
>>>>>>>
>>>>>>> Alexis Hassler investigated it during the lab (see below). Basically,
>>>>>>> no matter what PermGen you set, it's not taken into account.
>>>>>>>
>>>>>>> Again, I really think this add-on should be looked after carefully,
>>>>>>> it's very unstable.
>>>>>>>
>>>>>>> Antonio
>>>>>>>
>>>>>>> ---------- Forwarded message ----------
>>>>>>> From: Alexis Hassler <alexis.hassler@gmail.com>
>>>>>>> Date: Tue, Nov 11, 2014 at 11:37 AM
>>>>>>> Subject: Re: Forge + Wildfly VM arguments
>>>>>>> To: Antonio Goncalves <antonio.goncalves@gmail.com>
>>>>>>>
>>>>>>>
>>>>>>> Pas de changement avec
>>>>>>> as-setup --server wildfly8 --installDir /opt/java/wildfly-8.1.0.Final/
>>>>>>> --jvmargs "-Xmx512m -XX:MaxPermSize=256m"
>>>>>>>
>>>>>>>
>>>>>>> Alexis
>>>>>>> http://www.jtips.info, http://blog.alexis-hassler.com,
>>>>>>> http://www.lyonjug.org
>>>>>>>
>>>>>>> 2014-11-11 11:22 GMT+01:00 Alexis Hassler <alexis.hassler@gmail.com>:
>>>>>>>
>>>>>>>> Avec un wf externe, démarré avec as-start.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ​
>>>>>>>> Pour info, en démarrant un wf 8.1 en ligne de commande "normale" :
>>>>>>>> -D[Standalone] -Xms64m -Xmx512m -XX:MaxPermSize=256m
>>>>>>>> -Djava.net.preferIPv4Stack=true
>>>>>>>>  -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
>>>>>>>> -Dorg.jboss.boot.log.file=/opt/java/wildfly-8.1.0.Final/standalone/log/server.log
>>>>>>>> -Dlogging.configuration=file:/opt/java/wildfly-8.1.0.Final/standalone/configuration/logging.properties
>>>>>>>>
>>>>>>>> Alexis
>>>>>>>> http://www.jtips.info, http://blog.alexis-hassler.com,
>>>>>>>> http://www.lyonjug.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> forge-dev mailing list
>>>>>>> forge-dev@lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Daniel Cunha (soro)
>>>>>>
>>>>>> _______________________________________________
>>>>>> forge-dev mailing list
>>>>>> forge-dev@lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> forge-dev mailing list
>>>>> forge-dev@lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>
>>>>
>>>>
>>>> --
>>>> Daniel Cunha (soro)
>>>>
>>>> _______________________________________________
>>>> forge-dev mailing list
>>>> forge-dev@lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>
>>>
>>>
>>> --
>>> Lincoln Baxter, III
>>> http://ocpsoft.org
>>> "Simpler is better."
>>>
>>> _______________________________________________
>>> forge-dev mailing list
>>> forge-dev@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>
>
>>_______________________________________________
>>forge-dev mailing list
>>forge-dev@lists.jboss.org
>>https://lists.jboss.org/mailman/listinfo/forge-dev
>
>_______________________________________________
>forge-dev mailing list
>forge-dev@lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/forge-dev
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Daniel Cunha (soro)