You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2011/09/17 15:43:08 UTC

[jira] [Created] (CAMEL-4461) Add OSGi integration for camel-hazelcast

Add OSGi integration for camel-hazelcast
----------------------------------------

                 Key: CAMEL-4461
                 URL: https://issues.apache.org/jira/browse/CAMEL-4461
             Project: Camel
          Issue Type: Sub-task
          Components: camel-hazelcast
            Reporter: Ioannis Canellos
             Fix For: 2.9.0




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4461) Add OSGi integration for camel-hazelcast

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107375#comment-13107375 ] 

Claus Ibsen commented on CAMEL-4461:
------------------------------------

Patch applied to trunk

> Add OSGi integration for camel-hazelcast
> ----------------------------------------
>
>                 Key: CAMEL-4461
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4461
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-hazelcast
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4461-patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4461) Add OSGi integration for camel-hazelcast

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated CAMEL-4461:
------------------------------------

    Patch Info: [Patch Available]
      Assignee: Ioannis Canellos

> Add OSGi integration for camel-hazelcast
> ----------------------------------------
>
>                 Key: CAMEL-4461
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4461
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-hazelcast
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4461-patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4461) Add OSGi integration for camel-hazelcast

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated CAMEL-4461:
------------------------------------

    Attachment: CAMEL-4461-patch.txt

Attaching some osgi integration tests for camel-hazelcat.

> Add OSGi integration for camel-hazelcast
> ----------------------------------------
>
>                 Key: CAMEL-4461
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4461
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-hazelcast
>            Reporter: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4461-patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4461) Add OSGi integration for camel-hazelcast

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107374#comment-13107374 ] 

Claus Ibsen commented on CAMEL-4461:
------------------------------------

There is some exceptions thrown by hazlecast trying to load its configuration file

{code}
[RMI TCP Connection(1)-192.168.1.66] WARN com.hazelcast.config.XmlConfigBuilder - Could not find hazelcast.xml in classpath.
Hazelcast will use hazelcast-default.xml config file in jar.

[FelixDispatchQueue] WARN org.apache.aries.jmx - Task rejected for JMX Notification dispatch of event [org.osgi.framework.BundleEvent[source=org.apache.karaf.shell.log [80]]] - Dispatcher may have been shutdown
ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed)
java.lang.IllegalStateException: zip file closed
	at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416)
	at java.util.zip.ZipFile.getEntry(ZipFile.java:161)
	at java.util.jar.JarFile.getEntry(JarFile.java:208)
	at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)
	at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:122)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1816)
	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:727)
	at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at com.hazelcast.impl.ClientService$Worker.stop(ClientService.java:187)
	at com.hazelcast.impl.ClientService.shutdown(ClientService.java:155)
	at com.hazelcast.impl.Node.shutdown(Node.java:370)
	at com.hazelcast.impl.Node.shutdown(Node.java:347)
	at com.hazelcast.impl.Node$NodeShutdownHookThread.run(Node.java:535)
Exception in thread "hz.ShutdownThread" java.lang.NoClassDefFoundError: com/hazelcast/impl/ClientService$Worker$1
	at com.hazelcast.impl.ClientService$Worker.stop(ClientService.java:187)
	at com.hazelcast.impl.ClientService.shutdown(ClientService.java:155)
	at com.hazelcast.impl.Node.shutdown(Node.java:370)
	at com.hazelcast.impl.Node.shutdown(Node.java:347)
	at com.hazelcast.impl.Node$NodeShutdownHookThread.run(Node.java:535)
Caused by: java.lang.ClassNotFoundException: com.hazelcast.impl.ClientService$Worker$1 not found by hazelcast [58]
	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)
	at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 5 more
{code}

> Add OSGi integration for camel-hazelcast
> ----------------------------------------
>
>                 Key: CAMEL-4461
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4461
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-hazelcast
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4461-patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4461) Add OSGi integration for camel-hazelcast

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107396#comment-13107396 ] 

Ioannis Canellos commented on CAMEL-4461:
-----------------------------------------

The first error is a warning that no custom hazelcast config is provided and that hazelcast fallbacks to the default settings.

I think the second has to do with shutting down the hazelcast bundle. The test still passes, doesn't it?

> Add OSGi integration for camel-hazelcast
> ----------------------------------------
>
>                 Key: CAMEL-4461
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4461
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-hazelcast
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4461-patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4461) Add OSGi integration for camel-hazelcast

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107398#comment-13107398 ] 

Claus Ibsen commented on CAMEL-4461:
------------------------------------

Yes the test still passes. But wonder if any end users who use camel-hazelcast sees the same errors when shutting down?

> Add OSGi integration for camel-hazelcast
> ----------------------------------------
>
>                 Key: CAMEL-4461
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4461
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-hazelcast
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4461-patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4461) Add OSGi integration for camel-hazelcast

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4461.
--------------------------------

    Resolution: Fixed
    
> Add OSGi integration for camel-hazelcast
> ----------------------------------------
>
>                 Key: CAMEL-4461
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4461
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-hazelcast
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4461-patch.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira