Answer the question
In order to leave comments, you need to log in
How to migrate Spring and DB to Debian server?
I
made an application in spring, now I'm trying to figure out how to run it on the server
What is: I
use tomcat on the server, I threw the application into the webapp, now it gives a 500 error when requested.
well, then what? I suppose you need to change something in the application in db.properties, but I don’t know what exactly
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/ff
db.username=postgres
db.password=****
db.entity.package=app.entity
db.initialSize=30
db.minIdle=30
db.maxIdle=60
db.timeBetweenEvictionRunsMillis=30000
db.minEvictableIdleTimeMillis=60000
db.testOnBorrow=true
db.validationQuery=select version()
Answer the question
In order to leave comments, you need to log in
For those who subscribed
db.url=jdbc:postgresql://localhost:5432/ff
instead of localhost we write the ip of the server, the
rest is correct as in this article
, I have tomcat, so we google for it or use it from the article
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question