Discuss / Java / 连接ActiveMQ 报错 Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using Fi

连接ActiveMQ 报错 Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using Fi

Topic source

5月 23, 2023 3:25:22 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["http-nio-8080"]

5月 23, 2023 3:25:22 下午 org.apache.catalina.core.StandardService startInternal

信息: Starting service [Tomcat]

5月 23, 2023 3:25:22 下午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet engine: [Apache Tomcat/10.1.1]

5月 23, 2023 3:25:22 下午 org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment

信息: No global web.xml found

5月 23, 2023 3:25:23 下午 org.apache.catalina.core.ApplicationContext log

信息: No Spring WebApplicationInitializer types detected on classpath

15:25:23,961 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version 1.4.4

15:25:23,970 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]

15:25:23,970 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/D:/JAVA/JMS/spring-integration-jms/target/classes/logback.xml]

15:25:24,011 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [STDOUT]

15:25:24,011 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]

15:25:24,023 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - This appender no longer admits a layout as a sub-component, set an encoder instead.

15:25:24,023 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.

15:25:24,023 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details

15:25:24,023 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [com.itranswarp.learnjava] to INFO

15:25:24,023 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting additivity of logger [com.itranswarp.learnjava] to false

15:25:24,024 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [STDOUT] to Logger[com.itranswarp.learnjava]

15:25:24,024 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to INFO

15:25:24,024 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [STDOUT] to Logger[ROOT]

15:25:24,024 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@76b06e50 - End of configuration.

15:25:24,024 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@1d0ac379 - Registering current configuration as safe fallback point

5月 23, 2023 3:25:24 下午 org.apache.jasper.servlet.TldScanner scanJars

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

5月 23, 2023 3:25:24 下午 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring DispatcherServlet 'dispatcher'

2023-05-23 15:25:24 INFO  o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcher'

2023-05-23 15:25:24 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...

2023-05-23 15:25:24 INFO  com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported)

2023-05-23 15:25:24 INFO  com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.hsqldb.jdbc.JDBCConnection@60f8d38c

2023-05-23 15:25:24 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.

2023-05-23 15:25:24 INFO  c.i.l.AppConfig

0 - create JMS connection factory for standalone activemq artemis server...

2023-05-23 15:25:27 INFO  o.s.web.servlet.DispatcherServlet - Completed initialization in 3225 ms

5月 23, 2023 3:25:27 下午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["http-nio-8080"]

2023-05-23 15:25:34 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=0, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:25:37 INFO  c.i.learnjava.web.MvcInterceptor - postHandle /.

2023-05-23 15:25:37 INFO  c.i.learnjava.web.MvcInterceptor - afterCompletion /: exception = null

2023-05-23 15:25:37 INFO  c.i.learnjava.web.MvcInterceptor - postHandle /static/js/jquery.js.

2023-05-23 15:25:37 INFO  c.i.learnjava.web.MvcInterceptor - afterCompletion /static/js/jquery.js: exception = null

2023-05-23 15:25:37 INFO  c.i.learnjava.web.MvcInterceptor - postHandle /static/css/bootstrap.css.

2023-05-23 15:25:37 INFO  c.i.learnjava.web.MvcInterceptor - afterCompletion /static/css/bootstrap.css: exception = null

2023-05-23 15:25:37 WARN  o.s.web.servlet.PageNotFound - No mapping for GET /favicon.ico

2023-05-23 15:25:40 INFO  c.i.learnjava.web.MvcInterceptor - postHandle /signin.

2023-05-23 15:25:40 INFO  c.i.learnjava.web.MvcInterceptor - afterCompletion /signin: exception = null

2023-05-23 15:25:41 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:25:48 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=2, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:25:55 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=3, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:02 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=4, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:09 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=5, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:16 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=6, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:23 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=7, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:31 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=8, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:38 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=9, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:45 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=10, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:52 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=11, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:26:59 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=12, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:27:06 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=13, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

2023-05-23 15:27:13 ERROR o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'jms/queue/mail' - retrying using FixedBackOff{interval=5000, currentAttempts=14, maxAttempts=unlimited}. Cause: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]

廖雪峰

#2 Created at ... [Delete] [Delete and Lock User]

ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server


  • 1

Reply