Perhaps you could chain the SeamServletFilter in before your filter to initialise all of the Seam stuff before it gets to your custom filter.
Don't know if this will work but just a thought.
Yes, that ,might work. But if you do that, you should make sure you *don't* use SeamPhaseListener or subclasses.
Personally I would avoid use of a servlet filter for this, and try to do the work in a phase listener.
My filter is last in the chain but still is not working.
But I couln't understand why a standard EJB lookup gives me errors?