{"id":125,"date":"2007-12-03T11:21:31","date_gmt":"2007-12-03T11:21:31","guid":{"rendered":"http:\/\/apollo89.com\/wordpress\/?p=125"},"modified":"2013-02-14T13:10:24","modified_gmt":"2013-02-14T04:10:24","slug":"cannot-get-a-connection-pool-exhausted","status":"publish","type":"post","link":"https:\/\/apollo89.com\/wordpress\/?p=125","title":{"rendered":"Cannot get a connection, pool exhausted"},"content":{"rendered":"<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \" >################################# Exception #############################\r\norg.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted\r\nat org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:103)\r\nat org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)<\/pre>\n<p>\uc704\uc640 \uac19\uc740 \uc99d\uc0c1\uc5d0\uc120..\ud14c\uc2a4\ud2b8 \uc18c\uc2a4\ub294 \ubcc4 \uc758\ubbf8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\ub9ac\uc18c\uc2a4(Connection)\uac00 \uc5b4\ub514\uc11c \uc0c8\ub294\uc9c0 \ud574\ub2f9 \uc18c\uc2a4\ub97c \ucc3e\uc544\ub0b4\uc2dc\ub294 \ubc29\ubc95\ubc16\uc5d0 \uc5c6\uc2b5\ub2c8\ub2e4. \ub9ac\ubdf0\ud560 \uc18c\uc2a4\uac00 \ubc29\ub300\ud558\uace0 \uc131\ub2a5\uad00\ub9ac \ud234\uc774 \uc5c6\ub294 \uc0c1\ud669\uc774\uc2dc\ub77c\uba74 \uc815\ub9d0 \uc704\ub85c\uc758 \ub9d0\uc500\uc744 \uc804\ud574\ub4dc\ub9ac\uace0 \uc2f6\uad70\uc694..\u3160.\u315c<\/p>\n<p>\uadf8\ub098\ub9c8 \uc77c\ub2e8 \uc2dc\ub3c4\ud574 \ubcfc \uc218 \uc788\ub294 \ubc29\ubc95\uc740 \uc774\ub807\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc11c\ube44\uc2a4\uc5d0 \uc9c0\uc7a5\uc774 \uc5c6\ub294 \uc2dc\uac04\uc774\ub77c\uba74 \ucee4\ub125\uc158 \uac2f\uc218\ub97c \ud558\ub098\ub85c \uc14b\ud305 \ud558\uc2dc\uace0 \ud654\uba74\uc73c\ub85c \ud14c\uc2a4\ud2b8 \ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc608\ub97c\ub4e4\uba74 \ube0c\ub77c\uc6b0\uc800\ub97c \ub450\uac1c \ub744\uc6cc\ub193\uc73c\uc2dc\uace0 \uc2a4\ud0c0\ud2b8\ud560 \ud654\uba74\uc744 \uc591\ucabd\uc5d0 \ub611\uac19\uc774 \uc7a1\uc73c\uc2dc\uace0 \ud55c\ubc88\uc529 \ud074\ub9ad\ud558\uba74\uc11c \uba3c\uc800 \ud638\ucd9c\ub41c \ud398\uc774\uc9c0\ub97c \ud55c\ucabd \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c \ub530\ub77c\uac00\ub294 \uac81\ub2c8\ub2e4.<\/p>\n<p>\uc989. \ud558\ub098\uc758 \uc18c\uc2a4\ub97c \ub450\ubc88\uc529 \ud638\ucd9c\ud574\uc11c \ud14c\uc2a4\ud2b8\ud558\ub294\uac70\uc8e0. \ucee4\ub125\uc158\uc740 \ud558\ub098\uc774\ub2c8 \ubb38\uc81c\uac00 \uc788\ub294 \ud654\uba74\uc5d0\uc11c \uac78\ub9ac\uaca0\uc8e0.. \uc18c\uc2a4\ub9ac\ubdf0\ud558\ub294\uac83 \ubcf4\ub2e4\ub294 \ub0b3\uc744\ub4ef \uc2f6\ub124\uc694.<\/p>\n<p>\uc774\ub807\uac8c \uc124\uc815\ud558\uba74 \uc57c\uae30\ub420 \uc218 \uc788\ub294 \ubb38\uc81c\uc810\uc740<\/p>\n<p>1. maxWait \uc2dc\uac04\uc774 \ub108\ubb34 \uc791\uc2b5\ub2c8\ub2e4<br \/>\n\uc774\ub294 \uac00\ub054\uc529 Connection \ud68d\ub4dd \uc2e4\ud328\uac00 \ub0a0 \uc218 \uc788\uc2b5\ub2c8\ub2e4<br \/>\n\uc544\ub798\uc640 \uac19\uc740 \uc5d0\ub7ec\ub97c \ub0b4\uba74\uc11c&#8230;<\/p>\n<p>java.sql.SQLException: DBCP could not obtain an idle db connection, pool exhausted<\/p>\n<p>1-1. \uc5b4\ub5a4 \uc774\uc720\ub85c JVM\uc758 GC\uac00 \uc77c\uc5b4\ub09c\ub2e4 ( \uc6f9\uc11c\ubc84\uc758 \ubaa8\ub4e0 \uc131\ub2a5\uc774 \uc800\ud558\ub428 )<br \/>\n1-2. \uadf8\ub7ec\ub294 \ub3d9\uc548 \uc5b4\ub5a4 \ub118\uc774 \uc0c8\ub85c\uc6b4 Connection\uc744 \uc5bb\uc73c\ub824 \ud55c\ub2e4<br \/>\n1-3. pool\uc5d0 \uc0ac\uc6a9\uac00\ub2a5\ud55c Connection\uc774 \uc5c6\uc5b4 \uc0c8\ub85c\uc6b4 Connection \uac1d\uccb4\ub97c \uc0dd\uc131\ud558\ub824 \ud55c\ub2e4( GC \uc911\uc774\uae30 \ub55c\uc2dc \uc2dc\uac04\uc774 \uaf64 \uac78\ub9b0\ub2e4 -> \ub0b4\ubd80\uc801\uc73c\ub85c pool\uc744\u00a0 block\ud558\uace0 maxWait \ud6c4 Connection\uc744 \ub2e4\uc2dc \uc5bb\uc73c\ub824 \uc2dc\ub3c4\ud55c\ub2e4)<br \/>\n1-4. \uadf8\ub7f0\ub370 maxWait \uac00 \ub108\ubb34 \uc9e7\uc544 \uac1d\uccb4 \uc0dd\uc131 \uc804\uc5d0 block\uc774 \ud480\ub9b0\ub2e4<br \/>\n1-5. \uadf8\ub7ec\ub098 \uc0ac\uc6a9\uac00\ub2a5\ud55c Connection\uc774 \uc5c6\ub2e4 ( GC\uc601\ud5a5\uc73c\ub85cConnection\uc774 \uc544\uc9c1 \uc0dd\uc131\uc774 \uc548\ub418\uc5c8\uc73c\ubbc0\ub85c&#8230; )<br \/>\n1-6. \uc704\uc640 \uac19\uc740 Exception\uc744 throw \ud569\ub2c8\ub2e4<\/p>\n<p>\uadf8\ub798\uc11c Commons\uc5d0\uc11c\ub294 maxWait\ub97c 10000~15000\uc744 \uad8c\uc7a5\ud569\ub2c8\ub2e4<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; ################################# Exception ############################# org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:103) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) \uc704\uc640 \uac19\uc740 \uc99d\uc0c1\uc5d0\uc120..\ud14c\uc2a4\ud2b8 \uc18c\uc2a4\ub294 \ubcc4 \uc758\ubbf8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4. \ub9ac\uc18c\uc2a4(Connection)\uac00 \uc5b4\ub514\uc11c \uc0c8\ub294\uc9c0 \ud574\ub2f9 \uc18c\uc2a4\ub97c \ucc3e\uc544\ub0b4\uc2dc\ub294 \ubc29\ubc95\ubc16\uc5d0 \uc5c6\uc2b5\ub2c8\ub2e4. \ub9ac\ubdf0\ud560 \uc18c\uc2a4\uac00 \ubc29\ub300\ud558\uace0 \uc131\ub2a5\uad00\ub9ac \ud234\uc774 \uc5c6\ub294 \uc0c1\ud669\uc774\uc2dc\ub77c\uba74 \uc815\ub9d0 \uc704\ub85c\uc758 \ub9d0\uc500\uc744 &hellip; <a href=\"https:\/\/apollo89.com\/wordpress\/?p=125\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[685,662,693],"tags":[429,1002,1001],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-database-","category-java-jsp","category-webwas","tag-connection","tag-maxwait","tag-pool-exhausted"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cannot get a connection, pool exhausted - Apollo89.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/apollo89.com\/wordpress\/?p=125\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cannot get a connection, pool exhausted - Apollo89.com\" \/>\n<meta property=\"og:description\" content=\"&nbsp; ################################# Exception ############################# org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:103) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) \uc704\uc640 \uac19\uc740 \uc99d\uc0c1\uc5d0\uc120..\ud14c\uc2a4\ud2b8 \uc18c\uc2a4\ub294 \ubcc4 \uc758\ubbf8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4. \ub9ac\uc18c\uc2a4(Connection)\uac00 \uc5b4\ub514\uc11c \uc0c8\ub294\uc9c0 \ud574\ub2f9 \uc18c\uc2a4\ub97c \ucc3e\uc544\ub0b4\uc2dc\ub294 \ubc29\ubc95\ubc16\uc5d0 \uc5c6\uc2b5\ub2c8\ub2e4. \ub9ac\ubdf0\ud560 \uc18c\uc2a4\uac00 \ubc29\ub300\ud558\uace0 \uc131\ub2a5\uad00\ub9ac \ud234\uc774 \uc5c6\ub294 \uc0c1\ud669\uc774\uc2dc\ub77c\uba74 \uc815\ub9d0 \uc704\ub85c\uc758 \ub9d0\uc500\uc744 &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/apollo89.com\/wordpress\/?p=125\" \/>\n<meta property=\"og:site_name\" content=\"Apollo89.com\" \/>\n<meta property=\"article:published_time\" content=\"2007-12-03T11:21:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-02-14T04:10:24+00:00\" \/>\n<meta name=\"author\" content=\"apollo89\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"apollo89\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125\"},\"author\":{\"name\":\"apollo89\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\"},\"headline\":\"Cannot get a connection, pool exhausted\",\"datePublished\":\"2007-12-03T11:21:31+00:00\",\"dateModified\":\"2013-02-14T04:10:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125\"},\"wordCount\":51,\"commentCount\":0,\"keywords\":[\"Connection\",\"maxWait\",\"pool exhausted\"],\"articleSection\":[\"Database\",\"Java\\\/JSP\",\"WEB\\\/WAS\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125\",\"name\":\"Cannot get a connection, pool exhausted - Apollo89.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#website\"},\"datePublished\":\"2007-12-03T11:21:31+00:00\",\"dateModified\":\"2013-02-14T04:10:24+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=125#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\\\/\\\/apollo89.com\\\/wordpress\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cannot get a connection, pool exhausted\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/\",\"name\":\"Apollo89.com\",\"description\":\"\uc544\ud3f4\ub85c\uc528\uc758 \uc7a1\ub2e4\ud55c \uacbd\ud5d8\ub4e4..\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\",\"name\":\"apollo89\",\"description\":\"\uc544\ud3f4\ub85c89 \uc785\ub2c8\ub2e4.\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cannot get a connection, pool exhausted - Apollo89.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/apollo89.com\/wordpress\/?p=125","og_locale":"ko_KR","og_type":"article","og_title":"Cannot get a connection, pool exhausted - Apollo89.com","og_description":"&nbsp; ################################# Exception ############################# org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:103) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) \uc704\uc640 \uac19\uc740 \uc99d\uc0c1\uc5d0\uc120..\ud14c\uc2a4\ud2b8 \uc18c\uc2a4\ub294 \ubcc4 \uc758\ubbf8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4. \ub9ac\uc18c\uc2a4(Connection)\uac00 \uc5b4\ub514\uc11c \uc0c8\ub294\uc9c0 \ud574\ub2f9 \uc18c\uc2a4\ub97c \ucc3e\uc544\ub0b4\uc2dc\ub294 \ubc29\ubc95\ubc16\uc5d0 \uc5c6\uc2b5\ub2c8\ub2e4. \ub9ac\ubdf0\ud560 \uc18c\uc2a4\uac00 \ubc29\ub300\ud558\uace0 \uc131\ub2a5\uad00\ub9ac \ud234\uc774 \uc5c6\ub294 \uc0c1\ud669\uc774\uc2dc\ub77c\uba74 \uc815\ub9d0 \uc704\ub85c\uc758 \ub9d0\uc500\uc744 &hellip; Continue reading &rarr;","og_url":"https:\/\/apollo89.com\/wordpress\/?p=125","og_site_name":"Apollo89.com","article_published_time":"2007-12-03T11:21:31+00:00","article_modified_time":"2013-02-14T04:10:24+00:00","author":"apollo89","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"apollo89"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/apollo89.com\/wordpress\/?p=125#article","isPartOf":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=125"},"author":{"name":"apollo89","@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82"},"headline":"Cannot get a connection, pool exhausted","datePublished":"2007-12-03T11:21:31+00:00","dateModified":"2013-02-14T04:10:24+00:00","mainEntityOfPage":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=125"},"wordCount":51,"commentCount":0,"keywords":["Connection","maxWait","pool exhausted"],"articleSection":["Database","Java\/JSP","WEB\/WAS"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/apollo89.com\/wordpress\/?p=125#respond"]}]},{"@type":"WebPage","@id":"https:\/\/apollo89.com\/wordpress\/?p=125","url":"https:\/\/apollo89.com\/wordpress\/?p=125","name":"Cannot get a connection, pool exhausted - Apollo89.com","isPartOf":{"@id":"https:\/\/apollo89.com\/wordpress\/#website"},"datePublished":"2007-12-03T11:21:31+00:00","dateModified":"2013-02-14T04:10:24+00:00","author":{"@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82"},"breadcrumb":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=125#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/apollo89.com\/wordpress\/?p=125"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/apollo89.com\/wordpress\/?p=125#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/apollo89.com\/wordpress"},{"@type":"ListItem","position":2,"name":"Cannot get a connection, pool exhausted"}]},{"@type":"WebSite","@id":"https:\/\/apollo89.com\/wordpress\/#website","url":"https:\/\/apollo89.com\/wordpress\/","name":"Apollo89.com","description":"\uc544\ud3f4\ub85c\uc528\uc758 \uc7a1\ub2e4\ud55c \uacbd\ud5d8\ub4e4..","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/apollo89.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82","name":"apollo89","description":"\uc544\ud3f4\ub85c89 \uc785\ub2c8\ub2e4.","url":"https:\/\/apollo89.com\/wordpress\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=125"}],"version-history":[{"count":0,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/125\/revisions"}],"wp:attachment":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}