[jira] [Created] (CAMEL-7367) ClassNotFoundException: groovy.lang.Script
Martin Lichtin created CAMEL-7367: - Summary: ClassNotFoundException: groovy.lang.Script Key: CAMEL-7367 URL: https://issues.apache.org/jira/browse/CAMEL-7367 Project: Camel Issue Type: Bug Components: camel-groovy Affects Versions: 2.13.0 Reporter: Martin Lichtin When trying to upgrade from 2.11.4 to either 2.12.3 or 2.13.0 a problem with using Groovy pops up. The symptom is: java.lang.ClassNotFoundException: groovy.lang.Script at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:648) at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:401) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:758) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:746) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:55) at groovy.lang.GroovyClassLoader$ClassCollector.createClass(GroovyClassLoader.java:471) at groovy.lang.GroovyClassLoader$ClassCollector.onClassNode(GroovyClassLoader.java:488) at groovy.lang.GroovyClassLoader$ClassCollector.call(GroovyClassLoader.java:492) at org.codehaus.groovy.control.CompilationUnit$15.call(CompilationUnit.java:803) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1036) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:572) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:550) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:527) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:244) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:202) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:212) at org.apache.camel.language.groovy.GroovyExpression.instantiateScript(GroovyExpression.java:65) at org.apache.camel.language.groovy.GroovyExpression.evaluate(GroovyExpression.java:50) at org.apache.camel.processor.SetBodyProcessor.process(SetBodyProcessor.java:46) at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:51) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:73) at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:378) at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:346) at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:242) at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:346) at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:184) at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:124) ... This runs inside a Karaf 2.3.4 with features featurecamel/feature featurecamel-groovy/feature loaded. groovy.lang.Script comes from the groovy-all/2.2.2 bundle. The bundle is loaded by the camel-groovy feature. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Assigned] (CAMEL-7363) camel headers are not preserverd in camel-ahc component
[ https://issues.apache.org/jira/browse/CAMEL-7363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang reassigned CAMEL-7363: --- Assignee: Willem Jiang camel headers are not preserverd in camel-ahc component --- Key: CAMEL-7363 URL: https://issues.apache.org/jira/browse/CAMEL-7363 Project: Camel Issue Type: Bug Components: camel-ahc Affects Versions: 2.12.3, 2.13.0 Reporter: Stephan Siano Assignee: Willem Jiang Attachments: 0001-CAMEL-7363-camel-headers-are-not-preserverd-in-camel.patch The documentation of the camel-ahc component states: ... All headers from the IN message will be copied to the OUT message, so headers are preserved during routing. Additionally Camel will add the HTTP response headers as well to the OUT message headers. However this is not true. Camel headers are not copied from the in to the out message. I have looked up other components doing http requests (http4 and cxf) and these components do copy the headers from the in to the out message. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CAMEL-7368) The feature descriptor should use a namespace
Guillaume Nodet created CAMEL-7368: -- Summary: The feature descriptor should use a namespace Key: CAMEL-7368 URL: https://issues.apache.org/jira/browse/CAMEL-7368 Project: Camel Issue Type: Bug Components: karaf Affects Versions: 2.13.0 Reporter: Guillaume Nodet Fix For: 2.13.1 Support for no namespace in the features descriptor is deprecated and should be removed in future Karaf versions. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Assigned] (CAMEL-7367) ClassNotFoundException: groovy.lang.Script
[ https://issues.apache.org/jira/browse/CAMEL-7367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang reassigned CAMEL-7367: --- Assignee: Willem Jiang ClassNotFoundException: groovy.lang.Script -- Key: CAMEL-7367 URL: https://issues.apache.org/jira/browse/CAMEL-7367 Project: Camel Issue Type: Bug Components: camel-groovy Affects Versions: 2.13.0 Reporter: Martin Lichtin Assignee: Willem Jiang When trying to upgrade from 2.11.4 to either 2.12.3 or 2.13.0 a problem with using Groovy pops up. The symptom is: java.lang.ClassNotFoundException: groovy.lang.Script at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:648) at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:401) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:758) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:746) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:55) at groovy.lang.GroovyClassLoader$ClassCollector.createClass(GroovyClassLoader.java:471) at groovy.lang.GroovyClassLoader$ClassCollector.onClassNode(GroovyClassLoader.java:488) at groovy.lang.GroovyClassLoader$ClassCollector.call(GroovyClassLoader.java:492) at org.codehaus.groovy.control.CompilationUnit$15.call(CompilationUnit.java:803) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1036) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:572) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:550) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:527) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:244) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:202) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:212) at org.apache.camel.language.groovy.GroovyExpression.instantiateScript(GroovyExpression.java:65) at org.apache.camel.language.groovy.GroovyExpression.evaluate(GroovyExpression.java:50) at org.apache.camel.processor.SetBodyProcessor.process(SetBodyProcessor.java:46) at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:51) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:73) at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:378) at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:346) at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:242) at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:346) at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:184) at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:124) ... This runs inside a Karaf 2.3.4 with features featurecamel/feature featurecamel-groovy/feature loaded. groovy.lang.Script comes from the groovy-all/2.2.2 bundle. The bundle is loaded by the camel-groovy feature. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CAMEL-7367) ClassNotFoundException: groovy.lang.Script
[ https://issues.apache.org/jira/browse/CAMEL-7367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969355#comment-13969355 ] Willem Jiang commented on CAMEL-7367: - Can I have a look of you camel route? Can you try to install camel-script and camel-groovy at the same time? ClassNotFoundException: groovy.lang.Script -- Key: CAMEL-7367 URL: https://issues.apache.org/jira/browse/CAMEL-7367 Project: Camel Issue Type: Bug Components: camel-groovy Affects Versions: 2.13.0 Reporter: Martin Lichtin Assignee: Willem Jiang When trying to upgrade from 2.11.4 to either 2.12.3 or 2.13.0 a problem with using Groovy pops up. The symptom is: java.lang.ClassNotFoundException: groovy.lang.Script at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:648) at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:401) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:758) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:746) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:55) at groovy.lang.GroovyClassLoader$ClassCollector.createClass(GroovyClassLoader.java:471) at groovy.lang.GroovyClassLoader$ClassCollector.onClassNode(GroovyClassLoader.java:488) at groovy.lang.GroovyClassLoader$ClassCollector.call(GroovyClassLoader.java:492) at org.codehaus.groovy.control.CompilationUnit$15.call(CompilationUnit.java:803) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1036) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:572) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:550) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:527) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:244) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:202) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:212) at org.apache.camel.language.groovy.GroovyExpression.instantiateScript(GroovyExpression.java:65) at org.apache.camel.language.groovy.GroovyExpression.evaluate(GroovyExpression.java:50) at org.apache.camel.processor.SetBodyProcessor.process(SetBodyProcessor.java:46) at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:51) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:73) at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:378) at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:346) at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:242) at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:346) at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:184) at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:124) ... This runs inside a Karaf 2.3.4 with features featurecamel/feature featurecamel-groovy/feature loaded. groovy.lang.Script comes from the groovy-all/2.2.2 bundle. The bundle is loaded by the camel-groovy feature. -- This message was sent by Atlassian JIRA
[jira] [Created] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
Babak Vahdat created CAMEL-7369: --- Summary: camel-mongodb - The readPreference option doesn’t work Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat updated CAMEL-7369: Attachment: CAMEL-7369.patch camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat updated CAMEL-7369: Attachment: CAMEL-7369.patch camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat updated CAMEL-7369: Attachment: (was: CAMEL-7369.patch) camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat updated CAMEL-7369: Attachment: CAMEL-7369.patch camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat updated CAMEL-7369: Attachment: (was: CAMEL-7369.patch) camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat updated CAMEL-7369: Attachment: CAMEL-7369.patch camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat updated CAMEL-7369: Attachment: (was: CAMEL-7369.patch) camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat updated CAMEL-7369: Description: See http://camel.465427.n5.nabble.com/About-a-bug-of-the-camel-mongodb-component-td5750234.html camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch See http://camel.465427.n5.nabble.com/About-a-bug-of-the-camel-mongodb-component-td5750234.html -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CAMEL-7366) Error during commit: GenericFileOnCompletion
[ https://issues.apache.org/jira/browse/CAMEL-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arni Sumarlidason updated CAMEL-7366: - Attachment: CAMEL-7366.tar.gz I have attached CAMEL-7366.tar.gz to demonstrate the issue. The process function attempts a read which throws a java.io.FileNotFoundException Error during commit: GenericFileOnCompletion Key: CAMEL-7366 URL: https://issues.apache.org/jira/browse/CAMEL-7366 Project: Camel Issue Type: Bug Affects Versions: 2.13.0 Environment: java 1.7.0_51 Reporter: Arni Sumarlidason Labels: file, seda, threading Attachments: CAMEL-7366.tar.gz Files are lost when using a thread pool paradigm and the from(file://) source. {code:title=Exception|borderStyle=solid} [WARN ] [2014-04-14 11:00:28,812] [Camel (camel-1) thread #1 - seda://a] [org.apache.camel.component.file.GenericFileOnCompletion]: Error during commit. Exchange[66.json]. Caused by: [org.apache.camel.component.file.GenericFileOperationFailedException - Cannot rename file: GenericFile[66.json] to: GenericFile[.camel/66.json]] org.apache.camel.component.file.GenericFileOperationFailedException: Cannot rename file: GenericFile[66.json] to: GenericFile[.camel/66.json] at org.apache.camel.component.file.strategy.GenericFileProcessStrategySupport.renameFile(GenericFileProcessStrategySupport.java:115) at org.apache.camel.component.file.strategy.GenericFileRenameProcessStrategy.commit(GenericFileRenameProcessStrategy.java:88) at org.apache.camel.component.file.GenericFileOnCompletion.processStrategyCommit(GenericFileOnCompletion.java:124) at org.apache.camel.component.file.GenericFileOnCompletion.onCompletion(GenericFileOnCompletion.java:80) at org.apache.camel.component.file.GenericFileOnCompletion.onComplete(GenericFileOnCompletion.java:54) at org.apache.camel.util.UnitOfWorkHelper.doneSynchronizations(UnitOfWorkHelper.java:100) at org.apache.camel.impl.DefaultUnitOfWork.done(DefaultUnitOfWork.java:228) at org.apache.camel.util.UnitOfWorkHelper.doneUow(UnitOfWorkHelper.java:61) at org.apache.camel.processor.CamelInternalProcessor$UnitOfWorkProcessorAdvice.after(CamelInternalProcessor.java:613) at org.apache.camel.processor.CamelInternalProcessor$UnitOfWorkProcessorAdvice.after(CamelInternalProcessor.java:581) at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:240) at org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:251) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:429) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.component.seda.SedaConsumer.sendToConsumers(SedaConsumer.java:291) at org.apache.camel.component.seda.SedaConsumer.doRun(SedaConsumer.java:200) at org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:147) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) {code} Files that produced this message seemed to be deleted from disk. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Assigned] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat reassigned CAMEL-7369: --- Assignee: Babak Vahdat camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Assignee: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch See http://camel.465427.n5.nabble.com/About-a-bug-of-the-camel-mongodb-component-td5750234.html -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (CAMEL-7369) camel-mongodb - The readPreference option doesn’t work
[ https://issues.apache.org/jira/browse/CAMEL-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Babak Vahdat resolved CAMEL-7369. - Resolution: Fixed The documentation for this has been updated as well. camel-mongodb - The readPreference option doesn’t work -- Key: CAMEL-7369 URL: https://issues.apache.org/jira/browse/CAMEL-7369 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Assignee: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 Attachments: CAMEL-7369.patch See http://camel.465427.n5.nabble.com/About-a-bug-of-the-camel-mongodb-component-td5750234.html -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CAMEL-7370) camel-mongodb - Should close the underlying physical connection to MongoDB when stopping
Babak Vahdat created CAMEL-7370: --- Summary: camel-mongodb - Should close the underlying physical connection to MongoDB when stopping Key: CAMEL-7370 URL: https://issues.apache.org/jira/browse/CAMEL-7370 Project: Camel Issue Type: Improvement Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Assignee: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CAMEL-7370) camel-mongodb - Should close the underlying physical connection to MongoDB when stopping
[ https://issues.apache.org/jira/browse/CAMEL-7370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13970054#comment-13970054 ] Babak Vahdat commented on CAMEL-7370: - The idea is simply to override the {{doStop()}} method in {{MongoDbEndpoint}} as following: {code} /** * Closes the underlying physical connection to MongoDB */ @Override protected void doStop() throws Exception { if (mongoConnection != null) { LOG.debug(closing the connection {} on {}, mongoConnection, this); mongoConnection.close(); } super.doStop(); } {code} By applying such a change all the tests would still pass and one can see less connections being hold open on the MongoDB server side (as the server logs into the console). But as we use a [single connection|https://github.com/apache/camel/blob/master/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbComponent.java#L43] at the component level, I’m not really sure if such a change would have a side effect on the productive applications running out there. camel-mongodb - Should close the underlying physical connection to MongoDB when stopping Key: CAMEL-7370 URL: https://issues.apache.org/jira/browse/CAMEL-7370 Project: Camel Issue Type: Improvement Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Babak Vahdat Assignee: Babak Vahdat Priority: Minor Fix For: 2.12.4, 2.13.1, 2.14.0 -- This message was sent by Atlassian JIRA (v6.2#6252)