WebSphere Application Server & Liberty

 View Only
Expand all | Collapse all

Getting Error After Staring Application - Error 500: javax.servlet.ServletException: Filter [VanityURLFilter]: could not be initialized

  • 1.  Getting Error After Staring Application - Error 500: javax.servlet.ServletException: Filter [VanityURLFilter]: could not be initialized

    Posted Sun November 12, 2023 11:20 PM
    I am using Webspher 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.


    ------------------------------
    Maulik Solanki
    ------------------------------


  • 2.  RE: Getting Error After Staring Application - Error 500: javax.servlet.ServletException: Filter [VanityURLFilter]: could not be initialized

    IBM Champion
    Posted Mon November 13, 2023 01:55 AM

    Hello Maulik,

    are you using HCL WebSphere Portal as the objects mentioned in the error messages sound a lot like that.  Did the server start up without errors? In Portal failed services during startup often cause issues later on. So I'd check the servers log from the beginning and see of all went well. Did this ever work? When did it start breaking? Failed deployment? In case this is WebSphere Portal please contact HCLs support at https://support.hcltechsw.com/ as they are handling all kind of issues and are contacting IBM support if needed.

    Hope this helps, Hermann



    ------------------------------
    Hermann Huebler
    2innovate IT Consulting GmbH
    Vienna
    Austria

    #IBMChampion
    ------------------------------



  • 3.  RE: Getting Error After Staring Application - Error 500: javax.servlet.ServletException: Filter [VanityURLFilter]: could not be initialized

    Posted Tue November 14, 2023 06:55 AM

    Hi Hermann,

    Thank you for your answer.

    I will share some more logs soon with you, but I haven't made any changes recently even no any deployments from last 2 months, the same code was working before 1 month also, but suddenly now it got broke.

    Regards,

    Maulik Solanki



    ------------------------------
    Maulik Solanki
    ------------------------------



  • 4.  RE: Getting Error After Staring Application - Error 500: javax.servlet.ServletException: Filter [VanityURLFilter]: could not be initialized

    Posted Mon November 13, 2023 05:50 AM

    I concur with Hermann.  The error is stating that the Object cannot be found under the name resolver/PocService.  Since it is custom code, I am not sure what it is. However, make sure that name is available when starting.

    Brian



    ------------------------------
    Brian S Paskin
    Sr. Technology Engineer
    IBM Cloud Engineering
    ------------------------------