[JBoss JIRA] (AS7-5543) [7.1] Intermittent failure due to missing OSGi service
by Thomas Diesler (JIRA)
Thomas Diesler created AS7-5543:
-----------------------------------
Summary: [7.1] Intermittent failure due to missing OSGi service
Key: AS7-5543
URL: https://issues.jboss.org/browse/AS7-5543
Project: Application Server 7
Issue Type: Bug
Components: OSGi, Server
Reporter: Thomas Diesler
Assignee: David Lloyd
Priority: Critical
Fix For: 7.2.0.Alpha1
For the first OSGi related deployments we intermittently see
{code}
Services with missing/unavailable dependencies" =>
["jbosgi.integration.PersistentBundles.INSTALL
Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"webapp.war\".REGISTER
{code}
which is due to a race condition at subsystem startup.
h4. Background
At startup the framework goes through various phases
# Framework.CREATE
# Framework.INIT
# Framework.ACTIVE
During framework INIT persistent bundles (i.e. from a former run) are installed/started according to their persistent settings.
In terms of services it means that the Framework.INIT service may depend on a number of Bundle.INSTALLED or Bundle.ACTIVE services. This however cannot be modelled as service dependencies because it must be possible to uninstall a persistent bundle (i.e. remove the Bundle.INSTALL) service without taking the framework down.
Currently, we use a ServiceListener for the persistent Bundle services and install a PersistentBundles.COMPLETE service that Framework.INIT can actually depend on.
There is currently no guarantee that the PersistentBundles.COMPLETE service gets installed (and as a consequence that the Framework.INIT starts up) before the OSGi deployment does its phase checking for missing services.
AFAICS, there is currently no way to model this type of dependency properly without having this race condition.
A possible solution may be a notion of DependencyType.WEAK. The semantic would be a required dependency that can go away once the target service has reached its target state (or has failed)
h4. Example
* serviceA depends on serviceB with DependencyType.WEAK
* serviceA starts when serviceB has started
* serviceA stays UP when serviceB gets removed
--
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
11 years, 9 months
[JBoss JIRA] (REMJMX-43) Add support for an MBeanServer / MBeanServerConnection locator
by Darran Lofthouse (JIRA)
Darran Lofthouse created REMJMX-43:
--------------------------------------
Summary: Add support for an MBeanServer / MBeanServerConnection locator
Key: REMJMX-43
URL: https://issues.jboss.org/browse/REMJMX-43
Project: Remoting JMX
Issue Type: Task
Components: Connection
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.1.0.Beta1
The idea of adding a 'locator' is so that we can add a query string to the request URL and this can contain additional information to call out to a locator to find either the referenced MBeanServer or MBeanServerConnection.
The Remoting JMX side of the implementation is just to add the locator API and to make use of it including the addition of support for query string.
One place to consider using this is within AS7 where a connection will be made to the master domain controller and the query string will identify a process to manage - the locator will then either return the MBeanServer or MBeanServerConnection - the end result will be that the master process becomes a proxy to the other processes providing a shared entry point and shared connections to other processes to be managed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (REMJMX-50) Client must eliminate unsupported versions from the list.
by Darran Lofthouse (JIRA)
Darran Lofthouse created REMJMX-50:
--------------------------------------
Summary: Client must eliminate unsupported versions from the list.
Key: REMJMX-50
URL: https://issues.jboss.org/browse/REMJMX-50
Project: Remoting JMX
Issue Type: Bug
Components: Connection
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Priority: Blocker
Fix For: 1.0.5.CR1
At the moment the client just iterates to find the highest version - however unsupported versions should have been dropped from the list (so should banned versions)
This means when we add version 0x02 existing clients break.
Need to find a way to add the versions without breaking the existing clients. One option may be to add version 0x00 existing clients will not use this as 0x01 is higher - if a client selects 0x00 then begin negotiating the version again.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months