[ApacheTomcat] 서버 오류 해결 - 고정 IP 변경

bi_sz·2023년 11월 29일
0

Tomcat

목록 보기
1/3
post-thumbnail

고정 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


💫 고정 IP 가 변경됐을 때

1. 프로젝트의 properties 파일에서 연결된 URL 수정하기.

/프로젝트 명/src/main/resources/egovframework/egovProps/globals.properties

제 경우에는 eGov 프레임워크를 사용하고 있어 경로가 위와 같지만, Spring, Spring Boot 그 외 다른 프로젝트에서도 IPURL 이 변경된 경우 properties 파일에서 수정해주면 됩니다.

2. 서버에 변경된 IP 등록하기

NAVER CLOUD PLATFORM 에서 서버를 운영하고 있습니다.

https://console.ncloud.com/dashboard
네이버 클라우드 대시보드에서 설정을 해주어야합니다.

대시보드의 Server > ACG 로 찾아와줍니다.
Server 가 보이지 않는 경우, Service 탭에서 Server 를 검색하여 대시보드를 활성화할 수 있습니다.

수정이 필요한 ACG 를 선택하고 Inbound 규칙 에 살펴보면 접근 소스에 IP 정보가 나와있습니다.

변경된 IP, 추가된 IP 들을 추가해줍니다.

2. Tomcat Context 설정에서 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		
profile
https://li-yo.tistory.com/ 티스토리 블로그 이전 하였습니다.

0개의 댓글