Re: JBWEB000284: Exception starting filter OCPsoft Rewrite Filter

Splash Forums Rewrite Users JBWEB000284: Exception starting filter OCPsoft Rewrite Filter Re: JBWEB000284: Exception starting filter OCPsoft Rewrite Filter

#23142

Hi Jlgranda!

Without seeing your configuration provider (could you post it if possible?) I can only guess at the exact cause, but its probably one of a few things.

1) You have injected a ViewScoped bean into your configurationprovider and are trying to access it directly in either the configuration or priority methods.

Rewrite checks access to potentially problematic scopes at server boot time. You need to wrap all accesses to non-threadsafe beans in a:

new HttpCondition() {} or new HttpOperation() {}

2) one of the beans you inject is indirectly accessing such a bean.

In the future. Please post the full stack trace and as much of your configuration as permitted.

Thanks,

Lincoln