Error 500: javax.servlet.ServletException: Filter [VanityURLFilter]: could not be initialized

I am using Websphere application server version 9.0.X and I am facing issue after application server is started, when I am trying to access the application URL, I am receiving this error in browser,

Error 500: javax.servlet.ServletException: Filter [VanityURLFilter]: could not be initialized

In System.out log file I can see below error:

EventListener E com.ibm.wps.services.events.EventListenerPlugpointRegistry registryChanged EJPFB0005E: An unexpected exception occurred. javax.naming.NameNotFoundException: The object or context resolver does not exist.; remaining name 'resolver/PocService'

How can I resolve this issue?

Application server is getting started without any issues.

there is no changes recently applied to server or application code.

Hi MS,
do you also get any other errors during server startup beside the errors mentioned above?
Because it looks like the resolver/PocService can not be found it sounds for me that maybe the startup order of the wps.ear and wcm.ear applications are currently wrong.

Please review the 'startingWeight' values of each application by navigating to the WAS Admin Console....

Applications > WebSphere Enterprise Applications

Review both the 'wcm' and 'wps' applications and go to 'Startup Behavior'. Check the 'Startup Order'. The default value for 'wcm' is 20 and the default value for 'wps' is 10. Please change these to the defaults or ensure that 'wps' has a lower number than 'wcm'.

If clustered, synchronize the node and restart Portal to pick up the changes.
Do you still see the problem after that change?

Thanks for the clarification
with best regards

Thorsten

Please review the following link for possible solution...

https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0012882