Re: Some Wicket components freeze app when URL rewrite

2019-04-26 Thread Joël Guelluy
Ooups, wrong handling, I mixed my aliases in previous email :-(
That was the answer to Sven about the browser requests.

Sorry

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



Re: Some Wicket components freeze app when URL rewrite

2019-04-26 Thread Joël Guelluy
WL10 :
wanted URL : 302 to
;JSESSIONID= 302 to
?0 200 -> OK

WL12 :
wanted URL : 503 after 2-3 minutes

after i try with WL12, in the IIS logs, i find http 400


Re: Some Wicket components freeze app when URL rewrite

2019-04-26 Thread Sven Meier
 
 
Check your browser network console, what URL is redirected to and whether the 
following request succeeds.
 

 
Sven
 
 
 

 
 
 
 
 
>  
> On 26.04.2019 at 10:58,wrote:
>  
>  
>  That's right, but seems like this redirect doesn't arrive to browser, not 
> even sure it comes to IIS. I looked at the IIS logs, it says error 400. The 
> same redirection with the old server (WL10, Wicket 1.5.10) through the same 
> IIS is OK. I even just tried to deploy the older war on the WL12, it fails on 
> same problem. WL12 seems to cause something wrong... Do you have an idea of a 
> possible cause ? (non standard behaviour ? something else ?) Something else 
> to try ? Thanks in advance... 
> - To 
> unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional 
> commands, e-mail: users-h...@wicket.apache.org 
>  
 

Re: Some Wicket components freeze app when URL rewrite

2019-04-26 Thread gaston_l
That's right, but seems like this redirect doesn't arrive to browser, not even 
sure it comes to IIS.
I looked at the IIS logs, it says error 400.
The same redirection with the old server (WL10, Wicket 1.5.10) through the same 
IIS is OK.

I even just tried to deploy the older war on the WL12, it fails on same problem.
WL12 seems to cause something wrong...
Do you have an idea of a possible cause ? (non standard behaviour ? something 
else ?)
Something else to try ?

Thanks in advance...

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



Re: Some Wicket components freeze app when URL rewrite

2019-04-25 Thread Sven Meier
 
 
By adding the link your page becomes stateful.
 

 
So Wicket will issue a redirect to a second url with a number attached, e.g. ?1
 

 
You'll have to check what your url rewrite is doing to that redirect url.
 

 
Hope this helps
 
Sven
 

 
 

 
 
 
 
 
>  
> On 25.04.2019 at 14:03,wrote:
>  
>  
>  Hi, I am migrating an application using wicket and a network configuration a 
> bit weird, and i'm facing a unexpected behaviour. The network configuration: 
> outside | IIS URL rewrite | Weblogic with Wicket app The snippet : I have 
> simplified the app, so i reproduce the code on a quickstart-based app. 
> --html-- 
>
>   John Doe--code-- public class HomePage extends WebPage { public 
> HomePage(final PageParameters parameters) { super(parameters); add(new 
> Label("testname", "Me")); // add(new Link("changetonl"){ // @Override // 
> public void onClick() { // this.getSession().setLocale(new Locale("nl")); // 
> } // }); } } The problem : The page as stated just higher works, but if i 
> uncomment the tag  and the add(Link), the IIS server says "http code 400" and 
> i have 503 message instead of the page. Environment : -was Weblogic 10.3 with 
> wicket 1.5.10 ->  was OK -now Weblogic 12.2 with wicket 7.11 (for now) : All 
> works when using URL directly on the WL server works when using the URL from 
> outside (through IIS url rewrite) if only Label BUT gives the problem when 
> using the URL from outside (through IIS url rewrite) if Link uncommented Do 
> you have an idea what could be the problem ? Thanks Gaston_L 
> - To 
> unsubscribe, e-mail: users-unsubscri
b...@wicket.apache.org For additional commands, e-mail: 
users-h...@wicket.apache.org   
>  
 

Some Wicket components freeze app when URL rewrite

2019-04-25 Thread gaston_l
Hi,

I am migrating an application using wicket and a network configuration a bit 
weird, and i'm facing a unexpected behaviour.

The network configuration:
outside
|
IIS URL rewrite
|
Weblogic with Wicket app


The snippet :
I have simplified the app, so i reproduce the code on a quickstart-based app.

--html--

http://wicket.apache.org;>
 
 
 
 
 John Doe
 
 


--code--
public class HomePage extends WebPage {
 public HomePage(final PageParameters parameters) {
 super(parameters);
 add(new Label("testname", "Me"));
// add(new Link("changetonl"){
// @Override
// public void onClick() {
// this.getSession().setLocale(new Locale("nl"));
// }
// });
 }
}

The problem :
The page as stated just higher works, but if i uncomment the tag  and the 
add(Link), the IIS server says "http code 400" and i have 503 message instead 
of the page.

Environment :
-was Weblogic 10.3 with wicket 1.5.10 -> was OK
-now Weblogic 12.2 with wicket 7.11 (for now) :
 All works when using URL directly on the WL server
 works when using the URL from outside (through IIS url rewrite) if only Label
 BUT gives the problem when using the URL from outside (through IIS url 
rewrite) if Link uncommented
 
Do you have an idea what could be the problem ?


Thanks

Gaston_L

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