Hi,
Http Error 500 is a generic error message saying there’s a problem on the server, so it won’t help you to search for that for finding a solution.
Now according to your catalina.out logs, the error is pretty explicit:
[2022-10-16 05:55:18] [info] java.sql.SQLException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user “xwiki”)
So sounds like you provided a wrong password for connecting to your DB in your hibernate.cfg.xml configuration.