尝试向池中添加新的连接时发生错误

时间:2019-02-15 09:52:04

标签: java queue jms activemq

尝试向池中添加新的连接时出现错误。

错误日志

  

13:41:30,003信息   [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]   (scheduler_Worker-6)找到JSR-330'javax.inject.Inject'批注   并支持自动装配13:41:33,352错误[stderr]   (scheduler_Worker-2)   org.springframework.jms.UncategorizedJmsException:未分类   JMS处理期间发生异常;嵌套异常为   javax.jms.JMSException:尝试添加新的连接时出错   到游泳池嵌套异常是javax.jms.JMSException:失败   创建会话工厂

     

13:41:33,352错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)

     

13:41:33,352错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169)

     

13:41:33,356错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:496)

     

13:41:33,356错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:579)

     

13:41:33,356错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:667)

     

13:41:33,356错误[stderr](scheduler_Worker-2)在   deployment.temp.war // com.ayotta.serviceImpl.GenericMessagingServiceImpl.setGenericMessagingAndSendToQueue(GenericMessagingServiceImpl.java:314)

     

13:41:33,362错误[stderr](scheduler_Worker-2)在   deployment.temp.war // com.ayotta.serviceImpl.GenericMessagingServiceImpl.sendEmailToRequestedUser(GenericMessagingServiceImpl.java:239)

     

13:41:33,362错误[stderr](scheduler_Worker-2)在   deployment.temp.war // com.ayotta.serviceImpl.GenericMessagingServiceImpl.handleEmail(GenericMessagingServiceImpl.java:168)

     

13:41:33,363错误[stderr](scheduler_Worker-2)在   deployment.temp.war // com.ayotta.serviceImpl.GenericMessagingServiceImpl.processMessage(GenericMessagingServiceImpl.java:90)

     

13:41:33,363错误[stderr](scheduler_Worker-2)在   deployment.temp.war // com.ayotta.serviceImpl.GenericMessagingServiceImpl.sendAlert(GenericMessagingServiceImpl.java:67)

     

13:41:33,363错误[stderr](scheduler_Worker-2)在   deployment.temp.war // com.ayotta.scheduler.tasks.GenericMessagingTask.execute(GenericMessagingTask.java:30)

     

13:41:33,363错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.quartz.core.JobRunShell.run(JobRunShell.java:202)

     

13:41:33,363错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.quartz.simpl.SimpleThreadPool $ WorkerThread.run(SimpleThreadPool.java:573)

     

13:41:33,364错误[stderr](scheduler_Worker-2)由以下原因引起:   javax.jms.JMSException:尝试添加新的连接时出错   到游泳池

     

13:41:33,364错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.jms.pool.PooledConnectionFactory.createJmsException(PooledConnectionFactory.java:247)

     

13:41:33,364错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:202)

     

13:41:33,364错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:181)

     

13:41:33,364错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)

     

13:41:33,364错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:483)

     

13:41:33,365错误[stderr](scheduler_Worker-2)...还有10个

     

13:41:33,365错误[stderr](scheduler_Worker-2)由以下原因引起:   javax.jms.JMSException:无法创建会话工厂

     

13:41:33,365错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:757)

     

13:41:33,365错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:265)

     

13:41:33,365错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter.doCreateConnection(UserCredentialsConnectionFactoryAdapter.java:178)

     

13:41:33,366错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter.createConnection(UserCredentialsConnectionFactoryAdapter.java:152)

     

13:41:33,366错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:255)

     

13:41:33,366错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.jms.pool.PooledConnectionFactory $ 1.makeObject(PooledConnectionFactory.java:99)

     

13:41:33,366错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.jms.pool.PooledConnectionFactory $ 1.makeObject(PooledConnectionFactory.java:79)

     

13:41:33,367错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.commons.pool.impl.GenericKeyedObjectPool.addObject(GenericKeyedObjectPool.java:1748)

     

13:41:33,367错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:200)

     

13:41:33,367错误[stderr](scheduler_Worker-2)...还有13个

     

13:41:33,367错误[stderr](scheduler_Worker-2)由以下原因引起:   ActiveMQNotConnectedException [errorType = NOT_CONNECTED   message = AMQ119007:无法连接到服务器。尝试全部   可用服务器。]

     

13:41:33,367错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:784)

     

13:41:33,367错误[stderr](scheduler_Worker-2)在   deployment.temp.war // org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:755)

0 个答案:

没有答案