Hi,

 

I have a strange issue with wicket regarding redirection.

 

In Application class I setup all pages with HybridUrlCodingStrategy
(mount(new HybridUrlCodingStrategy("/assets", AssetSearchPage.class)));

 

Everything works fine on my server, but on client server there is a problem
because, sometimes, when I try to acces a page (for example assets page) the
url pass a few page indexes, for example, if now I am on page home.3 and
click on assets link, the page recivied is assets.11. Then if I click on
customers link I get customers.18

 

I look into access.log and I saw that asset.4 to asset.10 were logged with
status 302 (temporary moved).

 

Here are some line from the access.log:

 

10.52.2.109 - - [15/Mar/2011:17:56:01 +0200] "GET
/crm-web/app/home.3?wicket:interface=:3:body:headerPanel:menu_panel:assetCon
tainer:assetLink::ILinkListener:: HTTP/1.1" 302 287 

10.52.2.109 - - [15/Mar/2011:17:56:01 +0200] "GET /crm-web/app/assets
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:56:01 +0200] "GET
/crm-web/themes/red-black/imgs/drop_down_arrow.gif HTTP/1.1" 200 80 

10.52.2.109 - - [15/Mar/2011:17:56:01 +0200] "GET /crm-web/app/assets.4
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:56:02 +0200] "GET /crm-web/app/assets.5
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:56:02 +0200] "GET /crm-web/app/assets.6
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:56:03 +0200] "GET /crm-web/app/assets.7
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:56:03 +0200] "GET /crm-web/app/assets.8
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:56:03 +0200] "GET /crm-web/app/assets.9
HTTP/1.1" 302 293 

10.52.2.109 - - [15/Mar/2011:17:56:04 +0200] "GET /crm-web/app/assets.10
HTTP/1.1" 302 293 

10.52.2.109 - - [15/Mar/2011:17:56:04 +0200] "GET /crm-web/app/assets.11
HTTP/1.1" 200 4528 

10.52.2.109 - - [15/Mar/2011:17:56:05 +0200] "GET
/crm-web/themes/red-black/imgs/icon_search.gif HTTP/1.1" 200 1044 

10.52.2.109 - - [15/Mar/2011:17:56:05 +0200] "GET
/crm-web/themes/red-black/imgs/colapse.gif HTTP/1.1" 200 116 

10.52.2.109 - - [15/Mar/2011:17:56:05 +0200] "GET
/crm-web/themes/red-black/imgs/page_excel.png HTTP/1.1" 200 817 

10.52.2.109 - - [15/Mar/2011:17:56:05 +0200] "GET
/crm-web/app/assets.11?wicket:interface=:11:body::IBehaviorListener:0:&rando
m=0.9913568522425373 HTTP/1.1" 200 638 

10.53.18.219 - - [15/Mar/2011:17:56:07 +0200] "GET
/crm-web/themes/red-black/imgs/drop_down_arrow.gif HTTP/1.1" 304 0

...........

10.52.2.109 - - [15/Mar/2011:17:51:26 +0200] "GET /crm-web/app/cases.5
HTTP/1.1" 302 289 

10.53.14.248 - - [15/Mar/2011:17:51:27 +0200] "POST
/crm-web/app/editcustomer.14?wicket:interface=:14:body:pageContent:myForm:ta
bPanel:sections:2:sectionPanel:collapsiblePanel:contentPanel:rows:1:cells:0:
cell:cell:county::IBehaviorListener:0:&random=0.7420959949740673 HTTP/1.1"
200 1457 

10.52.2.109 - - [15/Mar/2011:17:51:27 +0200] "GET /crm-web/app/cases.6
HTTP/1.1" 302 289 

10.52.2.109 - - [15/Mar/2011:17:51:27 +0200] "GET /crm-web/app/cases.7
HTTP/1.1" 302 289 

10.52.2.109 - - [15/Mar/2011:17:51:28 +0200] "GET /crm-web/app/cases.8
HTTP/1.1" 302 289 

10.52.2.109 - - [15/Mar/2011:17:51:28 +0200] "GET /crm-web/app/cases.9
HTTP/1.1" 302 291 

10.53.14.248 - - [15/Mar/2011:17:51:29 +0200] "POST
/crm-web/app/editcustomer.14?wicket:interface=:14:body:pageContent:myForm:ta
bPanel:sections:2:sectionPanel:collapsiblePanel:contentPanel:rows:2:cells:0:
cell:cell:city::IBehaviorListener:0:-1&random=0.0918287288306226 HTTP/1.1"
200 93 

10.52.2.109 - - [15/Mar/2011:17:51:29 +0200] "GET /crm-web/app/cases.10
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:51:29 +0200] "GET /crm-web/app/cases.11
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:51:29 +0200] "GET /crm-web/app/cases.12
HTTP/1.1" 302 291 

10.52.2.109 - - [15/Mar/2011:17:51:30 +0200] "GET /crm-web/app/cases.13
HTTP/1.1" 302 291 

10.53.14.248 - - [15/Mar/2011:17:51:31 +0200] "GET
/crm-web/app/editcustomer.14?wicket:interface=:14:body:pageContent:myForm:bu
ttonPanel:save::IBehaviorListener:0:&random=0.801847447519579 HTTP/1.1" 200
636

 

The problem appears pretty random and I can't reproduce it every time.

 

Also I would like to mention that the application server is Weblogic 10g and
there is no error into application logs.

 

Can anybody tell me who do this redirect and how can I avoid this?

 

Thanks!

Reply via email to