[jira] [Resolved] (CAMEL-8868) Camel-Hazelcast: Add remainingCapacity operation to queue
[ https://issues.apache.org/jira/browse/CAMEL-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino resolved CAMEL-8868. - Resolution: Fixed Related commits: https://git1-us-west.apache.org/repos/asf?p=camel.git;a=commit;h=a8f71ae32366087d6e8e5cdc559eaa9d04cec786 https://git1-us-west.apache.org/repos/asf?p=camel.git;a=commit;h=2acb2a05fd6ff2d0ee8aca1d09a18d3b67d0b684 Camel-Hazelcast: Add remainingCapacity operation to queue - Key: CAMEL-8868 URL: https://issues.apache.org/jira/browse/CAMEL-8868 Project: Camel Issue Type: Improvement Components: camel-hazelcast Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 When using Hazelcast queue it can be useful to support the remaining capacity method inside the queue producer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14585036#comment-14585036 ] Martin Lichtin commented on CAMEL-8841: --- Yes, I'll give it a whirl. camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[52:org.apache.karaf.shell.ssh:3.0.3] Caused by: java.lang.IllegalArgumentException: Object name cannot be null ... 30 more {noformat} I think when combining the object name SetObjectName set = mBeanServer.queryNames(new ObjectName(agent.getMBeanObjectDomainName() + :type=services,name=DefaultInflightRepository,*), null); The :context=context-name part seems missing. The query should be something like org.apache.camel:context=context-name,type=services,name=DefaultInflightRepository -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8867) Upgrade GAE bundle version to 1.9.22_1
Andrea Cosentino created CAMEL-8867: --- Summary: Upgrade GAE bundle version to 1.9.22_1 Key: CAMEL-8867 URL: https://issues.apache.org/jira/browse/CAMEL-8867 Project: Camel Issue Type: Task Reporter: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the GAE bundle version to 1.9.22 when servicemix-bundle release will be done. Just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8867) Upgrade GAE bundle version to 1.9.22
[ https://issues.apache.org/jira/browse/CAMEL-8867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino updated CAMEL-8867: Summary: Upgrade GAE bundle version to 1.9.22 (was: Upgrade GAE bundle version to 1.9.22_1) Upgrade GAE bundle version to 1.9.22 Key: CAMEL-8867 URL: https://issues.apache.org/jira/browse/CAMEL-8867 Project: Camel Issue Type: Task Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the GAE bundle version to 1.9.22 when servicemix-bundle release will be done. Just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14585075#comment-14585075 ] Claus Ibsen commented on CAMEL-8841: Dont use mvn eclipse:eclipse. Instead Eclipse has out of the box maven plugin, so you can import existing maven project and select the folder of the platforms/commands camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[52:org.apache.karaf.shell.ssh:3.0.3] Caused by: java.lang.IllegalArgumentException: Object name cannot be null ... 30 more {noformat} I think when combining the object name SetObjectName set = mBeanServer.queryNames(new ObjectName(agent.getMBeanObjectDomainName() + :type=services,name=DefaultInflightRepository,*), null); The :context=context-name part seems missing. The query should be something like org.apache.camel:context=context-name,type=services,name=DefaultInflightRepository -- This message was sent by Atlassian JIRA
[jira] [Assigned] (CAMEL-8868) Camel-Hazelcast: Add remainingCapacity operation to queue
[ https://issues.apache.org/jira/browse/CAMEL-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino reassigned CAMEL-8868: --- Assignee: Andrea Cosentino Camel-Hazelcast: Add remainingCapacity operation to queue - Key: CAMEL-8868 URL: https://issues.apache.org/jira/browse/CAMEL-8868 Project: Camel Issue Type: Improvement Components: camel-hazelcast Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 When using Hazelcast queue it can be useful to support the remaining capacity method inside the queue producer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8809) Upgrade AWS SDK bundle to version 1.10.0
[ https://issues.apache.org/jira/browse/CAMEL-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino updated CAMEL-8809: External issue ID: SM-2588 (was: SM-2580) Upgrade AWS SDK bundle to version 1.10.0 Key: CAMEL-8809 URL: https://issues.apache.org/jira/browse/CAMEL-8809 Project: Camel Issue Type: Task Components: camel-aws Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the AWS SDK bundle version to 1.9.40 AWS SDK developers team frequently release new versions. So we need to mantain jar and bundle aligned. This is just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8809) Upgrade AWS SDK bundle to version 1.10.0
[ https://issues.apache.org/jira/browse/CAMEL-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino updated CAMEL-8809: Summary: Upgrade AWS SDK bundle to version 1.10.0 (was: Upgrade AWS SDK bundle to version 1.9.40) Upgrade AWS SDK bundle to version 1.10.0 Key: CAMEL-8809 URL: https://issues.apache.org/jira/browse/CAMEL-8809 Project: Camel Issue Type: Task Components: camel-aws Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the AWS SDK bundle version to 1.9.40 AWS SDK developers team frequently release new versions. So we need to mantain jar and bundle aligned. This is just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Work started] (CAMEL-8869) Switching httpClient from 4.3.x to 4.4.x break tests
[ https://issues.apache.org/jira/browse/CAMEL-8869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-8869 started by Andrea Cosentino. --- Switching httpClient from 4.3.x to 4.4.x break tests Key: CAMEL-8869 URL: https://issues.apache.org/jira/browse/CAMEL-8869 Project: Camel Issue Type: Test Components: camel-http4 Reporter: Andrea Cosentino Assignee: Andrea Cosentino Fix For: 2.16.0 While I was trying to switch LightCouch from version 1.6 to 1.8 I have to upgrade httpClient from 4.3.x to 4.4.x to make LightCouch feature works. This upgrade, however, break the tests. The LocalTestServer originally used in the camel-http4 component, doesn't exist anymore from 4.4.x as this mail reports: http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201504.mbox/%3c1429533016.21609.7.ca...@apache.org%3E I will work on camel-http4 tests refactoring. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (CAMEL-8867) Upgrade GAE bundle version to 1.9.22_1
[ https://issues.apache.org/jira/browse/CAMEL-8867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino reassigned CAMEL-8867: --- Assignee: Andrea Cosentino Upgrade GAE bundle version to 1.9.22_1 -- Key: CAMEL-8867 URL: https://issues.apache.org/jira/browse/CAMEL-8867 Project: Camel Issue Type: Task Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the GAE bundle version to 1.9.22 when servicemix-bundle release will be done. Just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14585063#comment-14585063 ] Martin Lichtin commented on CAMEL-8841: --- Following http://camel.apache.org/contributing.html {noformat} git clone https://git-wip-us.apache.org/repos/asf/camel.git cd camel mvn eclipse:eclipse {noformat} unfortunately fails with {noformat} [ERROR] Failed to execute goal on project camel-gae: Could not resolve dependencies for project org.apache.camel:camel-gae:bundle:2.16-SNAPSHOT: The following artifacts could not be resolved: com.google.gdata:gdata-contacts-3.0:jar:1.41.5, com.google.gdata:gdata-calendar-2.0:jar:1.41.5, com.google.gdata:gdata-client-1.0:jar:1.41.5, com.google.gdata:gdata-core-1.0:jar:1.41.5: Could not find artifact com.google.gdata:gdata-contacts-3.0:jar:1.41.5 in bbp-repo (http://repo.bbp.ch/artifactory/repo) - [Help 1] {noformat} camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at
[jira] [Assigned] (CAMEL-8869) Switching httpClient from 4.3.x to 4.4.x break tests
[ https://issues.apache.org/jira/browse/CAMEL-8869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino reassigned CAMEL-8869: --- Assignee: Andrea Cosentino Switching httpClient from 4.3.x to 4.4.x break tests Key: CAMEL-8869 URL: https://issues.apache.org/jira/browse/CAMEL-8869 Project: Camel Issue Type: Test Components: camel-http4 Reporter: Andrea Cosentino Assignee: Andrea Cosentino Fix For: 2.16.0 While I was trying to switch LightCouch from version 1.6 to 1.8 I have to upgrade httpClient from 4.3.x to 4.4.x to make LightCouch feature works. This upgrade, however, break the tests. The LocalTestServer originally used in the camel-http4 component, doesn't exist anymore from 4.4.x as this mail reports: http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201504.mbox/%3c1429533016.21609.7.ca...@apache.org%3E I will work on camel-http4 tests refactoring. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8868) Camel-Hazelcast: Add remainingCapacity operation to queue
Andrea Cosentino created CAMEL-8868: --- Summary: Camel-Hazelcast: Add remainingCapacity operation to queue Key: CAMEL-8868 URL: https://issues.apache.org/jira/browse/CAMEL-8868 Project: Camel Issue Type: Improvement Components: camel-hazelcast Reporter: Andrea Cosentino Priority: Minor Fix For: 2.16.0 When using Hazelcast queue it can be useful to support the remaining capacity method inside the queue producer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8869) Switching httpClient from 4.3.x to 4.4.x break tests
Andrea Cosentino created CAMEL-8869: --- Summary: Switching httpClient from 4.3.x to 4.4.x break tests Key: CAMEL-8869 URL: https://issues.apache.org/jira/browse/CAMEL-8869 Project: Camel Issue Type: Test Components: camel-http4 Reporter: Andrea Cosentino Fix For: 2.16.0 While I was trying to switch LightCouch from version 1.6 to 1.8 I have to upgrade httpClient from 4.3.x to 4.4.x to make LightCouch feature works. This upgrade, however, break the tests. The LocalTestServer originally used in the camel-http4 component, doesn't exist anymore from 4.4.x as this mail reports: http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201504.mbox/%3c1429533016.21609.7.ca...@apache.org%3E I will work on camel-http4 tests refactoring. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-8841: --- Estimated Complexity: Novice (was: Unknown) camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[52:org.apache.karaf.shell.ssh:3.0.3] Caused by: java.lang.IllegalArgumentException: Object name cannot be null ... 30 more {noformat} I think when combining the object name SetObjectName set = mBeanServer.queryNames(new ObjectName(agent.getMBeanObjectDomainName() + :type=services,name=DefaultInflightRepository,*), null); The :context=context-name part seems missing. The query should be something like org.apache.camel:context=context-name,type=services,name=DefaultInflightRepository -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14584960#comment-14584960 ] Claus Ibsen commented on CAMEL-8841: Martin are you working on a patch? camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[52:org.apache.karaf.shell.ssh:3.0.3] Caused by: java.lang.IllegalArgumentException: Object name cannot be null ... 30 more {noformat} I think when combining the object name SetObjectName set = mBeanServer.queryNames(new ObjectName(agent.getMBeanObjectDomainName() + :type=services,name=DefaultInflightRepository,*), null); The :context=context-name part seems missing. The query should be something like org.apache.camel:context=context-name,type=services,name=DefaultInflightRepository -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8809) Upgrade AWS SDK bundle to version 1.10.0
[ https://issues.apache.org/jira/browse/CAMEL-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino updated CAMEL-8809: External issue URL: https://issues.apache.org/jira/browse/SM-2588 (was: https://issues.apache.org/jira/browse/SM-2580) Upgrade AWS SDK bundle to version 1.10.0 Key: CAMEL-8809 URL: https://issues.apache.org/jira/browse/CAMEL-8809 Project: Camel Issue Type: Task Components: camel-aws Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the AWS SDK bundle version to 1.9.40 AWS SDK developers team frequently release new versions. So we need to mantain jar and bundle aligned. This is just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8809) Upgrade AWS SDK bundle to version 1.10.0
[ https://issues.apache.org/jira/browse/CAMEL-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino updated CAMEL-8809: Description: We need to upgrade the AWS SDK bundle version to 1.10.0 AWS SDK developers team frequently release new versions. So we need to mantain jar and bundle aligned. This is just a reminder. was: We need to upgrade the AWS SDK bundle version to 1.9.40 AWS SDK developers team frequently release new versions. So we need to mantain jar and bundle aligned. This is just a reminder. Upgrade AWS SDK bundle to version 1.10.0 Key: CAMEL-8809 URL: https://issues.apache.org/jira/browse/CAMEL-8809 Project: Camel Issue Type: Task Components: camel-aws Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the AWS SDK bundle version to 1.10.0 AWS SDK developers team frequently release new versions. So we need to mantain jar and bundle aligned. This is just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8866) Upgrade olingo-odata2 bundle to version 2.0.4
Andrea Cosentino created CAMEL-8866: --- Summary: Upgrade olingo-odata2 bundle to version 2.0.4 Key: CAMEL-8866 URL: https://issues.apache.org/jira/browse/CAMEL-8866 Project: Camel Issue Type: Task Reporter: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the olingo bundle version to 2.0.4 when servicemix-bundle release will be done. Just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (CAMEL-8866) Upgrade olingo-odata2 bundle to version 2.0.4
[ https://issues.apache.org/jira/browse/CAMEL-8866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino reassigned CAMEL-8866: --- Assignee: Andrea Cosentino Upgrade olingo-odata2 bundle to version 2.0.4 - Key: CAMEL-8866 URL: https://issues.apache.org/jira/browse/CAMEL-8866 Project: Camel Issue Type: Task Reporter: Andrea Cosentino Assignee: Andrea Cosentino Priority: Minor Fix For: 2.16.0 We need to upgrade the olingo bundle version to 2.0.4 when servicemix-bundle release will be done. Just a reminder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8852) Camel JCR doesnt include Connection to a repository workspace except the default one
[ https://issues.apache.org/jira/browse/CAMEL-8852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-8852: --- Issue Type: Improvement (was: Bug) Camel JCR doesnt include Connection to a repository workspace except the default one Key: CAMEL-8852 URL: https://issues.apache.org/jira/browse/CAMEL-8852 Project: Camel Issue Type: Improvement Components: camel-jcr Reporter: Tarek CHAOUALI This bug exists in all camel jcr component version Camel JCR component provides a connection to the default workspace no custom workspace connection is allowed . -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8860) Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.
[ https://issues.apache.org/jira/browse/CAMEL-8860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-8860: --- Priority: Major (was: Critical) Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI. -- Key: CAMEL-8860 URL: https://issues.apache.org/jira/browse/CAMEL-8860 Project: Camel Issue Type: Bug Components: camel-ftp Affects Versions: 2.14.0 Reporter: Himanshu Mittal Assignee: Grzegorz Grzybek So many connections remain in TIME_WAIT state while configuring a FTP producer route with tempfilename property in FTP producer. Files are writen using producer template. Producertemplate.sendBodyAndHeader(producerURI, Exchange.FILE_NAME, fileName) to write file to destination. Producer URI : {{ftp://USER@MACHINE_ADDRESS//?password=RAW(PASSWORD)binary=truepassiveMode=falsedelete=truepollStrategy=#ConsumerPollStrategydisconnect=falsetempFileName=/temp/hello.tmpinitialDelay=10throwExceptionOnConnectFailed=truereconnectDelay=10maximumReconnectAttempts=0maxMessagesPerPoll=100readLock=changedreadLockCheckInterval=500readLockMinLength=1sendEmptyMessageWhenIdle=true}} fileName: {{file.tmp}} We are writing ~ 2000 files . First files are written to temp directory then moved to destination. Connections opened for tempfiles are not re used to write temporary files and we run out of connection after writing 1000 files. Route resumes once connections are released. Is there a way we can reuse connection to write temporary files also. Once tempfilename is removed from the configuration then single connection is used for ftp transfer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CAMEL-8865) Remove version from URL in Camel web examples
[ https://issues.apache.org/jira/browse/CAMEL-8865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-8865. Resolution: Fixed Assignee: Claus Ibsen Thanks Andrew. Do you mind doing the same for the camel-archetype-web - its in tooling maven somewhere. Remove version from URL in Camel web examples - Key: CAMEL-8865 URL: https://issues.apache.org/jira/browse/CAMEL-8865 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.16.0 Reporter: Andrew Block Assignee: Claus Ibsen Fix For: 2.16.0 Currently, several of the web based examples require the build version in the URL. To simplify the documentation and to align all web examples, all example projects should be invoked without requiring the use of a version number -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-8841: --- Component/s: tooling karaf camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[52:org.apache.karaf.shell.ssh:3.0.3] Caused by: java.lang.IllegalArgumentException: Object name cannot be null ... 30 more {noformat} I think when combining the object name SetObjectName set = mBeanServer.queryNames(new ObjectName(agent.getMBeanObjectDomainName() + :type=services,name=DefaultInflightRepository,*), null); The :context=context-name part seems missing. The query should be something like org.apache.camel:context=context-name,type=services,name=DefaultInflightRepository -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-8841: --- Fix Version/s: 2.15.3 camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[52:org.apache.karaf.shell.ssh:3.0.3] Caused by: java.lang.IllegalArgumentException: Object name cannot be null ... 30 more {noformat} I think when combining the object name SetObjectName set = mBeanServer.queryNames(new ObjectName(agent.getMBeanObjectDomainName() + :type=services,name=DefaultInflightRepository,*), null); The :context=context-name part seems missing. The query should be something like org.apache.camel:context=context-name,type=services,name=DefaultInflightRepository -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-8841: --- Fix Version/s: 2.16.0 camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[52:org.apache.karaf.shell.ssh:3.0.3] Caused by: java.lang.IllegalArgumentException: Object name cannot be null ... 30 more {noformat} I think when combining the object name SetObjectName set = mBeanServer.queryNames(new ObjectName(agent.getMBeanObjectDomainName() + :type=services,name=DefaultInflightRepository,*), null); The :context=context-name part seems missing. The query should be something like org.apache.camel:context=context-name,type=services,name=DefaultInflightRepository -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8865) Remove version from URL in Camel web examples
[ https://issues.apache.org/jira/browse/CAMEL-8865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14585183#comment-14585183 ] Andrew Block commented on CAMEL-8865: - CAMEL-8870 created to track the enhancement Remove version from URL in Camel web examples - Key: CAMEL-8865 URL: https://issues.apache.org/jira/browse/CAMEL-8865 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.16.0 Reporter: Andrew Block Assignee: Claus Ibsen Fix For: 2.16.0 Currently, several of the web based examples require the build version in the URL. To simplify the documentation and to align all web examples, all example projects should be invoked without requiring the use of a version number -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8865) Remove version from URL in Camel web examples
[ https://issues.apache.org/jira/browse/CAMEL-8865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14585185#comment-14585185 ] ASF GitHub Bot commented on CAMEL-8865: --- Github user sabre1041 closed the pull request at: https://github.com/apache/camel/pull/544 Remove version from URL in Camel web examples - Key: CAMEL-8865 URL: https://issues.apache.org/jira/browse/CAMEL-8865 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.16.0 Reporter: Andrew Block Assignee: Claus Ibsen Fix For: 2.16.0 Currently, several of the web based examples require the build version in the URL. To simplify the documentation and to align all web examples, all example projects should be invoked without requiring the use of a version number -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8870) Remove version from URL in Maven web archetype
Andrew Block created CAMEL-8870: --- Summary: Remove version from URL in Maven web archetype Key: CAMEL-8870 URL: https://issues.apache.org/jira/browse/CAMEL-8870 Project: Camel Issue Type: Improvement Components: tooling Affects Versions: 2.16.0 Reporter: Andrew Block Priority: Minor Fix For: 2.16.0 The archteype currently generates a project where the version is required to be entered when accessing the deployed application. Removing the requirement of specifying the version. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8870) Remove version from URL in Maven web archetype
[ https://issues.apache.org/jira/browse/CAMEL-8870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14585182#comment-14585182 ] ASF GitHub Bot commented on CAMEL-8870: --- GitHub user sabre1041 opened a pull request: https://github.com/apache/camel/pull/545 CAMEL-8870 Remove version from URL in archetype web project Removed the requirement for specifying the version when accessing the deployed application generated by the archetype You can merge this pull request into a Git repository by running: $ git pull https://github.com/sabre1041/camel CAMEL-8870 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/545.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #545 commit af6f0996da291413b4e13b56b88b3123356604b8 Author: Andrew Block andy.bl...@gmail.com Date: 2015-06-14T18:28:04Z CAMEL-8870 Remove version from URL in archetype web project Remove version from URL in Maven web archetype -- Key: CAMEL-8870 URL: https://issues.apache.org/jira/browse/CAMEL-8870 Project: Camel Issue Type: Improvement Components: tooling Affects Versions: 2.16.0 Reporter: Andrew Block Priority: Minor Fix For: 2.16.0 The archteype currently generates a project where the version is required to be entered when accessing the deployed application. Removing the requirement of specifying the version. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8841) camel:context-inflight returns 'Object name cannot be null'
[ https://issues.apache.org/jira/browse/CAMEL-8841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14585269#comment-14585269 ] Martin Lichtin commented on CAMEL-8841: --- Right. Just wanted to report that I cannot build Camel given the instructions. mvn clean install -Dtest=false fails the same way. But anyways.. don't need to for this JIRA. What's confusing is that the context names listed by camel:context-list don't match what is expected by JMX as the 'context' name. There is a so-called ManagementName expected when composing the object name. Not a problem, just one more thing. camel:context-inflight returns 'Object name cannot be null' --- Key: CAMEL-8841 URL: https://issues.apache.org/jira/browse/CAMEL-8841 Project: Camel Issue Type: Bug Components: karaf, tooling Affects Versions: 2.15.1, 2.15.2 Environment: Karaf 3.0.3 Reporter: Martin Lichtin Fix For: 2.16.0, 2.15.3 {noformat} karaf camel:context-inflight myCamelContext Error executing command: Object name cannot be null karaf log:exception-display javax.management.RuntimeOperationsException: Object name cannot be null at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:569)[:1.8.0_45] at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:638)[:1.8.0_45] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45] at org.apache.karaf.management.boot.KarafMBeanServerBuilder$MBeanInvocationHandler.invoke(KarafMBeanServerBuilder.java:80)[karaf-jmx-boot.jar:] at com.sun.proxy.$Proxy0.isRegistered(Unknown Source)[:] at org.apache.camel.commands.AbstractLocalCamelController.browseInflightExchanges(AbstractLocalCamelController.java:186) at org.apache.camel.commands.ContextInflightCommand.performContextCommand(ContextInflightCommand.java:56) at org.apache.camel.commands.AbstractContextCommand.executeLocal(AbstractContextCommand.java:74) at org.apache.camel.commands.AbstractContextCommand.execute(AbstractContextCommand.java:42) at org.apache.camel.karaf.commands.ContextInflight.doExecute(ContextInflight.java:40) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.3] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at Proxy199cb572_c6d4_4d06_851e_3f55b795651b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.3] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[52:org.apache.karaf.shell.ssh:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_45] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.3] at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:129)[52:org.apache.karaf.shell.ssh:3.0.3] Caused by: java.lang.IllegalArgumentException: Object name cannot be null ... 30 more {noformat} I think when combining the object name SetObjectName set = mBeanServer.queryNames(new ObjectName(agent.getMBeanObjectDomainName() +
[jira] [Work stopped] (CAMEL-8869) Switching httpClient from 4.3.x to 4.4.x break tests
[ https://issues.apache.org/jira/browse/CAMEL-8869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-8869 stopped by Andrea Cosentino. --- Switching httpClient from 4.3.x to 4.4.x break tests Key: CAMEL-8869 URL: https://issues.apache.org/jira/browse/CAMEL-8869 Project: Camel Issue Type: Test Components: camel-http4 Reporter: Andrea Cosentino Assignee: Andrea Cosentino Fix For: 2.16.0 While I was trying to switch LightCouch from version 1.6 to 1.8 I have to upgrade httpClient from 4.3.x to 4.4.x to make LightCouch feature works. This upgrade, however, break the tests. The LocalTestServer originally used in the camel-http4 component, doesn't exist anymore from 4.4.x as this mail reports: http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201504.mbox/%3c1429533016.21609.7.ca...@apache.org%3E I will work on camel-http4 tests refactoring. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CAMEL-8869) Switching httpClient from 4.3.x to 4.4.x break tests
[ https://issues.apache.org/jira/browse/CAMEL-8869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Cosentino resolved CAMEL-8869. - Resolution: Fixed Related commits: http://git-wip-us.apache.org/repos/asf/camel/commit/2da8f198 http://git-wip-us.apache.org/repos/asf/camel/commit/82526729 Switching httpClient from 4.3.x to 4.4.x break tests Key: CAMEL-8869 URL: https://issues.apache.org/jira/browse/CAMEL-8869 Project: Camel Issue Type: Test Components: camel-http4 Reporter: Andrea Cosentino Assignee: Andrea Cosentino Fix For: 2.16.0 While I was trying to switch LightCouch from version 1.6 to 1.8 I have to upgrade httpClient from 4.3.x to 4.4.x to make LightCouch feature works. This upgrade, however, break the tests. The LocalTestServer originally used in the camel-http4 component, doesn't exist anymore from 4.4.x as this mail reports: http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201504.mbox/%3c1429533016.21609.7.ca...@apache.org%3E I will work on camel-http4 tests refactoring. -- This message was sent by Atlassian JIRA (v6.3.4#6332)