Portlet support was dropped in 1.5...
On Mon, Feb 25, 2013 at 1:11 PM, David Torres <david.tor...@renuda.com> wrote: > I would like to try that, but then I would need to use <url-pattern>, and > the URL of my tool is this > http://localhost:8080/portal/site/ac656672-cc87-4b21-be4b-dc3966f67ff8/page/f02e537d-a2de-4331-9e45-7429e0cfe645 > > I have try this > <url-pattern>/site/ac656672-cc87-4b21-be4b-dc3966f67ff8/page/f02e537d-a2de-4331-9e45-7429e0cfe645</url-pattern> > and this > <url-pattern>/site/ac656672-cc87-4b21-be4b-dc3966f67ff8/page/f02e537d-a2de-4331-9e45-7429e0cfe645/*</url-pattern> > > also this > <url-pattern>/*</url-pattern> > > In all cases obtaining the error below. > > Is it necessary to use <url-pattern>? I have an example without it, using > wicket servlet but without servlet-mapping and it is working for version 1.4 > > > > > org.sakaiproject.portal.api.PortalHandlerException: > java.lang.IllegalArgumentException: Unable to find registered context for > tool with ID sakai.wicketArchetype > at > org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:881) > caused by: java.lang.IllegalArgumentException: Unable to find registered > context for tool with ID sakai.wicketArchetype > at > org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:508) > at > org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1470) > at > org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:213) > at > org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96) > at > org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:881) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:695) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > at > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > > > Best regards, > > David Torres > > Computer Scientist > Renuda UK > > tel: +44 (0)20 3371 1709 > web: www.renuda.com > > Renuda UK is registered in England and Wales. Company number 6218863. > VAT registration number 918 6490 91. Registered office: 35 Charleville Road, > London W14 9JJ, UK. > > ________________________________________ > From: Hans Lesmeister 2 [hans.lesmeis...@lessy-software.de] > Sent: 25 February 2013 12:46 > To: dev@wicket.apache.org > Subject: Re: Problem upgrading from 1.4 to 1.5 > > Hi, > > better use WicketFilter instead of WicketServlet > > > > ----- > -- > Regards, > Hans > > http://cantaa.de > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problem-upgrading-from-1-4-to-1-5-tp4656762p4656763.html > Sent from the Forum for Wicket Core developers mailing list archive at > Nabble.com.