Could not get a resource from the pool The 2019 Stack Overflow Developer Survey Results Are InCould not get a resource from the pool JedisConnectionExceptionspringboot connects to redis poolRedis sentinel vs clusteringJedisConnectionFactory fails to connect to Elasticache even though redis-cli ping is successfulWHY Can't release jedis resource using jedis pool on tomcatStop Spring Boot on thread errorspring boot redis operation throw broken pipe errorSpring managed restTemplate using connection pool and performance of a spring booth applicationredis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool while connecting to redis clusterbuild jar file from a spring project with foreign database connection

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

How long do I have to send payment?

Are USB sockets on wall outlets live all the time, even when the switch is off?

Why isn't airport relocation done gradually?

Why Did Howard Stark Use All The Vibranium They Had On A Prototype Shield?

Are there any other methods to apply to solving simultaneous equations?

Falsification in Math vs Science

Any good smartcontract for "business calendar" oracles?

Evaluating number of iteration with a certain map with While

Why is Grand Jury testimony secret?

Limit the amount of RAM Mathematica may access?

"To split hairs" vs "To be pedantic"

Access elements in std::string where positon of string is greater than its size

What does Linus Torvalds means when he says that git "never ever" tracks a file?

If the Wish spell is used to duplicate the effect of Simulacrum, are existing duplicates destroyed?

Spanish for "widget"

"What time...?" or "At what time...?" - what is more grammatically correct?

Inline version of a function returns different value then non-inline version

How was Skylab's orbit inclination chosen?

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?

Springs with some finite mass

Patience, young "Padovan"



Could not get a resource from the pool



The 2019 Stack Overflow Developer Survey Results Are InCould not get a resource from the pool JedisConnectionExceptionspringboot connects to redis poolRedis sentinel vs clusteringJedisConnectionFactory fails to connect to Elasticache even though redis-cli ping is successfulWHY Can't release jedis resource using jedis pool on tomcatStop Spring Boot on thread errorspring boot redis operation throw broken pipe errorSpring managed restTemplate using connection pool and performance of a spring booth applicationredis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool while connecting to redis clusterbuild jar file from a spring project with foreign database connection



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















This is a spring boot project,the redis used is on the linux server,when I use the redis connection server on the local connection,I can connect,but when I export the project as a jar running on the linux server,I am prompted this error.at this time the project is same server as redis



 发生异常Could not get a resource from the pool
Exception in thread "Thread-2" java.lang.NullPointerException
at me.dack.wenda.async.EventConsumer$1.run(EventConsumer.java:63)
at java.lang.Thread.run(Thread.java:748)
^C2019-03-08 15:54:27.290 INFO 12341 --- [ Thread-4] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'









share|improve this question






















  • please share your code, seems like while running as a jar either you are not passing a profile which has all the necessary properties or something not write in the code. well looks a misuse of profiles - if it works fine from local but not on the same server you have redis on.

    – Syed Siraj Uddin
    Mar 8 at 9:35


















0















This is a spring boot project,the redis used is on the linux server,when I use the redis connection server on the local connection,I can connect,but when I export the project as a jar running on the linux server,I am prompted this error.at this time the project is same server as redis



 发生异常Could not get a resource from the pool
Exception in thread "Thread-2" java.lang.NullPointerException
at me.dack.wenda.async.EventConsumer$1.run(EventConsumer.java:63)
at java.lang.Thread.run(Thread.java:748)
^C2019-03-08 15:54:27.290 INFO 12341 --- [ Thread-4] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'









share|improve this question






















  • please share your code, seems like while running as a jar either you are not passing a profile which has all the necessary properties or something not write in the code. well looks a misuse of profiles - if it works fine from local but not on the same server you have redis on.

    – Syed Siraj Uddin
    Mar 8 at 9:35














0












0








0








This is a spring boot project,the redis used is on the linux server,when I use the redis connection server on the local connection,I can connect,but when I export the project as a jar running on the linux server,I am prompted this error.at this time the project is same server as redis



 发生异常Could not get a resource from the pool
Exception in thread "Thread-2" java.lang.NullPointerException
at me.dack.wenda.async.EventConsumer$1.run(EventConsumer.java:63)
at java.lang.Thread.run(Thread.java:748)
^C2019-03-08 15:54:27.290 INFO 12341 --- [ Thread-4] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'









share|improve this question














This is a spring boot project,the redis used is on the linux server,when I use the redis connection server on the local connection,I can connect,but when I export the project as a jar running on the linux server,I am prompted this error.at this time the project is same server as redis



 发生异常Could not get a resource from the pool
Exception in thread "Thread-2" java.lang.NullPointerException
at me.dack.wenda.async.EventConsumer$1.run(EventConsumer.java:63)
at java.lang.Thread.run(Thread.java:748)
^C2019-03-08 15:54:27.290 INFO 12341 --- [ Thread-4] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'






spring-boot redis






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 8:32









Dack.HDack.H

11




11












  • please share your code, seems like while running as a jar either you are not passing a profile which has all the necessary properties or something not write in the code. well looks a misuse of profiles - if it works fine from local but not on the same server you have redis on.

    – Syed Siraj Uddin
    Mar 8 at 9:35


















  • please share your code, seems like while running as a jar either you are not passing a profile which has all the necessary properties or something not write in the code. well looks a misuse of profiles - if it works fine from local but not on the same server you have redis on.

    – Syed Siraj Uddin
    Mar 8 at 9:35

















please share your code, seems like while running as a jar either you are not passing a profile which has all the necessary properties or something not write in the code. well looks a misuse of profiles - if it works fine from local but not on the same server you have redis on.

– Syed Siraj Uddin
Mar 8 at 9:35






please share your code, seems like while running as a jar either you are not passing a profile which has all the necessary properties or something not write in the code. well looks a misuse of profiles - if it works fine from local but not on the same server you have redis on.

– Syed Siraj Uddin
Mar 8 at 9:35













0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55059368%2fcould-not-get-a-resource-from-the-pool%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55059368%2fcould-not-get-a-resource-from-the-pool%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

Алба-Юлія

Захаров Федір Захарович