Travis Gregg wrote:

I am having problems getting Acegi to work in BEA Weblogic 8.1 (perhaps the same problem Patrick is having). Any help or advice would be appreciated.

My first problem is this: Bea doesn’t seem to load the Spring ContextLoader Listener correctly. To get around this, I'm using the Spring ContextLoaderServlet. Since Filters get loaded before the ContextLoaderServlet, they throw an exception since the Spring context is not loaded. I get around this with a modified version of the FilterToBeanProxy that swallows exceptions in the init() method, and attempts to re-init in the doFilter method if the filter delegate is null.

I would appreciate it if anyone can tell me a way to get Bea to load the filters correctly without modified code.

My next problem (after getting around the Listener issue) is that after successfully logging in and viewing a secured page, a subsequent request for a secured url redirects me to the login page.

Below is a debug log using the sample contacts.war. This is from version .51. I built the latest from CVS the other day and get the same issue.

Thanks in advance,

Travis

Hi Travis

You're probably best off posting to the Spring Users list regarding the ContextLoaderListener problem under Weblogic.

Regarding the repeated authentication attempt, it's quite odd. To help work through it, would you mind deploying an unmodified contacts.war built using a current CVS HEAD snapshot, and email me off-list the full log?

Thanks
Ben



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to