[JBoss JIRA] (WFLY-556) Complete support for Bundle uninstall
by Thomas Diesler (JIRA)
[ https://issues.jboss.org/browse/WFLY-556?page=com.atlassian.jira.plugin.s... ]
Thomas Diesler reopened WFLY-556:
---------------------------------
Assignee: (was: Thomas Diesler)
> Complete support for Bundle uninstall
> -------------------------------------
>
> Key: WFLY-556
> URL: https://issues.jboss.org/browse/WFLY-556
> Project: WildFly
> Issue Type: Sub-task
> Components: OSGi, Server
> Reporter: Thomas Diesler
>
> Bundle uninstall only removes the BundleRevision from the runtime if it is no longer in use. The classloader associated with an uninstalled bundle that is still in use remains active.
> Approach #1 - "in use" semantic specific to Bundle deployments
> An undeploy management operation undeploys the bundle revision but holds in the MODULE phase when the revision is still in use
> This is similar to deferred MODULE phase for deploy operation
> in use is not respected for non-osgi deployments and hence breaks bundle deployments that depend on them
> Approach #2 - "in use" semantic applies to all deployment types
> Undeploy will only destroy the Module service if the Module is not in use by another deployment
> When Module usage drops to zero, undeploy continues and removes the deployment from management
> This approach would map cleanly - there is no cascading destroy effect. i.e. when you undeploy a jar that a webapp depends on
> Services provided by the undeployed deployment would always go down, only classloader destruction is deferred
--
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
13 years
[JBoss JIRA] (WFLY-555) Complete support for Bundle start/stop
by Thomas Diesler (JIRA)
[ https://issues.jboss.org/browse/WFLY-555?page=com.atlassian.jira.plugin.s... ]
Thomas Diesler reopened WFLY-555:
---------------------------------
Assignee: (was: Thomas Diesler)
> Complete support for Bundle start/stop
> ---------------------------------------
>
> Key: WFLY-555
> URL: https://issues.jboss.org/browse/WFLY-555
> Project: WildFly
> Issue Type: Sub-task
> Components: OSGi, Server
> Reporter: Thomas Diesler
> Labels: roadmap
>
> A Bundle start/stop operation activates/deactivates the bundle services. The associated class loader and wiring is unaffected.
> Approach #1 - start/stop is not mapped to deployment operations
> Bundle deploy installs the Bundle to the Framework
> Bundle is not resolved/started as part of the deploy operation
> No module/classloader is created during deployment
> All deployment processing that needs load classes/resources is skipped
> No service provided by the bundle deployment is created
> Bundle needs to be started/stopped explicitly
> Bundle start/stop management operations are specific to bundle deployments
> The POST_MODULE processing for OSGi enabled deployments (e.g. webapp) would need to be executed in an OSGi specific processor chain
> OSGi enabled POST_MODULE DUPs have their functionality externalised such that it can get reused for start/stop operations
> The start/stop processing chain must be traversable in both directions repeatedly
> Approach #2 - start/stop is mapped to deployment operations
> Bundle deploy installs the Bundle to the Framework and attempts to resolve/start the Bundle
> If the Bundle can get resolved, a module/classloader is created as part of the DU processing
> In case the Bundle cannot get resolved, DUP processing is deferred and MODULE phase processing is reattempted later based on an external trigger
> Has the benefit that any deployment type can also be a Bundle
> Bundle stop must reverse work that is done in POST_MODULE DUPs
> POST_MODULE DUPs must be traversable in both direction multiple times
> Currently, we use approach #2 with limited support from POST_MODULE DUPs (i.e. they are not designed to be executed multiple times for the same deployment). There is also the cleanup phase which breaks multiple executions of POST_MODULE DUPs.
--
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
13 years
[JBoss JIRA] (WFLY-878) Message-Driven Beans doesn't support DeliveryActive activation config property
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-878?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on WFLY-878:
----------------------------------------------
Ravi Bhardwaj <rbhardwa(a)redhat.com> made a comment on [bug 981341|https://bugzilla.redhat.com/show_bug.cgi?id=981341]
Description of problem:
startDelivery()/stopDelivery() missing in EAP 6 which were available using JMX in EAP 5.x.
> Message-Driven Beans doesn't support DeliveryActive activation config property
> ------------------------------------------------------------------------------
>
> Key: WFLY-878
> URL: https://issues.jboss.org/browse/WFLY-878
> Project: WildFly
> Issue Type: Bug
> Components: EE, EJB, JMS
> Environment: Windows 64 bit
> Reporter: Prasad Deshpande
> Assignee: Jeff Mesnil
>
> I get this warning on AS7.1.1 console, seems that ActivationConfigProperty DeliveryActive is not implemented by hornetq-ra, could we please have it as earlier JMS implementation of JMS had it & application that were using it will fail with AS7 now..?
> 16:04:30,794 WARN [org.jboss.ejb3] (MSC service thread 1-16) JBAS014105: ActivationConfigProperty DeliveryActive will be ignored since it is not allowed by resource adapter: hornetq-ra
> Thanks,
> Prasad
--
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
13 years