Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-23 Thread shetc

I have had to deal with the infamous
WebSphere-servlet-filter-implementation-sucks problem before.
As discussed, this requires that the WicketServlet be used instead of the
WicketFilter. Ok, no sweat
since WicketServlet calls the WicketFilter methods anyway. However, I have a
time-critical deliverable
so I'll have to live with it. Once that is completed, I plan to open a PMR
with IBM about this issue.

I really appreciate your help, guys!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2335590.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread abdul

Checkout this thread
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-Websphere-6-1-td2309401.html
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2331731.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread James Carman
You'd think with all of the open source code out there that actually
does work they could figure it out. :)

On Thu, Aug 19, 2010 at 3:15 PM, Igor Vaynberg  wrote:
> im going to guess its only websphere, it has pretty horrific support
> for filters. at least that is what ive gathered from watching this
> list for years. one thing to try is to switch to WicketServlet.
>
> -igor
>
> On Thu, Aug 19, 2010 at 11:51 AM, James Carman
>  wrote:
>> This only happens in WebSphere?  What about using a Jetty Start.java
>> testing application?
>>
>> On Thu, Aug 19, 2010 at 1:33 PM, shetc  wrote:
>>>
>>> I tried that as well Igor but still getting the 404 error. Can you advise me
>>> on where I can try and trace
>>> the root cause of the issue?
>>> --
>>> View this message in context: 
>>> http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2331608.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread Igor Vaynberg
im going to guess its only websphere, it has pretty horrific support
for filters. at least that is what ive gathered from watching this
list for years. one thing to try is to switch to WicketServlet.

-igor

On Thu, Aug 19, 2010 at 11:51 AM, James Carman
 wrote:
> This only happens in WebSphere?  What about using a Jetty Start.java
> testing application?
>
> On Thu, Aug 19, 2010 at 1:33 PM, shetc  wrote:
>>
>> I tried that as well Igor but still getting the 404 error. Can you advise me
>> on where I can try and trace
>> the root cause of the issue?
>> --
>> View this message in context: 
>> http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2331608.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread James Carman
This only happens in WebSphere?  What about using a Jetty Start.java
testing application?

On Thu, Aug 19, 2010 at 1:33 PM, shetc  wrote:
>
> I tried that as well Igor but still getting the 404 error. Can you advise me
> on where I can try and trace
> the root cause of the issue?
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2331608.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread Igor Vaynberg
WebRequestCodingStrategy may be a good place to start

-igor

On Thu, Aug 19, 2010 at 10:33 AM, shetc  wrote:
>
> I tried that as well Igor but still getting the 404 error. Can you advise me
> on where I can try and trace
> the root cause of the issue?
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2331608.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread shetc

I tried that as well Igor but still getting the 404 error. Can you advise me
on where I can try and trace
the root cause of the issue?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2331608.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread Igor Vaynberg
you should try also adding /app/* to the filterMappingUrlPattern
parameter of the wicket filter

-igor

On Thu, Aug 19, 2010 at 7:10 AM, shetc  wrote:
>
> Hi All,
>
> I'm still having this issue where I can't use a filter pattern as follow:
>
> 
>     WicketFilter
>     /app/*
> 
>
> I simplified my test application so it creates a HomePage with a Link --
> click on the link and the app redirects to AnotherPage. It uses a plain
> WebApplication rather than AuthenticatedWebApplication.
>
> Entering the URLhttps://localsecure.spherion.com/MyWeb/app/
> works fine and takes me to the HomePage.
>
> However, when I click on the Link, I get a 404 error and URL is
> https://localsecure.spherion.com/MyWeb/?wicket:bookmarkablePage=:com.wicket.AnotherPage
> You can see that the filterPath app/ was dropped from the URL.
>
> Can someone please help me by suggesting where to track this issue within
> the Wicket code.
> I would really appreciate it!
>
> Thanks,
> Steve
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2331241.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread shetc

Hi All,

I'm still having this issue where I can't use a filter pattern as follow: 


 WicketFilter
 /app/*


I simplified my test application so it creates a HomePage with a Link -- 
click on the link and the app redirects to AnotherPage. It uses a plain 
WebApplication rather than AuthenticatedWebApplication.

Entering the URLhttps://localsecure.spherion.com/MyWeb/app/
works fine and takes me to the HomePage.

However, when I click on the Link, I get a 404 error and URL is
https://localsecure.spherion.com/MyWeb/?wicket:bookmarkablePage=:com.wicket.AnotherPage
You can see that the filterPath app/ was dropped from the URL.

Can someone please help me by suggesting where to track this issue within
the Wicket code.
I would really appreciate it!

Thanks,
Steve

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URL-pattern-app-does-not-work-for-Wicket-1-4-6-and-WebSphere-6-1-tp1891723p2331241.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-03-22 Thread shetc

Hi All,

I'm bringing this issue up again as I am going to have to make a decision
soon,
which is: stick with Wicket 1.4.7 or go back to using 1.3.7.

I have spent quite a bit of time trying to understand why the redirection
fails
when using AuthenticatedWebApplication. I created a small bare-bones web app
that uses a WicketFilter instead of a WicketServlet. In this case, the
redirection
to the Sign In page fails if the filter's url-pattern is set to /app/*, but
works
if it is set to just /*.

I am happy to keep looking for the problem if someone can offer me some
advice
on where to look for it. If it's related to WebSphere then how might I go
about
proving that possibility?

Thanks,
Steve

-- 
View this message in context: 
http://old.nabble.com/URL-pattern--app-*-does-not-work-for-Wicket-1.4.6-and-WebSphere-6.1-tp27794134p27988409.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-03-05 Thread shetc

I have a Panel that is a copy of the
org.apache.wicket.authentication.panel.SignInPanel class
from wicket-auth-roles-1.4.7.jar. The onSubmit code is the same:

@Override
public final void onSubmit()
{
if (signIn(getUsername(), getPassword()))
{
onSignInSucceeded();
}
else
{
onSignInFailed();
}
}



-- 
View this message in context: 
http://old.nabble.com/URL-pattern--app-*-does-not-work-for-Wicket-1.4.6-and-WebSphere-6.1-tp27794134p27797456.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-03-05 Thread Riyad Kalla
Steve,

So your context-root is /JobCenter and the URL mapping /app/* -- and after
submitting the form WebSphere(?) is redirecting to the server's root, not
even to /JobCenter?

I can't think of a case where WebSphere wouldn't honor the context root
atleast unless you are returning a redirect from the form in Wicket that is
incorrect? What does that onSubmit code look like?

-R

On Fri, Mar 5, 2010 at 9:19 AM, shetc  wrote:

>
> Just did by coincidence -- the issue still exists.
> --
> View this message in context:
> http://old.nabble.com/URL-pattern--app-*-does-not-work-for-Wicket-1.4.6-and-WebSphere-6.1-tp27794134p27795999.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-03-05 Thread shetc

Just did by coincidence -- the issue still exists.
-- 
View this message in context: 
http://old.nabble.com/URL-pattern--app-*-does-not-work-for-Wicket-1.4.6-and-WebSphere-6.1-tp27794134p27795999.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-03-05 Thread Riyad Kalla
Steve,

Can you upgrade to 1.4.7 (was announced yesterday) and see if the issue
persists?

-Riyad

On Fri, Mar 5, 2010 at 6:53 AM, Steve Hiller  wrote:

> Hi All,
>
> I am working on my first Wicket app that uses the 1.4 branch instead of
> 1.3.
> As usual, this app will be deployed to WebSphere 6.1.
>
> For the 1.4 project, I have found that I still need to use a Wicket servlet
> instead of a filter in order to get to work with WebSphere 6.1
> (even though I have set
> com.ibm.ws.webcontainer.invokefilterscompatibility=true).
> As in the previous apps, the Wicket servlet mapping uses a url-pattern set
> to /app/*.
> And, as in the previous apps, the Wicket application class inherits from
> AuthenticatedWebApplication.
>
> In this latest app, I have found that I cannot use the url-pattern set to
> /app/*.
> The authentication redirection to the Sign-In page works, and has this URL:
>
> https://localsecure.spherion.com/JobCenter/app/signin
>
> But when I submit the Sign-in page form, I receive the following message
> from WebSphere:
>
> SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
>
> This happens because the URL is missing the context root and /app/*:
>
> https://localsecure.spherion.com/?wicket:interface=:4
>
> However, when I use an url-pattern set to /* then the form submit works
> with a URL like:
>
> https://localsecure.spherion.com/JobCenter/?wicket:interface=:0
>
> where the context root is still present.
>
> Am I doing something wrong here?
>
> Thanks,
> Steve
>


URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-03-05 Thread Steve Hiller
Hi All,

I am working on my first Wicket app that uses the 1.4 branch instead of 1.3.
As usual, this app will be deployed to WebSphere 6.1.

For the 1.4 project, I have found that I still need to use a Wicket servlet 
instead of a filter in order to get to work with WebSphere 6.1
(even though I have set 
com.ibm.ws.webcontainer.invokefilterscompatibility=true).
As in the previous apps, the Wicket servlet mapping uses a url-pattern set to 
/app/*.
And, as in the previous apps, the Wicket application class inherits from 
AuthenticatedWebApplication.

In this latest app, I have found that I cannot use the url-pattern set to 
/app/*.
The authentication redirection to the Sign-In page works, and has this URL:

https://localsecure.spherion.com/JobCenter/app/signin

But when I submit the Sign-in page form, I receive the following message from 
WebSphere:

SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.

This happens because the URL is missing the context root and /app/*:

https://localsecure.spherion.com/?wicket:interface=:4

However, when I use an url-pattern set to /* then the form submit works with a 
URL like:

https://localsecure.spherion.com/JobCenter/?wicket:interface=:0

where the context root is still present.

Am I doing something wrong here?

Thanks,
Steve