Hi guys,
I'm running DM Server 1.0.2. Developed some Bundles and deployed them just fine. When I'm trying to deploy the Web Bundle (including BlazeDS) I always get a deploymentException if I include either of the following:
or any kind of <filter> tag.Code:<listener> <listener-class>org.springframework.web.context.ContextLoaderListener </listener-class> </listener>
I looked at so many different web.xml's I just can't seem to figure out what the problem is... Any help would be really appreciated. Thanks!
My web.xml:
If i comment the elements causing the exception out it works just fine. But I want to use Spring Security...Code:<?xml version="1.0" encoding="ISO-8859-1"?> <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_5.xsd" version="2.5"> <!-- Name of the application --> <display-name>some app</display-name> <context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/spring/*-context*.xml </param-value> </context-param> <!-- Causes a DeploymentException --> <filter> <filter-name>springSecurityFilterChain </filter-name> <filter-class>org.springframework.web.filter.DelegatingFilterProxy </filter-class> </filter> <filter-mapping> <filter-name>springSecurityFilterChain </filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <!-- Causes a DeploymentException --> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <listener> <listener-class>org.springframework.web.util.Log4jConfigListener </listener-class> </listener> <listener> <listener-class>flex.messaging.HttpFlexSession </listener-class> </listener> <!-- The front controller of this Spring Web application, responsible for handling all application requests --> <servlet> <servlet-name>DispatcherServlet</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet </servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.xml </param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>DispatcherServlet</servlet-name> <url-pattern>/messagebroker/*</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> </welcome-file-list> </web-app>
If you need any more info in order to help me out, please let me know.
Cheers


