-
15. Re: Seam 3 + AS 7
lightguard Jul 20, 2011 3:39 AM (in response to esteve)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 Jul 20, 2011 12:41 PM (in response to esteve)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 Nov 4, 2011 7:27 PM (in response to esteve)
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 Dec 30, 2011 3:19 PM (in response to esteve)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 Apr 3, 2012 4:16 PM (in response to esteve)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
-