About the problem reported by Sven - I think it is OK to upgrade the version of Jetty for the examples to 8.1.x so it supports Servlet 3.0 for the apps that require it. But as I said I don't experience this problem here. Maybe Sven deploys the .war in a standalone Jetty - in this case the change won't have effect.
Martin Grigorov Wicket Training and Consulting On Wed, Feb 5, 2014 at 9:20 AM, Martin Grigorov <[email protected]>wrote: > Sorry, I wasn't very clear. > In the demo app of CDI in 6.x I see these links: > > - Injection > Example<http://localhost:8080/cdi/wicket/bookmarkable/org.apache.wicket.examples.cdi.InjectionPage> > - Conversation Propagation > Example<http://localhost:8080/cdi/wicket/bookmarkable/org.apache.wicket.examples.cdi.ConversationPage1> > - Automatic Conversation Management > Example<http://localhost:8080/cdi/wicket/bookmarkable/org.apache.wicket.examples.cdi.AutoConversationPage1> > > In the one for 7.x: > > - Injection Example <http://localhost:8080/cdi/injection> > - Conversation Propagation Example<http://localhost:8080/cdi/conversation> > > So there is something new in 6.x that is not ported to 7.x > > Martin Grigorov > Wicket Training and Consulting > > > On Tue, Feb 4, 2014 at 1:53 PM, Emond Papegaaij < > [email protected]> wrote: > >> These warnings are caused by a slightly outdated version of weld. The log- >> level for these warnings is changed from warn to debug in newer versions. >> I don't know what could explain the difference in size. Did you compare >> the >> contents? >> >> Emond >> >> On Monday 03 February 2014 17:43:19 Martin Grigorov wrote: >> > In Wicket 6.x Jetty is 7.x, so it is Servlet 2.5 >> > Wicket 7 requires Servlet 3, so it uses Jetty 8.x. >> > >> > Using StartExamples to run the examples locally doesn't fail with this. >> > I see many of these though: >> > >> > WARN - Bean - WELD-001533: An InjectionTarget is >> > created for a non-static inner class >> > org.apache.wicket.examples.cdi.ConversationPage1$1. It will not be >> possible >> > to produce instances of this type! >> > WARN - Bean - WELD-001533: An InjectionTarget is >> > created for a non-static inner class >> > org.apache.wicket.examples.cdi.ConversationPage1$2. It will not be >> possible >> > to produce instances of this type! >> > WARN - Bean - WELD-001533: An InjectionTarget is >> > created for a non-static inner class >> > org.apache.wicket.examples.cdi.AutoConversationPage1$1. It will not be >> > possible to produce instances of this type! >> > WARN - Bean - WELD-001533: An InjectionTarget is >> > created for a non-static inner class >> > org.apache.wicket.examples.cdi.AutoConversationPage1$2. It will not be >> > possible to produce instances of this type! >> > >> > I also see that the demo app for 6.x is newer/bigger than the one in >> master >> > branch. >> > @Emond ? >> > >> > Martin Grigorov >> > Wicket Training and Consulting >> > >> > >> > On Mon, Feb 3, 2014 at 5:20 PM, Martijn Dashorst >> <[email protected] >> > > wrote: >> > > >> > > Sounds like a too old jetty. javax.servlet.DispatcherType is >> JEE6/servlet >> > > 3 >> > > >> > > Martijn >> > > >> > > On Mon, Feb 3, 2014 at 5:12 PM, Sven Meier <[email protected]> >> wrote: >> > > > Hi all, >> > > > >> > > > I'm getting an exception when starting wicket-examples (wicket-6.x >> with >> > > > Jetty). >> > > > >> > > > Any ideas? >> > > > >> > > > Sven >> > > > >> > > > WARN - WebAppContext - Failed startup of context >> > > > o.e.j.w.WebAppContext{/,file:/home/sven/workspaces/wicket-6. >> > > > x/wicket/wicket-examples/src/main/webapp/},src/main/webapp >> > > > org.jboss.weld.exceptions.DeploymentException: >> > > > javax/servlet/DispatcherType >> > > > >> > > > at org.jboss.weld.executor.AbstractExecutorServices. >> > > > >> > > > checkForExceptions(AbstractExecutorServices.java:66) >> > > > >> > > > at org.jboss.weld.executor.AbstractExecutorServices. >> > > > >> > > > invokeAllAndCheckForExceptions(AbstractExecutorServices.java:43) >> > > > >> > > > at org.jboss.weld.executor.AbstractExecutorServices. >> > > > >> > > > invokeAllAndCheckForExceptions(AbstractExecutorServices.java:51) >> > > > >> > > > at >> org.jboss.weld.bootstrap.ConcurrentBeanDeployer.createClassBeans( >> > > > >> > > > ConcurrentBeanDeployer.java:72) >> > > > >> > > > at org.jboss.weld.bootstrap.BeanDeployment.createBeans( >> > > > >> > > > BeanDeployment.java:260) >> > > > >> > > > at org.jboss.weld.bootstrap.WeldStartup.deployBeans( >> > > > >> > > > WeldStartup.java:384) >> > > > >> > > > at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans( >> > > > >> > > > WeldBootstrap.java:76) >> > > > >> > > > at org.jboss.weld.environment.servlet.Listener. >> > > > >> > > > contextInitialized(Listener.java:170) >> > > > >> > > > at org.eclipse.jetty.server.handler.ContextHandler. >> > > > >> > > > startContext(ContextHandler.java:733) >> > > > >> > > > at org.eclipse.jetty.servlet.ServletContextHandler.startContext( >> > > > >> > > > ServletContextHandler.java:233) >> > > > >> > > > at org.eclipse.jetty.webapp.WebAppContext.startContext( >> > > > >> > > > WebAppContext.java:1222) >> > > > >> > > > at org.eclipse.jetty.server.handler.ContextHandler. >> > > > >> > > > doStart(ContextHandler.java:676) >> > > > >> > > > at org.eclipse.jetty.webapp.WebAppContext.doStart( >> > > > >> > > > WebAppContext.java:455) >> > > > >> > > > at org.eclipse.jetty.util.component.AbstractLifeCycle. >> > > > >> > > > start(AbstractLifeCycle.java:59) >> > > > >> > > > at org.eclipse.jetty.server.handler.HandlerWrapper. >> > > > >> > > > doStart(HandlerWrapper.java:90) >> > > > >> > > > at org.eclipse.jetty.server.Server.doStart(Server.java:260) >> > > > at org.eclipse.jetty.util.component.AbstractLifeCycle. >> > > > >> > > > start(AbstractLifeCycle.java:59) >> > >
