[Building Sakai] "Sakai Wicket Maven Archetype" upgrade to wicket 1.5.3 problem
wendy lee
lhh at mail.sysu.edu.cn
Tue Dec 20 23:53:09 PST 2011
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
More information about the sakai-dev
mailing list