Sun GlassFish Communications Server 2.0 Quick Start Guide

Deploying a Sample SIP Module

ProcedureTo Deploy the CallSetup Application Using Admin Console

  1. Log in to the Admin Console if you have not already done so.

  2. Start the Java DB database, as explained in the section, To Start the Bundled Java DB Server.

  3. Click Converged SIP Modules.

    You can see the list of deployed web applications, if any.

  4. Click Deploy.

  5. Select the Local Packaged File or Directory that is Accessible to Application Server option.

  6. Browse to the as-install/samples/sipservlet/CallSetup/ directory.


    Tip –

    For more details about deploying this sample, see as-install/samples/sipservlet/CallSetup/CallSetup.html.


  7. Choose CallSetup.sar.

  8. If you are running a domain with clustering capabilities, you need to specify a target. In the Targets section of the page, select server from the Available list, and click Add to move it to the Selected list

  9. Click OK.

    The application appears in the Converged SIP Modules list.

  10. To verify that it was deployed properly, point your browser to the following location: http://hostname:HTTPport/CallSetup/

    The default HTTP port is 8080.

    The CallSetup application
Deploying Applications Using CLI Commands

You can deploy applications using the asadmin deploy command. You can also use the asant commands for deployment. For detailed information on deploying applications, see the Sun GlassFish Communications Server Application Deployment guide.