Bug 1097166
Summary: | Cannot deploy the latest MySQL driver into EAP | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | tom.jenkinson |
Component: | JCA | Assignee: | Enrique Gonzalez Martinez <egonzale> |
Status: | CLOSED NOTABUG | QA Contact: | Martin Simka <msimka> |
Severity: | urgent | Docs Contact: | Russell Dickenson <rdickens> |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | egonzale, hhovsepy, msimka, ochaloup, smaestri, smumford, tom.jenkinson |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | EAP 6.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1027126 | Environment: | |
Last Closed: | 2015-11-27 11:38:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1027126 | ||
Bug Blocks: |
Comment 1
Ondrej Chaloupka
2014-06-10 06:30:37 UTC
Hi, To be clear this is just about deploying the latest version of the MySQL driver into the AS. Basically, pop the driver into the deployments folder and it didn't work. It looks like an OSGi issue so not really sure if its JCA but its certainly not TM. Tom Override using the <driver-class> element in <driver> Tom Jenkinson <tom.jenkinson> updated the status of jira JBTM-2121 to Closed reopen we should at least consider using first driver in services/java.sql.Driver as default Current behavior confuses a lot of users. First class is already used when driver is in module and data-source class isn't specified while adding driver. See. https://bugzilla.redhat.com/show_bug.cgi?id=1107120 Giving a second thought about this. Doing this way (comment #11) would cause problems in case of upgrading jdbc drivers (this bz is an example). If we use one driver by default (arbitrary policy about picking one of the listed in the jar file), we are making this problem not visible. This could cause a problem (possible use of the wrong driver, not supported, not tested, etc...). I think is better to leave the behaviour as it is. It seems consistent to me. |