Revision: 15422
Author: [email protected]
Date: Fri Nov 19 12:46:45 2010
Log: Update Issue 2112
Updating call blocking's sip.xml to avoid xmlNamespace issues in default
mode
http://code.google.com/p/mobicents/source/detail?r=15422
Modified:
/branches/servers/sip-servlets/2.0/sip-servlets-examples/call-blocking/src/main/sipapp/WEB-INF/sip.xml
=======================================
---
/branches/servers/sip-servlets/2.0/sip-servlets-examples/call-blocking/src/main/sipapp/WEB-INF/sip.xml
Tue Jan 13 07:41:14 2009
+++
/branches/servers/sip-servlets/2.0/sip-servlets-examples/call-blocking/src/main/sipapp/WEB-INF/sip.xml
Fri Nov 19 12:46:45 2010
@@ -1,4 +1,4 @@
-<sip-app xmlns="http://www.jcp.org/xml/ns/sipservlet"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<!--<sip-app xmlns="http://www.jcp.org/xml/ns/sipservlet"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jcp.org/xml/ns/sipservlet
http://www.jcp.org/xml/ns/sipservlet/sip-app_1_1.xsd"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
version="1.1">
@@ -13,4 +13,18 @@
<listener>
<javaee:listener-class>org.mobicents.servlet.sip.example.CallBlockingSipServlet</javaee:listener-class>
</listener>
+</sip-app> -->
+<!-- Namespace version commented out because turning
xmlNamespaceAware="true" and xmlValidation="true" in
$CATALINA_HOME/conf/context.xml double the startup time -->
+<sip-app >
+
<app-name>org.mobicents.servlet.sip.example.CallBlockingApplication</app-name>
+
+ <servlet>
+ <servlet-name>CallBlockingSipServlet</servlet-name>
+
<servlet-class>org.mobicents.servlet.sip.example.CallBlockingSipServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <listener>
+
<listener-class>org.mobicents.servlet.sip.example.CallBlockingSipServlet</listener-class>
+ </listener>
</sip-app>