256 lines
8.1 KiB
XML
256 lines
8.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
|
version="2.4">
|
|
|
|
<!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
basic web.xml for ccm-core and basic functions. If
|
|
additional modules provide specific web.xml snippets they must be
|
|
integrated before CCM is ready to work. Alternatively a
|
|
complete web.xml file from an installation bundle may be used.
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
|
|
<display-name>CCM</display-name>
|
|
<description>Content and Collaboration Management</description>
|
|
|
|
<!--
|
|
path and filename of the log4j user accessible config file
|
|
WEB-INF/conf/log4j.properties is the built-in default value
|
|
-->
|
|
<context-param>
|
|
<param-name>log4j-conf-file</param-name>
|
|
<param-value>WEB-INF/conf/log4j.properties</param-value>
|
|
</context-param>
|
|
|
|
|
|
<!-- Require secure connection by redirect to host-port part
|
|
of parameter waf.web.secure_server
|
|
<filter>
|
|
<filter-name>secured</filter-name>
|
|
<filter-class>com.arsdigita.web.SecureFilter</filter-class>
|
|
</filter>
|
|
-->
|
|
<!-- Initialize Profiler timers
|
|
NOT USED with standard / production
|
|
<filter>
|
|
<filter-name>profiler</filter-name>
|
|
<filter-class>com.arsdigita.profiler.ProfilerFilter</filter-class>
|
|
</filter>
|
|
-->
|
|
|
|
<filter>
|
|
<filter-name>shortcuts</filter-name>
|
|
<filter-class>com.arsdigita.shortcuts.ShortcutFilter</filter-class>
|
|
</filter>
|
|
|
|
<filter>
|
|
<filter-name>subsite</filter-name>
|
|
<filter-class>com.arsdigita.subsite.SubsiteFilter</filter-class>
|
|
</filter>
|
|
|
|
<!-- NOT USED HERE
|
|
<filter-mapping>
|
|
<filter-name>secured</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<filter-mapping>
|
|
<filter-name>profiler</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
-->
|
|
|
|
|
|
<filter-mapping>
|
|
<filter-name>subsite</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<filter-mapping>
|
|
<filter-name>shortcuts</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
Context Listener required and used to initialize the runtime environment
|
|
before any other task is performed or any servlet initialized.
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
<listener>
|
|
<listener-class>com.arsdigita.web.CCMApplicationContextListener</listener-class>
|
|
</listener>
|
|
|
|
<!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
BASE SERVLET DECLARATIONS SECTION
|
|
basically requirred by ANY ccm-core application to work correctly!
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<servlet>
|
|
<servlet-name>ccm-dispatcher</servlet-name>
|
|
<servlet-class>com.arsdigita.web.CCMDispatcherServlet</servlet-class>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
<servlet>
|
|
<servlet-name>cache-manager</servlet-name>
|
|
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<servlet-name>db-test</servlet-name>
|
|
<servlet-class>com.arsdigita.web.monitoring.DBTestServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<servlet-name>versioning-log</servlet-name>
|
|
<servlet-class>com.arsdigita.versioning.VersioningServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<servlet-name>login</servlet-name>
|
|
<servlet-class>com.arsdigita.ui.login.LoginServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<servlet-name>webadmin</servlet-name>
|
|
<servlet-class>com.arsdigita.ui.admin.AdminServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<servlet-name>webadmin-permissions</servlet-name>
|
|
<servlet-class>com.arsdigita.ui.permissions.PermissionsServlet</servlet-class>
|
|
</servlet>
|
|
|
|
|
|
<servlet>
|
|
<servlet-name>webdevsupport</servlet-name>
|
|
<servlet-class>com.arsdigita.webdevsupport.WebDevSupportServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<servlet-name>oid-redirect</servlet-name>
|
|
<servlet-class>com.arsdigita.web.OIDRedirectServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<servlet-name>resource-resolver</servlet-name>
|
|
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
|
|
</servlet>
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
BASE SERVLET MAPPINGS SECTION basically
|
|
requirred by ccm-core
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>ccm-dispatcher</servlet-name>
|
|
<url-pattern>/ccm/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>cache-manager</servlet-name>
|
|
<url-pattern>/expireCache/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>db-test</servlet-name>
|
|
<url-pattern>/dbtest</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>versioning-log</servlet-name>
|
|
<url-pattern>/versioning/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>login</servlet-name>
|
|
<url-pattern>/login/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>webadmin</servlet-name>
|
|
<url-pattern>/admin/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>webadmin-permissions</servlet-name>
|
|
<url-pattern>/admin-permissions/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>webdevsupport</servlet-name>
|
|
<url-pattern>/webdevsupport/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>oid-redirect</servlet-name>
|
|
<url-pattern>/redirect/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>resource-resolver</servlet-name>
|
|
<url-pattern>/resource/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
ERROR PAGES
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<error-page>
|
|
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-type>
|
|
<location>/error/access-denied.jsp</location>
|
|
</error-page>
|
|
|
|
<error-page>
|
|
<exception-type>com.arsdigita.dispatcher.ObjectNotFoundException</exception-type>
|
|
<location>/error/object-not-found.jsp</location>
|
|
</error-page>
|
|
|
|
<error-page>
|
|
<exception-type>com.arsdigita.kernel.permissions.PermissionException</exception-type>
|
|
<location>/error/permission-denied.jsp</location>
|
|
</error-page>
|
|
|
|
<error-page>
|
|
<exception-type>com.arsdigita.persistence.DbNotAvailableException</exception-type>
|
|
<location>/error/db-not-available.jsp</location>
|
|
</error-page>
|
|
|
|
<error-page>
|
|
<exception-type>com.arsdigita.db.DbNotAvailableException</exception-type>
|
|
<location>/error/db-not-available.jsp</location>
|
|
</error-page>
|
|
|
|
<error-page>
|
|
<exception-type>java.lang.Exception</exception-type>
|
|
<location>/error/general.jsp</location>
|
|
</error-page>
|
|
|
|
<error-page>
|
|
<exception-type>java.lang.Error</exception-type>
|
|
<location>/error/general.jsp</location>
|
|
</error-page>
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
TAG LIBS
|
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<jsp-config>
|
|
<taglib>
|
|
<taglib-uri>/WEB-INF/bebop-show.tld</taglib-uri>
|
|
<taglib-location>/WEB-INF/bebop-show.tld</taglib-location>
|
|
</taglib>
|
|
|
|
<taglib>
|
|
<taglib-uri>/WEB-INF/bebop-define.tld</taglib-uri>
|
|
<taglib-location>/WEB-INF/bebop-define.tld</taglib-location>
|
|
</taglib>
|
|
</jsp-config>
|
|
|
|
</web-app>
|