[JBoss JIRA] (JBESB-3984) How create internal ActiveMQ on port 61616 with Fuse Karaf 7
by Marco Tenti (Jira)
[ https://issues.jboss.org/browse/JBESB-3984?page=com.atlassian.jira.plugin... ]
Marco Tenti updated JBESB-3984:
-------------------------------
Description:
Hi,
i'm desperated.
i must be very stupid by the documentation i find out on this url:
https://access.redhat.com/documentation/en-us/red_hat_fuse/7.0/html/deplo...
Fuse 7.0 does not ship with a default internal broker, but it is designed to interface with your external JMS brokers.
After all the passages i get this error:
{code:java}
Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId ProcessorId Processor Elapsed (ms)
[file-to-jms-route ] [file-to-jms-route ] [file://work/jms/input ] [ 9]
[file-to-jms-route ] [log1 ] [log ] [ 1]
[file-to-jms-route ] [to1 ] [jms:queue:incomingOrders?transacted=true ] [ 7]
Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]
at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:487) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:526) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:440) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:394) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:157) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:452) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:219) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:183) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: javax.jms.JMSException: Failed to create session factory
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:846) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
... 22 more
Caused by: org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException: AMQ219007: Cannot connect to server(s). Tried with all available servers.
at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:797) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:844) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
... 22 more
{code}
Because there is no service listen on port 61616:
{code}
netstat -lutanp | grep 61616
{code}
I don't know what i'm doing wrog anyone have a more specific docuemtnation on the passage to do for install a internal ActiveMQ Borker on Fuse Karaf 7.X?
was:
Hi,
i'm desperated.
i must be very stupid by the documentation i find out on this url:
https://access.redhat.com/documentation/en-us/red_hat_fuse/7.0/html/deplo...
Fuse 7.0 does not ship with a default internal broker, but it is designed to interface with four external JMS brokers.
After all the passage iget this error:
{code:java}
Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId ProcessorId Processor Elapsed (ms)
[file-to-jms-route ] [file-to-jms-route ] [file://work/jms/input ] [ 9]
[file-to-jms-route ] [log1 ] [log ] [ 1]
[file-to-jms-route ] [to1 ] [jms:queue:incomingOrders?transacted=true ] [ 7]
Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]
at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:487) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:526) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:440) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:394) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:157) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:452) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:219) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:183) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: javax.jms.JMSException: Failed to create session factory
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:846) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
... 22 more
Caused by: org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException: AMQ219007: Cannot connect to server(s). Tried with all available servers.
at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:797) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:844) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
... 22 more
{code}
Because there is no serv ie listen on port 61616:
netstat -lutanp | grep 61616
I don't know what i'm doing worng anyone have a more specific docuemtnation on the passage to do for install ainternal ActiveMQ Borker on Fuse Karaf 7.X?
> How create internal ActiveMQ on port 61616 with Fuse Karaf 7
> ------------------------------------------------------------
>
> Key: JBESB-3984
> URL: https://issues.jboss.org/browse/JBESB-3984
> Project: JBoss ESB
> Issue Type: Task
> Components: Documentation
> Reporter: Marco Tenti
> Priority: Major
>
> Hi,
> i'm desperated.
> i must be very stupid by the documentation i find out on this url:
> https://access.redhat.com/documentation/en-us/red_hat_fuse/7.0/html/deplo...
> Fuse 7.0 does not ship with a default internal broker, but it is designed to interface with your external JMS brokers.
> After all the passages i get this error:
> {code:java}
> Message History
> ---------------------------------------------------------------------------------------------------------------------------------------
> RouteId ProcessorId Processor Elapsed (ms)
> [file-to-jms-route ] [file-to-jms-route ] [file://work/jms/input ] [ 9]
> [file-to-jms-route ] [log1 ] [log ] [ 1]
> [file-to-jms-route ] [to1 ] [jms:queue:incomingOrders?transacted=true ] [ 7]
> Stacktrace
> ---------------------------------------------------------------------------------------------------------------------------------------
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]
> at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
> at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
> at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:487) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
> at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:526) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:440) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:394) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:157) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:452) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:219) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:183) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
> at java.lang.Thread.run(Thread.java:748) [?:?]
> Caused by: javax.jms.JMSException: Failed to create session factory
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:846) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
> at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
> at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
> at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
> ... 22 more
> Caused by: org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException: AMQ219007: Cannot connect to server(s). Tried with all available servers.
> at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:797) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:844) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
> at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
> at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
> at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
> ... 22 more
> {code}
> Because there is no service listen on port 61616:
> {code}
> netstat -lutanp | grep 61616
> {code}
> I don't know what i'm doing wrog anyone have a more specific docuemtnation on the passage to do for install a internal ActiveMQ Borker on Fuse Karaf 7.X?
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 2 months
[JBoss JIRA] (JBESB-3984) How create internal ActiveMQ on port 61616 with Fuse Karaf 7
by Marco Tenti (Jira)
[ https://issues.jboss.org/browse/JBESB-3984?page=com.atlassian.jira.plugin... ]
Marco Tenti updated JBESB-3984:
-------------------------------
Description:
Hi,
i'm desperated.
i must be very stupid by the documentation i find out on this url:
https://access.redhat.com/documentation/en-us/red_hat_fuse/7.0/html/deplo...
Fuse 7.0 does not ship with a default internal broker, but it is designed to interface with four external JMS brokers.
After all the passage iget this error:
{code:java}
Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId ProcessorId Processor Elapsed (ms)
[file-to-jms-route ] [file-to-jms-route ] [file://work/jms/input ] [ 9]
[file-to-jms-route ] [log1 ] [log ] [ 1]
[file-to-jms-route ] [to1 ] [jms:queue:incomingOrders?transacted=true ] [ 7]
Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]
at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:487) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:526) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:440) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:394) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:157) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:452) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:219) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:183) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: javax.jms.JMSException: Failed to create session factory
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:846) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
... 22 more
Caused by: org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException: AMQ219007: Cannot connect to server(s). Tried with all available servers.
at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:797) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:844) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
... 22 more
{code}
Because there is no serv ie listen on port 61616:
netstat -lutanp | grep 61616
I don't know what i'm doing worng anyone have a more specific docuemtnation on the passage to do for install ainternal ActiveMQ Borker on Fuse Karaf 7.X?
was:
Hi,
i'm desperated.
i must be very stupid by the documentation i find out on this url:
https://access.redhat.com/documentation/en-us/red_hat_fuse/7.0/html/deplo...
Fuse 7.0 does not ship with a default internal broker, but it is designed to interface with four external JMS brokers.
So what passage i must do to install on Fuse (Karaf) a Active MQ Broker listen on port 61616 with protocol tcp ?
> How create internal ActiveMQ on port 61616 with Fuse Karaf 7
> ------------------------------------------------------------
>
> Key: JBESB-3984
> URL: https://issues.jboss.org/browse/JBESB-3984
> Project: JBoss ESB
> Issue Type: Task
> Components: Documentation
> Reporter: Marco Tenti
> Priority: Major
>
> Hi,
> i'm desperated.
> i must be very stupid by the documentation i find out on this url:
> https://access.redhat.com/documentation/en-us/red_hat_fuse/7.0/html/deplo...
> Fuse 7.0 does not ship with a default internal broker, but it is designed to interface with four external JMS brokers.
> After all the passage iget this error:
> {code:java}
> Message History
> ---------------------------------------------------------------------------------------------------------------------------------------
> RouteId ProcessorId Processor Elapsed (ms)
> [file-to-jms-route ] [file-to-jms-route ] [file://work/jms/input ] [ 9]
> [file-to-jms-route ] [log1 ] [log ] [ 1]
> [file-to-jms-route ] [to1 ] [jms:queue:incomingOrders?transacted=true ] [ 7]
> Stacktrace
> ---------------------------------------------------------------------------------------------------------------------------------------
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Failed to create session factory; nested exception is ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.]
> at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
> at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
> at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:487) ~[231:org.apache.servicemix.bundles.spring-jms:4.3.20.RELEASE_1]
> at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:526) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:440) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:394) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:157) ~[229:org.apache.camel.camel-jms:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:452) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:219) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:183) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [60:org.apache.camel.camel-core:2.21.0.fuse-731003-redhat-00003]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
> at java.lang.Thread.run(Thread.java:748) [?:?]
> Caused by: javax.jms.JMSException: Failed to create session factory
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:846) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
> at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
> at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
> at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
> ... 22 more
> Caused by: org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException: AMQ219007: Cannot connect to server(s). Tried with all available servers.
> at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:797) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:844) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) ~[?:?]
> at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:277) ~[?:?]
> at Proxy3be079fd_3adf_4977_94f5_116eed5821f8.createConnection(Unknown Source) ~[?:?]
> at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180) ~[?:?]
> at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474) ~[?:?]
> ... 22 more
> {code}
> Because there is no serv ie listen on port 61616:
> netstat -lutanp | grep 61616
> I don't know what i'm doing worng anyone have a more specific docuemtnation on the passage to do for install ainternal ActiveMQ Borker on Fuse Karaf 7.X?
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 2 months
[JBoss JIRA] (JBESB-3982) Can't update a SNAPSHOT osgi bundle to "latest" version with Jboss Fuse 7
by Marco Tenti (Jira)
[ https://issues.jboss.org/browse/JBESB-3982?page=com.atlassian.jira.plugin... ]
Marco Tenti closed JBESB-3982.
------------------------------
Resolution: Done
RESOVLED WITH WORKAROUND
> Can't update a SNAPSHOT osgi bundle to "latest" version with Jboss Fuse 7
> -------------------------------------------------------------------------
>
> Key: JBESB-3982
> URL: https://issues.jboss.org/browse/JBESB-3982
> Project: JBoss ESB
> Issue Type: Bug
> Components: Configuration
> Environment: JBOSS FUSE KARAF : 7.3.0
> S.O. : CENTO-OS 7.X.X
> JAVA JDK : OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
> Reporter: Marco Tenti
> Priority: Major
> Labels: Fuse, Maven, bundle, bundles, fuse, maven2
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> I have installed a Jboss Fuse Karaf version 7.3.0.
> I'm trying to update a SNAPSHOT osgi bundle, but it's keep to not download the latest version, but instead use the version already downloaded on the maven repository (/root/.m2 or standard /opt/fues-7.3.0/data/repository).
> I have tried the solution confirmed in this thread
> https://access.redhat.com/solutions/2097131
> but it's seems no to work.
> The only ugly solution i find is to delete the maven jar donwloaded on the repository and then the maven is force to call the remote repository and download the "latest" version.ù
> But i can't use the hawtio console in this use case.
> It's seems some configuration problem anyone have suggestion?
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 2 months
[JBoss JIRA] (JBESB-3983) Can't show on fuse.log the SLF4j logger of my java project
by Marco Tenti (Jira)
[ https://issues.jboss.org/browse/JBESB-3983?page=com.atlassian.jira.plugin... ]
Marco Tenti closed JBESB-3983.
------------------------------
Resolution: Done
RESOLVED WITH THIS DEPDENCIES ON OSGI KARAF:
osgi:install -s wrap:mvn:org.slf4j/log4j-over-slf4j/1.7.25
> Can't show on fuse.log the SLF4j logger of my java project
> ----------------------------------------------------------
>
> Key: JBESB-3983
> URL: https://issues.jboss.org/browse/JBESB-3983
> Project: JBoss ESB
> Issue Type: Bug
> Components: Application Server, Configuration, Registry and Repository
> Environment: JBOSS FUSE KARAF : 7.3.0
> S.O. : CENTO-OS 7.X.X
> JAVA JDK : OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
> SLF4J : 1.7.22
> LOG4J2 : 2.9.0
> Reporter: Marco Tenti
> Priority: Major
> Labels: Karaf, bundle, fuse, fuse.log, log4j2, slf4j
>
> I have finish to develop a maven "bundle" project for the fuse-karaf 7.3.0, the install on the karaf console it's oK (or at least say active), but i cannot see my SLF4J log on the fuse.log file.
> Here my logging dependencies on the pom.xml
> {code:xml}
> <!-- Logging dependencies -->
>
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-api</artifactId>
> <version>${version.org.slf4j}</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>jcl-over-slf4j</artifactId>
> <version>${version.org.slf4j}</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>jul-to-slf4j</artifactId>
> <version>${version.org.slf4j}</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-log4j12</artifactId>
> <version>${version.org.slf4j}</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-nop</artifactId>
> <version>${version.org.slf4j}</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.logging.log4j</groupId>
> <artifactId>log4j-api</artifactId>
> <version>${version.org.apache.logging.log4j}</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.logging.log4j</groupId>
> <artifactId>log4j-core</artifactId>
> <version>${version.org.apache.logging.log4j}</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.logging.log4j</groupId>
> <artifactId>log4j-slf4j-impl</artifactId>
> <version>${version.org.apache.logging.log4j}</version>
> <scope>provided</scope>
> </dependency>
> {code}
> and here my bundle felix maven plugin configuration:
> {code:xml}
> <plugin>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <version>4.2.0</version>
> <extensions>true</extensions>
> <configuration>
> <!-- <classifier>${classifier}</classifier> -->
> <instructions>
> <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
> <Bundle-Name>${bundle.name}</Bundle-Name>
> <Bundle-Version>${project.version}</Bundle-Version>
> <Bundle-Description>${project.description}</Bundle-Description>
> <wrapImportPackage>;</wrapImportPackage>
> <Embed-Transitive>false</Embed-Transitive>
> <supportIncrementalBuild>true</supportIncrementalBuild>
> <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
> <Export-Package>
> !META-INF.certificati,
> it.abd.esb.common.*,
> </Export-Package>
> <Import-Package>
> <!-- DIPENDENZE SERVICEMIX -->
> META-INF.cxf,
> org.apache.cxf;version="${osgi.cxf.version}",
> org.apache.cxf.*;version="${osgi.cxf.version}",
> org.apache.camel;version="${osgi.camel.version}",
> org.apache.camel.*;version="${osgi.camel.version}",
> com.fasterxml.jackson.*;version="${osgi.jackson.version}",
> org.springframework.*;version="${osgi.spring.version}",
> org.apache.wss4j.*;version="${osgi.wss4j.version}",
> <!-- DIPENDENZE ESTERNE -->
> <!--
> org.slf4j;version="${osgi.slf4j.version}",
> org.slf4j.*;version="${osgi.slf4j.version}",
> -->
> org.apache.commons.mail;version="${osgi.commons-email.version}",
> org.apache.commons.mail.*;version="${osgi.commons-email.version}",
> org.apache.commons.io;version="${osgi.commons-io.version}",
> org.apache.commons.io.*;version="${osgi.commons-io.version}",
> org.apache.commons.lang3;version="${osgi.commons-lang3.version}",
> org.apache.commons.lang3.*;version="${osgi.commons-lang3.version}",
> org.apache.commons.codec;version="${osgi.commons-codec.version}",
> org.apache.commons.codec.*;version="${osgi.commons-codec.version}",
> org.apache.commons.collections4;version="${osgi.commons-collections4.version}",
> org.apache.commons.collections4.*;version="${osgi.commons-collections4.version}",
> org.bouncycastle;version="${osgi.bouncycastle.version}",
> org.bouncycastle.*;version="${osgi.bouncycastle.version}",
> com.mysql.cj,
> com.mysql.cj.*,
> org.apache.http;version="${osgi.httpcomponents.version}",
> org.apache.http.*;version="${osgi.httpcomponents.version}",
> com.lowagie.*;version="${osgi.openpdf.version}",
> org.apache.pdfbox.*;version="${osgi.pdfbox.version}",
>
> org.apache.camel.component.xmlsecurity;version="${osgi.xmlsec.version}",
> org.apache.camel.component.xmlsecurity.*;version="${osgi.xmlsec.version}",
> </Import-Package>
> </instructions>
> </configuration>
> </plugin>
> {code}
> and this is mine "/src/main/resources/log4j2.xml"
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <Configuration status="debug" monitorInterval="60">
> <Appenders>
> <Console name="console" target="SYSTEM_OUT">
> <PatternLayout
> pattern="[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n" />
> </Console>
> </Appenders>
> <Loggers>
> <Root level="debug" additivity="false">
> <AppenderRef ref="console" />
> </Root>
> </Loggers>
> </Configuration>
> {code}
> I can't find a solution to show my SLF4J log .
> Can anyone help me?
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 2 months