Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

asadmin-add-admin-object(1as) [sunos man page]

asadmin-add-admin-object(1AS)					   User Commands				     asadmin-add-admin-object(1AS)

NAME
add-admin-object - adds the administered object with the specified JNDI name SYNOPSIS
add-admin-object --user admin_user[--password admin_password] [ --host localhost] [--port 4848] [--passwordfile filename] [ --secure|-s] --aorestype admin_object_type [--property name=value[:name=value]*] --raname rar_filename jndi_name Creates an administered object corresponding to a resource adapter. The ra.xml file can be found in the META-INF directory of the resource adapter archive. After a .RAR file is deployed to the application server, it gets extracted and a directory corresponding to the .RAR name is created under $INSTANCE_ROOT/applicaitons/j2ee-modules (or j2ee-apps). You can find the ra.xml in the META-INF subdirectory of the RAR's directory. OPTIONS
--user administrative user associated for the instance. --password administrative password corresponding to the administrative user. --host host name of the machine hosting the administrative instance. --port administrative port number associated with the administrative host. --secure indicates communication with the administrative instance in secured mode. --passwordfile file containing passwords appropriate for the command (e.g., administrative instance). --aorestype administered object resource type as defined by the resource adapter in the ra.xml file. --property optional attributes name/value pairs for configuring the resource. --raname name of the resource adapter. OPERANDS
jndi_name JNDI name of the administered object to be added. Example 1: Using add-admin-object A JMS queue, called sample_jmsqueue, is assumed to have already been created using the create-jmsdest command. asadmin> add-admin-object --user admin --password adminadmin --aorestype javax.jms.Queue --property Name=sample_jmsqueue --raname jmsra jms/samplequeue Created the object EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-delete-admin-object(1AS), asadmin-list-admin-objects(1AS) J2EE 1.4 SDK March 2004 asadmin-add-admin-object(1AS)

Check Out this Related Man Page

asadmin-delete-admin-object(1AS)				   User Commands				  asadmin-delete-admin-object(1AS)

NAME
asadmin-delete-admin-object, delete-admin-object - removes the administered object with the specified JNDI name SYNOPSIS
delete-admin-object --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename] [--terse=false] [--echo=false] [--interactive=true] jndi_name Removes the administered object with the specified JNDI name. This command is supported in remote mode only. OPTIONS
--user authorized domain application server administrative username. --password password to administer the domain application server. --host machine name where the domain application server is running. --port port number of the domain application server listening for administration requests. --secure if true, uses SSL/TLS to communicate with the domain application server. --passwordfile file containing the domain application server password. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. Default is false. --echo setting to true will echo the command line statement on the standard output. Default is false. --interactive if set to true (default), only the required password options are prompted. OPERANDS
jndi_name JNDI name of the administered object to be deleted. Example 1: Using delete-admin-object The example listed in the add-admin-object command should be executed before attempting to execute this example:i asadmin> delete-admin-objects --user admin --password admin123 jms/samplequeue Deletes the previously created administration object with the JNDI name jms/sample. EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-create-admin-object(1AS), asadmin-list-admin-objects(1AS) J2EE 1.4 SDK March 2004 asadmin-delete-admin-object(1AS)
Man Page