[Building Sakai] "Sakai Wicket Maven Archetype" upgrade to wicket 1.5.3 problem

Steve Swinsburg steve.swinsburg at gmail.com
Wed Dec 21 00:11:04 PST 2011


Hi,

The Sakai Maven Wicket Archetype was written for Wicket 1.4. There are likely a number of changes you'll need to make. See this page:
https://cwiki.apache.org/WICKET/migration-to-wicket-15.html

One thing you'll note is a minimum Servlet API version of 2.5 so you might have problems with earlier versions of Sakai.

If you get this running, let me know and I can commit an update.

cheers,
Steve



On 21/12/2011, at 6:53 PM, wendy lee wrote:

> hi, all
> 
> I create a tool by "Sakai Wicket Maven Archetype" and then upgrade it to wicket 1.5.3. Runtime exception is :
> 
> 2011-12-21 15:09:38,622 ERROR http-8080-1 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/userimport-tool].[sakai.hibernate_test] - Servlet.service() for servlet sakai.hibernate_test threw exception
> java.lang.IllegalStateException: filter path was not configured
> 	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:141)
> .........
> ..........
> ..........
> 
> I notice that when startup tomcat reports the following. 
> 2011-12-21 14:47:38,504  INFO main org.apache.catalina.startup.HostConfig - Deploying web application archive userimport-tool.war
> 2011-12-21 14:47:38,545  INFO main org.sakaiproject.util.ToolListener - registering tools from resource: /tools/sakai.hibernate_test.xml
> 2011-12-21 14:47:38,548  INFO main org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/userimport-tool] - Initializing Spring root WebApplicationContext
> WARN  - WebXmlFile                 - web.xml: No url-pattern found for 'servlet' with name 'sakai.hibernate_test'
> INFO  - WebXmlFile                 - web.xml: url mapping found for servlet with name sakai.hibernate_test:
> WARN  - WicketFilter               - Unable to determine filter path from filter init-parm, web.xml, or servlet 3.0 annotations. Assuming user will set filter path manually by calling setFilterPath(String)
> INFO  - Application                - [sakai.hibernate_test] init: Wicket core library initializer
> .........
> ..........
> ..........
> 
> It seems that filter path should be set and url-pattern should be config in web.xml. But what value should it be? Thanks.
> 
> --------------
> wendy lee
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list