title: project cannot get idle object from jedis pool , but the redis server is running ,there also has many idle connections, it puzzle for a long time
body: <p><strong>the exception my project throws is below .</strong></p>
  
  <p><a href="https://i.stack.imgur.com/O3P6U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O3P6U.png" alt="enter image description here"></a></p>
  
  <p><strong>and i check my redis server to show client status , i find that .</strong></p>
  
  <p><a href="https://i.stack.imgur.com/fkv89.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fkv89.png" alt="enter image description here"></a></p>
  
  <p>the spring config is that </p>
  
  <pre><code>    &lt;bean id="poolConfig" class="redis.clients.jedis.JedisPoolConfig" &gt;
           &lt;property name="maxIdle" value="10" /&gt;
           &lt;property name="maxTotal" value="20" /&gt;
           &lt;property name="testOnBorrow" value="true" /&gt;
           &lt;property name="maxWaitMillis" value="6000" /&gt;
      &lt;/bean&gt;
  
  
      &lt;bean id="connectionFactory"
      class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory"
          p:host-name="192.168.5.52" p:port="6380" p:password="szwgmf"
          p:pool-config-ref="poolConfig" 
          p:database="3"/&gt;
  &lt;bean id="stringSerializer"
      class="org.springframework.data.redis.serializer.StringRedisSerializer" /&gt;
  
  &lt;bean id="redisTemplate"     class="org.springframework.data.redis.core.RedisTemplate"&gt;
          &lt;property name="connectionFactory" ref="connectionFactory" /&gt;
          &lt;property name="keySerializer" ref="stringSerializer" /&gt;
          &lt;property name="valueSerializer" ref="stringSerializer" /&gt;
          &lt;property name="enableTransactionSupport" value="true" /&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>the pom.xml is</p>
  
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
              &lt;artifactId&gt;spring-data-redis&lt;/artifactId&gt;
              &lt;version&gt;1.6.4.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;redis.clients&lt;/groupId&gt;
              &lt;artifactId&gt;jedis&lt;/artifactId&gt;
              &lt;version&gt;2.8.1&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>