RichFaces 3.3.2 SR1 redirect after successful login to
edgie Dec 5, 2009 4:46 PMHello this issue seems to be similar to:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=133124&start=0&postdays=postDays&postorder=postOrder&highlight=highlight
but encountered with RichFaces 3.3.2 SR1.
I applied solution found in Jira:
https://jira.jboss.org/jira/browse/RF-2985
No luck. . .
I can access file directly from browser:
http://localhost:8080/{CONTEXT-PATH}/faces/a4j_resource/org/richfaces/renderkit/html/scripts/skinning.js
Here is some related observation:
1. I clean browser cache and refresh login pageCTRL+F5
2. Firebug shows that:
401 Failed to load source for:
http://localhost:8080/CONTEXT-PATH}/faces/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAH7qrKnJXT5DGkAFDwECQ__;jsessionid=B9BA4C5419758AECFDFEBEF5E3C5A2FB
401 Failed to load source for:
http://localhost:8080/CONTEXT-PATH}/faces/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAH7qrKnJXT5DGkAFDwECQ__;jsessionid=B9BA4C5419758AECFDFEBEF5E3C5A2FB
401 Failed to load source for:
http://localhost:8080/CONTEXT-PATH}/faces/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/skinning.js
3. Three browser pop-up windows shows up asking for user name and password, even they are not part of application.
4. After entering user/pass 3 times fire bug shows:
first resource css(xcss): 200 ok -> content of css received in response
second resource css(xcss): 200 ok -> content of css received in response
third resource css(xcss): 200 ok -> correct content of javascript is not received.
Response has this message: "Processing authentication... Processing authentication... Processing authentication..."
5. I'm able to enter user/pass to my applications login window
6. After successful login -- request is made for javascript file previously failed to receive.
7. javascripts file content shown in browser window
8 after logout and then login, everything is ok I see application,
9. Sometimes it is not javascript file, but one of those css(xcss).
10. If I set
<context-param> <param-name>org.richfaces.LoadStyleStrategy</param-name> <param-value>NONE</param-value> </context-param>
then javascript file doesn't appear, but application style is broken down.
Please help me find solution to this issue.