Entfernen Legacy Servlets aus web.xml und in Teilen aus core.
git-svn-id: https://svn.libreccm.org/ccm/trunk@1560 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
35db4b6f03
commit
ca5dee3efe
|
|
@ -87,27 +87,30 @@
|
|||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.sitenode.SiteNodeDispatcher</servlet-class>
|
||||
<load-on-startup>3</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.DispatcherServlet</servlet-class>
|
||||
<!--
|
||||
<init-param>
|
||||
<param-name>fallback-servlet</param-name>
|
||||
<param-value>legacy-dispatcher</param-value>
|
||||
</init-param>
|
||||
</init-param>
|
||||
-->
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.LegacyAdapterServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
|
||||
|
|
@ -133,11 +136,6 @@
|
|||
<servlet-class>com.arsdigita.ui.admin.AdminServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>webadmin-sitemap</servlet-name>
|
||||
<servlet-class>com.arsdigita.ui.sitemap.SiteMapServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>webadmin-permissions</servlet-name>
|
||||
<servlet-class>com.arsdigita.ui.permissions.PermissionsServlet</servlet-class>
|
||||
|
|
@ -448,12 +446,12 @@
|
|||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<url-pattern>/ccm/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!--
|
||||
<servlet-mapping>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<url-pattern>/templates/servlet/legacy-adapter/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
-->
|
||||
<servlet-mapping>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<url-pattern>/expireCache/*</url-pattern>
|
||||
|
|
@ -479,11 +477,6 @@
|
|||
<url-pattern>/admin/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>webadmin-sitemap</servlet-name>
|
||||
<url-pattern>/admin-sitemap/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>webadmin-permissions</servlet-name>
|
||||
<url-pattern>/admin-permissions/*</url-pattern>
|
||||
|
|
|
|||
|
|
@ -87,27 +87,30 @@
|
|||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.sitenode.SiteNodeDispatcher</servlet-class>
|
||||
<load-on-startup>3</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.DispatcherServlet</servlet-class>
|
||||
<!--
|
||||
<init-param>
|
||||
<param-name>fallback-servlet</param-name>
|
||||
<param-value>legacy-dispatcher</param-value>
|
||||
</init-param>
|
||||
</init-param>
|
||||
-->
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.LegacyAdapterServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
|
||||
|
|
@ -133,11 +136,6 @@
|
|||
<servlet-class>com.arsdigita.ui.admin.AdminServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>webadmin-sitemap</servlet-name>
|
||||
<servlet-class>com.arsdigita.ui.sitemap.SiteMapServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>webadmin-permissions</servlet-name>
|
||||
<servlet-class>com.arsdigita.ui.permissions.PermissionsServlet</servlet-class>
|
||||
|
|
@ -448,12 +446,12 @@
|
|||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<url-pattern>/ccm/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!--
|
||||
<servlet-mapping>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<url-pattern>/templates/servlet/legacy-adapter/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
-->
|
||||
<servlet-mapping>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<url-pattern>/expireCache/*</url-pattern>
|
||||
|
|
@ -479,11 +477,6 @@
|
|||
<url-pattern>/admin/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>webadmin-sitemap</servlet-name>
|
||||
<url-pattern>/admin-sitemap/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>webadmin-permissions</servlet-name>
|
||||
<url-pattern>/admin-permissions/*</url-pattern>
|
||||
|
|
|
|||
|
|
@ -18,23 +18,24 @@
|
|||
*/
|
||||
package com.arsdigita.sitenode;
|
||||
|
||||
import com.arsdigita.kernel.Kernel;
|
||||
import com.arsdigita.kernel.Party;
|
||||
import com.arsdigita.kernel.User;
|
||||
import com.arsdigita.kernel.PersonName;
|
||||
import com.arsdigita.logging.ErrorReport;
|
||||
import com.arsdigita.util.Exceptions;
|
||||
import com.arsdigita.util.ExceptionUnwrapper;
|
||||
import java.util.ArrayList;
|
||||
import java.util.TreeSet;
|
||||
import java.text.Collator;
|
||||
import java.util.Enumeration;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.http.Cookie;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.arsdigita.kernel.Kernel;
|
||||
import com.arsdigita.kernel.Party;
|
||||
import com.arsdigita.kernel.User;
|
||||
import com.arsdigita.kernel.PersonName;
|
||||
import java.util.ArrayList;
|
||||
import java.util.TreeSet;
|
||||
import java.text.Collator;
|
||||
import java.util.Enumeration;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -23,13 +23,16 @@ import com.arsdigita.domain.DataObjectNotFoundException;
|
|||
import com.arsdigita.persistence.DataObject;
|
||||
import com.arsdigita.persistence.OID;
|
||||
import com.arsdigita.web.Application;
|
||||
import com.arsdigita.web.ApplicationCollection;
|
||||
import com.arsdigita.web.ApplicationType;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
* Application domain class for the Login application.
|
||||
*
|
||||
* Serves as the main entry point into Login application. Because there are no
|
||||
* instance specific functions (there is only a single instance to be installed)
|
||||
* it provides mainly required configuration information and service methods
|
||||
* for client classes.
|
||||
*
|
||||
* @author pb
|
||||
* @version $Id: Login.java $
|
||||
|
|
@ -82,26 +85,42 @@ public class Login extends Application {
|
|||
}
|
||||
|
||||
/**
|
||||
* Provides an absolute URL (leading slash) into the system login page.
|
||||
* It is relative to document root without any constant prefix if there is
|
||||
* one configured.
|
||||
*
|
||||
* XXX This implementation starts with a leading slash and ends with a slash.
|
||||
* In previous configurations String urls began without a slash in order
|
||||
* to be able to provide a full URL which also contains the context part.
|
||||
* Since version 5.2 the context part is handled by (new) dispatcher.
|
||||
* The leading slash it API change! It's impacts have to be checked. (2011-02)
|
||||
* Service method provides an (absolute) URL into the system login page as
|
||||
* servletPath() (leading slash) according servlet API. It is relative to
|
||||
* document root without any constant prefix if there is one configured.
|
||||
*
|
||||
* It is used by other classes to determine the login page.
|
||||
*
|
||||
* @return URL for login page as String
|
||||
*/
|
||||
// In old LegacyInitializer
|
||||
// LOGIN_PAGE_KEY = page.kernel.login = register/
|
||||
public static String getLoginPageURL() {
|
||||
return LOGIN_PAGE_URL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the path name of the location of the applications servlet/JSP.
|
||||
*
|
||||
* The method overwrites the super class to provide an application specific
|
||||
* location for servlets/JSP. This is necessary if you whish to install the
|
||||
* module (application) along with others in one context. If you install the
|
||||
* module into its own context (no longer recommended) you may use a
|
||||
* standard location.
|
||||
*
|
||||
* Usually it is a symbolic name/path, which will be mapped in the web.xml
|
||||
* to the real location in the file system. Example:
|
||||
* <servlet>
|
||||
* <servlet-name>login</servlet-name>
|
||||
* <servlet-class>com.arsdigita.ui.login.LoginServlet</servlet-class>
|
||||
* </servlet>
|
||||
*
|
||||
* <servlet-mapping>
|
||||
* <servlet-name>login</servlet-name>
|
||||
* <url-pattern>/login/*</url-pattern>
|
||||
* </servlet-mapping>
|
||||
*
|
||||
* The appended "/*" ensures BaseServlet will find additional JSP's.
|
||||
*
|
||||
* @return path name to the applications servlet/JSP
|
||||
*/
|
||||
@Override
|
||||
public String getServletPath() {
|
||||
|
|
|
|||
|
|
@ -33,24 +33,15 @@ import com.arsdigita.dispatcher.DispatcherConfig;
|
|||
import com.arsdigita.dispatcher.DispatcherHelper;
|
||||
import com.arsdigita.kernel.Kernel;
|
||||
import com.arsdigita.ui.UI;
|
||||
|
||||
import com.arsdigita.web.ReturnSignal;
|
||||
import com.arsdigita.web.URL;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.ServletException;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
|
||||
// WORK IN PROGRESS
|
||||
//
|
||||
// (a) Funktionen von SubsiteDispatcher übertragen
|
||||
// Noch zu machen: preProcess für Handling caching
|
||||
// (b) Konfiguration in web.xml etc. *DONE*
|
||||
// (c) Einbau in core Load *DONE*
|
||||
// (d) Testen
|
||||
|
||||
|
||||
/**
|
||||
* Login Application Servlet class, central entry point to create and process
|
||||
|
|
@ -59,6 +50,11 @@ import org.apache.log4j.Logger;
|
|||
* It manages user registration page, new user page, user workspace, logout,
|
||||
* and permissions admin pages.
|
||||
*
|
||||
* It just defines a mapping URL <-> various pages and uses the super class
|
||||
* to actually server the pages. Additionally is provides service methods
|
||||
* to expose various properties, especially the URL's of public subpages
|
||||
* (e.g. logout) and initializes the creation of the UI.
|
||||
*
|
||||
* @author Peter Boy <pboy@barkhof.uni-bremen.de>
|
||||
* @version $Id: LoginServlet.java 2161 2012-03-15 00:16:13Z pboy $
|
||||
*/
|
||||
|
|
@ -67,8 +63,10 @@ public class LoginServlet extends BebopApplicationServlet {
|
|||
/** Logger instance for debugging */
|
||||
private static final Logger s_log = Logger.getLogger(LoginServlet.class);
|
||||
|
||||
public static final String APPLICATION_NAME = "login";
|
||||
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// Define various URLs to subpages of Login to manage administrative tasks.
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/** PathInfo into the Login application to access the (optional) newUser
|
||||
* page. Ends with "/" because it is a servlet/directory
|
||||
|
|
@ -106,11 +104,16 @@ public class LoginServlet extends BebopApplicationServlet {
|
|||
*/
|
||||
public static final String LOGOUT_PATH_INFO = "/logout/";
|
||||
|
||||
|
||||
|
||||
/** Base URL of the Login application for internal use, fetched from
|
||||
* Login domain class. */
|
||||
private final static String s_loginURL = Login.LOGIN_PAGE_URL;
|
||||
|
||||
// define namespace URI
|
||||
final static String SUBSITE_NS_URI = "http://www.arsdigita.com/subsite/1.0";
|
||||
|
||||
// define
|
||||
final static String s_loginURL = Login.LOGIN_PAGE_URL;
|
||||
public static final String APPLICATION_NAME = "login";
|
||||
|
||||
/**
|
||||
* User extension point used to create the pages to server and setup a
|
||||
|
|
@ -298,7 +301,7 @@ public class LoginServlet extends BebopApplicationServlet {
|
|||
|
||||
|
||||
/**
|
||||
* Provides an absolute URL (leading slash) to a user profile editig page.
|
||||
* Provides an (absolute) URL to a user profile editig page.
|
||||
* It is relative to document root without any constant prefix if there is
|
||||
* one configured.
|
||||
*
|
||||
|
|
@ -310,32 +313,23 @@ public class LoginServlet extends BebopApplicationServlet {
|
|||
*
|
||||
* @return url to EditUserProfile page as String
|
||||
*/
|
||||
// In old LegacyInitializer
|
||||
// EDIT_PAGE_KEY = page.kernel.edit = register/edit-profile/
|
||||
public static String getEditUserProfilePageURL() {
|
||||
return s_loginURL + EDIT_USER_PROFILE_PATH_INFO;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides an absolute URL (leading slash) to an optional new user
|
||||
* registration page (accessible only if activated). It is relative to
|
||||
* document root without any constant prefix if there is one configured.
|
||||
* Provides an (absolute URL) to an optional new user registration page
|
||||
* (accessible only if activated). It is relative to document root
|
||||
* without any constant prefix if there is one configured.
|
||||
*
|
||||
* XXX This implementation starts with a leading slash and ends with a slash.
|
||||
* In previous configurations String urls began without a slash in order
|
||||
* to be able to provide a full URL which also contains the context part.
|
||||
* Since version 5.2 the context part is handled by (new) dispatcher.
|
||||
* The leading slash it API change! It's impacts have to be checked. (2011-02)
|
||||
*
|
||||
* XXX In violation of the Servlet API the string does NOT start with a "/"
|
||||
* because currently the UI.getLoginPageURL() method provides a trailing
|
||||
* slash because it still follows the old application convention. Should
|
||||
* be reworked soon.
|
||||
*
|
||||
* @return url to new user registration page as String
|
||||
*/
|
||||
// In old LegacyInitializer
|
||||
// NEWUSER_PAGE_KEY = page.kernel.newuser = register/new-user/
|
||||
public static String getNewUserPageURL() {
|
||||
return s_loginURL + NEW_USER_PATH_INFO;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -278,10 +278,10 @@ public class ApplicationType extends ResourceType {
|
|||
*/
|
||||
public static ApplicationType createApplicationType(String key, String title,
|
||||
String applicationObjectType) {
|
||||
|
||||
|
||||
return ApplicationType.createApplicationType(
|
||||
key, title, applicationObjectType, false);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ import com.arsdigita.util.StringUtils;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import javax.servlet.RequestDispatcher;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletException;
|
||||
|
|
@ -306,10 +307,12 @@ class BaseDispatcher {
|
|||
return s1.equals(s2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return toString().hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
final String sep = ", ";
|
||||
StringBuffer sb = new StringBuffer();
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ public class DispatcherServlet extends BaseServlet {
|
|||
|
||||
@Override
|
||||
public void doInit() throws ServletException {
|
||||
/*
|
||||
m_fallbackName =
|
||||
getServletConfig().getInitParameter(FALLBACK_SERVLET_PARAMETER);
|
||||
|
||||
|
|
@ -104,12 +105,13 @@ public class DispatcherServlet extends BaseServlet {
|
|||
|
||||
Assert.exists(getServletConfig().getServletContext().getNamedDispatcher
|
||||
(m_fallbackName), RequestDispatcher.class);
|
||||
*/
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doService(final HttpServletRequest sreq,
|
||||
final HttpServletResponse sresp)
|
||||
throws ServletException, IOException {
|
||||
throws ServletException, IOException {
|
||||
|
||||
DeveloperSupport.requestStart(new RequestEvent(
|
||||
sreq, sresp, null, true, false));
|
||||
|
|
@ -129,7 +131,7 @@ public class DispatcherServlet extends BaseServlet {
|
|||
} else {
|
||||
s_log.debug("Could not dispatch this request to an " +
|
||||
"application; using the fallback servlet");
|
||||
|
||||
/*
|
||||
sreq.setAttribute(FALLING_BACK_ATTRIBUTE, Boolean.TRUE);
|
||||
|
||||
DeveloperSupport.startStage("BaseDispatcher.forward");
|
||||
|
|
@ -141,6 +143,7 @@ public class DispatcherServlet extends BaseServlet {
|
|||
m_dispatcher.forward(fallbackDispatcher, sreq, sresp);
|
||||
|
||||
DeveloperSupport.endStage("BaseDispatcher.forward");
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ public class Web {
|
|||
* @return The current <code>ServletContext</code>; it can be null
|
||||
*
|
||||
*/
|
||||
public static final ServletContext getServletContext() {
|
||||
public static ServletContext getServletContext() {
|
||||
return (ServletContext) s_servletContext.get();
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +134,7 @@ public class Web {
|
|||
* @param uri the context URI
|
||||
* @return the servlet context matching uri, or null
|
||||
*/
|
||||
public static final ServletContext getServletContext(String uri) {
|
||||
public static ServletContext getServletContext(String uri) {
|
||||
Assert.isTrue(uri.startsWith("/"), "uri must start with /");
|
||||
Assert.isTrue(uri.endsWith("/"), "uri must end with /");
|
||||
return (ServletContext)s_contexts.get(uri);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<html>
|
||||
<!--
|
||||
|
||||
README: This HTML page is the overview documentation comment for the
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
BASE SERVLET DECLARATIONS SECTION
|
||||
basically requirred by ANY ccm-core application to work correctly!
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>reg</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ContextRegistrationServlet</servlet-class>
|
||||
|
|
@ -47,27 +48,30 @@
|
|||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.sitenode.SiteNodeDispatcher</servlet-class>
|
||||
<load-on-startup>3</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.DispatcherServlet</servlet-class>
|
||||
<!--
|
||||
<init-param>
|
||||
<param-name>fallback-servlet</param-name>
|
||||
<param-value>legacy-dispatcher</param-value>
|
||||
</init-param>
|
||||
-->
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.LegacyAdapterServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
|
||||
|
|
@ -160,12 +164,12 @@
|
|||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<url-pattern>/ccm/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!--
|
||||
<servlet-mapping>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<url-pattern>/themes/servlet/legacy-adapter/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
-->
|
||||
<servlet-mapping>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<url-pattern>/expireCache/*</url-pattern>
|
||||
|
|
|
|||
|
|
@ -142,7 +142,6 @@
|
|||
<!--
|
||||
-->
|
||||
<ccm:application name="ccm-cms-types-image"/>
|
||||
<ccm:application name="ccm-webpage"/>
|
||||
|
||||
|
||||
<!-- ADD-ONs Bundle's Applications -->
|
||||
|
|
@ -152,13 +151,26 @@
|
|||
<ccm:application name="ccm-docrepo"/>
|
||||
<ccm:application name="ccm-faq"/>
|
||||
<ccm:application name="ccm-forum-categorised"/>
|
||||
<ccm:application name="ccm-portalserver"/>
|
||||
<ccm:application name="ccm-weblog"/>
|
||||
|
||||
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- APLAWS+ packages under evaluation -->
|
||||
<!-- These packages will not be made available in any bundle. -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- Content Types under evaluation -->
|
||||
<ccm:application name="ccm-webpage"/>
|
||||
|
||||
<!-- Applications under evaluation -->
|
||||
<!-- Currently broken. -->
|
||||
<ccm:application name="ccm-docmgr"/>
|
||||
<!-- some minor program issues -->
|
||||
<ccm:application name="ccm-portalserver"/>
|
||||
<!-- no documentation -->
|
||||
<ccm:application name="ccm-weblog"/>
|
||||
|
||||
|
||||
<!-- ADD-ONs Bundle's Portlets -->
|
||||
<!-- Portlets under evaluation -->
|
||||
<!-- Currently broken.
|
||||
Missing file: ccm-portlet/postgres-create.sql
|
||||
<ccm:application name="ccm-portlet"/> -->
|
||||
|
|
|
|||
|
|
@ -87,27 +87,30 @@
|
|||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.sitenode.SiteNodeDispatcher</servlet-class>
|
||||
<load-on-startup>3</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.DispatcherServlet</servlet-class>
|
||||
<!--
|
||||
<init-param>
|
||||
<param-name>fallback-servlet</param-name>
|
||||
<param-value>legacy-dispatcher</param-value>
|
||||
</init-param>
|
||||
</init-param>
|
||||
-->
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.LegacyAdapterServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
|
||||
|
|
@ -459,12 +462,12 @@
|
|||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<url-pattern>/ccm/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!--
|
||||
<servlet-mapping>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<url-pattern>/templates/servlet/legacy-adapter/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
-->
|
||||
<servlet-mapping>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<url-pattern>/expireCache/*</url-pattern>
|
||||
|
|
|
|||
|
|
@ -87,27 +87,30 @@
|
|||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.sitenode.SiteNodeDispatcher</servlet-class>
|
||||
<load-on-startup>3</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.DispatcherServlet</servlet-class>
|
||||
<!--
|
||||
<init-param>
|
||||
<param-name>fallback-servlet</param-name>
|
||||
<param-value>legacy-dispatcher</param-value>
|
||||
</init-param>
|
||||
</init-param>
|
||||
-->
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.LegacyAdapterServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
|
||||
|
|
@ -133,11 +136,6 @@
|
|||
<servlet-class>com.arsdigita.ui.admin.AdminServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>webadmin-sitemap</servlet-name>
|
||||
<servlet-class>com.arsdigita.ui.sitemap.SiteMapServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>webadmin-permissions</servlet-name>
|
||||
<servlet-class>com.arsdigita.ui.permissions.PermissionsServlet</servlet-class>
|
||||
|
|
@ -448,12 +446,12 @@
|
|||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<url-pattern>/ccm/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!--
|
||||
<servlet-mapping>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<url-pattern>/templates/servlet/legacy-adapter/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
-->
|
||||
<servlet-mapping>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<url-pattern>/expireCache/*</url-pattern>
|
||||
|
|
@ -479,11 +477,6 @@
|
|||
<url-pattern>/admin/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>webadmin-sitemap</servlet-name>
|
||||
<url-pattern>/admin-sitemap/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>webadmin-permissions</servlet-name>
|
||||
<url-pattern>/admin-permissions/*</url-pattern>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
ccmVersion="6.1"
|
||||
name="ScientificCMS"
|
||||
prettyName="Scientific CMS"
|
||||
version="1-1-6"
|
||||
version="2-0-0"
|
||||
release="devel"
|
||||
webxml="web-sci.xml"
|
||||
webapp="ROOT"
|
||||
|
|
@ -62,6 +62,7 @@
|
|||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- Standard Bundle -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- Standard Bundle's Content Assets -->
|
||||
<ccm:application name="ccm-cms-assets-fileattachment"/>
|
||||
<ccm:application name="ccm-cms-assets-imagestep"/>
|
||||
|
|
@ -134,6 +135,45 @@
|
|||
-->
|
||||
<ccm:application name="ccm-cms-types-xmlfeed"/>
|
||||
|
||||
<!-- Applications -->
|
||||
<!--
|
||||
-->
|
||||
<ccm:application name="ccm-auth-http"/>
|
||||
<ccm:application name="ccm-bookmarks"/>
|
||||
<ccm:application name="ccm-docrepo"/>
|
||||
<ccm:application name="ccm-faq"/>
|
||||
<ccm:application name="ccm-forum"/>
|
||||
<ccm:application name="ccm-forum-categorised"/>
|
||||
<!--
|
||||
-->
|
||||
|
||||
<!-- LDN extension -->
|
||||
<!--
|
||||
-->
|
||||
<ccm:application name="ccm-ldn-exporter"/>
|
||||
<ccm:application name="ccm-ldn-freeform"/>
|
||||
<ccm:application name="ccm-ldn-importer"/>
|
||||
|
||||
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- Scientific CMS packages under EVALUATION -->
|
||||
<!-- These packages will not be made available in any bundle. -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- Content Types under evaluation -->
|
||||
<ccm:application name="ccm-webpage"/>
|
||||
|
||||
<!-- Applications under evaluation -->
|
||||
<!-- Currently broken. -->
|
||||
<ccm:application name="ccm-docmgr"/>
|
||||
<!-- some minor program issues -->
|
||||
<ccm:application name="ccm-portalserver"/>
|
||||
<!-- currently doesn't work for unknown reason / no documentation -->
|
||||
<ccm:application name="ccm-simplesurvey"/>
|
||||
<!-- no documentation -->
|
||||
<ccm:application name="ccm-weblog"/>
|
||||
|
||||
<!-- Portlets -->
|
||||
<!-- bookmarks error: no such resource: ccm-wsx-bookmarks-portlet.pdl.mf
|
||||
<ccm:application name="ccm-portlet-bookmarks"/> -->
|
||||
|
|
@ -144,29 +184,6 @@
|
|||
<ccm:application name="ccm-portlet-latestnews"/>
|
||||
-->
|
||||
|
||||
<!-- Applications -->
|
||||
<!--
|
||||
-->
|
||||
<ccm:application name="ccm-auth-http"/>
|
||||
<ccm:application name="ccm-bookmarks"/>
|
||||
<ccm:application name="ccm-docmgr"/>
|
||||
<ccm:application name="ccm-docrepo"/>
|
||||
<ccm:application name="ccm-faq"/>
|
||||
<ccm:application name="ccm-forum"/>
|
||||
<ccm:application name="ccm-forum-categorised"/>
|
||||
<ccm:application name="ccm-portalserver"/>
|
||||
<!--
|
||||
<ccm:application name="ccm-weblog"/>
|
||||
<ccm:application name="ccm-webpage"/>
|
||||
-->
|
||||
|
||||
<!-- LDN extension -->
|
||||
<!--
|
||||
-->
|
||||
<ccm:application name="ccm-ldn-exporter"/>
|
||||
<ccm:application name="ccm-ldn-freeform"/>
|
||||
<ccm:application name="ccm-ldn-importer"/>
|
||||
|
||||
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
|
@ -181,12 +198,6 @@
|
|||
|
||||
<!-- OBSOLETE Applications -->
|
||||
|
||||
<!-- currently doesn't work for unknown reason
|
||||
<ccm:application name="ccm-simplesurvey"/> -->
|
||||
|
||||
<!-- Without known funcionality
|
||||
<ccm:application name="ccm-formbuilder-pdf"/>
|
||||
<ccm:application name="ccm-user-preferences"/> -->
|
||||
|
||||
<!-- OBSOLETE LDN extension -->
|
||||
|
||||
|
|
@ -199,6 +210,10 @@
|
|||
<ccm:application name="ccm-ldn-types-contact"/>
|
||||
<ccm:application name="ccm-ldn-types-esdservice"/> -->
|
||||
|
||||
<!-- Without known funcionality
|
||||
<ccm:application name="ccm-formbuilder-pdf"/>
|
||||
<ccm:application name="ccm-ldn-userpreferences"/> -->
|
||||
|
||||
|
||||
</ccm:build>
|
||||
|
||||
|
|
|
|||
|
|
@ -87,27 +87,30 @@
|
|||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.sitenode.SiteNodeDispatcher</servlet-class>
|
||||
<load-on-startup>3</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.DispatcherServlet</servlet-class>
|
||||
<!--
|
||||
<init-param>
|
||||
<param-name>fallback-servlet</param-name>
|
||||
<param-value>legacy-dispatcher</param-value>
|
||||
</init-param>
|
||||
</init-param>
|
||||
-->
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.LegacyAdapterServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
-->
|
||||
<servlet>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
|
||||
|
|
@ -443,12 +446,12 @@
|
|||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<url-pattern>/ccm/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!--
|
||||
<servlet-mapping>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<url-pattern>/templates/servlet/legacy-adapter/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
-->
|
||||
<servlet-mapping>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<url-pattern>/expireCache/*</url-pattern>
|
||||
|
|
|
|||
Loading…
Reference in New Issue