Umm.. You can't run the portlet examples without portlet container..
Now it seems you try to run them in Jetty..?
Janne
On 18.3.2007, at 0.39, Martijn Dashorst wrote:
Switching to the PortletFilter removes the previous exception but now
gives me an AccessDenied page in the examples.
Perhaps it is best to keep the portlet examples separate.
Martijn
On 3/17/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
In the struggle for supremacy between servlets, filters and portlets,
the portlets seem to loose the battle. Is there a particular reason
why we explicitly need WebApplication classes?
2007-03-17 23:27:28.248::WARN: Nested in
javax.servlet.ServletException: Application class
wicket.examples.portlets.ExamplePortletApplication must be a subclass
of WebApplication:
wicket.WicketRuntimeException: Application class
wicket.examples.portlets.ExamplePortletApplication must be a subclass
of WebApplication
at
wicket.protocol.http.ContextParamWebApplicationFactory.createApplicat
ion(ContextParamWebApplicationFactory.java:77)
at
wicket.protocol.http.ContextParamWebApplicationFactory.createApplicat
ion(ContextParamWebApplicationFactory.java:50)
at wicket.protocol.http.WicketFilter.init
(WicketFilter.java:375)
at wicket.protocol.http.WicketServlet.init
(WicketServlet.java:153)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.mortbay.jetty.servlet.ServletHolder.initServlet
(ServletHolder.java:442)
at org.mortbay.jetty.servlet.ServletHolder.doStart
(ServletHolder.java:259)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at org.mortbay.jetty.servlet.ServletHandler.initialize
(ServletHandler.java:593)
at org.mortbay.jetty.servlet.Context.startContext
(Context.java:139)
at org.mortbay.jetty.webapp.WebAppContext.startContext
(WebAppContext.java:1191)
at org.mortbay.jetty.handler.ContextHandler.doStart
(ContextHandler.java:481)
at org.mortbay.jetty.webapp.WebAppContext.doStart
(WebAppContext.java:434)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart
(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at org.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:40)
at wicket.examples.StartExamples.main(StartExamples.java:67)
2007-03-17 23:27:28.275::INFO: Started SelectChannelConnector @
0.0.0.0:8080
--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org
--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org