glassfish
  1. glassfish
  2. GLASSFISH-19039

asadmin delete-jms-resource deletes a non-jms resource

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0_b45
    • Fix Version/s: 4.1
    • Component/s: jms
    • Labels:
      None
    • Environment:

      Windows

      Description

      asadmin delete-jms-resource can delete a resource which is not displayed with asadmin list-jms-resource.

      To reproduce the problem:
      1. Create a connector connection pool with raname jaxr-ra. (Do not use jmsra.)

      C:\>asadmin create-connector-connection-pool --raname=jaxr-ra --connectiondefinition=com.sun.connector.jaxr.JaxrConnectionFactory pooltest
      Connector connection pool pooltest created.
      Command create-connector-connection-pool executed successfully.

      2. The new resource is not listed for the JMS resources.

      C:\>asadmin list-jms-resources
      Nothing to list
      Command list-jms-resources executed successfully.

      3. The new resource is deleted with delete-jms-resource command even if it is not a JMS resource.

      C:\>asadmin delete-jms-resource jms/test
      Connector resource jms/test deleted.
      Command delete-jms-resource executed successfully.

        Activity

          People

          • Assignee:
            David Zhao
            Reporter:
            tak09
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: