on", value="development"),
@WebInitParam(name="filterMappingUrlPattern", value="/*"),
}
)
public class AppWicketFilter extends WicketFilter {
}
On Tue, Dec 8, 2015 at 8:07 PM, Tobias Soloschenko <
tobiassolosche...@googlemail.com> wrote:
> Hi guys,
>
>
quot;com.app.web.WebApplication") })
public class WicketInitFilter extends WicketFilter
{
}
looks a bit empty. :-)
kind regards
Tobias
: WicketFilter-filestore overflow
Is there a cluster of Tomcat instances ?
Maybe the sessionExpired notification has ran on just one of the instances and
all other leak these folders.
On Thu, Dec 1, 2011 at 10:37 PM, Fang Lin wrote:
> All the session folders are cleaned up during the test on
.@apache.org]
> Sent: Thursday, December 01, 2011 12:03 PM
> To: users@wicket.apache.org
> Subject: Re: WicketFilter-filestore overflow
>
> Set the session timeout to 1, log in and wait 1 minute with the debugger at
> that method and follow the execution
>
> On Thu, Dec 1, 201
-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Thursday, December 01, 2011 12:03 PM
To: users@wicket.apache.org
Subject: Re: WicketFilter-filestore overflow
Set the session timeout to 1, log in and wait 1 minute with the debugger at
that method and follow the execution
On Thu, Dec
ailto:mgrigo...@apache.org]
> Sent: Thursday, December 01, 2011 11:52 AM
> To: users@wicket.apache.org
> Subject: Re: WicketFilter-filestore overflow
>
> On Thu, Dec 1, 2011 at 8:31 PM, Fang Lin wrote:
>> It looks like a bug as the behavior is not consistent across all servers.
>>
ase advise how I can debug it?
>
> -Original Message-
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: Thursday, December 01, 2011 11:52 AM
> To: users@wicket.apache.org
> Subject: Re: WicketFilter-filestore overflow
>
> On Thu, Dec 1, 2011 at 8:31 PM, F
It did clean up some folders, but not all of them.
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Thursday, December 01, 2011 11:52 AM
To: users@wicket.apache.org
Subject: Re: WicketFilter-filestore overflow
On Thu, Dec 1, 2011 at 8:31 PM, Fang Lin wrote
Please advise how I can debug it?
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Thursday, December 01, 2011 11:52 AM
To: users@wicket.apache.org
Subject: Re: WicketFilter-filestore overflow
On Thu, Dec 1, 2011 at 8:31 PM, Fang Lin wrote:
> It looks lik
n
> Sent: Thursday, December 01, 2011 11:26 AM
> To: users@wicket.apache.org
> Subject: RE: WicketFilter-filestore overflow
>
> Thanks for checking into this quickly!
> We don’t use Jetty. We use Apache Tomcat/6.0.29.
> On the server that had the overflow, there were 3,111 direc
It looks like a bug as the behavior is not consistent across all servers.
Would anything setting in Tomcat affect how Wicket clean up the folders?
-Fang
-Original Message-
From: Fang Lin
Sent: Thursday, December 01, 2011 11:26 AM
To: users@wicket.apache.org
Subject: RE: WicketFilter
, December 01, 2011 10:59 AM
To: users@wicket.apache.org
Subject: Re: WicketFilter-filestore overflow
Everything seems to be OK.
I just tested it with Jetty 7.5
When a session expires this call is executed:
Daemon Thread [HashSessionScavenger-0] (Suspended (breakpoint at line
454 in DiskDataStore
peared in the application log on each page load:
>>
>> ERROR 29 08:01:57.665 Failed to create directory:
>> /usr/local/tomcat/work/Catalina/localhost/_/WicketFilter-filestore/0A91844EB9E584DD7CA8C48AD558AB2D.myuw11
>> [o.a.w.u.f.Files]
>> ERROR 29 08:01:
log on each page load:
>
> ERROR 29 08:01:57.665 Failed to create directory:
> /usr/local/tomcat/work/Catalina/localhost/_/WicketFilter-filestore/0A91844EB9E584DD7CA8C48AD558AB2D.myuw11
> [o.a.w.u.f.Files]
> ERROR 29 08:01:57.666
> /usr/local/tomcat/work/Catalina
About two weeks after we deployed Wicket 1.5.3, we ran into a file system issue
on one of our server.
The following appeared in the application log on each page load:
ERROR 29 08:01:57.665 Failed to create directory:
/usr/local/tomcat/work/Catalina/localhost/_/WicketFilter-filestore
Hi,
We noticed this while running our application in an environment where firewall
blocks all connections to outside addresses.
Adding filterMappingUrlPattern parameter helped.
so for instance helloworld's web.xml
(http://wicket.apache.org/learn/examples/helloworld.html) would be something
lik
Doh! That was my bad.
Was building the 1.5 version of our app in a different directory but didn't
change the docBase in the app's Tomcat config to reflect that new directory so
it continued to pull unchanged web.xml from the old 1.4 directory
Embarrassed =]
>It should be the same behavior
It should be the same behavior but since this method has been lost and
re-introduced in 1.5 it may have issues.
It has test in WicketFilterTest. Extend the test with the failures and
attach it in a ticket.
On Mon, Sep 26, 2011 at 11:22 AM, Chris Colman
wrote:
> Are there any changes to the way th
Are there any changes to the way the ignorePaths init-param works in
1.5?
I have a web.xml that has been working fine in 1.4 with a set of
ignorePaths but it appears as though Wicket 1.5 is trying to process
some of the requests that it was ignoring in 1.4.
n always override headers set by Wicket by introducing your own
>> servlet filter which wraps WicketFilter and resets the headers after
>> WicketFilter returns, i.e. chain.doFilter() call in your filter.
>>
>> On Mon, Sep 5, 2011 at 5:42 PM, Thomas Heigl wrote:
>> > Hey a
ng.
> You can always override headers set by Wicket by introducing your own
> servlet filter which wraps WicketFilter and resets the headers after
> WicketFilter returns, i.e. chain.doFilter() call in your filter.
>
> On Mon, Sep 5, 2011 at 5:42 PM, Thomas Heigl wrote:
> &g
Caching is improved a lot in Wicket 1.5, consider upgrading.
You can always override headers set by Wicket by introducing your own
servlet filter which wraps WicketFilter and resets the headers after
WicketFilter returns, i.e. chain.doFilter() call in your filter.
On Mon, Sep 5, 2011 at 5:42 PM
icket always sets the expiry header
to 1 hour if the browser sends a request including an
"IF-MODIFIED-SINCE"-header. The relevant code is in WicketFilter (1.4.16)
347-350:
httpServletResponse.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
httpServletResponse.setDate
Yes, it's wicket 1.5
https://issues.apache.org/jira/browse/WICKET-3769
https://issues.apache.org/jira/browse/WICKET-3769
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-ignorePaths-in-WicketFilter-tp3570291p3570704.html
Sent from the
, and inside it
>
> setAttribute(request, getSessionAttribute(), newSession);
>
> If we assume that inside web.xml the WicketFilter name is "WICKET_FILTER",
> the getSessionAttribute() method returns "sessionWICKET_FILTER". Then,
> inside
> setAttribute(requ
Hello,
after some investigation I reached to the following:
when a wicket session is created it is added as attribute to the
HttpSession:
HttpSessionStore.bind(), and inside it
setAttribute(request, getSessionAttribute(), newSession);
If we assume that inside web.xml the WicketFilter name is
g>I
think this will help you.
On Thu, Mar 31, 2011 at 8:58 AM, Jan Kriesten wrote:
>
> Hi,
>
> WicketFilter with 1.5 doesn't seem to use/support 'getRelativePath' any
> more.
>
> I used to override this to apply Locale selection and stripping this
>
Hi,
WicketFilter with 1.5 doesn't seem to use/support 'getRelativePath' any
more.
I used to override this to apply Locale selection and stripping this
information off:
/de/myRelativeWicketPath -> /myRelativeWicketPath + Session Locale 'de'
Where can I hook that
verride
> this HttpServlet method to indicate site changes.
>
> -sf
>
>
> Am 30.11.2010 um 16:12 schrieb Martin Grigorov:
>
>> Which version of Wicket do you use ?
>> In latest 1.4-SNAPSHOT it is "protected". In 1.5 this method does not even
>>
s method does not even
> exists anymore.
> The same for SERVLET_PATH_HOLDER. This one is used in WicketFilter#init()
> and WicketServlet#init(). Do you completely re-write those ?
>
> On Tue, Nov 30, 2010 at 3:45 PM, Steffen Fritzsche
> wrote:
>
>> Hi,
>>
>>
Which version of Wicket do you use ?
In latest 1.4-SNAPSHOT it is "protected". In 1.5 this method does not even
exists anymore.
The same for SERVLET_PATH_HOLDER. This one is used in WicketFilter#init()
and WicketServlet#init(). Do you completely re-write those ?
On Tue, Nov 30, 2010
Hi,
Why is the method "getLastModified" in WicketFilter package-protected?
My problem is that I extend WicketFilter in an OSGi context. I'd like to
delegate all calls to my own "getLastModified" method to the underlying
WicketFilter. Since I am in an OSG
If it handles the request, it doesn't need to execute the rest of the
chain. Put OSIV in front of WicketFilter.
On Fri, May 14, 2010 at 5:19 PM, J wrote:
> I'm having some problems with
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter in some
> cases. I
s breaking the
filter chain by not calling the Filter.doFilter method (from Servlet API),
causing other filters defined in web.xml not to work within the same
url-pattern. (A workaround is to define WicketFilter as last entry in web.xml.)
When a non-wicket url is called within the same url-pat
g Spring. Our Spring configuration works with either the
> SpringWebApplicationFactory or ContextParamWebApplicationFactory.
>
>
>
>
> James Carman
> 03/29/2010 04:31 PM
> Please respond to
> users@wicket.apache.org
>
>
> To
> users@wicket.apache
Yes we are using Spring. Our Spring configuration works with either the
SpringWebApplicationFactory or ContextParamWebApplicationFactory.
James Carman
03/29/2010 04:31 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Re: WicketFilter Config
Do you
Do you want/need to configure your application via Spring?
On Mon, Mar 29, 2010 at 4:27 PM, wrote:
> Igor,
> We are using WicketFilter with SpringWebApplicationFactory. This works
> fine, but I've noticed SpringWebApplication has been deprecated, and since
> SpringWebApplicati
Igor,
We are using WicketFilter with SpringWebApplicationFactory. This works
fine, but I've noticed SpringWebApplication has been deprecated, and since
SpringWebApplicationFactory returns a SpringWebApplication we tried the
ContextParamWebApplicationFactory which also works.
Whi
aluated
> several ways of configuring Wicket using WicketFilter. I found
> ContextParamWebApplicationFactory to work with a Spring Annotation
> approach. SpringWebApplicationFactory also works with a Spring Annotation
> approach, but since it returns a SpringWebApplication (depreca
recommended configuration is on our wiki's spring page
-igor
On Thu, Mar 25, 2010 at 11:22 AM, wrote:
> Due to the fact that SpringWebApplication is deprecated, we evaluated
> several ways of configuring Wicket using WicketFilter. I found
> ContextParamWebApplicationFactory
Due to the fact that SpringWebApplication is deprecated, we evaluated
several ways of configuring Wicket using WicketFilter. I found
ContextParamWebApplicationFactory to work with a Spring Annotation
approach. SpringWebApplicationFactory also works with a Spring Annotation
approach, but
/
However, as it turns out (after some debugging) all the static
resources are served via WicketServlet too.
Could someone help me in configuring either wicketservlet
(compannioned with wicketfilter??) or wicketfilter such that static
resources in /webapp/* get a client cache lifetime of 1 hour
Igor Vaynberg schrieb:
ok, i added a protected getter. remember, you can only call it after
the filter's init() has been called.
sure, thanks Igor.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
ok, i added a protected getter. remember, you can only call it after
the filter's init() has been called.
-igor
2009/8/31 Uwe Schäfer :
> Igor Vaynberg schrieb:
>>
>> how are you getting a reference to the filter itself to start with?
>
> MyFunkyF
Igor Vaynberg schrieb:
how are you getting a reference to the filter itself to start with?
MyFunkyFilter extends WicketFilter :)
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail
;> then.
>
> done. but i´d love to grab the webApplication reference from the original
> filter by other means than nasty reflection *g*
>
> would it be possible to add
>
> protected Application getApplication(){
> return webApp
*
would it be possible to add
protected Application getApplication(){
return webApplication;
}
to the WicketFilter?
thx, uwe
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h
hm, i remember that filter also setting the application. maybe i did
not remember correctly. anyways, you can simply write your own filter
then.
-igor
2009/8/30 Uwe Schäfer :
> Igor Vaynberg schrieb:
>>
>> even though it is session specific it still sets application threadlocal.
>
> does not work
Igor Vaynberg schrieb:
even though it is session specific it still sets application threadlocal.
does not work, and does not look like it would:
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain)
throws IOException, ServletException
{
HttpServletReques
(), and
>>> Application.get()
>
> actually, (as the name implies), this is quite session centric. my current
> use case is web services where i don´t have a session.
>
> subclassing WicketFilter is not too easy as well, because it does not reveal
> the application reference (priv
session.
subclassing WicketFilter is not too easy as well, because it does not
reveal the application reference (private, no getter).
this makes me do nasty reflection tricks to get it, which - while it
works - feels even much more dirty than using the singleton approach to
get an application
Igor Vaynberg schrieb:
map WicketSessionFilter in front of those servlets, you will get both
Session.get() and Session.get().getApplication(), and
Application.get()
awesome. i was not aware of this.
thanks Igor.
cu uwe
-
To u
application. currently, i do it through singletons which
> feels quite dirty.
>
> i was wondering, if it would be possible to extend the WicketFilter, to
> offer a reference to anyone processing the request (further in the chain) to
> the application the request belongs to.
>
> It mi
Hi
once in a while, i´d like to create a servlet (or worse) that can grab
data from the wicket application. currently, i do it through singletons
which feels quite dirty.
i was wondering, if it would be possible to extend the WicketFilter, to
offer a reference to anyone processing the
Hi all,
I am using wicket and blazeds. The users logs in through wicket and they
use blazeds services as well. I need to verify in MessageBrokerServlet
(blazeds servlet) that the user has logged in. Then I added the
WicketSessionFilter to get the session. But I got a null pointer exception:
ja
Jun 25, 2009 at 10:39 AM, Rowe, Richard
> A. wrote:
>> I want to create a custom filter by extending WicketFilter. How do I get
>> the Wicket Session object in my custom filter?
>>
>>
>>
>> Richard Rowe
>>
>>
>>
>>
>
> ---
Session.get() if the parent filter has already initialized it
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Jun 25, 2009 at 10:39 AM, Rowe, Richard
A. wrote:
> I want to create a custom filter by extending WicketFilter. How do I get
> the Wicket Session object in my custom
I want to create a custom filter by extending WicketFilter. How do I get
the Wicket Session object in my custom filter?
Richard Rowe
The WicketSerlvet class is still fully supported -- if you look closely at
its code, you will see that it basically hands everything off to the
WicketFilter class. My experience has been that the servlet solution works
best with WebSphere 6.1.
--
View this message in context:
http
To our regret, I already had confirmed this information.
HTTP error code 404 is not generated because I am using
WicketServlet now.
However, the use of WicketFilter is recommended from
WicketServlet since Wicket1.3.
I want to learn the achievement method in WicketFilter.
If I can do, I want to
Thank you for the giving information.
To our regret, I already had confirmed this information.
HTTP error code 404 is not generated because I am using
WicketServlet now.
However, the use of WicketFilter is recommended from
WicketServlet since Wicket1.3.
I want to learn the achievement method in
Not sure if this applies to your case but have you seen
http://cwiki.apache.org/WICKET/websphere.html Notes on using Wicket with
WebSphere ?
--
View this message in context:
http://www.nabble.com/HTTP-error-code-404-is-returned-by-Wicket1.3.5%28WicketFilter%29-and-WAS6.0.1%28And-FixPack-21%29.-
I am using Wicket1.3.5 and WAS6.1.0(And FixPack21) now, and when
WicketFilter is used,
HTTP error code 404 is occur(It is not occur in Tomcat5.0.28).
The following question is here.
In the close() method of BufferedWebResponse, the Writer instance
might have to be shut.
For instance, after the
reak182 <[EMAIL PROTECTED]>
>> wrote:
>> >
>> >>
>> >> Hello,
>> >> my problem im having problem integrating the wicket-push example to
>> our
>> >> project using wicketfilter and since the wicket-push examples using
>
wrote:
> >
> >>
> >> Hello,
> >> my problem im having problem integrating the wicket-push example to our
> >> project using wicketfilter and since the wicket-push examples using
> >> wicketservlet..how can i configure this changes?i
oblem im having problem integrating the wicket-push example to our
>> project using wicketfilter and since the wicket-push examples using
>> wicketservlet..how can i configure this changes?i already ported to
>> servlet-api 2.5.
>>
>> i change from...
>> ServletContex
> project using wicketfilter and since the wicket-push examples using
> wicketservlet..how can i configure this changes?i already ported to
> servlet-api 2.5.
>
> i change from...
> ServletContext servletContext =
> ((WebApplication)Application.get()).getServletContext();
>
&
Hello,
my problem im having problem integrating the wicket-push example to our
project using wicketfilter and since the wicket-push examples using
wicketservlet..how can i configure this changes?i already ported to
servlet-api 2.5.
i change from...
ServletContext servletContext
> Netbeans 6. I am getting following error:
>
> WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter
> java.lang.NoClassDefFoundError: javax/servlet/Filter
>at java.lang.ClassLoader.defineClass1(Native Method)
>at java.lang.ClassLoader.defineClass(ClassL
plication on Glass Fish server. I am
> > using
> > > Netbeans 6. I am getting following error:
> > >
> > > WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter
> > > java.lang.NoClassDefFoundError: javax/servlet/Filter
> > >
; wrote:
> > Hello,
> >
> > I deployed my first hello world application on Glass Fish server. I am
> using
> > Netbeans 6. I am getting following error:
> >
> > WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter
> > java.lang.NoClassDefF
Pillai <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I deployed my first hello world application on Glass Fish server. I am using
> Netbeans 6. I am getting following error:
>
> WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter
> java.lang.NoClassDefFound
Hello,
I deployed my first hello world application on Glass Fish server. I am using
Netbeans 6. I am getting following error:
WebModule[/MyApp]PWC1270: Exception starting filter WicketFilter
java.lang.NoClassDefFoundError: javax/servlet/Filter
at java.lang.ClassLoader.defineClass1(Native
thanks, works great!
On 1/21/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> there is a webapplication.getservletcontext().
>
> -igor
>
>
> On Jan 21, 2008 7:42 AM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > Well, I have started migrating some code to 1.3, however i had some
> > STOP-AN
there is a webapplication.getservletcontext().
-igor
On Jan 21, 2008 7:42 AM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> Well, I have started migrating some code to 1.3, however i had some
> STOP-AND-CONFIRM situation
>
> In 1.2.x
>
> ServletContext context = Application.getWicketServlet
that should still work.
On Jan 21, 2008 4:42 PM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> Well, I have started migrating some code to 1.3, however i had some
> STOP-AND-CONFIRM situation
>
> In 1.2.x
>
> ServletContext context = Application.getWicketServlet
> ().getServletContext()
> ?
>
Well, I have started migrating some code to 1.3, however i had some
STOP-AND-CONFIRM situation
In 1.2.x
ServletContext context = Application.getWicketServlet().getServletContext()
?
doSomethingWithContext(context);
Migrating to 1.3.x
ServletContext context =
Application.getWicketFilter().getFi
yes there is some overhead. but it is much better then the servlet.
the filter can let the resource fall through and be served by the
servlet cotainer. if you use a servlet then the servlet itself has to
stream the resource out. guess which will have a more optimized
implementation...
-igor
On J
On Jan 11, 2008 5:33 PM, Maris Orbidans <[EMAIL PROTECTED]> wrote:
>
> > also wicket filter is much better at handling /* mapping
> >
> The only problem with this mapping is that filter is invoked for all
> requests that fetch static web resources (css, images, etc).
> I may be wrong but I don't th
also wicket filter is much better at handling /* mapping
The only problem with this mapping is that filter is invoked for all
requests that fetch static web resources (css, images, etc).
I may be wrong but I don't think it's good for performance. Especially
if you use some other filter, f
I think it's Websphere:
http://joshuajava.wordpress.com/2007/11/12/my-first-impression-about-wicket/
On 1/11/08, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> On 10/01/2008, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > example weblogic has pretty broken filter support,
>
> Wasn't that Websphere rather t
On 10/01/2008, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> example weblogic has pretty broken filter support,
Wasn't that Websphere rather than Weblogic, or did I miss something?
/Gwyn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Thanks Igor! I understand it now.
Best,
WT
--
The only constant in life is change.
- Original Message
From: Igor Vaynberg <[EMAIL PROTECTED]>
To: users@wicket.apache.org
Sent: Thursday, January 10, 2008 11:48:04 AM
Subject: Re: WicketServlet vs. WicketFilter
sometimes you
sometimes you might want to chain preprocessors/postprocessors around
wicket - in that case you have to use filters since you cant chain
servlets.
also wicket filter is much better at handling /* mapping
generally i would recommend wicketfilter. wicketservlet is there as a
backup for situations
Hi All,
Are there any criteria in choosing WicketFilter over WicketServlet? In the api
it says, "Please use WicketFilter if you require advanced chaining of
resources". What does this mean? If you have deeply rooted Panel within a Panel
with a Panel?
Thanks,
WT
--
The only c
Subject has to be wicketfilter of cource
Thijs wrote:
I'm migrating my app from 1.2.2 to 1.3 And the only real problem I
have is getting my rss feed up.
I'm adding the rss to the page head
I need the full path to the bookmarkable page to get this working (and
generate the all li
86 matches
Mail list logo