[seam-issues] [JBoss JIRA] Resolved: (SEAM-41) org.jboss.weld.exceptions.AmbiguousResolutionException in seam-booking example on Glassfish 3.0.1

Dan Allen (JIRA) jira-events at lists.jboss.org
Sat Mar 19 19:13:45 EDT 2011


     [ https://issues.jboss.org/browse/SEAM-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Allen resolved SEAM-41.
---------------------------

    Resolution: Done


I solved this problem by changing the injection on the observer. However, I *strongly* discourage anyone from using GlassFish 3.0.1 with Seam because there are just too many problems.

1. The classpath scanner fails when there are optional references to classes not on the classpath
2. EclipseLink does not properly function with JPA 2 features used in bookin

> org.jboss.weld.exceptions.AmbiguousResolutionException in seam-booking example on Glassfish 3.0.1
> -------------------------------------------------------------------------------------------------
>
>                 Key: SEAM-41
>                 URL: https://issues.jboss.org/browse/SEAM-41
>             Project: Seam 3
>          Issue Type: Bug
>          Components: Shared Examples
>         Environment: Seam3 CR2, glassfish 3.0.1
>            Reporter: Marek Schmidt
>            Assignee: Dan Allen
>             Fix For: 3.0.0.Final
>
>
> The seam-booking example in the CR2 distribution doesn't work on glassfish 3.0.1. After applying workarounds for known issues, the application deploys, but any attempt to login will produce:
> Caused by: org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318 Cannot resolve an ambiguous dependency between [org.jboss.weld.bean-/home/maschmid/java/glassfish3.0.1/glassfish/domains/domain1/applications/seam-booking/-ProducerMethod-org.jboss.seam.servlet.http.ImplicitHttpServletObjectsProducer.method getHttpSession(), org.jboss.weld.bean-weld-ProducerMethod-org.jboss.weld.servlet.HttpSessionManager.method getSession()]
> There is an apparent conflict between weld 1.0.1-SP3 in glassfish 3.0.1 and seam servlet, as both contain HttpSession producers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list