7 Replies Latest reply: Nov 25, 2010 12:11 AM by jaikiran pai RSS

JBossContextConfig] Error processing: context.xml: org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException: No DistributedCacheManagerFactory service provider found.

Kuntal Mondal Newbie

I am using the recent JBoss-6.0-CR1 release with default configuration.

My web.war fails to deploy throwing following error.

I could not understand if it is related to my application or I am missing some required configuration changes?

My EJBs are deployed fine. I am using Spring Security (Rel 3) in my web module for user authorization/authentication.

Can anyone pls. guide me to figure out the error?

 

==========================================

 

11:43:19,314 INFO  [TomcatDeployment] deploy, ctxPath=/edm
11:43:19,375 ERROR [JBossContextConfig] Error processing: context.xml: org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException: No DistributedCacheManagerFactory service provider found.
at org.jboss.web.tomcat.service.session.JBossCacheManager.<init>(JBossCacheManager.java:195) [:6.0.0.20101110-CR1]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_18]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_18]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_18]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_18]
at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_18]
at java.lang.Class.newInstance(Class.java:308) [:1.6.0_18]
at org.jboss.web.tomcat.service.deployers.TomcatService.getInstance(TomcatService.java:421) [:6.0.0.20101110-CR1]
at org.jboss.web.tomcat.service.deployers.JBossContextConfig.initManager(JBossContextConfig.java:1230) [:6.0.0.20101110-CR1]
at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:814) [:6.0.0.20101110-CR1]
at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:697) [:6.0.0.20101110-CR1]
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:192) [:6.0.0.20101110-CR1]
at org.jboss.web.tomcat.service.deployers.JBossContextConfig.lifecycleEvent(JBossContextConfig.java:206) [:6.0.0.20101110-CR1]
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [:6.0.0.20101110-CR1]
at org.apache.catalina.core.StandardContext.init(StandardContext.java:4746) [:6.0.0.20101110-CR1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3653) [:6.0.0.20101110-CR1]
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) [:6.0.0.20101110-CR1]
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:149) [:6.0.0.20101110-CR1]
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) [:6.0.0.20101110-CR1]
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.20101110-CR1]
at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.20101110-CR1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_18]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_18]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_18]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_18]
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.Beta5]
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.Beta5]
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.Beta5]
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.Beta5]
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.Beta5]
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.Alpha10]
at $Proxy41.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.Alpha10]
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.Alpha10]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.Alpha8]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.Alpha8]
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.Alpha8]
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha8]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha8]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.20101110-CR1]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130) [:0.1.0.Alpha1]
at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:148) [:0.1.0.Alpha1]
at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.1.0.Alpha1]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.profileservice.dependency.ProfileServiceController.activate(ProfileServiceController.java:188) [:0.1.0.Alpha1]
at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:170) [:0.1.0.Alpha1]
at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:117) [:0.1.0.Alpha1]
at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:89) [:0.1.0.Alpha1]
at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:97) [:0.1.0.Alpha1]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:130) [:6.0.0.20101110-CR1]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20101110-CR1]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]

11:43:19,520 ERROR [ContextConfig] Marking this application unavailable due to previous error(s)
11:43:19,522 ERROR [StandardContext] Context [/edm] startup failed due to previous errors
11:43:19,554 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/edm state=Create mode=Manual requiredState=Installed: org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0-CR1/server/default/deploy/edm.ear/web.war/ deployment failed
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:336) [:6.0.0.20101110-CR1]
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:149) [:6.0.0.20101110-CR1]
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) [:6.0.0.20101110-CR1]
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.20101110-CR1]
at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.20101110-CR1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_18]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_18]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_18]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_18]
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.Beta5]
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.Beta5]
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.Beta5]
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.Beta5]
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.Beta5]
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.Alpha10]
at $Proxy41.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.Alpha10]
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.Alpha10]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.Alpha8]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.Alpha8]
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.Alpha8]
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha8]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha8]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha8]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.20101110-CR1]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130) [:0.1.0.Alpha1]
at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:148) [:0.1.0.Alpha1]
at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.1.0.Alpha1]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
at org.jboss.profileservice.dependency.ProfileServiceController.activate(ProfileServiceController.java:188) [:0.1.0.Alpha1]
at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:170) [:0.1.0.Alpha1]
at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:117) [:0.1.0.Alpha1]
at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:89) [:0.1.0.Alpha1]
at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:97) [:0.1.0.Alpha1]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:130) [:6.0.0.20101110-CR1]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20101110-CR1]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]

11:43:19,729 INFO  [service] Removing bootstrap log handlers

  • 2. Re: JBossContextConfig] Error processing: context.xml: org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException: No DistributedCacheManagerFactory service provider found.
    Kuntal Mondal Newbie

    Hello Jaikiran,

    I am using Spring Security (Rel 3.0.3).

    I have "web.xml", "applicationContext-security.xml" and "applicationContext-business.xml" files.

     

     

    My web.xml is like

    ==================

    <?xml version="1.0" encoding="UTF-8"?>

     

    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

     

        <display-name>eDiscovery</display-name>

        <distributable/>

     

        <session-config>

            <session-timeout>10</session-timeout>

        </session-config>

     

        <!-- Spring configuration file location -->

        <context-param>

            <param-name>contextConfigLocation</param-name>

            <param-value>

                /WEB-INF/applicationContext-business.xml

                /WEB-INF/applicationContext-security.xml

            </param-value>

        </context-param>

     

        <!-- Let Spring handle all requests coming to the web application through this filter. -->

        <filter>

            <filter-name>springSecurityFilterChain</filter-name>

            <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>

        </filter>

     

     

        <!-- All the requests to be handled by the above filter -->

     

        <filter-mapping>

     

            <filter-name>springSecurityFilterChain</filter-name>

     

            <url-pattern>/*</url-pattern>

     

        </filter-mapping>

     

        <!--  Application listener -->

        <listener>

            <listener-class>com.im.server.edm.utils.ApplicationContextListener</listener-class>

        </listener>

     

        <!-- To start/stop Spring framework automatically. -->

        <listener>

            <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

        </listener>

     

        <listener>

            <listener-class>com.im.server.edm.results.ResultCacheSessionHandler</listener-class>

        </listener>

     

        <servlet>

            <servlet-name>StartupServlet</servlet-name>

            <servlet-class>com.im.server.edm.rpc.StartupServlet</servlet-class>

            <load-on-startup>1</load-on-startup>

        </servlet>

     

        <!-- JobConsoleService -->

        <servlet>

            <servlet-name>JobConsoleService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.JobConsoleServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>JobConsoleService</servlet-name>

            <url-pattern>/ediscovery/JobConsoleService</url-pattern>

        </servlet-mapping>

     

        <!-- ProjectService -->

        <servlet>

            <servlet-name>ProjectService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.ProjectServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>ProjectService</servlet-name>

            <url-pattern>/ediscovery/ProjectService</url-pattern>

        </servlet-mapping>

     

        <servlet>

            <servlet-name>LdapService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.LdapServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>LdapService</servlet-name>

            <url-pattern>/ediscovery/LdapService</url-pattern>

        </servlet-mapping>

     

        <servlet>

            <servlet-name>UserService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.UserServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>UserService</servlet-name>

            <url-pattern>/ediscovery/UserService</url-pattern>

        </servlet-mapping>

     

        <servlet>

            <servlet-name>QueryService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.QueryServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>QueryService</servlet-name>

            <url-pattern>/ediscovery/QueryService</url-pattern>

        </servlet-mapping>

     

        <servlet>

            <servlet-name>EmailResultsService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.EmailResultsServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>EmailResultsService</servlet-name>

            <url-pattern>/ediscovery/EmailResultsService</url-pattern>

        </servlet-mapping>

     

        <servlet>

            <servlet-name>HoldService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.HoldServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>HoldService</servlet-name>

            <url-pattern>/ediscovery/HoldService</url-pattern>

        </servlet-mapping>

     

        <servlet>

            <servlet-name>RoleService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.RoleServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>RoleService</servlet-name>

            <url-pattern>/ediscovery/RoleService</url-pattern>

        </servlet-mapping>

     

        <!-- CollectionRemote -->

        <servlet>

            <servlet-name>CollectionService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.CollectionServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>CollectionService</servlet-name>

            <url-pattern>/ediscovery/CollectionService</url-pattern>

        </servlet-mapping>

     

        <!-- ResultService -->

        <servlet>

            <servlet-name>ResultService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.ResultServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>ResultService</servlet-name>

            <url-pattern>/ediscovery/ResultService</url-pattern>

        </servlet-mapping>

     

        <!-- DatasourceService -->

        <servlet>

            <servlet-name>DatasourceService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.DatasourceServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>DatasourceService</servlet-name>

            <url-pattern>/ediscovery/DatasourceService</url-pattern>

        </servlet-mapping>

     

        <!-- AllQueryResultsService -->

        <servlet>

            <servlet-name>AllQueryResultsService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.AllQueryResultsServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>AllQueryResultsService</servlet-name>

            <url-pattern>/ediscovery/AllQueryResultsService</url-pattern>

        </servlet-mapping>

     

        <!-- SmtpService -->

        <servlet>

            <servlet-name>SmtpService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.SmtpServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>SmtpService</servlet-name>

            <url-pattern>/ediscovery/SmtpService</url-pattern>

        </servlet-mapping>

     

        <!-- SmtpService -->

        <servlet>

            <servlet-name>SystemSettingsService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.SystemSettingsServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>SystemSettingsService</servlet-name>

            <url-pattern>/ediscovery/SystemSettingsService</url-pattern>

        </servlet-mapping>

     

        <!-- SecurityService -->

        <servlet>

            <servlet-name>SecurityService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.SecurityServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>SecurityService</servlet-name>

            <url-pattern>/ediscovery/SecurityService</url-pattern>

        </servlet-mapping>

     

        <!-- LogoutServlet -->

        <servlet>

            <servlet-name>LogoutServlet</servlet-name>

            <servlet-class>com.im.server.edm.servlet.LogoutServlet</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>LogoutServlet</servlet-name>

            <url-pattern>/logout</url-pattern>

        </servlet-mapping>

     

        <!-- CheckLostPasswordServlet -->

        <servlet>

            <servlet-name>CheckLostPasswordServlet</servlet-name>

            <servlet-class>com.im.server.edm.servlet.CheckLostPasswordServlet</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>CheckLostPasswordServlet</servlet-name>

            <url-pattern>/lostpassword</url-pattern>

        </servlet-mapping>

     

        <!-- RecoverPasswordServlet -->

        <servlet>

            <servlet-name>ResetPasswordServlet</servlet-name>

            <servlet-class>com.im.server.edm.servlet.ResetPasswordServlet</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>ResetPasswordServlet</servlet-name>

            <url-pattern>/resetpassword</url-pattern>

        </servlet-mapping>

     

        <!-- ChangePasswordServlet -->

        <servlet>

            <servlet-name>ChangePasswordServlet</servlet-name>

            <servlet-class>com.im.server.edm.servlet.ChangePasswordServlet</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>ChangePasswordServlet</servlet-name>

            <url-pattern>/changepassword</url-pattern>

        </servlet-mapping>

     

        <!-- AccessTimeService -->

        <servlet>

            <servlet-name>AccessTimeService</servlet-name>

            <servlet-class>com.im.server.edm.rpc.AccessTimeServiceImpl</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>AccessTimeService</servlet-name>

            <url-pattern>/ediscovery/AccessTimeService</url-pattern>

        </servlet-mapping>

     

        <servlet>

            <servlet-name>DownloadServlet</servlet-name>

            <servlet-class>com.im.server.edm.rpc.DownloadServlet</servlet-class>

        </servlet>

        <servlet-mapping>

            <servlet-name>DownloadServlet</servlet-name>

            <url-pattern>/ediscovery/download</url-pattern>

        </servlet-mapping>

     

        <!-- Servlets -->

        <!-- Default page to serve -->

        <welcome-file-list>

            <welcome-file>EDiscovery.html</welcome-file>

        </welcome-file-list>

     

    </web-app>

     

    ===========================

     

    The "applicationContext-security.xml" file looks like

    =========

    <?xml version="1.0" encoding="UTF-8"?>

     

    <beans:beans xmlns="http://www.springframework.org/schema/security"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xmlns:beans="http://www.springframework.org/schema/beans"
                 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
            http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">

     

        <global-method-security pre-post-annotations="enabled">
        </global-method-security>

     

        <beans:bean id="edmAuthenticationFilter" class="com.im.server.edm.servlet.filter.AuthenticationSecurityFilter">
            <beans:property name="authenticationManager" ref="authenticationManagerAlias"/>
            <beans:property name="defaultFailureUrl" value="/login.jsp?LoginFailed=1"/>
            <beans:property name="defaultSuccessUrl" value="/EDiscovery.html"/>
            <beans:property name="alwasysUseDefaultTarget" value="fase"/>
        </beans:bean>

     

        <beans:bean id="loginUrlAuthenticationEntryPoint" class="org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint">
            <beans:property name="loginFormUrl" value="/login.jsp"/>
            <beans:property name="forceHttps" value="false"/>
        </beans:bean>

     

        <beans:bean id="jbossSecurityFilter" class="com.im.server.edm.servlet.filter.JBossSecurityFilter">
            <beans:property name="clientLoginDomain" value="client-login"/>
            <beans:property name="callbackHandler">
                <beans:bean class="com.im.server.edm.servlet.filter.SecurityContextHolderAwareCallbackHandler"/>
            </beans:property>
        </beans:bean>

     

        <http use-expressions="true" entry-point-ref="loginUrlAuthenticationEntryPoint">
            <custom-filter ref="edmAuthenticationFilter" position="FORM_LOGIN_FILTER"/>
            <custom-filter ref ="jbossSecurityFilter" after="SERVLET_API_SUPPORT_FILTER"/>

     

            <!-- control the url access here -->
            <intercept-url pattern="/login.jsp" access="permitAll"/>
            <intercept-url pattern="/lostpassword.jsp" access="permitAll"/>
            <intercept-url pattern="/lostpassword" access="permitAll"/>
            <intercept-url pattern="/resetpassword" access="permitAll"/>
            <intercept-url pattern="/resetConfirmation" access="permitAll"/>
            <intercept-url pattern="/changePassword.jsp" access="permitAll"/>
            <intercept-url pattern="/changepassword" access="permitAll"/>
            <intercept-url pattern="/imf/**" access="permitAll"/>
            <intercept-url pattern="/edm/**" access="permitAll"/>

     

            <intercept-url pattern="/EDiscovery.html" access="isAuthenticated()"/>
            <intercept-url pattern="/ediscovery/**" access="isAuthenticated()"/>

     

            <logout logout-success-url="/login.jsp"/>

     

            <session-management session-authentication-error-url="/login.jsp" invalid-session-url="/login.jsp">
                <concurrency-control max-sessions="1" error-if-maximum-exceeded="true"/>
            </session-management>

     

        </http>

     


        <authentication-manager alias="authenticationManagerAlias">

     

            <!-- DM built-in authentication -->
            <authentication-provider>
                <password-encoder hash="md5"/>
                <jdbc-user-service data-source-ref="jndiDataSource"
                                   users-by-username-query="select name, password, enabled from EDIS_USER where built_in&lt;&gt;0 and name=?"
                                   authorities-by-username-query="select m.name,p.name from EDIS_USER m,
                      EDIS_ROLE p where m.name=? and m.application_role_id=p.id"/>
            </authentication-provider>

     

        </authentication-manager>

     

        <beans:bean id="jndiDataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
            <beans:property name="jndiName">
                <beans:value>java:/edmManaged</beans:value>
            </beans:property>
        </beans:bean>

     

        <beans:bean id="dmBeanPostProcessor" class="com.im.server.edm.config.DMBeanPostProcessor"/>

     

    </beans:beans>

    ===============

     

    The "applicationContext-business.xml" file looks like

    =============

    <?xml version="1.0" encoding="UTF-8"?>

     

    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

     

        <bean id="loginEvenHandlerBean" class="com.im.server.edm.security.AuthenticationEventHandler"/>

     

    </beans>

    ====================

     

    My "WEB-INF\lib" has following jars

    ============

    commons-codec-1.4.jar                              org.springframework.beans-3.0.3.RELEASE.jar        poi-scratchpad-3.7-20101029.jar
    commons-io-1.4.jar                                 org.springframework.context-3.0.3.RELEASE.jar      spring-security-acl-3.0.3.RELEASE.jar
    commons-lang-2.5.jar                               org.springframework.core-3.0.3.RELEASE.jar         spring-security-config-3.0.3.RELEASE.jar
    commons-logging-1.1.1.jar                          org.springframework.expression-3.0.3.RELEASE.jar   spring-security-core-3.0.3.RELEASE.jar
    dom4j-1.6.1.jar                                    org.springframework.jdbc-3.0.3.RELEASE.jar         spring-security-ldap-3.0.3.RELEASE.jar
    gwt-servlet.jar                                    org.springframework.ldap-1.3.0.RELEASE.jar         spring-security-taglibs-3.0.3.RELEASE.jar
    gxt.jar                                            org.springframework.web-3.0.3.RELEASE.jar          spring-security-web-3.0.3.RELEASE.jar
    junit-4.7.jar                                      org.springframework.web.servlet-3.0.3.RELEASE.jar  spring-tx-3.0.3.RELEASE.jar
    org.springframework.aop-3.0.3.RELEASE.jar          poi-3.7-20101029.jar                               spring-web-3.0.3.RELEASE.jar
    org.springframework.asm-3.0.3.RELEASE.jar          poi-ooxml-3.7-20101029.jar
    org.springframework.aspects-3.0.3.RELEASE.jar      poi-ooxml-schemas-3.7-20101029.jar

    =====================

     

    Pls. let me know if you need any other information.

    And many, many thanks for looking into this issue.

  • 3. Re: JBossContextConfig] Error processing: context.xml: org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException: No DistributedCacheManagerFactory service provider found.
    Kuntal Mondal Newbie

    My EAR module has following third-party jars.

    My EJBs are deployed fine.

    ==================================

    annotations.jar
    aopalliance.jar
    asm-2.2.3.jar
    commons-codec-1.4.jar
    commons-io-1.4.jar
    commons-lang-2.5.jar
    commons-logging-1.1.1.jar
    dom4j-1.6.1.jar
    jericho-html-3.1.jar
    lucene-core-3.0.2.jar
    mysql-connector-java-5.1.13-bin.jar
    poi-3.7-20101029.jar
    poi-ooxml-3.7-20101029.jar
    poi-ooxml-schemas-3.7-20101029.jar
    poi-scratchpad-3.7-20101029.jar
    queryparser.jar
    spring-security-core-3.0.3.RELEASE.jar

  • 4. Re: JBossContextConfig] Error processing: context.xml: org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException: No DistributedCacheManagerFactory service provider found.
    jaikiran pai Master

    I was mainly interested in the web.xml to see if it had the <distributable/> tag. And your post shows that it does have that tag. Till we figure out what the issue is, try removing that tag as a workaround.

  • 5. Re: JBossContextConfig] Error processing: context.xml: org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException: No DistributedCacheManagerFactory service provider found.
    jaikiran pai Master

    This one looks related to the recent changes around cache implementations in AS trunk. In earlier versions, when <distributable/> web app was deployed in a non-clustered profile (like "default"), the server would silently log a message and ignore the absence of a cache implementation. Looks like in the recent version, it throws an error.

     

    I'll update http://jira.jboss.org/browse/JBAS-8661

  • 6. Re: JBossContextConfig] Error processing: context.xml: org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException: No DistributedCacheManagerFactory service provider found.
    Kuntal Mondal Newbie

    Hi Jaikiran,

    Yes !- It works now!

    Many thanks for your help.

     

    Our web application is not a clustered one - so I can comment out the <distributable/> tag.

    But with final 6.0-GA release I can keep this tag - right? - or I  should remove the tag all the time unless I use the clustered  configuration?

     

     

    Cheers,

    - kuntal

  • 7. Re: JBossContextConfig] Error processing: context.xml: org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException: No DistributedCacheManagerFactory service provider found.
    jaikiran pai Master

    Kuntal Mondal wrote:

     


    But with final 6.0-GA release I can keep this tag - right? - or I  should remove the tag all the time unless I use the clustered  configuration?

     

    From what I see in the SVN commits for that JIRA, you can keep that tag even in "default" profile, after 6.0 Final is released. The server will just log a WARN message that clustering isn't support and just move on.