This documentation relates to last stable version of Cipango.
visit the last unstable documentation home.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Static deploy

To deploy statically a SIP Application, you just have to copy your application to

${jetty.home}/sipapps

Dynamic deploy

The context deployer provided by Jetty allows to deploy dynamically SIP contexts.

To hot deploy a SIP application,

  • create an XML file in ${jetty.home}/contexts with the following content (replace "test" by your application name)
    Sample context file
    <?xml version="1.0"  encoding="ISO-8859-1"?>
    <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
    <Configure class="org.cipango.sipapp.SipAppContext">
      <Set name="contextPath">/test</Set>
      <Set name="war"><SystemProperty name="jetty.home" default="."/>/sipapps/test</Set>
      <Set name="defaultsDescriptor"><SystemProperty default="." name="jetty.home"/>/etc/webdefault.xml</Set>
      <Set name="defaultsSipDescriptor"><SystemProperty default="." name="jetty.home"/>/etc/sipdefault.xml</Set>
    </Configure>
    

Once this file created, you just have to touch it (i.e. change the last modification date) to redeploy the application.

  • No labels