[jboss-jira] [JBoss JIRA] Created: (AS7-1071) Some JNDI names prevent disabling datasources

Heiko Braun (JIRA) jira-events at lists.jboss.org
Tue Jun 21 08:29:23 EDT 2011


Some JNDI names prevent disabling datasources
---------------------------------------------

                 Key: AS7-1071
                 URL: https://issues.jboss.org/browse/AS7-1071
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management
            Reporter: Heiko Braun
            Assignee: Heiko Braun
             Fix For: 7.0.0.CR1


It seems that certain JNDI names cause errors:


14:25:22,365 WARN  [org.jboss.as.controller] (HttpManagementService-threads - 2) Operation ("disable") failed - address: ([
    ("subsystem" => "datasources"),
    ("data-source" => "mysql")
]): org.jboss.as.controller.OperationFailedException [ "Data-source service [mysql] is not available" ]



The datasource in question has a JNDI name with slash:
[standalone at localhost:9999 /] /subsystem=datasources/data-source=mysql2:read-attribute(name=jndi-name)
{
    "outcome" => "success",
    "result" => "jdbc/mysql2"
}


[standalone at localhost:9999 /] /subsystem=datasources/data-source=mysql2:disable                       
{
    "outcome" => "failed",
    "failure-description" => "Data-source service [mysql2] is not available",
    "rolled-back" => true
}



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list