• Post Reply Bookmark Topic Watch Topic
  • New Topic

Container Managed Security and JSF Exception  RSS feed

 
James Ellis
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am changing my JSF web app from the Sun RI to MyFaces and I get the following exception:



when I am redirected after logging-in to a page that contains JSF components after a restart.

Has anyone else used container managed security with JSF? What happens when you restart Tomcat, try to go to a JSF page that is protected, you are prompted to log in and you are redirected to JSF page after logging in. Does it work for you?

Thanks,
Jim
 
James Ellis
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This issue seems to have been caused by some extra lines in web.xml. I have no idea what they were being used for originally but they aren't needed now so I removed them. I am still not sure exactly why this would cause the afore-mentioned error but removing these lines seems to resolve the issue.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!