-
1. Re: ActiveMQ tcp to http - AbstractHttpMessage class not found
milanmilas Jan 17, 2013 1:53 PM (in response to milanmilas)Have installed manually to Fuse ESB:
httpclient-osgi
httpcore-osgi
4.2.1
and error has gone.
Just to mention that activemq-optional feature has been installed as well.
Now I am getting:
Exhausted after delivery attempt: 1 caught: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could not con
nect to broker URL: http://localhost:61616. Reason: java.io.IOException: Failed to perform GET on: http://localhost:61616 as response was: null
org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could not connect to broker URL: http://localhost:61616. Reason: java.io.IOException: Fail
ed to perform GET on: http://localhost:61616 as response was: null
at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)[145:org.springframework.jms:3.0.7.RELEASE]
at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168)[145:org.springframework.jms:3.0.7.RELEASE]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:469)[145:org.springframework.jms:3.0.7.RELEASE]
at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:187)[146:org.apache.camel.camel-jms:2.9.0.fuse-70-097]
at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:398)[146:org.apache.camel.camel-jms:2.9.0.fuse-70-097]
-
2013-01-17 18:29:53,110 | WARN | .0.1:49636@61616 | Transport | 120 - org.apache.activemq.activemq-core - 5.5.1.fuse-70-097 | Transport Connection to: tcp://127.0.0.1:49636 failed: java.io.IOException: Frame size of
1156 MB larger than max allowed 100 MB
2013-01-17 18:29:53,111 | WARN | nsumer[Producer] | faultJmsMessageListenerContainer | 145 - org.springframework.jms - 3.0.7.RELEASE | Could not refresh JMS Connection for destination 'Producer' - retrying in 5000 ms. Cause: Could not conn
ect to broker URL: http://localhost:61616. Reason: java.io.IOException: Failed to perform GET on: http://localhost:61616 as response was: null
2013-01-17 18:29:58,118 | WARN | .0.1:49641@61616 | Transport | 120 - org.apache.activemq.activemq-core - 5.5.1.fuse-70-097 | Transport Connection to: tcp://127.0.0.1:49641 failed: java.io.IOException: Frame size of
1156 MB larger than max allowed 100 MB
2013-01-17 18:29:58,119 | WARN | nsumer[Producer] | faultJmsMessageListenerContainer | 145 - org.springframework.jms - 3.0.7.RELEASE | Could not refresh JMS Connection for destination 'Producer' - retrying in 5000 ms. Cause: Could not conn
ect to broker URL: http://localhost:61616. Reason: java.io.IOException: Failed to perform GET on: http://localhost:61616 as response was: null
but this is for tomorrow investigation.
-
2. Re: ActiveMQ tcp to http - AbstractHttpMessage class not found
ffang Jan 17, 2013 8:46 PM (in response to milanmilas)Hi,
This
org.apache.activemq.activemq-core - 5.5.1.fuse-70-097 | Transport Connection to: tcp://127.0.0.1:49641 failed: java.io.IOException: Frame size of
1156 MB larger than max allowed 100 MB
is interesting. Are you trying to transfer some big file?
Freeman
-
3. Re: ActiveMQ tcp to http - AbstractHttpMessage class not found
milanmilas Jan 18, 2013 5:22 AM (in response to ffang)This is the message I am sending to ActiveMQ, it was POJO that has been
marshaled using JAXB:
<;ns2:Person xmlns:ns2="http://pocesb.xxxxxxxxx.com" Name="Milan" Surname="Milas"/>
-
2013-01-18 09:51:06,401 | INFO | qtp7124168-32327 | producerCxf | 139 - org.apache.camel.camel-core - 2.9.0.fuse-70-097 | Converted body to Person using convertBodyTo
2013-01-18 09:51:06,401 | INFO | qtp7124168-32327 | producerCxf | 139 - org.apache.camel.camel-core - 2.9.0.fuse-70-097 | Converted body to string
2013-01-18 09:51:06,401 | INFO | qtp7124168-32327 | producerCxf | 139 - org.apache.camel.camel-core - 2.9.0.fuse-70-097 | <ns2:Person xmlns:ns2="http://pocesb.xxxxxxxx.com" Name="Adam" Surname="Boult"/>
2013-01-18 09:51:06,469 | WARN | .0.1:61249@61616 | Transport | 120 - org.apache.activemq.activemq-core - 5.5.1.fuse-70-097 | Transport Connection to: tcp://127.0.0.1:61249 failed: java.io.IOException: Frame size of
1156 MB larger than max allowed 100 MB
2013-01-18 09:51:06,470 | ERROR | qtp7124168-32327 | DefaultErrorHandler | 139 - org.apache.camel.camel-core - 2.9.0.fuse-70-097 | Failed delivery for (MessageId: ID-LON-DEV-MIMI-61034-1358446034028-9-3 on ExchangeId: ID-LON-DE
V-MIMI-61034-1358446034028-9-4). Exhausted after delivery attempt: 1 caught: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could not con
nect to broker URL: http://localhost:61616. Reason: java.io.IOException: Failed to perform GET on: http://localhost:61616 as response was: null
org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could not connect to broker URL: http://localhost:61616. Reason: java.io.IOException: Fail
ed to perform GET on: http://localhost:61616 as response was: null
at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)
145:org.springframework.jms:3.0.7.RELEASEEdited by: milanmilas on Jan 18, 2013 10:13 AM
-
camel.jpg 172.0 KB
-
-
4. Re: ActiveMQ tcp to http - AbstractHttpMessage class not found
milanmilas Jan 18, 2013 5:52 AM (in response to milanmilas)The issues was that I havent changed broker url:
-
5. Re: ActiveMQ tcp to http - AbstractHttpMessage class not found
milanmilas Jan 18, 2013 5:53 AM (in response to milanmilas)Fuse ESB - need to install
feature activemq-optional
httpclient-osgi-4.2.1.jar
httpcore-osgi-4.2.1.jar
-
6. Re: ActiveMQ tcp to http - AbstractHttpMessage class not found
ffang Jan 18, 2013 6:02 AM (in response to milanmilas)Hi,
Thanks for sharing your investigation.
Freeman