Issue Details (XML | Word | Printable)

Key: GLASSFISH-20657
Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Mike Fitch
Reporter: David Zhao
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

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

Created: 24/Jun/13 05:45 AM   Updated: 24/Jun/13 03:52 PM
Component/s: jms
Affects Version/s: 4.0_b89_RC5
Fix Version/s: None

Time Tracking:
Not Specified

Tags:
Participants: David Zhao and Mike Fitch


 Description  « Hide

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.



Paul Davies made changes - 24/Jun/13 03:52 PM
Field Original Value New Value
Assignee Paul Davies [ pauldavies ] Mike Fitch [ oncered ]