camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: oracle.jms.AQjmsException: JMS-110: Property JMSXDeliveryCount not writeable
Date Fri, 19 Aug 2016 06:28:23 GMT
Hi

Yes its a bug in that Camel release. We have a ticket logged:
https://issues.apache.org/jira/browse/CAMEL-10237
You can downgrade to last working Camel version.

And then later upgrade to 2.17.4 when its released with the fix.


On Fri, Aug 19, 2016 at 7:48 AM, james555 <luke333@gmx.net> wrote:
>
> Hello,
>
> after enqueuing a message to a jms-queue with Camel 2.17.3, Java 1.8 and
> Oracle Web Logic Server 12.1.3
>
> ...
> .to(ExchangePattern.InOnly, "jms:xy.xz_queue?jmsMessageType=Text")
> ...
>
> I get an UncategorizedJmsException wrapping: oracle.jms.AQjmsException:
> JMS-110: Property JMSXDeliveryCount not writeable
>
> Has is something to do with updating to Camel 2.17.3 which is mentioned here
> ?
> http://camel.465427.n5.nabble.com/possible-camel-jms-regression-in-2-17-2-tc5786290.html#a5786292
>
> Or is it a general problem which is mentioned e.g. here ?
> https://qnalist.com/questions/1983818/using-preservemessageqos-causes-aqjmsexception-in-oracle-aq
>
>
> Is downgrading to Camel 2.17.1 a workaround
>
> or does
> jms:aps.aps_vbs_prio_queue?jmsMessageType=Text?includeAllJMSXProperties=false
> bring a solution
>
>         Sorry, I'm really under pressure here. Any tipp is appreciated ?
>
>                 Big Thanks !
>
>                         James
>
>
>
> Full stacktrace:
>
> Uncategorized exception occured during JMS processing; nested exception is
> oracle.jms.AQjmsException: JMS-110: JMS-110: Property JMSXDeliveryCount not
> writeable
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception
> occured during JMS processing; nested exception is
> oracle.jms.AQjmsException: JMS-110: Property JMSXDeliveryCount not writeable
>         at
> org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)
>         at
> org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169)
>         at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:497)
>         at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:452)
>         at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:414)
>         at
> org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:368)
>         at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:154)
>         at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:344)
>         at
> org.apache.camel.processor.DefaultErrorHandler.process(DefaultErrorHandler.java:60)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:63)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at
> org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62)
>         at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
>         at
> org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
>         at
> org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
>         at
> org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
>         at
> org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
>         at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:113)
>         at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:84)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:344)
>         at
> org.apache.camel.processor.DefaultErrorHandler.process(DefaultErrorHandler.java:60)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at
> org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:344)
>         at
> org.apache.camel.processor.DefaultErrorHandler.process(DefaultErrorHandler.java:60)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114)
>         at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
>         at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183)
>         at
> org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
>         at
> org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:105)
>         at
> org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
>         at
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)
>         at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
>         at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91)
>         at org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:143)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
>         at
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
>         at
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
>         at
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
>         at
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
>         at
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
>         at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3432)
>         at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
>         at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>         at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
>         at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
>         at
> weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
>         at
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
>         at
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
>         at
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
>         at
> weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
>         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
>         at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
> Caused by: oracle.jms.AQjmsException: JMS-110: Property JMSXDeliveryCount
> not writeable
>         at oracle.jms.AQjmsError.throwEx(AQjmsError.java:355)
>         at oracle.jms.AQjmsMessage.setSystemProperty(AQjmsMessage.java:2655)
>         at oracle.jms.AQjmsMessage.setStringProperty2(AQjmsMessage.java:2074)
>         at oracle.jms.AQjmsMessage.setStringProperty(AQjmsMessage.java:2046)
>         at
> org.apache.camel.component.jms.JmsMessageHelper.setProperty(JmsMessageHelper.java:150)
>         at
> org.apache.camel.component.jms.JmsBinding.appendJmsProperty(JmsBinding.java:370)
>         at
> org.apache.camel.component.jms.JmsBinding.appendJmsProperties(JmsBinding.java:329)
>         at
> org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:304)
>         at
> org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:301)
>         at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:498)
>         at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:441)
>         at
> org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$1.doInJms(JmsConfiguration.java:455)
>         at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:494)
>         ... 104 more
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/oracle-jms-AQjmsException-JMS-110-Property-JMSXDeliveryCount-not-writeable-tp5786620.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message