xxubai opened a new issue, #11360: URL: https://github.com/apache/gravitino/issues/11360
### Version main branch ### Describe what's wrong When `gravitino.server.webserver.customFilters` is configured as a quote-only value such as `""`, Gravitino treats it as a custom servlet filter class name. Jetty then tries to load a filter class named `""`, which fails during WebAppContext startup. The server connector may still start and log that Gravitino has started, but the web context is marked `UNAVAILABLE`. ### Error message and/or stacktrace ```text java.lang.ClassNotFoundException: "" Failed startup of context ... gravitino-web ... UNAVAILABLE javax.servlet.UnavailableException: Class loading error for holder ""... ``` ### How to reproduce 1. Use the main branch. 2. Configure Gravitino with: ```properties gravitino.server.webserver.customFilters = "" ``` 3. Start the Gravitino server. 4. Observe that Jetty fails to start the `gravitino-web` WebAppContext because it attempts to load `""` as a filter class. ### Additional context `JettyServerConfig` currently splits `customFilters` directly and preserves quote-only entries. The server should defensively ignore blank and quote-only filter entries before registering custom filters. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
