Caused by: java.sql.SQLException: JDBC-90401:Connection refused by the server. - Connection timed out: connect
at com.tmax.tibero.jdbc.err.TbError.makeSQLException(Unknown Source)
at com.tmax.tibero.jdbc.err.TbError.newSQLException(Unknown Source)
at com.tmax.tibero.jdbc.comm.TbStream.<init>(Unknown Source)
at com.tmax.tibero.jdbc.comm.TbCommType4.createStream(Unknown Source)
at com.tmax.tibero.jdbc.TbConnection.openConnection(Unknown Source)
at com.tmax.tibero.jdbc.TbDriver.connectInternal(Unknown Source)
at com.tmax.tibero.jdbc.TbDriver.connect(Unknown Source)
at org.springframework.jdbc.datasource.SimpleDriverDataSource.getConnectionFromDriver(SimpleDriverDataSource.java:140)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159)
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:204)
... 54 common frames omitted
이런 오류가 떨어지면
1) 서버에 DB가 동작하는지 확인
2) 서버에 DB가 동작하면 혹시 서비스로 올려놨는지 확인
3) tbboot clean 명령어 입력 (이건 force yes로 하는 게 나은 듯...)
하면 해결되는데 나는 1) 2) 해결 해도 안 되어서 클린 했음...
댓글
댓글 쓰기