6 Replies Latest reply on Feb 10, 2011 1:14 PM by Jan Paetzold

    Seam 2 and jboss as 6

    omid pourhadi Apprentice

      I'm migrating from jboss 4.2.2 to jboss as 6 because of JPA2 but i've got strange exception
      is it possible to deploy seam 2.2 to jboss as 6 ?
      i'm using
      JDK 1.6
      Seam 2.2.GA
      jboss as 6
      or is it possible to use JPA 2 with jboss 4.2.2 ?

      PS : when i use jboss 4.2.2 with JPA2 i've got this EntityCastException

      any help would appreiate thanks in advanced

        • 1. Re: Seam 2 and jboss as 6
          Sakari Isoniemi Newbie

          In this same forum is sticky post related to Seam 2.2.1.CR3 that
          is targeted to AS 6.

          Try this Seam version with AS 6 (Final).

          • 2. Re: Seam 2 and jboss as 6
            omid pourhadi Apprentice

            i upgraded my app to seam 2.2.1CR3 and jboss as 6
            when i'm using seam-gen everything is ok but after i create my project with
            jboss tools or jboss developer studio and run project i've got this exception

            Could not register org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionLocalProxyFactory@6e74f5
             under an already registered key, 
            myproject-ear/TimerServiceDispatcher/local" for EJB TimerServiceDispatcher

            i've never registered such a bean

            what is happening ?

            • 3. Re: Seam 2 and jboss as 6
              pouria kazemi Newbie

              you know your peace of cake was very useful

              i really appreciate

              i solved it finally.when it got final face(final release) i'll show the details.
              and another thing is that i found something about Adempiere in your site.
              i found a pdf named Adempiere by Bayu Cahya Pamungkas and i want to know how to run Adempiere
              let me know if u know sth about how to install it

              Thanks in advance


              • 4. Re: Seam 2 and jboss as 6
                Calebe Varga Newbie

                Take a look inside Application.xml.

                You will see:

                <!-- JBIDE-4166 Workaround - Make sure we deploy this first, since this is referenced in xxx-ejb.jar-->



                Remove this declaration, that's the reason that your getting a


                Best Regards

                • 5. Re: Seam 2 and jboss as 6
                  pouria kazemi Newbie
                  hi experts today i encountered another problem with selectmanycheckbox ;the snippet code including

                  <h:selectManyCheckbox value="#{conversationBean.oneList}">
                      <s:selectItems value="#{conversationBean.anotherList}" var="something" label="#{something.name}">

                  and now i need to persist a list of selected(checked) from conversationBean.anotherList into conversationBean.oneList . i don,t know how to? please F1 me.(i mean i,m really get in trouble and really need your help)
                  • 6. Re: Seam 2 and jboss as 6
                    Jan Paetzold Newbie

                    ... or have a look up into the MANIFEST.MF - file, in case you're developing with eclipse.
                    Removing the same declaration right there, will help as well.

                    Best regards