Bug 928979
Summary: | can add incompletely defined jdbc driver through cli, later it cannot be removed | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Aleksandar Kostadinov <akostadi> |
Component: | JCA | Assignee: | Stefano Maestri <smaestri> |
Status: | CLOSED EOL | QA Contact: | Martin Simka <msimka> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4.0 | CC: | dimitris, msimka |
Target Milestone: | --- | ||
Target Release: | EAP 6.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-19 12:48:18 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: |
Description
Aleksandar Kostadinov
2013-03-28 22:15:03 UTC
Changing component to domain management as advised by Jaikiran. The issue is not present in AS8 latest build. This means that driver can be registered with insufficient parameters, data-source fails to be created but at least the *remove* command can remove it so one can define it again. Actually there might be 2 parts to this. The reason why I asked for this to be classified under the domain management component was due to the NPE in that stacktrace. The rest of the issue is specific to datasource subsystem. The Domain Management issue is out of date; fixed in 6.1.0. See AS7-6104. I'm moving this to JCA team to check if the basic issue still exists. 6.3.0.GA 1. /subsystem=datasources/jdbc-driver=sqlite:add(driver-name=sqlite,driver-module-name=sqlite) {"outcome" => "success"} 2. data-source add --name=SQLiteDS --connection-url="jdbc:sqlite:/tmp/sqlite.jboss1.db" --jndi-name=java:jboss/datasources/SQLiteDS --driver-name="sqlite" {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.driver-demander.java:jboss/datasources/SQLiteDS is missing [jboss.jdbc-driver.sqlite]"]} 3. /subsystem=datasources/jdbc-driver=sqlite:remove {"outcome" => "success"} 1. NPE while removing driver - resolved 2. can add incompletely defined jdbc driver through cli |