Hi, Glassfish 4 implements JEE 7.0. JEE 7.0 includes CDI 1.1 CDI 1.1 is supported better in Wicket 7. There is a new wicket-cdi-1.1 module. For the moment there is support only for Weld 2.0 implementation of CDI 1.1.
CDI 1.1 is more restrictive what objects can be processed for injection and thus the new warnings. AFAIK they do not break your app anyhow. wicket-cdi-1.1 has functionality to blacklist classes which should not be processed and many of Wicket's classes are listed. On Tue, Jul 2, 2013 at 6:47 PM, Dieter Tremel <[email protected]>wrote: > I will monitor this and report if I have new knowledge. > > I am on GlassFish v3.1.2.2 too but took a look how my app runs on > Glassfish 4, and, in the first moment thought it was a misuse of > wicket-cdi in my code. > > Additional Information: > Seems to be not necessary any more for GF4 to include > <dependency> > <groupId>org.jboss.seam.conversation</groupId> > <artifactId>seam-conversation-weld</artifactId> > <version>3.0.0.Final</version> > </dependency> > if this is active it results in a "context is already active" exception, > without it runs fine. > > Dieter > > Am 02.07.2013 17:00, schrieb Paul Bors: > > If I'm not wrong GlassFish 4 support Java 7: > > http://docs.oracle.com/javaee/7/api/javax/ejb/PostActivate.html > > http://docs.oracle.com/javaee/7/api/javax/ejb/PrePassivate.html > > > > You might be interested in (which blames it on a project configuration): > > https://java.net/jira/browse/GLASSFISH-20564 "WARNING: Class > > 'javax.ejb.PostActivate' not found, interception based on it is not > enabled" > > > > I'm still on GlassFish v3.1.2.2 but with the new IE-10 I might have to > > upgrade as well. > > Let me know how it goes for you :) > > > > ~ Thank you, > > Paul Bors > > > > -----Original Message----- > > From: Dieter Tremel [mailto:[email protected]] > > Sent: Tuesday, July 02, 2013 10:11 AM > > To: [email protected] > > Subject: wicket-cdi 6.9.0 on Glassfish 4: Warning WELD-001529 > > > > Hello, > > > > after using wicket 6.9.0 which solved > > https://issues.apache.org/jira/browse/WICKET-5226 I gave it another try > with > > a quickstart and injecting a simple helloBean, but got some warnings: > > > >> INFO: WELD-000900 2.0.0 (SP1) > >> WARNING: Class 'javax.ejb.PostActivate' not found, interception based > on > > it is not enabled > >> WARNING: Class 'javax.ejb.PrePassivate' not found, interception based > on > > it is not enabled > >> ... > >> WARNING: No matching SeamConversationContext for store type interface > > javax.servlet.http.HttpServletRequest, using NOOP instance! > >> WARNING: WELD-001529 An InjectionTarget implementation is created for > a > > class org.apache.wicket.cdi.ConversationPropagator which does not have > any > > appropriate constructor. > >> WARNING: WELD-001529 An InjectionTarget implementation is created for > a > > class org.apache.wicket.cdi.ConversationExpiryChecker which does not have > > any appropriate constructor. > >> WARNING: WELD-001529 An InjectionTarget implementation is created for > a > > class org.apache.wicket.cdi.DetachEventEmitter which does not have any > > appropriate constructor. > >> ... > >> WARNING: WELD-001529 An InjectionTarget implementation is created for > a > > class de.tremel_computer.gf4minimum.HomePage which does not have any > > appropriate constructor. > >> WARNING: WELD-001529 An InjectionTarget implementation is created for > a > > class org.apache.wicket.markup.html.basic.Label which does not have any > > appropriate constructor. > >> WARNING: WELD-001529 An InjectionTarget implementation is created for > a > > class org.apache.wicket.markup.html.internal.HtmlHeaderContainer which > does > > not have any appropriate constructor. > >> WARNING: WELD-001529 An InjectionTarget implementation is created for > a > > class org.apache.wicket.markup.html.TransparentWebMarkupContainer which > does > > not have any appropriate constructor. > > > > I suppose the first two warnings are a missing dependency, does anybody > know > > which? > > > > Any hint how to get rid of the other warnings? > > > > Thank You > > Dieter Tremel > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > -- > Tremel Computer http://www.tremel-computer.de > Dieter Tremel mailto:[email protected] > Rebenring 16 Tel +49 871 9357080 > 84032 Altdorf Fax +49 871 9357081 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
