glassfish
  1. glassfish
  2. GLASSFISH-19040

When asadmin delete-jms-resource is executed, it is failed. However, the resource is deleted as a result.

    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

      1. Create a connection factory for jms.

      C:\>asadmin create-jms-resource --restype javax.jms.ConnectionFactory CF001
      Connector resource CF001 created.
      Command create-jms-resource executed successfully.
      

      2. Create a connection resource using the connection factory created in 1.

      C:\>asadmin create-connector-resource --poolname CF001 CF002
      Connector resource CF002 created.
      Command create-connector-resource executed successfully.
      

      3. Delete the connection factory which was created in 1.

      C:\>asadmin delete-jms-resource CF001
      remote failure: Unable to Delete Connector Connection Pool
      Some connector resources are referencing connection pool CF001. Use 'cascade' option to delete them
      as well.
      Command delete-jms-resource failed.
      

      Bug 1. CF001 was deleted unexpectedly. See the above error.

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

      Bug 2. There is no cascade option.

      C:\>asadmin delete-jms-resource --cascade=true CF001
      Invalid option: --cascade=true
      Usage: asadmin [asadmin-utility-options] delete-jms-resource [--target <target>]
              [-?|--help[=<help(default:false)>]] jndi_name
      Command delete-jms-resource failed.
      

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: