| Summary: | Unable to remove Datasource with double slashes in its JNDI | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Jakub Cechacek <jcechace> |
| Component: | JCA | Assignee: | tom.jenkinson |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Simka <msimka> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.2.0 | CC: | chaowan, dandread, jkudrnac, jpederse, kkhan, pkremens, smaestri |
| Target Milestone: | DR8 | ||
| 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:38:30 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: | |
Jeff, can do check if a simple jndiName.indexOf("//") != -1 is enough to fix this ?
Update PR and include the fix for wildfly. (https://github.com/wildfly/wildfly/pull/6738) verified on EAP 6.4.0.DR9 |
It is not possible to remove Datasource with double slashes in its JNDI - e.g. "java://test". The operation will fail with the error below: /subsystem=datasources/data-source=test:remove() { "outcome" => "failed", "failure-description" => "JBAS014749: Operation handler failed: Empty name segment is not allowed for java", "rolled-back" => true } How to reproduce 1) create a new datasource with JNDI "java://test" 2) try to remove DS create in previous spec Expected result: DS is removed Actual result: Error