6 Replies Latest reply on Feb 5, 2015 4:35 PM by danielcunha

    Re: [forge-dev] PermGen with JBoss add-on

    jer

      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  -


      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

       

       

        • 1. Re: [forge-dev] PermGen with JBoss add-on
          danielcunha

          Hi Jerr,

           

          Do you have some log about it?

           

           

          On Tue, Jan 27, 2015 at 12:48 AM, Jérémie <jer@printstacktrace.org> 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  -


          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

           

           

           

           

          --

          Daniel Cunha (soro)

           

          • 2. Re: [forge-dev] PermGen with JBoss add-on

            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  -


            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

             

             

            • 3. Re: [forge-dev] PermGen with JBoss add-on

              - 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  -


              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

               

               

              • 4. Re: [forge-dev] PermGen with JBoss add-on
                danielcunha

                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)

                 

                • 5. Re: [forge-dev] PermGen with JBoss add-on
                  lagarde.jeremie

                  Hi Daniel,

                   

                  I made a prototype with a test to explain the problem of parameters beginning with a "-".

                  https://github.com/aeshell/aesh/pull/147

                   

                  Tell me if it suits or if I need to change something.

                  Do you need more explanation?

                   

                  All your comments are welcome.

                   

                  Regards,

                  Jeremie.

                   

                   

                  Le mardi 27 janvier 2015 07:41:26 UTC-5, Daniel Cunha a écrit :

                  Hi Jerr,

                   

                   

                  Do you have some log about it? 

                   

                   

                   

                   

                  On Tue, Jan 27, 2015 at 12:48 AM, Jérémie <j...@printstacktrace.org> 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 <lincol...@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 <danie...@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 <j...@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 <danie...@gmail.com>:

                   

                   

                  +1

                   

                   

                   

                   

                  On Tue, Nov 11, 2014 at 12:34 PM, Antonio Goncalves <antonio....@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....@gmail.com>

                  Date: Tue, Nov 11, 2014 at 11:37 AM

                  Subject: Re: Forge + Wildfly VM arguments

                  To: Antonio Goncalves <antonio....@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.infohttp://blog.alexis-hassler.comhttp://www.lyonjug.org

                   

                   

                   

                   

                   

                  2014-11-11 11:22 GMT+01:00 Alexis Hassler <alexis....@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.infohttp://blog.alexis-hassler.comhttp://www.lyonjug.org

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                   

                  _______________________________________________

                   

                  forge-dev mailing list

                   

                  forg...@lists.jboss.org

                   

                  https://lists.jboss.org/mailman/listinfo/forge-dev

                   

                   

                   

                  --

                   

                   

                   

                   

                   

                  Daniel Cunha (soro)

                   

                   

                  _______________________________________________

                   

                  forge-dev mailing list

                   

                  forg...@lists.jboss.org

                   

                  https://lists.jboss.org/mailman/listinfo/forge-dev

                   

                   

                  _______________________________________________

                   

                  forge-dev mailing list

                   

                  forg...@lists.jboss.org

                   

                  https://lists.jboss.org/mailman/listinfo/forge-dev

                   

                   

                   

                  --

                   

                   

                   

                   

                   

                  Daniel Cunha (soro)

                   

                   

                  _______________________________________________

                   

                  forge-dev mailing list

                   

                  forg...@lists.jboss.org

                   

                  https://lists.jboss.org/mailman/listinfo/forge-dev

                   

                   

                   

                  --

                   

                  Lincoln Baxter, III

                  http://ocpsoft.org

                  "Simpler is better."

                   

                   

                  _______________________________________________

                   

                  forge-dev mailing list

                   

                  forg...@lists.jboss.org

                   

                  https://lists.jboss.org/mailman/listinfo/forge-dev

                   

                   

                   

                  _______________________________________________

                   

                  forge-dev mailing list

                   

                  forg...@lists.jboss.org

                   

                  https://lists.jboss.org/mailman/listinfo/forge-dev

                   

                   

                   

                   

                  --

                   

                   

                   

                   

                   

                  Daniel Cunha (soro)

                   

                  • 6. Re: [forge-dev] [aesh-dev] Re:  PermGen with JBoss add-on
                    danielcunha

                    Hi Jerr,

                     

                    it seem good.

                    I like this: test  --foo  \"-X1 X2 -X3\" (A scape with "" sounds good for

                    me)

                     

                    For other case I prefer the old strategy, the OptionGroup as Stale talked:

                    - 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

                     

                    For now, we need to wait Stale agree and merge it.

                    I don't know if he will have time to see it this week, because he's in

                    meeting, but he will receive the email notice.

                     

                    Thank you Jerr!

                     

                     

                    On Wed, Feb 4, 2015 at 9:32 PM, Jérémie <l.jeremie@gmail.com> wrote:

                     

                    Hi Daniel,

                     

                    I made a prototype with a test to explain the problem of parameters

                    beginning with a "-".

                    https://github.com/aeshell/aesh/pull/147

                     

                    Tell me if it suits or if I need to change something.

                    Do you need more explanation?

                     

                    All your comments are welcome.

                     

                    Regards,

                    Jeremie.

                     

                    >

                    Le mardi 27 janvier 2015 07:41:26 UTC-5, Daniel Cunha a écrit :

                    Hi Jerr,

                     

                     

                    Do you have some log about it?

                     

                     

                     

                     

                    On Tue, Jan 27, 2015 at 12:48 AM, Jérémie <j...@printstacktrace.org>

                    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 <lincol...@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 <danie...@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 <j...@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 <danie...@gmail.com>:

                     

                     

                    +1

                     

                     

                     

                     

                    On Tue, Nov 11, 2014 at 12:34 PM, Antonio Goncalves <

                    antonio....@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....@gmail.com>

                    Date: Tue, Nov 11, 2014 at 11:37 AM

                    Subject: Re: Forge + Wildfly VM arguments

                    To: Antonio Goncalves <antonio....@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....@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

                     

                    forg...@lists.jboss.org

                     

                    https://lists.jboss.org/mailman/listinfo/forge-dev

                     

                     

                     

                    --

                     

                     

                     

                     

                     

                    Daniel Cunha (soro)

                     

                     

                    _______________________________________________

                     

                    forge-dev mailing list

                     

                    forg...@lists.jboss.org

                     

                    https://lists.jboss.org/mailman/listinfo/forge-dev

                     

                     

                    _______________________________________________

                     

                    forge-dev mailing list

                     

                    forg...@lists.jboss.org

                     

                    https://lists.jboss.org/mailman/listinfo/forge-dev

                     

                     

                     

                    --

                     

                     

                     

                     

                     

                    Daniel Cunha (soro)

                     

                     

                    _______________________________________________

                     

                    forge-dev mailing list

                     

                    forg...@lists.jboss.org

                     

                    https://lists.jboss.org/mailman/listinfo/forge-dev

                     

                     

                     

                    --

                     

                    Lincoln Baxter, III

                    http://ocpsoft.org

                    "Simpler is better."

                     

                     

                    _______________________________________________

                     

                    forge-dev mailing list

                     

                    forg...@lists.jboss.org

                     

                    https://lists.jboss.org/mailman/listinfo/forge-dev

                     

                     

                     

                    _______________________________________________

                     

                    forge-dev mailing list

                     

                    forg...@lists.jboss.org

                     

                    https://lists.jboss.org/mailman/listinfo/forge-dev

                     

                     

                     

                     

                    --

                     

                     

                     

                     

                     

                    Daniel Cunha (soro)

                     

                    --

                    You received this message because you are subscribed to the Google Groups

                    "Æsh Developer List" group.

                    To unsubscribe from this group and stop receiving emails from it, send an

                    email to aesh-dev+unsubscribe@googlegroups.com.

                    To post to this group, send email to aesh-dev@googlegroups.com.

                    To view this discussion on the web visit

                    https://groups.google.com/d/msgid/aesh-dev/89b425c5-6251-47cf-b979-1c4242f4ffcb%40googlegroups.com

                    .

                    For more options, visit https://groups.google.com/d/optout.

                     

                     

                     

                     

                    --

                    Daniel Cunha (soro)