Installation instructions
- delete $JBOSS-HOME/server/default/deploy/jbossweb-tomcat55.sar (or from whichever deploy directory you are using)
- copy the cipango-CIPANGO-VERSION-jboss-JBOSS-VERSION.sar to your JBoss deploy directory (where CIPANGO-VERSION is the version of cipango you are using and JBOSS-VERSION is the version of JBoss).
You will find that the JBoss web-console refers to a tomcat servlet, so you might want to comment that out in order to make it usable. You will need to edit the $JBOSS-HOME/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml file and comment out this section:
<servlet>
<servlet-name>Status Servlet</servlet-name>
<servlet-class>org.jboss.web.tomcat.tc5.StatusServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Status Servlet</servlet-name>
<url-pattern>/status</url-pattern>
</servlet-mapping>
Configuration instructions
By default, Cipango will be configured with:
- a SIP connector on port 5060 and on localhost
- a HTTP connector on port 8080
This configuration is contained in the META-INF/jboss-service.xml file inside the sar.
In order to change the SIP host or port, it is recommended to use the System properties.
The modify the remain configuration, you need to un-pack the sar to a temporary directory, edit the META-INF/jboss-service.xml file, repack it and copy the modified sar to the JBoss deploy directory.
Deploy SIP application
Copy the application archive (.ssar) to $JBOSS_DEPLOY_DIR (default $JBOSS_HOME/server/default/deploy/). The application is dynamically (re)deployed.
Note: The extension .sar can not be used as it already used for applications (like Cipango or Tomcat), so .ssar has been choosen (for Sip Servlet Archive). (The extension .war can be also used)