Any suggestions on the above issue ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469p434.html
Sent from the Users forum mailing list archive at Nabble.com
wrote:
Any suggestions on the above issue ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469p434.html
Sent from the Users forum mailing list archive at Nabble.com
/mtgrigorov
On Thu, Jul 17, 2014 at 10:59 AM, rsi610 rahul.i...@lntinfotech.com
wrote:
Any suggestions on the above issue ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added
{
// go on with processing
chain.doFilter(request, response);
}
finally
{
Session.unset();
}
}
The httpsession in the WicketSessionFilter is null
Hi,
WicketSessionFilter#doFilter() code looks like:
@Override
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain)
throws IOException, ServletException
{
try
{
WebApplication application = bindApplication();
bindSession(request, application
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469.html
Sent from the Users forum mailing list archive at Nabble.com
I have also added Session.get().bind() on page 1.. that also doesnt help
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469p4666476.html
Sent from the Users forum mailing list
Hi,
Put a breakpoint in WicketSessionFilter#doFilter() and see what happens.
Is it called at all ? Is there Session thread local ? Etc.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Jul 8, 2014 at 1:46 PM, rsi610 rahul.i...@lntinfotech.com wrote:
I
WicketSessionFilter gets called..Also it has a session with it.
http://apache-wicket.1842946.n4.nabble.com/file/n4666503/WicketSession.jpg
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added
Hello, guys,
I experience a strange problem with trying to provide a custom servlet with the
wicket session.
Here is my web.xml conf:
filter
filter-namewicketFilter/filter-name
filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
init-param
Try with url-mapping: /friends/* both for the session filter and the servlet
On Sat, Aug 20, 2011 at 12:03 PM, martin.ase...@mail.bg wrote:
Hello, guys,
I experience a strange problem with trying to provide a custom servlet with
the wicket session.
Here is my web.xml conf:
filter
/*
wicketSessionFilter
org.apache.wicket.protocol.http.servlet.WicketSessionFilter
filterName
wicketFilter
wicketSessionFilter
/friends
REQUEST
INCLUDE
friendsManager
com.company.apps.appname.servlet.FriendsManagerServlet
friendsManager
/friends
The exception java.lang.IllegalStateException: you
org.apache.wicket.protocol.http.WicketFilter
applicationClassName
com.company.apps.appname.WebApp
filterPath
/
wicketFilter
/*
wicketSessionFilter
org.apache.wicket.protocol.http.servlet.WicketSessionFilter
filterName
wicketFilter
wicketSessionFilter
/friends
REQUEST
INCLUDE
friendsManager
is my web.xml conf:
wicketFilter
org.apache.wicket.protocol.http.WicketFilter
applicationClassName
com.company.apps.appname.WebApp
filterPath
/
wicketFilter
/*
wicketSessionFilter
org.apache.wicket.protocol.http.servlet.WicketSessionFilter
filterName
wicketFilter
the mapping is OK. we see WicketSessionFilter in the stack
there is the following code in WSF#bindSession():
if (session == null)
{
if (logger.isDebugEnabled())
{
logger.debug(could
is OK. we see WicketSessionFilter
in the stack
there is the following code in WSF#bindSession():
if (session == null)
{
if (logger.isDebugEnabled())
{
logger.debug(could not set Wicket session: key + sessionKey +
not found in http session for +
((HttpServletRequest)request).getContextPath
at root context and obtain a session.
Afterwards I hit a button that posts to the servlet. I think I'm supposed
to have HttpSession at the time.
Best,
Martin
- Цитат от Martin Grigorov (mgrigo...@apache.org), на
20.08.2011 в 12:44 - the mapping is OK. we see WicketSessionFilter
yes, really session is null :O
at servlet:
req.getSession() returns null
and wicketsessionfilter in debug mode prints
20-08-2011 13:25:57,753 DEBUG
org.apache.wicket.protocol.http.servlet.WicketSessionFilter.bindSession:180
- could not set Wicket session: key null not found
Sorry, my mistake...
Session is not null at servlet. There I have:
session is: org.apache.catalina.session.StandardSessionFacade@412f4b
while the statement in logs from wicketsessionfilter is:
20-08-2011 13:25:57,753 DEBUG
a session.
Afterwards I hit a button that posts to the servlet. I think I'm supposed
to have HttpSession at the time.
Best,
Martin
- Цитат от Martin Grigorov (mgrigo...@apache.org), на
20.08.2011 в 12:44 - the mapping is OK. we see WicketSessionFilter
in the stack
there is the following code
Grigorov (mgrigo...@apache.org), на
20.08.2011 в 12:44 - the mapping is OK. we see WicketSessionFilter
in the stack
there is the following code in WSF#bindSession():
if (session == null)
{
if (logger.isDebugEnabled())
{
logger.debug(could not set Wicket session: key + sessionKey
that posts to the servlet. I think I'm supposed
to have HttpSession at the time.
Best,
Martin
- Цитат от Martin Grigorov (mgrigo...@apache.org), на
20.08.2011 в 12:44 - the mapping is OK. we see WicketSessionFilter
in the stack
there is the following code in WSF#bindSession
) + name;, where
name is sessionWICKET_FILTER and getSessionAttributePrefix(request)
returns wicket:WICKET_FILTER:
As a result of all this the wicket session is stored in HttpSession with
attribute named
wicket:WICKET_FILTER:sessionWICKET_FILTER
On the other hand when the WicketSessionFilter
is stored in HttpSession with
attribute named
wicket:WICKET_FILTER:sessionWICKET_FILTER
On the other hand when the WicketSessionFilter is asked for the session, it
forms it's own attribute value of the stored session:
Inside WicketSessionFilter.getSession() (line 208):
sessionKey
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 Users
Didn't work for me :(
-
nothing is impossible
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-empty-HttpSession-tp1888171p2136548.html
Sent from the Wicket - User mailing list archive at Nabble.com
Thanks, Erik, that code would do the trick, too. I've implemented
a different workaround, though. In the next release of wicket (1.4.8),
WicketSessionFilter will 'expose' both the session and the application, Igor
already resolved my JIRA Issue [1]. BTW: Thanks to Igor for picking that
up so
),
WicketSessionFilter will 'expose' both the session and the application, Igor
already resolved my JIRA Issue [1]. BTW: Thanks to Igor for picking that
up so quickly!
cheers,
Jonas
[1] https://issues.apache.org/jira/browse/WICKET-2778
On Tue, Mar 16, 2010 at 9:05 PM, Erik van Oostene.vanoos...@grons.nl wrote
08:20, Jonas schreef:
Thanks, Erik, that code would do the trick, too. I've implemented
a different workaround, though. In the next release of wicket (1.4.8),
WicketSessionFilter will 'expose' both the session and the application,
Igor
already resolved my JIRA Issue [1]. BTW: Thanks to Igor
. In the next release of wicket (1.4.8),
WicketSessionFilter will 'expose' both the session and the application,
Igor
already resolved my JIRA Issue [1]. BTW: Thanks to Igor for picking that
up so quickly!
cheers,
Jonas
[1] https://issues.apache.org/jira/browse/WICKET-2778
On Tue, Mar 16
Hi Jonas,
Perhaps this is what you need:
http://cwiki.apache.org/WICKET/springbean-outside-wicket.html
Regards,
Erik.
Jonas wrote:
Hi all,
we're using WicketSessionFilter in our product to access
our custom WebSession, which works fine. Now we've tried
to also access
I create a JIRA issue for this:
https://issues.apache.org/jira/browse/WICKET-2778
cheers,
Jonas
On Thu, Mar 11, 2010 at 1:10 PM, Jonas barney...@gmail.com wrote:
Hi all,
we're using WicketSessionFilter in our product to access
our custom WebSession, which works fine. Now we've tried
to also
Hi all,
we're using WicketSessionFilter in our product to access
our custom WebSession, which works fine. Now we've tried
to also access the org.apache.wicket.Application (e.g. using
Session#getApplication or Application#get), which doesn't seem
to work, because the application isn't bound
this behavior with other browsers. I
will.
What
do you think is the best solution or approach to this problem?
Fernando
--
View this message in context:
http://old.nabble.com/WicketSessionFilter-and-several-domains-tp26502429p26543760.html
Sent from the Wicket - User mailing
Fernando Wermus-2 wrote:
Bas,
Thanks. I havent checked this behavior with other browsers. I will.
What
do you think is the best solution or approach to this problem?
Fernando
--
View this message in context:
http://old.nabble.com/WicketSessionFilter-and-several-domains
| |
|| (connects .com) | |
---
MessageBrokerServlet, flex component back end, which needs
wicketSessionFilter to verify user authentication.
WicketSessionServletFilter which injects the session into
MessageBrokerServlet
names anyway?
Bas
Fernando Wermus-2 wrote:
Bas,
Thanks. I havent checked this behavior with other browsers. I will.
What
do you think is the best solution or approach to this problem?
Fernando
--
View this message in context:
http://old.nabble.com/WicketSessionFilter-and-several
will.
What
do you think is the best solution or approach to this problem?
Fernando
--
View this message in context:
http://old.nabble.com/WicketSessionFilter-and-several-domains-tp26502429p26543760.html
Sent from the Wicket - User mailing list archive at Nabble.com
a debugger for finding out what's happening inside the
WicketSessionFilter.
Fernando Wermus-2 wrote:
Bas,
What I actually did was to login in .com and test the servlet I
mentioned you. Then I logged out and logged in the site using .com.ar
again.
This second time failed. In this case
) | |
---
MessageBrokerServlet, flex component back end, which needs
wicketSessionFilter to verify user authentication.
WicketSessionServletFilter which injects the session into
MessageBrokerServlet.
WicketFilter.
flex client --- MessageBrokerServlet through .com
the page
: .com and a .com.ar. I got to get the
session in a servlet using WicketSessionFilter for .com domain, but I
failed
in the another case. How come?
thanks in advance.
--
Fernando Wermus.
www.linkedin.com/in/fernandowermus
--
View this message in context:
http://old.nabble.com
for the domain from which it was set. Simply put: if a
cookie gets set from the .com, it is not available on the .com.ar
Bas
Fernando Wermus-2 wrote:
Hi all,
I have several domain for a site: .com and a .com.ar. I got to get
the
session in a servlet using WicketSessionFilter for .com domain
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
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:
java.lang.NullPointerException
at
org.apache.wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:158
the
WicketSessionFilter to get the session. But I got a null pointer
exception:
java.lang.NullPointerException
at
org.apache.wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:158)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
, Fernando
Wermusfernando.wer...@gmail.com wrote:
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
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:
java.lang.NullPointerException
at
org.apache.wicket.protocol.http.servlet.WicketSessionFilter.doFilter
Hi all ;
I am working on WicketSessionFilter for a while and i have problem about
accessing Wicket Session in my Servlet.
My question is :
In WicketSessionFilter.java (core class in wicket.1.3.6.jar) at doFilter()
method
HttpSession httpSession = httpServletRequest.getSession(false);
above
that means session has not yet been created. you should use
Session.exists() to test for this.
-igor
On Mon, Jul 27, 2009 at 7:38 AM, Altuğ B. Altıntaşalt...@gmail.com wrote:
Hi all ;
I am working on WicketSessionFilter for a while and i have problem about
accessing Wicket Session in my
It is impossible, I can get Session Id but then when I call servlet ' s
doPost() method , WicketSessionFilter can not find the HttpSession.
I mean :
HttpSession httpSession = httpServletRequest.getSession(false); //
WicketSessionFilter.java in wicket.1.3.6.jar
returns NULL.
so that my servlet
, WicketSessionFilter can not find the HttpSession.
I mean :
HttpSession httpSession = httpServletRequest.getSession(false); //
WicketSessionFilter.java in wicket.1.3.6.jar
returns NULL.
so that my servlet throws Exception because
Session wicketSession = Session.get();
throws
:
It is impossible, I can get Session Id but then when I call servlet ' s
doPost() method , WicketSessionFilter can not find the HttpSession.
I mean :
HttpSession httpSession = httpServletRequest.getSession(false); //
WicketSessionFilter.java in wicket.1.3.6.jar
returns NULL.
so
' s
doPost() method , WicketSessionFilter can not find the HttpSession.
I mean :
HttpSession httpSession = httpServletRequest.getSession(false); //
WicketSessionFilter.java in wicket.1.3.6.jar
returns NULL.
so that my servlet throws Exception because
Session wicketSession
. Altıntaşalt...@gmail.com
wrote:
It is impossible, I can get Session Id but then when I call servlet '
s
doPost() method , WicketSessionFilter can not find the HttpSession.
I mean :
HttpSession httpSession = httpServletRequest.getSession(false); //
WicketSessionFilter.java in wicket
Mathias,
This sounds similar to what I wrote on
http://cwiki.apache.org/WICKET/springbean-outside-wicket.html. Its not clear
from the javadoc, but I suspect that WicketSessionFilter also requires
access to a surrounding normal Wicket filter. If I had access to the code of
WicketSessionFilter
Thanks,
I figured it out. It was an example in the wicket-examples and the
HelloWorldServlet
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-setup-tp24336020p24343057.html
Sent from the Wicket - User mailing list archive at Nabble.com
Whats wrong with this setup
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
version=2.4
Any hints on why you're asking?
Mathias Nilsson wrote:
Whats wrong with this setup
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLoc
Yes, sorry.
I want to access Wicket Session in my FileUploadServlet.
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-setup-tp24336020p24337445.html
Sent from the Wicket - User mailing list archive at Nabble.com
And right now I'll get an error if I call Session.get() in the servlet.
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-setup-tp24336020p24337449.html
Sent from the Wicket - User mailing list archive at Nabble.com
at org.apache.wicket.Application.get(Application.java:177)
...
Any pointers on how to get around this? Is it possible to have the
WicketSessionFilter also bind the Application?
Thanks in advance! You guys are great.
ryan
attached to current thread btpool0-1
at org.apache.wicket.Application.get(Application.java:177)
...
Any pointers on how to get around this? Is it possible to have the
WicketSessionFilter also bind the Application?
Thanks in advance! You guys are great.
ryan
/dispatcher
/filter-mapping
I'm not sure if that is what is happening in this situation, but it
might be worth a shot.
-Original Message-
From: James Perry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2008 7:31 AM
To: users@wicket.apache.org
Subject: Re: WicketSessionFilter
Hello!
I would be grateful for any advice with the below problem I am
encountering with the WicketSessionFilter.
I managed to convince my colleagues to migrate our www.mypharmisis.com
(a drug ordering system for the Pharmaceutical industry) from Struts
to Wicket after the success of a greenfield
I think you have to wrap the wicket session filter around your *.do
mapping, not your new/* mapping.
Martijn
On Wed, Jul 30, 2008 at 11:35 AM, James Perry
[EMAIL PROTECTED] wrote:
Hello!
I would be grateful for any advice with the below problem I am
encountering with the WicketSessionFilter
the wicket session filter around your *.do
mapping, not your new/* mapping.
Martijn
On Wed, Jul 30, 2008 at 11:35 AM, James Perry
[EMAIL PROTECTED] wrote:
Hello!
I would be grateful for any advice with the below problem I am
encountering with the WicketSessionFilter.
I managed to convince
/* mapping.
Martijn
On Wed, Jul 30, 2008 at 11:35 AM, James Perry
[EMAIL PROTECTED] wrote:
Hello!
I would be grateful for any advice with the below problem I am
encountering with the WicketSessionFilter.
I managed to convince my colleagues to migrate our www.mypharmisis.com
(a drug
your *.do
mapping, not your new/* mapping.
Martijn
On Wed, Jul 30, 2008 at 11:35 AM, James Perry
[EMAIL PROTECTED] wrote:
Hello!
I would be grateful for any advice with the below problem I am
encountering with the WicketSessionFilter.
I managed to convince my colleagues
PROTECTED] wrote:
Hello!
I would be grateful for any advice with the below problem I am
encountering with the WicketSessionFilter.
I managed to convince my colleagues to migrate our www.mypharmisis.com
(a drug ordering system for the Pharmaceutical industry) from Struts
to Wicket after
if that is what is happening in this situation, but it
might be worth a shot.
-Original Message-
From: James Perry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2008 7:31 AM
To: users@wicket.apache.org
Subject: Re: WicketSessionFilter Problem:
java.lang.IllegalStateException
I can't
:/servlet:session not found
in http session for /projectname, localhost. I don't have any idea what's
wrong. Plz. help
Pzdr. Legol
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-problem-tp15225207p15225207.html
Sent from the Wicket - User mailing list archive at Nabble.com
that: 'could not set Wicket session: key
wicket:/servlet:session not found in http session for /projectname,
localhost. I don't have any idea what's wrong. Plz. help
Pzdr. Legol
--
View this message in context:
http://www.nabble.com/WicketSessionFilter-problem-tp15225207p15227146.html
Sent
On 8/25/07, Nick Ward [EMAIL PROTECTED] wrote:
I want to have a separate servlet to go along with my wicket application
that can serve streaming files. However, it needs to have access to the
wicket session to know what to stream. I was thinking about using a
WicketSessionFilter to help me do
73 matches
Mail list logo