[JBoss JIRA] Created: (JBOSGI-209) Implement resolver preferences
by Thomas Diesler (JIRA)
Implement resolver preferences
------------------------------
Key: JBOSGI-209
URL: https://jira.jboss.org/jira/browse/JBOSGI-209
Project: JBoss OSGi
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Core Framework
Reporter: Thomas Diesler
Assignee: Adrian Brock
Fix For: JBossOSGi 1.0.x
The following list defines the preferences, if multiple choices are possible,
in order of decreasing priority:
* A resolved exporter must be preferred over an unresolved exporter.
* An exporter with a higher version is preferred over an exporter with a lower version.
* An exporter with a lower bundle ID is preferred over a bundle with a higher ID.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBOSGI-340) Autostart bundles when deployed in JBossAS
by Thomas Diesler (JIRA)
Autostart bundles when deployed in JBossAS
------------------------------------------
Key: JBOSGI-340
URL: https://jira.jboss.org/browse/JBOSGI-340
Project: JBoss OSGi
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Integration (JBoss)
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta4
The basic issue is that a bundle deployment when put in
OSGiBundleStateDeployer
requiredStage = DeploymentStages.DESCRIBE
it will only progress to Bundle.INSTALLED, hence the bundle with not resolve nor start.
When requiredStage = DeploymentStages.CLASSLOADER or above, the bundle can start when all its dependencies are resolved.
The bundle deployment will however fail. if it has unresolved dependencies.
The desired behaviour is:
Bundles with unresolved dependencies get INSTALLED without error.
Bundles with resolved dependencies get STARTED without error.
A bundle that could only get INSTALLED (but not RESOLVED) gets STARTED when it's dependencies can be RESOLVED.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBOSGI-373) Cannot load service through java.util.ServiceLoader
by Thomas Diesler (JIRA)
Cannot load service through java.util.ServiceLoader
---------------------------------------------------
Key: JBOSGI-373
URL: https://jira.jboss.org/browse/JBOSGI-373
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta9
Shows up when starting the runtime in the -c all configuration
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:129)
at com.arjuna.common.internal.util.propertyservice.plugins.io.XMLFilePlugin.<clinit>(XMLFilePlugin.java:352)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.arjuna.common.internal.util.propertyservice.PropertyManagerImpl.load(PropertyManagerImpl.java:357)
at com.arjuna.ats.jta.common.jtaPropertyManager.<clinit>(jtaPropertyManager.java:67)
at com.arjuna.ats.jta.utils.JNDIManager.getTransactionManagerImplementationClassname(JNDIManager.java:72)
at com.arjuna.ats.jta.TransactionManager.transactionManager(TransactionManager.java:93)
at com.arjuna.ats.jta.TransactionManager.transactionManager(TransactionManager.java:76)
at org.jboss.osgi.jta.internal.TransactionServiceActivator.start(TransactionServiceActivator.java:61)
at org.jboss.osgi.container.bundle.HostBundle.startInternal(HostBundle.java:343)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months