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 content. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

The simpliest way to deploy a SIP application from a custom directory is to use context deployer.

  • 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">YourCustomDirectory/YourApplicationName</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>
    
  • No labels