glassfish
  1. glassfish
  2. GLASSFISH-20657

'domain' is invalid value for --target parameter of command create-jms-resource if --restype is either javax.jms.Topic or javax.jms.Queue

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0_b89_RC5
    • Fix Version/s: None
    • Component/s: jms
    • Labels:
      None

      Description

      Currently command create-jms-resource has the description in its one pager:

      --target
      Creates the JMS resource only for the specified target. Valid
      values are as follows:

      server
      Creates the JMS resource for the default server instance. This
      is the default value.

      domain
      Creates the JMS resource for the domain.

      cluster-name
      Creates the JMS resource for every server instance in the
      specified cluster.

      instance-name
      Creates the JMS resource for the specified server instance.

      Internally the command create-jms-resource invokes create-connector-resource for jms connection factory when --restype is javax.jms.ConnectionFactory, javax.jms.TopicConnectionFactory or javax.jms.QueueConnectionFactory.
      Internally the command create-jms-resource invokes create-admin-object for jms destinations (Topic or Queue) when --restype is either javax.jms.Topic or javax.jms.Queue.

      create-connector-resource accepts the same --target parameter values as create-jms-resource, which is fine.
      But create-admin-object accepts the following --target parameter values, which doesn't contain 'domain' as create-jms-resource. So in the doc please mention that the command create-jms-resource doesn't accept 'domain' as the --target parameter value if --restype is either javax.jms.Topic or javax.jms.Queue.

      --target
      Specifies the target on which you are creating the administered
      object. Valid values are as follows:

      server
      Creates the administered object for the default server instance
      server and is the default value.

      configuration_name
      Creates the administered object for the named configuration.

      cluster_name
      Creates the administered object for every server instance in
      the cluster.

      instance_name
      Creates the administered object for a particular server
      instance.

        Activity

        David Zhao created issue -
        Paul Davies made changes -
        Field Original Value New Value
        Assignee Paul Davies [ pauldavies ] Mike Fitch [ oncered ]

          People

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

            Dates

            • Created:
              Updated: