Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » DispatcherServlet doesn't initialize within web.xml
DispatcherServlet doesn't initialize within web.xml [message #1079943] Mon, 05 August 2013 09:07 Go to next message
ergu de gaia is currently offline ergu de gaia
Messages: 5
Registered: August 2013
Junior Member
Hi everyone!

I'm using spring-dm 1.2.1 and it the documentation i've come up
with the information to put a web.xml file at the root of the
WEB-INF folder of my web bundle. Here is my web.xml


  	<!-- 
	The context-param element contains the declaration of a web
	application's servlet context initialization parameters.
	-->
	<context-param>
		<param-name>webAppRootKey</param-name>
		<param-value>bambuGDS</param-value>
	</context-param>
	 
	<context-param> 
		<param-name>contextClass</param-name> 
		<param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value> 
	</context-param>
	
	<listener>
		<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
	</listener>
	
	<!-- Spring listener for web-scopes (request, session) -->
    <listener>
    	<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
    </listener>
    
    <!-- Spring listener -->
    <listener>
    	<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener> 
    
    <listener>
		<listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
	</listener>
	
    <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>/services/</url-pattern>
	</filter-mapping>
	
    <servlet>
    	<display-name>GraniteServlet</display-name>
	    <servlet-name>dispatcher</servlet-name>
	    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
	    <load-on-startup>1</load-on-startup>
	    <init-param>
			<param-name>contextClass</param-name>
			<param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
		</init-param>
	</servlet>
		
	<servlet-mapping>
	    <servlet-name>dispatcher</servlet-name>
	    <url-pattern>/graniteamf/*</url-pattern>
	</servlet-mapping>
	
    <servlet>
    	<display-name>GravityServlet</display-name>
        <servlet-name>gravity</servlet-name>
        <servlet-class>org.granite.gravity.servlet3.GravityAsyncServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
	    <init-param>
			<param-name>contextClass</param-name>
			<param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
		</init-param>
        <async-supported>true</async-supported>
    </servlet>
    
    <servlet-mapping>
        <servlet-name>gravity</servlet-name>
        <url-pattern>/gravityamf/*</url-pattern>
    </servlet-mapping>
    
    <welcome-file-list>
        <!-- 
        <welcome-file>index.jsp</welcome-file>
         -->
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.vm</welcome-file>
    </welcome-file-list>



I also added applicationContext.xml and I get this initialisation debug output
when i run my OSGi container

log4j:ERROR Could not find value for key log4j.appender.INFO
log4j:ERROR Could not instantiate appender named "INFO".
0    [main] INFO  org.springframework.osgi.extender.internal.activator.ContextLoaderListener  - Starting [org.springframework.osgi.extender] bundle v.[1.2.1]
main INFO [activator.ContextLoaderListener] - Starting [org.springframework.osgi.extender] bundle v.[1.2.1]
179  [main] WARN  org.springframework.osgi.extender.internal.support.NamespaceManager  - Bundle Apache ActiveMQ Core (com.springsource.org.apache.activemq) cannot see class [org.springframework.beans.factory.xml.NamespaceHandlerResolver]; ignoring its namespace handlers
main WARN [support.NamespaceManager] - Bundle Apache ActiveMQ Core (com.springsource.org.apache.activemq) cannot see class [org.springframework.beans.factory.xml.NamespaceHandlerResolver]; ignoring its namespace handlers
229  [main] INFO  org.springframework.osgi.extender.internal.support.ExtenderConfiguration  - No custom extender configuration detected; using defaults...
main INFO [support.ExtenderConfiguration] - No custom extender configuration detected; using defaults...
472  [main] INFO  org.springframework.scheduling.timer.TimerTaskExecutor  - Initializing Timer
main INFO [timer.TimerTaskExecutor] - Initializing Timer
820  [main] WARN  org.springframework.osgi.extender.internal.support.NamespaceManager  - Bundle Apache ActiveMQ Core (com.springsource.org.apache.activemq) cannot see class [org.springframework.beans.factory.xml.NamespaceHandlerResolver]; ignoring its namespace handlers
main WARN [support.NamespaceManager] - Bundle Apache ActiveMQ Core (com.springsource.org.apache.activemq) cannot see class [org.springframework.beans.factory.xml.NamespaceHandlerResolver]; ignoring its namespace handlers
1019 [main] INFO  org.springframework.osgi.extender.support.DefaultOsgiApplicationContextCreator  - Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Granite Data Services OSGi - Spring Integration (graniteds-osgi-spring)]
main INFO [support.DefaultOsgiApplicationContextCreator] - Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Granite Data Services OSGi - Spring Integration (graniteds-osgi-spring)]
1052 [SpringOsgiExtenderThread-1] INFO  org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext  - Refreshing OsgiBundleXmlApplicationContext(bundle=graniteds-osgi-spring, config=osgibundle:/META-INF/spring/*.xml): startup date [Mon Aug 05 11:04:10 CEST 2013]; root of context hierarchy
SpringOsgiExtenderThread-1 INFO [support.OsgiBundleXmlApplicationContext] - Refreshing OsgiBundleXmlApplicationContext(bundle=graniteds-osgi-spring, config=osgibundle:/META-INF/spring/*.xml): startup date [Mon Aug 05 11:04:10 CEST 2013]; root of context hierarchy
1074 [main] INFO  org.springframework.scheduling.timer.TimerTaskExecutor  - Initializing Timer
main INFO [timer.TimerTaskExecutor] - Initializing Timer
1074 [main] INFO  org.springframework.osgi.web.extender.internal.activator.WarLoaderListener  - Starting [org.springframework.osgi.web.extender] bundle v.[1.2.1]
main INFO [activator.WarLoaderListener] - Starting [org.springframework.osgi.web.extender] bundle v.[1.2.1]
1090 [WebExtender-Init] INFO  org.springframework.osgi.web.extender.internal.activator.WarListenerConfiguration  - Detected extender custom configurations at {bundleentry://114.fwk731651524/META-INF/spring/extender/jetty-deployer.xml}
WebExtender-Init INFO [activator.WarListenerConfiguration] - Detected extender custom configurations at {bundleentry://114.fwk731651524/META-INF/spring/extender/jetty-deployer.xml}
1094 [WebExtender-Init] INFO  org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext  - Refreshing OsgiBundleXmlApplicationContext(bundle=org.springframework.osgi.web.extender, config=bundleentry://114.fwk731651524/META-INF/spring/extender/jetty-deployer.xml): startup date [Mon Aug 05 11:04:10 CEST 2013]; root of context hierarchy
WebExtender-Init INFO [support.OsgiBundleXmlApplicationContext] - Refreshing OsgiBundleXmlApplicationContext(bundle=org.springframework.osgi.web.extender, config=bundleentry://114.fwk731651524/META-INF/spring/extender/jetty-deployer.xml): startup date [Mon Aug 05 11:04:10 CEST 2013]; root of context hierarchy
1196 [SpringOsgiExtenderThread-1] INFO  org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext  - Application Context service already unpublished
SpringOsgiExtenderThread-1 INFO [support.OsgiBundleXmlApplicationContext] - Application Context service already unpublished
1196 [WebExtender-Init] INFO  org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext  - Application Context service already unpublished
WebExtender-Init INFO [support.OsgiBundleXmlApplicationContext] - Application Context service already unpublished
1315 [WebExtender-Init] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from OSGi resource[bundleentry://114.fwk731651524/META-INF/spring/extender/jetty-deployer.xml|bnd.id=113|bnd.sym=org.springframework.osgi.web.extender]
WebExtender-Init INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from OSGi resource[bundleentry://114.fwk731651524/META-INF/spring/extender/jetty-deployer.xml|bnd.id=113|bnd.sym=org.springframework.osgi.web.extender]
1324 [SpringOsgiExtenderThread-1] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from URL [bundleentry://98.fwk731651524/META-INF/spring/applicationContext.xml]
SpringOsgiExtenderThread-1 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [bundleentry://98.fwk731651524/META-INF/spring/applicationContext.xml]
1778 [WebExtender-Init] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory  - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5178d5c1: defining beans [warDeployer]; root of factory hierarchy
WebExtender-Init INFO [support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5178d5c1: defining beans [warDeployer]; root of factory hierarchy
1782 [SpringOsgiExtenderThread-1] INFO  org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor  - No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=graniteds-osgi-spring, config=osgibundle:/META-INF/spring/*.xml)
SpringOsgiExtenderThread-1 INFO [startup.DependencyWaiterApplicationContextExecutor] - No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=graniteds-osgi-spring, config=osgibundle:/META-INF/spring/*.xml)
1811 [WebExtender-Init] INFO  org.springframework.osgi.web.deployer.jetty.JettyWarDeployer  - No Jetty Server set; looking for one in the OSGi service registry...
WebExtender-Init INFO [jetty.JettyWarDeployer] - No Jetty Server set; looking for one in the OSGi service registry...
1814 [SpringOsgiExtenderThread-2] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory  - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@62babbb2: defining beans [org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor#0]; root of factory hierarchy
SpringOsgiExtenderThread-2 INFO [support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@62babbb2: defining beans [org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor#0]; root of factory hierarchy
1821 [SpringOsgiExtenderThread-2] INFO  org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext  - Publishing application context as OSGi service with properties {org.springframework.context.service.name=graniteds-osgi-spring, Bundle-SymbolicName=graniteds-osgi-spring, Bundle-Version=3.0.0.M2}
SpringOsgiExtenderThread-2 INFO [support.OsgiBundleXmlApplicationContext] - Publishing application context as OSGi service with properties {org.springframework.context.service.name=graniteds-osgi-spring, Bundle-SymbolicName=graniteds-osgi-spring, Bundle-Version=3.0.0.M2}
1830 [SpringOsgiExtenderThread-2] INFO  org.springframework.osgi.extender.internal.activator.ContextLoaderListener  - Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=graniteds-osgi-spring, config=osgibundle:/META-INF/spring/*.xml))
SpringOsgiExtenderThread-2 INFO [activator.ContextLoaderListener] - Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=graniteds-osgi-spring, config=osgibundle:/META-INF/spring/*.xml))
1849 [WebExtender-Init] WARN  org.springframework.aop.framework.CglibAopProxy  - Unable to proxy method [public final void org.mortbay.component.AbstractLifeCycle.start() throws java.lang.Exception] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
WebExtender-Init WARN [framework.CglibAopProxy] - Unable to proxy method [public final void org.mortbay.component.AbstractLifeCycle.start() throws java.lang.Exception] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
1849 [WebExtender-Init] WARN  org.springframework.aop.framework.CglibAopProxy  - Unable to proxy method [public final void org.mortbay.component.AbstractLifeCycle.stop() throws java.lang.Exception] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
WebExtender-Init WARN [framework.CglibAopProxy] - Unable to proxy method [public final void org.mortbay.component.AbstractLifeCycle.stop() throws java.lang.Exception] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
2115 [WebExtender-Init] INFO  org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean  - Looking for mandatory OSGi service dependency for bean [] matching filter (objectClass=org.mortbay.jetty.Server)
WebExtender-Init INFO [support.OsgiServiceProxyFactoryBean] - Looking for mandatory OSGi service dependency for bean [] matching filter (objectClass=org.mortbay.jetty.Server)
2116 [WebExtender-Init] INFO  org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean  - Found mandatory OSGi service for bean []
WebExtender-Init INFO [support.OsgiServiceProxyFactoryBean] - Found mandatory OSGi service for bean []
2117 [WebExtender-Init] INFO  org.springframework.osgi.web.deployer.jetty.JettyWarDeployer  - Found service Server@5c8ea66a
WebExtender-Init INFO [jetty.JettyWarDeployer] - Found service Server@5c8ea66a
2118 [WebExtender-Init] INFO  org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext  - Publishing application context as OSGi service with properties {org.springframework.context.service.name=org.springframework.osgi.web.extender, Bundle-SymbolicName=org.springframework.osgi.web.extender, Bundle-Version=1.2.1}
WebExtender-Init INFO [support.OsgiBundleXmlApplicationContext] - Publishing application context as OSGi service with properties {org.springframework.context.service.name=org.springframework.osgi.web.extender, Bundle-SymbolicName=org.springframework.osgi.web.extender, Bundle-Version=1.2.1}
2254 [WebExtender-Init] INFO  org.springframework.osgi.web.extender.internal.activator.WarLoaderListener  - Granite Data Services OSGi - Demo Project (graniteds-osgi-demo) is a WAR, scheduling war deployment on context path [/bambuGDS] (web.xml found at [bundleentry://124.fwk731651524/WEB-INF/web.xml])
WebExtender-Init INFO [activator.WarLoaderListener] - Granite Data Services OSGi - Demo Project (graniteds-osgi-demo) is a WAR, scheduling war deployment on context path [/bambuGDS] (web.xml found at [bundleentry://124.fwk731651524/WEB-INF/web.xml])
4947 [Timer-4] INFO  org.springframework.web.context.ContextLoader  - Root WebApplicationContext: initialization started
Timer-4 INFO [context.ContextLoader] - Root WebApplicationContext: initialization started
4952 [Timer-4] INFO  org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext  - Refreshing OsgiBundleXmlWebApplicationContext(bundle=graniteds-osgi-demo, config=/WEB-INF/applicationContext.xml): startup date [Mon Aug 05 11:04:14 CEST 2013]; root of context hierarchy
Timer-4 INFO [support.OsgiBundleXmlWebApplicationContext] - Refreshing OsgiBundleXmlWebApplicationContext(bundle=graniteds-osgi-demo, config=/WEB-INF/applicationContext.xml): startup date [Mon Aug 05 11:04:14 CEST 2013]; root of context hierarchy
4954 [Timer-4] INFO  org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext  - Application Context service already unpublished
Timer-4 INFO [support.OsgiBundleXmlWebApplicationContext] - Application Context service already unpublished
4956 [Timer-4] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from URL [bundleentry://124.fwk731651524/WEB-INF/applicationContext.xml]
Timer-4 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [bundleentry://124.fwk731651524/WEB-INF/applicationContext.xml]
7268 [Timer-4] INFO  org.springframework.context.annotation.ClassPathBeanDefinitionScanner  - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
Timer-4 INFO [annotation.ClassPathBeanDefinitionScanner] - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
10233 [Timer-4] INFO  org.springframework.security.core.SpringSecurityCoreVersion  - You are running with Spring Security Core 3.1.4.RELEASE
Timer-4 INFO [core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.4.RELEASE
10234 [Timer-4] INFO  org.springframework.security.config.SecurityNamespaceHandler  - Spring Security 'config' module version is 3.1.4.RELEASE
Timer-4 INFO [config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.4.RELEASE
10420 [Timer-4] INFO  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor  - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
Timer-4 INFO [annotation.AutowiredAnnotationBeanPostProcessor] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
10693 [Timer-4] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory  - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@32070eb5: defining beans [applicationManager,generalServices,authenticationManager,userDetailsService,contextListener,globalStatisticsService,languageService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,dispatcher,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver#0,localeResolver,localeChangeInterceptor,messageSource,velocityConfig,viewResolver,connectionFactory,cachedConnectionFactory,jmsTemplate,destination,listenerContainer,customDestinationSecurizer,bambuTopic,gravityTopic,org.granite.spring.SpringGraniteConfig,org.granite.spring.gravityFactory,org.granite.spring.ServerFilter_handlerMapping,org.granite.spring.ServerFilter,org.springframework.aop.config.internalAutoProxyCreator,org.granite.tide.spring.DataPublishingAdvisor,org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,identity]; root of factory hierarchy
Timer-4 INFO [support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@32070eb5: defining beans [applicationManager,generalServices,authenticationManager,userDetailsService,contextListener,globalStatisticsService,languageService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,dispatcher,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver#0,localeResolver,localeChangeInterceptor,messageSource,velocityConfig,viewResolver,connectionFactory,cachedConnectionFactory,jmsTemplate,destination,listenerContainer,customDestinationSecurizer,bambuTopic,gravityTopic,org.granite.spring.SpringGraniteConfig,org.granite.spring.gravityFactory,org.granite.spring.ServerFilter_handlerMapping,org.granite.spring.ServerFilter,org.springframework.aop.config.internalAutoProxyCreator,org.granite.tide.spring.DataPublishingAdvisor,org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,identity]; root of factory hierarchy
14835 [Timer-4] INFO  org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping  - Mapped URL path [/languages] onto handler 'languageService'
Timer-4 INFO [annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/languages] onto handler 'languageService'
14835 [Timer-4] INFO  org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping  - Mapped URL path [/languages.*] onto handler 'languageService'
Timer-4 INFO [annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/languages.*] onto handler 'languageService'
14835 [Timer-4] INFO  org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping  - Mapped URL path [/languages/] onto handler 'languageService'
Timer-4 INFO [annotation.DefaultAnnotationHandlerMapping] - Mapped URL path [/languages/] onto handler 'languageService'
14901 [Timer-4] INFO  org.springframework.web.servlet.view.velocity.VelocityConfigurer  - Loading Velocity config from [OSGi resource[/WEB-INF/velocity.properties|bnd.id=124|bnd.sym=graniteds-osgi-demo]]
Timer-4 INFO [velocity.VelocityConfigurer] - Loading Velocity config from [OSGi resource[/WEB-INF/velocity.properties|bnd.id=124|bnd.sym=graniteds-osgi-demo]]
14907 [Timer-4] INFO  org.springframework.web.servlet.view.velocity.VelocityConfigurer  - ClasspathResourceLoader with name 'springMacro' added to configured VelocityEngine
Timer-4 INFO [velocity.VelocityConfigurer] - ClasspathResourceLoader with name 'springMacro' added to configured VelocityEngine
14925 [Timer-4] INFO  org.apache.velocity.app.VelocityEngine  - WebappResourceLoader: added template path - '/WEB-INF/templates/'
Timer-4 INFO [app.VelocityEngine] - WebappResourceLoader: added template path - '/WEB-INF/templates/'
15508 [Timer-4] WARN  org.granite.config.AbstractFrameworkGraniteConfig  - Could not load custom granite-config.xml: "/WEB-INF/granite/granite-config.xml" (file does not exists)
Timer-4 WARN [config.AbstractFrameworkGraniteConfig] - Could not load custom granite-config.xml: "/WEB-INF/granite/granite-config.xml" (file does not exists)
16180 [Timer-4] WARN  org.granite.config.GraniteConfig  - You should configure a deserializer securizer in your granite-config.xml file in order to prevent potential security exploits!
Timer-4 WARN [config.GraniteConfig] - You should configure a deserializer securizer in your granite-config.xml file in order to prevent potential security exploits!
16186 [Timer-4] WARN  org.granite.config.AbstractFrameworkGraniteConfig  - Could not load custom services-config.xml: "/WEB-INF/flex/services-config.xml" (file does not exists)
Timer-4 WARN [config.AbstractFrameworkGraniteConfig] - Could not load custom services-config.xml: "/WEB-INF/flex/services-config.xml" (file does not exists)
16267 [Timer-4] INFO  org.granite.gravity.config.AbstractMessagingDestination  - Registered messaging destination "bambuTopic"
Timer-4 INFO [config.AbstractMessagingDestination] - Registered messaging destination "bambuTopic"
16317 [Timer-4] INFO  org.granite.gravity.config.AbstractMessagingDestination  - Registered messaging destination "gravityTopic"
Timer-4 INFO [config.AbstractMessagingDestination] - Registered messaging destination "gravityTopic"
16341 [Timer-4] INFO  org.granite.spring.ServerFilter  - Registered Tide/Spring service factory and destination "server"
Timer-4 INFO [spring.ServerFilter] - Registered Tide/Spring service factory and destination "server"
16351 [Timer-4] INFO  org.springframework.web.servlet.handler.SimpleUrlHandlerMapping  - Default mapping to handler 'org.granite.spring.ServerFilter'
Timer-4 INFO [handler.SimpleUrlHandlerMapping] - Default mapping to handler 'org.granite.spring.ServerFilter'
16404 [Timer-4] INFO  org.springframework.context.support.DefaultLifecycleProcessor  - Starting beans in phase 2147483647
Timer-4 INFO [support.DefaultLifecycleProcessor] - Starting beans in phase 2147483647
16951 [Timer-4] INFO  org.springframework.jms.connection.CachingConnectionFactory  - Established shared JMS Connection: ActiveMQConnection {id=ID:Dengue-54471-1375693466296-0:0,clientId=null,started=false}
Timer-4 INFO [connection.CachingConnectionFactory] - Established shared JMS Connection: ActiveMQConnection {id=ID:Dengue-54471-1375693466296-0:0,clientId=null,started=false}
17005 [Timer-4] INFO  org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext  - Publishing application context as OSGi service with properties {org.springframework.context.service.name=graniteds-osgi-demo, Bundle-SymbolicName=graniteds-osgi-demo, Bundle-Version=3.0.0.M2}
Timer-4 INFO [support.OsgiBundleXmlWebApplicationContext] - Publishing application context as OSGi service with properties {org.springframework.context.service.name=graniteds-osgi-demo, Bundle-SymbolicName=graniteds-osgi-demo, Bundle-Version=3.0.0.M2}
17008 [Timer-4] INFO  org.springframework.web.context.ContextLoader  - Root WebApplicationContext: initialization completed in 12060 ms
Timer-4 INFO [context.ContextLoader] - Root WebApplicationContext: initialization completed in 12060 ms
17024 [Timer-4] INFO  org.springframework.osgi.web.deployer.jetty.JettyWarDeployer  - Successfully deployed bundle [Granite Data Services OSGi - Demo Project (graniteds-osgi-demo)] at [/bambuGDS] on server Jetty-6.1.x
Timer-4 INFO [jetty.JettyWarDeployer] - Successfully deployed bundle [Granite Data Services OSGi - Demo Project (graniteds-osgi-demo)] at [/bambuGDS] on server Jetty-6.1.x



I was wondering why my 2 servlets declared inside of the web.xml are not being
created by Spring-DM.

Thank you for your help!
Re: DispatcherServlet doesn't initialize within web.xml [message #1079975 is a reply to message #1079943] Mon, 05 August 2013 10:02 Go to previous message
ergu de gaia is currently offline ergu de gaia
Messages: 5
Registered: August 2013
Junior Member
I've found the solution ...

Why this part of the web.xml is causing problem ?????
When I comment this part everything works well


<!-- Spring listener 
    <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>/services/</url-pattern>
	</filter-mapping>
	-->

Previous Topic:ATTN: Gemini Blueprint subproject about to be shut down!
Next Topic:Gemini Naming 1.0.3.RELEASE is now available
Goto Forum:
  


Current Time: Fri Oct 24 17:00:50 GMT 2014

Powered by FUDForum. Page generated in 0.12640 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software