1 2 Previous Next 20 Replies Latest reply on Apr 5, 2012 12:10 AM by khosro_question Go to original post
      • 15. Re: Seam 3 + AS 7
        lightguard

        Looks like this is because of logging. Please add a JIRA and let us know we need to generate logging classes for the sample.

        • 16. Re: Seam 3 + AS 7
          aareshchanka

          I resolved the issue,


          That was because of seam-solder-tooling dependency has provided scope in pom.xml.

          • 17. Re: Seam 3 + AS 7
            tony.herstell1

            Alexandr Areshchanka wrote on Jul 20, 2011 12:41:


            I resolved the issue,

            That was because of seam-solder-tooling dependency has provided scope in pom.xml.



            Is this all you did?
            I added seam-solder-tooling.jar artefact (from Seam 3.0.0.Final) to my library and it had no effect...



            12:09:10,800 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http--127.0.0.1-8080-4) org.jboss.weld.exceptions.CreationException: WELD-000079 Could not find the EJB in JNDI:  class org.jboss.seam.examples.booking.booking.BookingAgent$Proxy$_$$_Weld$Proxy$: javax.faces.el.EvaluationException: org.jboss.weld.exceptions.CreationException: WELD-000079 Could not find the EJB in JNDI:  class org.jboss.seam.examples.booking.booking.BookingAgent$Proxy$_$$_Weld$Proxy$
                 at org.jboss.seam.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:58) [seam-faces-3.0.0.Final.jar:]
                 at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4]




            I have been wrestling with JBoss7 and seam-booking ;)


            To even get it to run up, out of the box, I had to change to:


            persistence.xml


            <jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>



            and


            booking-ds.xml


            <jndi-name>java:jboss/datasources/ExampleDS</jndi-name>



            java:jboss/datasources/ExampleDS  was swiped from the H2DS datasource atttribute in the JBoss7 console.


            I believe its the JNDI lookup value to get at the default datasource that connects to a memory resident database called; H2!


            • 18. Re: Seam 3 + AS 7
              andreast00
              Hey together,

              is there any update on this issue? I am also not be able to get the booking example working. As soon as I click on the "View" Hotel button I get the same exception mentioned in the posts above:

              `
              org.jboss.weld.exceptions.CreationException: WELD-000079 Could not find the EJB in JNDI: class org.jboss.seam.examples.booking.booking.BookingAgent$Proxy$_$$_Weld$Proxy$
              ...
              Caused by: java.lang.IllegalArgumentException: Invalid logger interface org.jboss.seam.examples.booking.log.BookingLog (implementation not found)
              `

              It seems like that the generated 'BookingLog_$logger' class is not included in my war file. That's why the implementation of the BookingLog interface cannot be found.
              I tried to include the generated-sources folder (target -> generated-sources) in my Java Build Path but I couldn't get it working.
              Can you please give me any hint how to solve this issue?

              I imported the source into Eclipse as a Maven project and deployed everything to a JBoss 6.1 server from my Eclipse IDE.

              thanks
              Andreas
              • 19. Re: Seam 3 + AS 7
                thmb

                Hi Steve!

                 

                I agree with you! Despite JBoss AS 7 and Seam 3 looks like brothers they don't work together easely!!

                In my point of view developers are modifing these projects deeply making them unsynchronized...

                Better to choose more conservative software stack for a while...

                 

                Regards,

                 

                Thiago

                • 20. Re: Seam 3 + AS 7
                  khosro_question

                  Hi,

                  Maybe this is useful  https://community.jboss.org/message/724823  .

                   

                  Khosro.            

                  1 2 Previous Next