Hi Guys,
I was successfully able to deploy war file available in downloads section and start OpenOlat. However, I had to make certain changes so I downloaded the source code and create a new war file.
2020-09-11 09:56:03.669 [localhost-startStop-1] ERROR DatabaseUpgradeManager ^%^ I-J16 ^%^ org.olat.upgrade.DatabaseUpgradeManager ^%^ ^%^ ^%^ ^%^ ^%^ Could not upgrade your database! Please do it manually and add org.postgresql.util.PSQLException: Connection to localhost:3306 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:303)
Queries:
1. Do I need to take care of any extra steps while deploying a custom war file?
2. If yes, are these steps documented somewhere or can someone please share them with me.
3. I am using postgresql . However, as per above error connection via port 3306 is being tried which I guess is the default port for mysql and not postgresql. Am I missing something in case of db? I am able to access db manually. Any inputs here would be helpful.
Please find attached logs (i have kept them short and precise)
Looking forward to hearing from you.
Regards,
Dhruv Vinayak