Hide Forgot
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
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)
https://github.com/jbossas/jboss-eap/pull/1871
verified on EAP 6.4.0.DR9