You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk> on 2008/06/27 15:26:53 UTC

Session is not my Session?

How can this happen, it clearly states that it are a ZeuzSession.class 
in the log?:



                if (ZeuzSession.class.isInstance(getSession())) {
                } else {

                    log
                            .error("Got an non zeuzSession on authorized 
page, should not be posssible:"
                                    + getSession().toString());
                }



ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non zeuzSession 
on authorized page, should not be 
posssible:zeuzgroup.application.ZeuzSession@263aff

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Session is not my Session?

Posted by Gwyn Evans <gw...@gmail.com>.
Guessing, but could different class loaders be involved?
/Gwyn

On Fri, Jun 27, 2008 at 2:26 PM, Nino Saturnino Martinez Vazquez Wael <
nino.martinez@jayway.dk> wrote:

> How can this happen, it clearly states that it are a ZeuzSession.class in
> the log?:
>
>
>
>               if (ZeuzSession.class.isInstance(getSession())) {
>               } else {
>
>                   log
>                           .error("Got an non zeuzSession on authorized
> page, should not be posssible:"
>                                   + getSession().toString());
>               }
>
>
>
> ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non zeuzSession on
> authorized page, should not be
> posssible:zeuzgroup.application.ZeuzSession@263aff
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Session is not my Session?

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Hmm, it seems that it starts to happen after I popup a page:

Are there anything wrong with this:

        PopupSettings popupSettings = new PopupSettings();
        Link link = new Link("print") {
            @Override
            public void onClick() {
                setResponsePage(new TrainingSchemePrintPage(
                        new BaseEntityDetachableModel<TrainingScheme>(
                                (TrainingScheme) trainingSchemeModel
                                        .getObject())));

            }
        };
        link.setPopupSettings(popupSettings);
        form.add(link);

Now the page that gets popped are a non secure page, but Im getting the 
problem at the orignal non popped page(the secure one). Seems really 
wierd, still I can only replicate on local dev machine, after cleaning 
/restarting..

Nino Saturnino Martinez Vazquez Wael wrote:
> ok i'll try to clean it and see what happens...
>
> Igor Vaynberg wrote:
>> well. it looks like you got the same class loaded in two classloaders.
>> however that happens it has to be an artifact of your environment.
>>
>> -igor
>>
>> On Fri, Jun 27, 2008 at 10:00 AM, Nino Saturnino Martinez Vazquez Wael
>> <ni...@jayway.dk> wrote:
>>  
>>> Well, with my jetty on my dev machine it shuts down, since I start/stop
>>> jetty alot... But on my production server, it redeploys, sometimes 
>>> tomcat
>>> gets non responsive so I restart tomcat or restart the machine..
>>>
>>>
>>> I also got the perm gen error but got that fixed by setting up gc on 
>>> perm
>>> gen..
>>>
>>> Igor Vaynberg wrote:
>>>    
>>>> do you redeploy the app without shutting down the server?
>>>>
>>>> -igor
>>>>
>>>> On Fri, Jun 27, 2008 at 9:32 AM, Nino Saturnino Martinez Vazquez Wael
>>>> <ni...@jayway.dk> wrote:
>>>>
>>>>      
>>>>> Not deliberately, it happens both in deployment mode and development
>>>>> mode.
>>>>> Im using the standard jetty start.java, from quickstart it also 
>>>>> happens
>>>>> on
>>>>> tomcat. And wicket 1.3.4 (but also happened on 1.3.3). Im using a 
>>>>> whole
>>>>> buch
>>>>> of dependencies.:
>>>>>
>>>>> wicket-spring
>>>>> wicket-spring-annot
>>>>> wicket-auth-roles
>>>>> wicket-datetime  wicket-extensions
>>>>>
>>>>> So im not sure of any of these can get me into troubles? Oh and 
>>>>> btw its
>>>>> not
>>>>> a consistent error, sometimes it works (havent tested it enough to 
>>>>> get a
>>>>> pattern)
>>>>>
>>>>> Igor Vaynberg wrote:
>>>>>
>>>>>        
>>>>>> are you using reloading class filter/servlet?
>>>>>>
>>>>>> -igor
>>>>>>
>>>>>> On Fri, Jun 27, 2008 at 6:26 AM, Nino Saturnino Martinez Vazquez 
>>>>>> Wael
>>>>>> <ni...@jayway.dk> wrote:
>>>>>>
>>>>>>
>>>>>>          
>>>>>>> How can this happen, it clearly states that it are a 
>>>>>>> ZeuzSession.class
>>>>>>> in
>>>>>>> the log?:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>             if (ZeuzSession.class.isInstance(getSession())) {
>>>>>>>             } else {
>>>>>>>
>>>>>>>                 log
>>>>>>>                         .error("Got an non zeuzSession on 
>>>>>>> authorized
>>>>>>> page,
>>>>>>> should not be posssible:"
>>>>>>>                                 + getSession().toString());
>>>>>>>             }
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non 
>>>>>>> zeuzSession
>>>>>>> on
>>>>>>> authorized page, should not be
>>>>>>> posssible:zeuzgroup.application.ZeuzSession@263aff
>>>>>>>
>>>>>>> -- 
>>>>>>> -Wicket for love
>>>>>>>
>>>>>>> Nino Martinez Wael
>>>>>>> Java Specialist @ Jayway DK
>>>>>>> http://www.jayway.dk
>>>>>>> +45 2936 7684
>>>>>>>
>>>>>>>
>>>>>>> --------------------------------------------------------------------- 
>>>>>>>
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>             
>>>>>> --------------------------------------------------------------------- 
>>>>>>
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>>>> -- 
>>>>> -Wicket for love
>>>>>
>>>>> Nino Martinez Wael
>>>>> Java Specialist @ Jayway DK
>>>>> http://www.jayway.dk
>>>>> +45 2936 7684
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>>         
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>       
>>> -- 
>>> -Wicket for love
>>>
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>     
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>   
>

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Session is not my Session?

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
ok i'll try to clean it and see what happens...

Igor Vaynberg wrote:
> well. it looks like you got the same class loaded in two classloaders.
> however that happens it has to be an artifact of your environment.
>
> -igor
>
> On Fri, Jun 27, 2008 at 10:00 AM, Nino Saturnino Martinez Vazquez Wael
> <ni...@jayway.dk> wrote:
>   
>> Well, with my jetty on my dev machine it shuts down, since I start/stop
>> jetty alot... But on my production server, it redeploys, sometimes tomcat
>> gets non responsive so I restart tomcat or restart the machine..
>>
>>
>> I also got the perm gen error but got that fixed by setting up gc on perm
>> gen..
>>
>> Igor Vaynberg wrote:
>>     
>>> do you redeploy the app without shutting down the server?
>>>
>>> -igor
>>>
>>> On Fri, Jun 27, 2008 at 9:32 AM, Nino Saturnino Martinez Vazquez Wael
>>> <ni...@jayway.dk> wrote:
>>>
>>>       
>>>> Not deliberately, it happens both in deployment mode and development
>>>> mode.
>>>> Im using the standard jetty start.java, from quickstart it also happens
>>>> on
>>>> tomcat. And wicket 1.3.4 (but also happened on 1.3.3). Im using a whole
>>>> buch
>>>> of dependencies.:
>>>>
>>>> wicket-spring
>>>> wicket-spring-annot
>>>> wicket-auth-roles
>>>> wicket-datetime  wicket-extensions
>>>>
>>>> So im not sure of any of these can get me into troubles? Oh and btw its
>>>> not
>>>> a consistent error, sometimes it works (havent tested it enough to get a
>>>> pattern)
>>>>
>>>> Igor Vaynberg wrote:
>>>>
>>>>         
>>>>> are you using reloading class filter/servlet?
>>>>>
>>>>> -igor
>>>>>
>>>>> On Fri, Jun 27, 2008 at 6:26 AM, Nino Saturnino Martinez Vazquez Wael
>>>>> <ni...@jayway.dk> wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> How can this happen, it clearly states that it are a ZeuzSession.class
>>>>>> in
>>>>>> the log?:
>>>>>>
>>>>>>
>>>>>>
>>>>>>             if (ZeuzSession.class.isInstance(getSession())) {
>>>>>>             } else {
>>>>>>
>>>>>>                 log
>>>>>>                         .error("Got an non zeuzSession on authorized
>>>>>> page,
>>>>>> should not be posssible:"
>>>>>>                                 + getSession().toString());
>>>>>>             }
>>>>>>
>>>>>>
>>>>>>
>>>>>> ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non zeuzSession
>>>>>> on
>>>>>> authorized page, should not be
>>>>>> posssible:zeuzgroup.application.ZeuzSession@263aff
>>>>>>
>>>>>> --
>>>>>> -Wicket for love
>>>>>>
>>>>>> Nino Martinez Wael
>>>>>> Java Specialist @ Jayway DK
>>>>>> http://www.jayway.dk
>>>>>> +45 2936 7684
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> --
>>>> -Wicket for love
>>>>
>>>> Nino Martinez Wael
>>>> Java Specialist @ Jayway DK
>>>> http://www.jayway.dk
>>>> +45 2936 7684
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>         
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>       
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Session is not my Session?

Posted by Igor Vaynberg <ig...@gmail.com>.
well. it looks like you got the same class loaded in two classloaders.
however that happens it has to be an artifact of your environment.

-igor

On Fri, Jun 27, 2008 at 10:00 AM, Nino Saturnino Martinez Vazquez Wael
<ni...@jayway.dk> wrote:
> Well, with my jetty on my dev machine it shuts down, since I start/stop
> jetty alot... But on my production server, it redeploys, sometimes tomcat
> gets non responsive so I restart tomcat or restart the machine..
>
>
> I also got the perm gen error but got that fixed by setting up gc on perm
> gen..
>
> Igor Vaynberg wrote:
>>
>> do you redeploy the app without shutting down the server?
>>
>> -igor
>>
>> On Fri, Jun 27, 2008 at 9:32 AM, Nino Saturnino Martinez Vazquez Wael
>> <ni...@jayway.dk> wrote:
>>
>>>
>>> Not deliberately, it happens both in deployment mode and development
>>> mode.
>>> Im using the standard jetty start.java, from quickstart it also happens
>>> on
>>> tomcat. And wicket 1.3.4 (but also happened on 1.3.3). Im using a whole
>>> buch
>>> of dependencies.:
>>>
>>> wicket-spring
>>> wicket-spring-annot
>>> wicket-auth-roles
>>> wicket-datetime  wicket-extensions
>>>
>>> So im not sure of any of these can get me into troubles? Oh and btw its
>>> not
>>> a consistent error, sometimes it works (havent tested it enough to get a
>>> pattern)
>>>
>>> Igor Vaynberg wrote:
>>>
>>>>
>>>> are you using reloading class filter/servlet?
>>>>
>>>> -igor
>>>>
>>>> On Fri, Jun 27, 2008 at 6:26 AM, Nino Saturnino Martinez Vazquez Wael
>>>> <ni...@jayway.dk> wrote:
>>>>
>>>>
>>>>>
>>>>> How can this happen, it clearly states that it are a ZeuzSession.class
>>>>> in
>>>>> the log?:
>>>>>
>>>>>
>>>>>
>>>>>             if (ZeuzSession.class.isInstance(getSession())) {
>>>>>             } else {
>>>>>
>>>>>                 log
>>>>>                         .error("Got an non zeuzSession on authorized
>>>>> page,
>>>>> should not be posssible:"
>>>>>                                 + getSession().toString());
>>>>>             }
>>>>>
>>>>>
>>>>>
>>>>> ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non zeuzSession
>>>>> on
>>>>> authorized page, should not be
>>>>> posssible:zeuzgroup.application.ZeuzSession@263aff
>>>>>
>>>>> --
>>>>> -Wicket for love
>>>>>
>>>>> Nino Martinez Wael
>>>>> Java Specialist @ Jayway DK
>>>>> http://www.jayway.dk
>>>>> +45 2936 7684
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> -Wicket for love
>>>
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Session is not my Session?

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Well, with my jetty on my dev machine it shuts down, since I start/stop 
jetty alot... But on my production server, it redeploys, sometimes 
tomcat gets non responsive so I restart tomcat or restart the machine..


I also got the perm gen error but got that fixed by setting up gc on 
perm gen..

Igor Vaynberg wrote:
> do you redeploy the app without shutting down the server?
>
> -igor
>
> On Fri, Jun 27, 2008 at 9:32 AM, Nino Saturnino Martinez Vazquez Wael
> <ni...@jayway.dk> wrote:
>   
>> Not deliberately, it happens both in deployment mode and development mode.
>> Im using the standard jetty start.java, from quickstart it also happens on
>> tomcat. And wicket 1.3.4 (but also happened on 1.3.3). Im using a whole buch
>> of dependencies.:
>>
>> wicket-spring
>> wicket-spring-annot
>> wicket-auth-roles
>> wicket-datetime  wicket-extensions
>>
>> So im not sure of any of these can get me into troubles? Oh and btw its not
>> a consistent error, sometimes it works (havent tested it enough to get a
>> pattern)
>>
>> Igor Vaynberg wrote:
>>     
>>> are you using reloading class filter/servlet?
>>>
>>> -igor
>>>
>>> On Fri, Jun 27, 2008 at 6:26 AM, Nino Saturnino Martinez Vazquez Wael
>>> <ni...@jayway.dk> wrote:
>>>
>>>       
>>>> How can this happen, it clearly states that it are a ZeuzSession.class in
>>>> the log?:
>>>>
>>>>
>>>>
>>>>              if (ZeuzSession.class.isInstance(getSession())) {
>>>>              } else {
>>>>
>>>>                  log
>>>>                          .error("Got an non zeuzSession on authorized
>>>> page,
>>>> should not be posssible:"
>>>>                                  + getSession().toString());
>>>>              }
>>>>
>>>>
>>>>
>>>> ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non zeuzSession
>>>> on
>>>> authorized page, should not be
>>>> posssible:zeuzgroup.application.ZeuzSession@263aff
>>>>
>>>> --
>>>> -Wicket for love
>>>>
>>>> Nino Martinez Wael
>>>> Java Specialist @ Jayway DK
>>>> http://www.jayway.dk
>>>> +45 2936 7684
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>         
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>       
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Session is not my Session?

Posted by Igor Vaynberg <ig...@gmail.com>.
do you redeploy the app without shutting down the server?

-igor

On Fri, Jun 27, 2008 at 9:32 AM, Nino Saturnino Martinez Vazquez Wael
<ni...@jayway.dk> wrote:
> Not deliberately, it happens both in deployment mode and development mode.
> Im using the standard jetty start.java, from quickstart it also happens on
> tomcat. And wicket 1.3.4 (but also happened on 1.3.3). Im using a whole buch
> of dependencies.:
>
> wicket-spring
> wicket-spring-annot
> wicket-auth-roles
> wicket-datetime  wicket-extensions
>
> So im not sure of any of these can get me into troubles? Oh and btw its not
> a consistent error, sometimes it works (havent tested it enough to get a
> pattern)
>
> Igor Vaynberg wrote:
>>
>> are you using reloading class filter/servlet?
>>
>> -igor
>>
>> On Fri, Jun 27, 2008 at 6:26 AM, Nino Saturnino Martinez Vazquez Wael
>> <ni...@jayway.dk> wrote:
>>
>>>
>>> How can this happen, it clearly states that it are a ZeuzSession.class in
>>> the log?:
>>>
>>>
>>>
>>>              if (ZeuzSession.class.isInstance(getSession())) {
>>>              } else {
>>>
>>>                  log
>>>                          .error("Got an non zeuzSession on authorized
>>> page,
>>> should not be posssible:"
>>>                                  + getSession().toString());
>>>              }
>>>
>>>
>>>
>>> ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non zeuzSession
>>> on
>>> authorized page, should not be
>>> posssible:zeuzgroup.application.ZeuzSession@263aff
>>>
>>> --
>>> -Wicket for love
>>>
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Session is not my Session?

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Not deliberately, it happens both in deployment mode and development 
mode. Im using the standard jetty start.java, from quickstart it also 
happens on tomcat. And wicket 1.3.4 (but also happened on 1.3.3). Im 
using a whole buch of dependencies.:

wicket-spring
wicket-spring-annot
wicket-auth-roles
wicket-datetime  
wicket-extensions

So im not sure of any of these can get me into troubles? Oh and btw its 
not a consistent error, sometimes it works (havent tested it enough to 
get a pattern)

Igor Vaynberg wrote:
> are you using reloading class filter/servlet?
>
> -igor
>
> On Fri, Jun 27, 2008 at 6:26 AM, Nino Saturnino Martinez Vazquez Wael
> <ni...@jayway.dk> wrote:
>   
>> How can this happen, it clearly states that it are a ZeuzSession.class in
>> the log?:
>>
>>
>>
>>               if (ZeuzSession.class.isInstance(getSession())) {
>>               } else {
>>
>>                   log
>>                           .error("Got an non zeuzSession on authorized page,
>> should not be posssible:"
>>                                   + getSession().toString());
>>               }
>>
>>
>>
>> ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non zeuzSession on
>> authorized page, should not be
>> posssible:zeuzgroup.application.ZeuzSession@263aff
>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Session is not my Session?

Posted by Igor Vaynberg <ig...@gmail.com>.
are you using reloading class filter/servlet?

-igor

On Fri, Jun 27, 2008 at 6:26 AM, Nino Saturnino Martinez Vazquez Wael
<ni...@jayway.dk> wrote:
> How can this happen, it clearly states that it are a ZeuzSession.class in
> the log?:
>
>
>
>               if (ZeuzSession.class.isInstance(getSession())) {
>               } else {
>
>                   log
>                           .error("Got an non zeuzSession on authorized page,
> should not be posssible:"
>                                   + getSession().toString());
>               }
>
>
>
> ERROR [btpool0-2] (ZeuzAuthorizedPage.java:73) - Got an non zeuzSession on
> authorized page, should not be
> posssible:zeuzgroup.application.ZeuzSession@263aff
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org