]
Jason Greene commented on AS7-796:
----------------------------------
Try to deploy the mysql client jar as a deployment. It will be picked up as a bundle, but
not as a driver.
The reason seems to be that connector.deployers.processors.DriverProcessor does:
final Module module = deploymentUnit.getAttachment(Attachments.MODULE);
OSGi bypasses other DUPs when osgi metadata is found
----------------------------------------------------
Key: AS7-796
URL:
https://issues.jboss.org/browse/AS7-796
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Reporter: Jason Greene
Assignee: Thomas Diesler
Priority: Blocker
If an EE deployment, or JDBC driver happens to include osgi metadata, it will no longer
deploy. This is because the OSGi subsystem bypasses other deployers, and treats it as just
a bundle.
Both Mysql and Hypersonic can not be deployed due to this problem.
Ideally the OSGi subsystem would just add services and augment the module configs so that
other deployers can function.
Alternatively we can explore the possibility of deploying bundles differently than
regular deployments, perhaps requiring special packaging, or extra deployment data.
If we can't come up with a solution by CR1, I think we need to disable the OSGi
subsystem by default.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: