[jboss-jira] [JBoss JIRA] (AS7-5747) Enforce OSGi wiring symmetry across nodes
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Thu Dec 13 04:06:17 EST 2012
[ https://issues.jboss.org/browse/AS7-5747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741107#comment-12741107 ]
Thomas Diesler edited comment on AS7-5747 at 12/13/12 4:04 AM:
---------------------------------------------------------------
Sure. You have a number of modules deployed on one node that form a complex dependency graph for an object hierarchy. If you put the top-level object into a distributed cache it needs to get serialized (in one way or the other) and be brought over to other nodes. On the other node you need to deserialize the object. This would only work if the dependency graph of the modules that participate in the object graph is identical.
With OSGi the dependency graph is determined by the OSGi resolver (and not hard wired with named dependencies as in jboss-modules). The resolver has the liberty to find a consistent solution for a given set of (package) capabilities/requirements - it is not guaranteed that it finds the same solution as with a previous run let alone as on another node.
This issue is about architecting a way to transport wiring information across nodes, such that serialized object graphs can be reconstructed consistently.
was (Author: thomas.diesler):
Sure. You have a number of modules deployed on node that form a complex dependency graph for an object hierarchy. If you put the top-level object into a distributed cache it needs to get serialized (in one way or the other) and be brought over to other nodes. On the other node you need to deserialize the object. This would only work if the dependency graph of the modules that participate in the object graph is identical.
With OSGi the dependency graph is determined by the OSGi resolver (and not hard wired with named dependencies as in jboss-modules). The resolver has the liberty to find a consistent solution for a given set of (package) capabilities/requirements - it is not guaranteed that it finds the same solution as with a previous run let alone as on another node.
This issue is about architecting a way to transport wiring information across nodes, such that serialized object graphs can be reconstructed consistently.
> Enforce OSGi wiring symmetry across nodes
> -----------------------------------------
>
> Key: AS7-5747
> URL: https://issues.jboss.org/browse/AS7-5747
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Clustering, OSGi
> Reporter: Thomas Diesler
> Assignee: Paul Ferraro
>
> Using a distributed cache in a multinode environment would require a mapping for the classloader. With symetric wiring only the top level cl needs to be mapped. Unsymentric wiring may lead to a number of unforeseeable issues.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list