고정 IP
가 변경되어 서버를 빌드하고 배포하는 과정에서 오류가 발생하여 변경된 IP
를 적용해주는 과정을 정리하였습니다.
LANGUAGE : JAVA 1.8
Framework : Spring
, eGov
WEB/WAS : Apache Tomcat 8.5 Tomcat8
DB : mssql
cloud : NAVER CLOUD PLATFORM
Tools : Jenkins
, Eclipse
/프로젝트 명/src/main/resources/egovframework/egovProps/globals.properties
제 경우에는 eGov 프레임워크를 사용하고 있어 경로가 위와 같지만, Spring, Spring Boot 그 외 다른 프로젝트에서도 IP
및 URL
이 변경된 경우 properties
파일에서 수정해주면 됩니다.
NAVER CLOUD PLATFORM 에서 서버를 운영하고 있습니다.
https://console.ncloud.com/dashboard
네이버 클라우드 대시보드에서 설정을 해주어야합니다.
대시보드의 Server > ACG
로 찾아와줍니다.
Server
가 보이지 않는 경우, Service
탭에서 Server 를 검색하여 대시보드를 활성화할 수 있습니다.
수정이 필요한 ACG 를 선택하고 Inbound 규칙 에 살펴보면 접근 소스에 IP
정보가 나와있습니다.
변경된 IP
, 추가된 IP
들을 추가해줍니다.
C:\ApacheTomcat85\webapps\manager\META-INF
해당 경로에 있는 context.xml 파일에 있는 IP
를 수정해줍니다.
오류코드 본분을 하단에 첨부하였습니다.
처음 오류코드를 확인했을 때는 저게 뭔 말인지 어지러웠는데,, 다시 보니 전부 connect 가 되지 않았다고 호소하는 내용이네요. 고정 IP
가 변경되어 JDBC 연결은 물론이고 그 외에도 저런 많은.. 연결이 불가하여 서버를 실행시키지 못한 오류였습니다.
28-Nov-2023 16:33:57.811 SEVERE [Catalina-startStop-1] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in file [C:\ApacheTomcat85\webapps\ROOT\WEB-INF\classes\egovframework\spring\com\context-common.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSourceAdvisor' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'delegatingMethodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSourceAdvisor' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'delegatingMethodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: java.sql.SQLException: Network error IOException: Connection timed out: connect
Caused by: java.net.ConnectException: Connection timed out: connect
28-Nov-2023 16:33:57.818 SEVERE [main] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during start
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in file [C:\ApacheTomcat85\webapps\ROOT\WEB-INF\classes\egovframework\spring\com\context-common.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSourceAdvisor' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'delegatingMethodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSourceAdvisor' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'delegatingMethodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: java.sql.SQLException: Network error IOException: Connection timed out: connect
Caused by: java.net.ConnectException: Connection timed out: connect
28-Nov-2023 16:33:57.824 SEVERE [main] org.apache.catalina.startup.Catalina.start The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: A child container failed during start
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: A child container failed during start
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in file [C:\ApacheTomcat85\webapps\ROOT\WEB-INF\classes\egovframework\spring\com\context-common.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSourceAdvisor' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'delegatingMethodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSourceAdvisor' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'delegatingMethodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegatingMethodSecurityMetadataSource' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodSecurityMetadataSources' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodSecurityMetadataSources' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Cannot resolve reference to bean 'methodMap' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodMap' defined in URL [jar:file:/C:/ApacheTomcat85/webapps/ROOT/WEB-INF/lib/org.egovframe.rte.fdl.security-4.0.0.jar!/META-INF/spring/security/method-config.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection timed out: connect)
Caused by: java.sql.SQLException: Network error IOException: Connection timed out: connect
Caused by: java.net.ConnectException: Connection timed out: connect