You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/04/08 17:33:05 UTC

[jira] [Updated] (WICKET-3604) Filter path not set in WicketFilter

     [ https://issues.apache.org/jira/browse/WICKET-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-3604:
----------------------------------

    Priority: Minor  (was: Blocker)

> Filter path not set in WicketFilter
> -----------------------------------
>
>                 Key: WICKET-3604
>                 URL: https://issues.apache.org/jira/browse/WICKET-3604
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC3
>         Environment: Jetty embedded
>            Reporter: Tapani Saarinen
>            Priority: Minor
>
> This does not work anymore. Worked in 1.4.x and 1.5.M3. I use Jetty in embedded mode with NO xml configuration files. So I initialize all servlets and filters in code.
> CODE:
> FilterHolder filterHolder = new FilterHolder(WicketFilter.class);
> filterHolder.setInitParameter(ContextParamWebApplicationFactory.APP_CLASS_PARAM, XXXXX.MainApplication.class.getName());
> context.addFilter(filterHolder, "/*", 1);
> LOG:
> Starting Jetty server...
> WicketFilter [WARN] 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)
> Application [INFO] [org.apache.wicket.protocol.http.WicketFilter-324750153] init: Wicket core library initializer

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira