Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: Attributes
- Next: sun-appserv-jspc

### Examples

Here is an example of executing the `create-jms-dest` command:

    <sun-appserv-admin command="create-jms-dest --desttype topic">

Here is an example of using `commandfile` to execute the `create-jms-dest` command:

    <sun-appserv-admin commandfile="create_jms_dest.txt" instance="development">

The `create_jms_dest.txt` file contains the following:

    create-jms-dest --user admin --passwordfile "${passwordfile}" --host
    localhost --port 4848 --desttype topic --target server1 simpleJmsDest

Here is an example of using `explicitcommand` to execute the `create-jms-dest` command:

    <sun-appserv-admin command="create-jms-dest --user admin --passwordfile
    "${passwordfile}" --host localhost --port 4848 --desttype topic
    --target server1 simpleJmsDest">

- Previous: Attributes
- Next: sun-appserv-jspc

- © 2010, Oracle Corporation and/or its affiliates