{"id":258,"date":"2020-10-23T15:27:19","date_gmt":"2020-10-23T06:27:19","guid":{"rendered":"https:\/\/java.ihavenomoney.co.kr\/?p=258"},"modified":"2020-10-23T15:27:19","modified_gmt":"2020-10-23T06:27:19","slug":"example01-property-maxactive-is-not-used-in-dbcp2","status":"publish","type":"post","link":"https:\/\/java.ihavenomoney.co.kr\/?p=258","title":{"rendered":"Example01 Property maxActive is not used in DBCP2,"},"content":{"rendered":"<pre class=\"lang:java decode:true\">\uacbd\uace0: Name = Example01 Property maxActive is not used in DBCP2, use maxTotal instead.\r\n maxTotal default value is 8.\r\n You have set value of \"50\" for \"maxActive\" property, which is being ignored.<\/pre>\n<h5>Tomcat JDBC Connection Pool and Apache DBCP are two different connection pool implementations.<\/h5>\n<h5>In your stage environment you probably have Apache DBCP2 in classpath and Tomcat tries to use it instead of Tomcat JDBC Connection Pool.<\/h5>\n<p>maxActive \ub97c maxTotal<\/p>\n<p>maxWait -&gt; maxWaitMillis \ub85c\u00a0 \uc218\uc815<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259\" src=\"https:\/\/java.ihavenomoney.co.kr\/wp-content\/uploads\/2020\/10\/maxWaitMillis.jpg\" alt=\"\" width=\"934\" height=\"282\" srcset=\"https:\/\/java.ihavenomoney.co.kr\/wp-content\/uploads\/2020\/10\/maxWaitMillis.jpg 934w, https:\/\/java.ihavenomoney.co.kr\/wp-content\/uploads\/2020\/10\/maxWaitMillis-300x91.jpg 300w, https:\/\/java.ihavenomoney.co.kr\/wp-content\/uploads\/2020\/10\/maxWaitMillis-768x232.jpg 768w, https:\/\/java.ihavenomoney.co.kr\/wp-content\/uploads\/2020\/10\/maxWaitMillis-660x199.jpg 660w\" sizes=\"auto, (max-width: 934px) 100vw, 934px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uacbd\uace0: Name = Example01 Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is 8. You have set value of &#8220;50&#8221; for &#8220;maxActive&#8221; property, which is being ignored. Tomcat JDBC Connection Pool and Apache DBCP are two different connection pool implementations. In your stage environment you probably have Apache DBCP2 in &hellip;<br \/><a href=\"https:\/\/java.ihavenomoney.co.kr\/?p=258\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\"><span class=\"screen-reader-text\">Example01 Property maxActive is not used in DBCP2,<\/span> \ub354\ubcf4\uae30<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-258","post","type-post","status-publish","format-standard","hentry","category-eclipse--"],"_links":{"self":[{"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=258"}],"version-history":[{"count":1,"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/258\/revisions"}],"predecessor-version":[{"id":260,"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/258\/revisions\/260"}],"wp:attachment":[{"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/java.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}