Below are the sipservlet-console and Ant commands for installing a SIP Servlet application.
Installing a SIP Servlet application automatically generates a container service and deploys it in Rhino. |
Console
Syntax |
install-ss <ra-entity> <sar-file> [-appname <name>] [-linkname <name>] [-service <service-id>] |
---|---|
Examples |
To override the default ServiceID: install-ss ss myservlet.sar -service name=myservlet,vendor=abc,version=1 By default, Rhino SIP Servlet creates an application name reference mapping the servlet application’s name to its install-ss ss myservlet.sar -appname newname |
Ant
Syntax |
<sipservlet:install srcfile="..." appname="..." linkname="..." url="..."> <sipservlet:service name="..." vendor="..." version="..."/> </sipservlet:install>
|
||
---|---|---|---|
Examples |
To override the default ServiceID: <sipservlet:install srcfile="myservlet.sar"> <sipservlet:service name="myservlet" vendor="abc" version="1"/> </sipservlet:install> To override the default application name: <sipservlet:install srcfile="myservlet.sar" appname="newname"/> |