Error Util Jdbcexceptionreporter Cannot Create Poolableconnectionfactory
Contents |
here for a quick overview of the site Help cannot create poolableconnectionfactory tomcat Center Detailed answers to any questions you might have
Cannot Create Poolableconnectionfactory (the Network Adapter Could Not Establish The Connection)
Meta Discuss the workings and policies of this site About Us Learn more about cannot create poolableconnectionfactory (could not create connection to database server Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges cannot create poolableconnectionfactory (io error: connection reset) Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot create PoolableConnectionFactory (Io exception: The Network Adapter could not establish the connection) up
Java.sql.sqlexception Cannot Create Poolableconnectionfactory (communications Link Failure
vote 3 down vote favorite 1 Hi I have having the exception above from a spring application, I am trying to connect to a clustered oracle DB, but even if I try to connect to a single instance still have the same exception. The bean definition is as thus:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more cannot create poolableconnectionfactory (io error connection reset) oracle about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges org.apache.tomcat.dbcp.dbcp.sqlnestedexception: cannot create poolableconnectionfactory Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each
Cannot Create Poolableconnectionfactory (login Failed For User
other. Join them; it only takes a minute: Sign up Cannot create PoolableConnectionFactory up vote 16 down vote favorite 2 What is the problem? Can't connect to database? org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ( Communications link failure The last http://stackoverflow.com/questions/9257537/cannot-create-poolableconnectionfactory-io-exception-the-network-adapter-could packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.) java mysql hibernate share|improve this question asked Mar 5 '11 at 12:04 ujava 6203720 4 Please post the full stacktrace instead. We can't understand what is the root cause of this error without the stacktrace. –Buhake Sindi Mar 5 '11 at 12:10 In Linux, I had to start the service by typing "service mysqld start" http://stackoverflow.com/questions/5203696/cannot-create-poolableconnectionfactory –MacGyver Jun 11 '15 at 21:27 add a comment| 8 Answers 8 active oldest votes up vote 14 down vote This is the actual cause of the problem: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure You have a database communication link problem. Make sure that your application have network access to your database (and the firewall isn't blocking ports to your database). share|improve this answer answered Mar 5 '11 at 12:17 Buhake Sindi 56.2k15112178 2 For posterity, I run into this problem every month or so when I restart a machine in the dev environment and my database isn't running. I hope this helps someone else when they make the same silly mistake. –user2217751 Jun 14 '13 at 20:18 add a comment| up vote 2 down vote This is a network problem. Check out your database connectivity. Either your database connection link, username and password is wrong or your database server is stopped. share|improve this answer edited May 14 '13 at 12:21 bluish 9,4091269126 answered Jul 11 '12 at 4:14 Raje 1,66393553 add a comment| up vote 2 down vote I had the same problem with localhost in the source URL. I resolved with 127.0.0.1 instead of localhost. share|improve this answer edited May 14 '13 at 12:23 bluish 9,4091269126 answered Jan 4 '13 at 10:50 Shinigami 1852515 add a comment| up vote 2 down vote I encounter same problem
and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor. Announcement Announcement Module Collapse http://forum.spring.io/forum/spring-projects/data/14538-cannot-create-poolableconnectionfactory-socket-creation-err No announcement yet. Cannot create PoolableConnectionFactory (socket creation err Page Title Module Move Remove Collapse X Conversation Detail Module Collapse Posts Latest Activity Search Forums Page of 1 https://web.liferay.com/community/forums/-/message_boards/message/85771 Filter Time All Time Today Last Week Last Month Show All Discussions only Photos only Videos only Links only Polls only Filtered by: Clear All new posts wexwarez cannot create Senior Member Join Date: Apr 2005 Posts: 125 #1 Cannot create PoolableConnectionFactory (socket creation err Mar 27th, 2006, 06:00 PM I am using hibernate in my application with hsqldb. I am using spring 1.2.7 and it's corresponding dependencies. I thought my data source was configured as the simplest dbcp implementation, but maybe I have something wrong. cannot create poolableconnectionfactory When I start the application i get this wierd error: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (socket creation error) However, the database is started and after the error is generated in the log the application actually then just continues to start and work fine. The database access seems ok and everything, but I can't figure out why I keep getting this error. I tried changing versions of various libraries and messing with the config but i can't get to the bottom of it. If I search the forums for this error it seems that others get it but it seems like it causes other people's application to not work. Seems pretty odd to me i could use some help. Here is my info, thx... Here is my config: Code:
English » Liferay Legacy Recent Posts Statistics RSS (Opens New Window) Answer (Unmark) Mark as an Answer Threads [ Previous | Next ] connection to oracle 10g Cannot create PoolableConnectionFactory Derek Crud August 31, 2006 8:32 AM RE: connection to oracle 10g Cannot create PoolableConnectionFactory Joseph Shum August 31, 2006 9:11 AM RE: connection to oracle 10g Cannot create PoolableConnectionFactory Derek Crud August 31, 2006 9:15 AM connection to oracle 10g Cannot create PoolableConnectionFactory August 31, 2006 8:32 AM Answer Derek Crud Rank: New Member Posts: 11 Join Date: August 31, 2006 Recent Posts Liferay works with the default database connection, when I try to set it up to use Oracle I get these errors. I've set this up exactly the same on another linux machine connecting to the same oracle DB and it works fine. I'm also using the same version JDK (1.5.0_06). ojdbc14.jar is in common/lib and my ROOT.xml is: