Monday, 16 May 2016

Cannot create PoolableConnectionFactory (Unknown server host name) java.net.UnknownHostException

 Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unknown server host name 'AGMIACISZ01T'.)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:75)



Problem is you are not connect to VPN(Virtual Private Network or Client Network) and trying to access the VPN database either DEV or QA or UAT Database.Connect to VPN and try.

Or there is no Database with that server host name.Recheck your database details given in your application and Give correct database details(database server name or IP Address).

No comments:

Post a Comment