Announcement Announcement Module
Collapse
No announcement yet.
Tiles-example problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tiles-example problem

    Hi,

    I tried to make the tiles-example works on my JBOSS (JBOSS 3.2.5), but I ve a problem when I deploy it (I copy the tiles-example.war to my jboss deploy directory)..

    Here is the log :

    Code:
    11:21:07,531 INFO  [TomcatDeployer] deploy, ctxPath=/tiles-example, warUrl=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp48861tiles-example.war/
    11:21:10,531 INFO  [DispatcherServlet] Initializing servlet 'tiles'
    11:21:10,531 INFO  [DispatcherServlet] Framework servlet 'tiles' init
    11:21:10,531 INFO  [Engine] StandardContext[/tiles-example]Initializing WebApplicationContext for servlet 'tiles'
    11:21:10,531 INFO  [DispatcherServlet] Servlet with name 'tiles' will try to create custom WebApplicationContext context of class 'org.springframework.web.context.support.XmlWebApplicationContext' using parent context [null]
    11:21:10,531 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from resource [/WEB-INF/tiles-servlet.xml] of ServletContext
    11:21:10,578 INFO  [XmlWebApplicationContext] Bean factory for application context [XmlWebApplicationContext for namespace 'tiles-servlet']: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [viewResolver,messageSource,tilesConfigurer,feedConfigurer,urlMapping,viewController]; Root of BeanFactory hierarchy
    11:21:10,578 INFO  [XmlWebApplicationContext] 6 beans defined in ApplicationContext [XmlWebApplicationContext for namespace 'tiles-servlet']
    11:21:10,578 INFO  [DefaultListableBeanFactory] Creating shared instance of singleton bean 'messageSource'
    11:21:10,578 INFO  [UiApplicationContextUtils] No ThemeSource found for [XmlWebApplicationContext for namespace 'tiles-servlet']: using ResourceBundleThemeSource
    11:21:10,578 INFO  [XmlWebApplicationContext] Refreshing listeners
    11:21:10,578 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [viewResolver,messageSource,tilesConfigurer,feedConfigurer,urlMapping,viewController]; Root of BeanFactory hierarchy]
    11:21:10,578 INFO  [DefaultListableBeanFactory] Creating shared instance of singleton bean 'viewResolver'
    11:21:10,578 INFO  [DefaultListableBeanFactory] Creating shared instance of singleton bean 'tilesConfigurer'
    11:21:10,594 INFO  [TilesConfigurer] TilesConfigurer: initializion started
    11:21:10,594 INFO  [TilesConfigurer] TilesConfigurer: adding definitions [/WEB-INF/defs/definitions.xml]
    11:21:10,594 INFO  [DefaultListableBeanFactory] Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [viewResolver,messageSource,tilesConfigurer,feedConfigurer,urlMapping,viewController]; Root of BeanFactory hierarchy}
    11:21:10,594 ERROR [DispatcherServlet] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in resource [/WEB-INF/tiles-servlet.xml] of ServletContext: Initialization of bean failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryException: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactorySet must implement 'TilesDefinitionsFactory'.
    org.apache.struts.tiles.DefinitionsFactoryException: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactorySet must implement 'TilesDefinitionsFactory'.
    	at org.apache.struts.tiles.TilesUtilImpl.createDefinitionFactoryInstance(TilesUtilImpl.java:201)
    	at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:167)
    	at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:205)
    	at org.springframework.web.servlet.view.tiles.TilesConfigurer.createDefinitionsFactory(TilesConfigurer.java:133)
    	at org.springframework.web.servlet.view.tiles.TilesConfigurer.afterPropertiesSet(TilesConfigurer.java:119)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:801)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:249)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:177)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:183)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
    	at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131)
    	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:281)
    	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:229)
    	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:199)
    	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:102)
    	at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019)
    	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
    	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)
    	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)
    	at org.jboss.web.WebModule.startModule(WebModule.java:62)
    	at org.jboss.web.WebModule.startService(WebModule.java:40)
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
    	at $Proxy17.start(Unknown Source)
    	at org.jboss.system.ServiceController.start(ServiceController.java:367)
    	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    	at $Proxy32.start(Unknown Source)
    	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)
    	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
    	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
    	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
    	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    	at $Proxy7.deploy(Unknown Source)
    	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
    	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
    11:21:10,594 ERROR [Engine] StandardContext[/tiles-example]StandardWrapper.Throwable
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in resource [/WEB-INF/tiles-servlet.xml] of ServletContext: Initialization of bean failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryException: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactorySet must implement 'TilesDefinitionsFactory'.
    org.apache.struts.tiles.DefinitionsFactoryException: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactorySet must implement 'TilesDefinitionsFactory'.
    	at org.apache.struts.tiles.TilesUtilImpl.createDefinitionFactoryInstance(TilesUtilImpl.java:201)
    	at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:167)
    	at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:205)
    	at org.springframework.web.servlet.view.tiles.TilesConfigurer.createDefinitionsFactory(TilesConfigurer.java:133)
    	at org.springframework.web.servlet.view.tiles.TilesConfigurer.afterPropertiesSet(TilesConfigurer.java:119)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:801)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:249)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:177)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:183)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
    	at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131)
    	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:281)
    	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:229)
    	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:199)
    	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:102)
    	at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019)
    	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
    	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)
    	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)
    	at org.jboss.web.WebModule.startModule(WebModule.java:62)
    	at org.jboss.web.WebModule.startService(WebModule.java:40)
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
    	at $Proxy17.start(Unknown Source)
    	at org.jboss.system.ServiceController.start(ServiceController.java:367)
    	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    	at $Proxy32.start(Unknown Source)
    	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)
    	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
    	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
    	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
    	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    	at $Proxy7.deploy(Unknown Source)
    	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
    	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
    11:21:10,656 ERROR [Engine] StandardContext[/tiles-example]Servlet /tiles-example threw load() exception
    javax.servlet.ServletException: Servlet.init() for servlet tiles threw exception
    	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1061)
    	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
    	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)
    	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)
    	at org.jboss.web.WebModule.startModule(WebModule.java:62)
    	at org.jboss.web.WebModule.startService(WebModule.java:40)
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
    	at $Proxy17.start(Unknown Source)
    	at org.jboss.system.ServiceController.start(ServiceController.java:367)
    	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    	at $Proxy32.start(Unknown Source)
    	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)
    	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
    	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
    	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
    	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    	at $Proxy7.deploy(Unknown Source)
    	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
    	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
    11:21:10,656 ERROR [Engine] ----- Root Cause -----
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in resource [/WEB-INF/tiles-servlet.xml] of ServletContext: Initialization of bean failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryException: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactorySet must implement 'TilesDefinitionsFactory'.
    org.apache.struts.tiles.DefinitionsFactoryException: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactorySet must implement 'TilesDefinitionsFactory'.
    	at org.apache.struts.tiles.TilesUtilImpl.createDefinitionFactoryInstance(TilesUtilImpl.java:201)
    	at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:167)
    	at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:205)
    	at org.springframework.web.servlet.view.tiles.TilesConfigurer.createDefinitionsFactory(TilesConfigurer.java:133)
    	at org.springframework.web.servlet.view.tiles.TilesConfigurer.afterPropertiesSet(TilesConfigurer.java:119)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:801)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:249)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:177)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:183)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
    	at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131)
    	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:281)
    	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:229)
    	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:199)
    	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:102)
    	at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019)
    	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
    	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)
    	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)
    	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)
    	at org.jboss.web.WebModule.startModule(WebModule.java:62)
    	at org.jboss.web.WebModule.startService(WebModule.java:40)
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
    	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
    	at $Proxy17.start(Unknown Source)
    	at org.jboss.system.ServiceController.start(ServiceController.java:367)
    	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    	at $Proxy32.start(Unknown Source)
    	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)
    	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
    	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
    	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
    	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:324)
    	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    	at $Proxy7.deploy(Unknown Source)
    	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
    	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
    	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
    11:21:10,672 INFO  [Engine] StandardContext[/tiles-example]Loading root WebApplicationContext
    11:21:10,672 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from resource [/WEB-INF/applicationContext.xml] of ServletContext
    11:21:10,687 INFO  [XmlWebApplicationContext] Bean factory for application context [Root XmlWebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [messageSource]; Root of BeanFactory hierarchy
    11:21:10,687 INFO  [XmlWebApplicationContext] 1 beans defined in ApplicationContext [Root XmlWebApplicationContext]
    11:21:10,687 INFO  [DefaultListableBeanFactory] Creating shared instance of singleton bean 'messageSource'
    11:21:10,687 INFO  [UiApplicationContextUtils] No ThemeSource found for [Root XmlWebApplicationContext]: using ResourceBundleThemeSource
    11:21:10,687 INFO  [XmlWebApplicationContext] Refreshing listeners
    11:21:10,687 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [messageSource]; Root of BeanFactory hierarchy]
    11:21:10,703 INFO  [ContextLoader] Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext
    11:21:10,703 INFO  [ContextLoader] Published root WebApplicationContext [org.springframework.web.context.support.XmlWebApplicationContext: displayName=[Root XmlWebApplicationContext]; startup date=[Mon Sep 06 11:21:10 CEST 2004]; root of ApplicationContext hierarchy; config locations=[/WEB-INF/applicationContext.xml]; ] as ServletContext attribute with name [interface org.springframework.web.context.WebApplicationContext.ROOT]
    But, when I start JBOSS and the war file is already in the deploy directory, the deployement went well and the web app works! :shock:

    Can someone tell me the cause fo the first error?

    thx

  • #2
    Another error with tiles

    Re,

    I m doing another tiles sample but when I deployed my project, I ve this error :

    11:57:50,875 INFO [TomcatDeployer] undeploy, ctxPath=/tiles, warUrl=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp24928myTilesTest.war/
    11:57:52,359 INFO [TomcatDeployer] deploy, ctxPath=/tiles, warUrl=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp24929myTilesTest.war/
    11:57:54,750 INFO [DispatcherServlet] Initializing servlet 'tiles'
    11:57:54,765 INFO [DispatcherServlet] Framework servlet 'tiles' init
    11:57:54,765 INFO [Engine] StandardContext[/tiles]Initializing WebApplicationContext for servlet 'tiles'
    11:57:54,765 INFO [DispatcherServlet] Servlet with name 'tiles' will try to create custom WebApplicationContext context of class 'org.springframework.web.context.support.XmlWebApp licationContext' using parent context [null]
    11:57:54,765 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from resource [/WEB-INF/tiles-servlet.xml] of ServletContext
    11:57:54,781 INFO [XmlWebApplicationContext] Bean factory for application context [XmlWebApplicationContext for namespace 'tiles-servlet']: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [viewResolver,tilesConfigurer,urlMapping,viewContro ller]; Root of BeanFactory hierarchy
    11:57:54,781 INFO [XmlWebApplicationContext] 4 beans defined in ApplicationContext [XmlWebApplicationContext for namespace 'tiles-servlet']
    11:57:54,781 INFO [XmlWebApplicationContext] No MessageSource found for context [XmlWebApplicationContext for namespace 'tiles-servlet']: using empty StaticMessageSource
    11:57:54,781 INFO [UiApplicationContextUtils] No ThemeSource found for [XmlWebApplicationContext for namespace 'tiles-servlet']: using ResourceBundleThemeSource
    11:57:54,781 INFO [XmlWebApplicationContext] Refreshing listeners
    11:57:54,781 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [viewResolver,tilesConfigurer,urlMapping,viewContro ller]; Root of BeanFactory hierarchy]
    11:57:54,797 INFO [DefaultListableBeanFactory] Creating shared instance of singleton bean 'viewResolver'
    11:57:54,797 INFO [DefaultListableBeanFactory] Creating shared instance of singleton bean 'tilesConfigurer'
    11:57:54,797 INFO [TilesConfigurer] TilesConfigurer: initializion started
    11:57:54,797 INFO [TilesConfigurer] TilesConfigurer: adding definitions [/WEB-INF/defs/definitions.xml]
    11:57:54,797 INFO [DefaultListableBeanFactory] Destroying singletons in factory {org.springframework.beans.factory.support.Default ListableBeanFactory defining beans [viewResolver,tilesConfigurer,urlMapping,viewContro ller]; Root of BeanFactory hierarchy}
    11:57:54,797 ERROR [DispatcherServlet] Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'tilesConfigurer' defined in resource [/WEB-INF/tiles-servlet.xml] of ServletContext: Initialization of bean failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryExceptio n: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactory Set must implement 'TilesDefinitionsFactory'.
    org.apache.struts.tiles.DefinitionsFactoryExceptio n: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactory Set must implement 'TilesDefinitionsFactory'.
    at org.apache.struts.tiles.TilesUtilImpl.createDefini tionFactoryInstance(TilesUtilImpl.java:201)
    at org.apache.struts.tiles.TilesUtilImpl.createDefini tionsFactory(TilesUtilImpl.java:167)
    at org.apache.struts.tiles.TilesUtil.createDefinition sFactory(TilesUtil.java:205)
    at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.createDefinitionsFactory(TilesConfigurer. java:133)
    at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.afterPropertiesSet(TilesConfigurer.java:1 19)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:801)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:249)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:177)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:159)
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:183)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:268)
    at org.springframework.web.context.support.XmlWebAppl icationContext.refresh(XmlWebApplicationContext.ja va:131)
    at org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:2 81)
    at org.springframework.web.servlet.FrameworkServlet.i nitWebApplicationContext(FrameworkServlet.java:229 )
    at org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:199)
    at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:102)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1019)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:862)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3991)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4335)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:595)
    at sun.reflect.GeneratedMethodAccessor92.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(B aseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:109)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.apache.catalina.core.StandardContext.init(Stan dardContext.java:5412)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(B aseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:109)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal(TomcatDeployer.java:286)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy(TomcatDeployer.java:70)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWe bDeployer.java:306)
    at org.jboss.web.WebModule.startModule(WebModule.java :62)
    at org.jboss.web.WebModule.startService(WebModule.jav a:40)
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start(ServiceMBeanSupport.java:271)
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle(ServiceMBeanSupport.java:221)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.system.ServiceController$ServiceProxy.in voke(ServiceController.java:837)
    at $Proxy17.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceCo ntroller.java:367)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:176)
    at $Proxy32.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractW ebContainer.java:313)
    at org.jboss.deployment.MainDeployer.start(MainDeploy er.java:836)
    at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:645)
    at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:608)
    at sun.reflect.GeneratedMethodAccessor21.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:176)
    at $Proxy7.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy(URLDeploymentScanner.java:304)
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan(URLDeploymentScanner.java:460)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan(AbstractDeploymentScanne r.java:201)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.loop(AbstractDeploymentScanner. java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.run(AbstractDeploymentScanner.j ava:191)
    11:57:54,812 ERROR [Engine] StandardContext[/tiles]StandardWrapper.Throwable
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'tilesConfigurer' defined in resource [/WEB-INF/tiles-servlet.xml] of ServletContext: Initialization of bean failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryExceptio n: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactory Set must implement 'TilesDefinitionsFactory'.
    org.apache.struts.tiles.DefinitionsFactoryExceptio n: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactory Set must implement 'TilesDefinitionsFactory'.
    at org.apache.struts.tiles.TilesUtilImpl.createDefini tionFactoryInstance(TilesUtilImpl.java:201)
    at org.apache.struts.tiles.TilesUtilImpl.createDefini tionsFactory(TilesUtilImpl.java:167)
    at org.apache.struts.tiles.TilesUtil.createDefinition sFactory(TilesUtil.java:205)
    at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.createDefinitionsFactory(TilesConfigurer. java:133)
    at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.afterPropertiesSet(TilesConfigurer.java:1 19)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:801)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:249)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:177)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:159)
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:183)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:268)
    at org.springframework.web.context.support.XmlWebAppl icationContext.refresh(XmlWebApplicationContext.ja va:131)
    at org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:2 81)
    at org.springframework.web.servlet.FrameworkServlet.i nitWebApplicationContext(FrameworkServlet.java:229 )
    at org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:199)
    at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:102)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1019)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:862)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3991)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4335)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:595)
    at sun.reflect.GeneratedMethodAccessor92.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(B aseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:109)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.apache.catalina.core.StandardContext.init(Stan dardContext.java:5412)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(B aseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:109)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal(TomcatDeployer.java:286)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy(TomcatDeployer.java:70)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWe bDeployer.java:306)
    at org.jboss.web.WebModule.startModule(WebModule.java :62)
    at org.jboss.web.WebModule.startService(WebModule.jav a:40)
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start(ServiceMBeanSupport.java:271)
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle(ServiceMBeanSupport.java:221)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.system.ServiceController$ServiceProxy.in voke(ServiceController.java:837)
    at $Proxy17.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceCo ntroller.java:367)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:176)
    at $Proxy32.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractW ebContainer.java:313)
    at org.jboss.deployment.MainDeployer.start(MainDeploy er.java:836)
    at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:645)
    at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:608)
    at sun.reflect.GeneratedMethodAccessor21.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:176)
    at $Proxy7.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy(URLDeploymentScanner.java:304)
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan(URLDeploymentScanner.java:460)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan(AbstractDeploymentScanne r.java:201)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.loop(AbstractDeploymentScanner. java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.run(AbstractDeploymentScanner.j ava:191)
    11:57:54,812 ERROR [Engine] StandardContext[/tiles]Servlet /tiles threw load() exception
    javax.servlet.ServletException: Servlet.init() for servlet tiles threw exception
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1061)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:862)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3991)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4335)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:595)
    at sun.reflect.GeneratedMethodAccessor92.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(B aseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:109)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.apache.catalina.core.StandardContext.init(Stan dardContext.java:5412)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(B aseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:109)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal(TomcatDeployer.java:286)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy(TomcatDeployer.java:70)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWe bDeployer.java:306)
    at org.jboss.web.WebModule.startModule(WebModule.java :62)
    at org.jboss.web.WebModule.startService(WebModule.jav a:40)
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start(ServiceMBeanSupport.java:271)
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle(ServiceMBeanSupport.java:221)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.system.ServiceController$ServiceProxy.in voke(ServiceController.java:837)
    at $Proxy17.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceCo ntroller.java:367)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:176)
    at $Proxy32.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractW ebContainer.java:313)
    at org.jboss.deployment.MainDeployer.start(MainDeploy er.java:836)
    at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:645)
    at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:608)
    at sun.reflect.GeneratedMethodAccessor21.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:176)
    at $Proxy7.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy(URLDeploymentScanner.java:304)
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan(URLDeploymentScanner.java:460)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan(AbstractDeploymentScanne r.java:201)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.loop(AbstractDeploymentScanner. java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.run(AbstractDeploymentScanner.j ava:191)
    11:57:54,812 ERROR [Engine] ----- Root Cause -----
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'tilesConfigurer' defined in resource [/WEB-INF/tiles-servlet.xml] of ServletContext: Initialization of bean failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryExceptio n: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactory Set must implement 'TilesDefinitionsFactory'.
    org.apache.struts.tiles.DefinitionsFactoryExceptio n: Error - createDefinitionsFactory : Factory class 'org.apache.struts.tiles.xmlDefinition.I18nFactory Set must implement 'TilesDefinitionsFactory'.
    at org.apache.struts.tiles.TilesUtilImpl.createDefini tionFactoryInstance(TilesUtilImpl.java:201)
    at org.apache.struts.tiles.TilesUtilImpl.createDefini tionsFactory(TilesUtilImpl.java:167)
    at org.apache.struts.tiles.TilesUtil.createDefinition sFactory(TilesUtil.java:205)
    at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.createDefinitionsFactory(TilesConfigurer. java:133)
    at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.afterPropertiesSet(TilesConfigurer.java:1 19)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:801)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:249)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:177)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:159)
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:183)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:268)
    at org.springframework.web.context.support.XmlWebAppl icationContext.refresh(XmlWebApplicationContext.ja va:131)
    at org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:2 81)
    at org.springframework.web.servlet.FrameworkServlet.i nitWebApplicationContext(FrameworkServlet.java:229 )
    at org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:199)
    at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:102)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1019)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:862)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3991)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4335)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:595)
    at sun.reflect.GeneratedMethodAccessor92.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(B aseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:109)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.apache.catalina.core.StandardContext.init(Stan dardContext.java:5412)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.modeler.BaseModelMBean.invoke(B aseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:109)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal(TomcatDeployer.java:286)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy(TomcatDeployer.java:70)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWe bDeployer.java:306)
    at org.jboss.web.WebModule.startModule(WebModule.java :62)
    at org.jboss.web.WebModule.startService(WebModule.jav a:40)
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start(ServiceMBeanSupport.java:271)
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle(ServiceMBeanSupport.java:221)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.system.ServiceController$ServiceProxy.in voke(ServiceController.java:837)
    at $Proxy17.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceCo ntroller.java:367)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:176)
    at $Proxy32.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractW ebContainer.java:313)
    at org.jboss.deployment.MainDeployer.start(MainDeploy er.java:836)
    at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:645)
    at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:608)
    at sun.reflect.GeneratedMethodAccessor21.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(R eflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation .java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:473)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:176)
    at $Proxy7.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy(URLDeploymentScanner.java:304)
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan(URLDeploymentScanner.java:460)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan(AbstractDeploymentScanne r.java:201)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.loop(AbstractDeploymentScanner. java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.run(AbstractDeploymentScanner.j ava:191)
    My tiles-servlet is nearly the same as the one provide with the tiles-example :
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http&#58;//www.springframework.org/dtd/spring-beans.dtd">
    <beans>
    	<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    		<property name="viewClass">
    			<value>org.springframework.web.servlet.view.tiles.TilesJstlView</value>
    		</property>
    	</bean>
    	<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles.TilesConfigurer">
    		<property name="definitions">
    			<list>
    				<value>/WEB-INF/defs/definitions.xml</value>
    			</list>
    		</property>
    	</bean>
    	<bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    		<property name="mappings">
    			<props>
    				<prop key="/*.htm">viewController</prop>
    			</props>
    		</property>
    	</bean>
    	<bean id="viewController" class="org.springframework.web.servlet.mvc.UrlFilenameViewController"/>
    </beans>

    How can I also fix this error?

    Comment


    • #3
      Strange...

      I ve notice something :

      when I start JBOSS and my web app is already in the deploy directory, my web app is successfully deployed by jboss.
      Code:
      &#91;TomcatDeployer&#93; deploy, ctxPath=/tiles, warUrl=file&#58;/C&#58;/jboss-3.2.5/server/default/tmp/deploy/tmp17385myTilesTest.war/
      13&#58;27&#58;49,515 INFO  &#91;DispatcherServlet&#93; Initializing servlet 'tiles'
      13&#58;27&#58;49,515 INFO  &#91;DispatcherServlet&#93; Framework servlet 'tiles' init
      13&#58;27&#58;49,515 INFO  &#91;Engine&#93; StandardContext&#91;/tiles&#93;Initializing WebApplicationContext for servlet 'tiles'
      13&#58;27&#58;49,515 INFO  &#91;DispatcherServlet&#93; Servlet with name 'tiles' will try to create custom WebApplicationContext context of class 'org.springframework.web.context.support.XmlWebApplicationContext' using parent context &#91;null&#93;
      13&#58;27&#58;49,515 INFO  &#91;XmlBeanDefinitionReader&#93; Loading XML bean definitions from resource &#91;/WEB-INF/tiles-servlet.xml&#93; of ServletContext
      13&#58;27&#58;49,578 INFO  &#91;XmlWebApplicationContext&#93; Bean factory for application context &#91;XmlWebApplicationContext for namespace 'tiles-servlet'&#93;&#58; org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;viewResolver,tilesConfigurer,urlMapping,viewController&#93;; Root of BeanFactory hierarchy
      13&#58;27&#58;49,578 INFO  &#91;XmlWebApplicationContext&#93; 4 beans defined in ApplicationContext &#91;XmlWebApplicationContext for namespace 'tiles-servlet'&#93;
      13&#58;27&#58;49,578 INFO  &#91;XmlWebApplicationContext&#93; No MessageSource found for context &#91;XmlWebApplicationContext for namespace 'tiles-servlet'&#93;&#58; using empty StaticMessageSource
      13&#58;27&#58;49,578 INFO  &#91;UiApplicationContextUtils&#93; No ThemeSource found for &#91;XmlWebApplicationContext for namespace 'tiles-servlet'&#93;&#58; using ResourceBundleThemeSource
      13&#58;27&#58;49,578 INFO  &#91;XmlWebApplicationContext&#93; Refreshing listeners
      13&#58;27&#58;49,578 INFO  &#91;DefaultListableBeanFactory&#93; Pre-instantiating singletons in factory &#91;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;viewResolver,tilesConfigurer,urlMapping,viewController&#93;; Root of BeanFactory hierarchy&#93;
      13&#58;27&#58;49,578 INFO  &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'viewResolver'
      13&#58;27&#58;49,625 INFO  &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'tilesConfigurer'
      13&#58;27&#58;49,703 INFO  &#91;TilesConfigurer&#93; TilesConfigurer&#58; initializion started
      13&#58;27&#58;49,703 INFO  &#91;TilesConfigurer&#93; TilesConfigurer&#58; adding definitions &#91;/WEB-INF/defs/definitions.xml&#93;
      13&#58;27&#58;49,797 INFO  &#91;PropertyMessageResources&#93; Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
      13&#58;27&#58;49,953 INFO  &#91;TilesConfigurer&#93; TilesConfigurer&#58; initialization completed
      13&#58;27&#58;49,953 INFO  &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'urlMapping'
      13&#58;27&#58;49,953 INFO  &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'viewController'
      13&#58;27&#58;49,969 INFO  &#91;SimpleUrlHandlerMapping&#93; Mapped URL path &#91;/*.htm&#93; onto handler &#91;[email protected]44c&#93;
      13&#58;27&#58;49,969 INFO  &#91;DispatcherServlet&#93; Using context class 'org.springframework.web.context.support.XmlWebApplicationContext' for servlet 'tiles'
      13&#58;27&#58;49,984 INFO  &#91;DispatcherServlet&#93; Published WebApplicationContext of servlet 'tiles' as ServletContext attribute with name &#91;org.springframework.web.servlet.FrameworkServlet.CONTEXT.tiles&#93;
      13&#58;27&#58;49,984 INFO  &#91;DispatcherServlet&#93; Unable to locate MultipartResolver with name &#91;multipartResolver&#93;&#58; no multipart handling provided
      13&#58;27&#58;49,984 INFO  &#91;DispatcherServlet&#93; Unable to locate LocaleResolver with name 'localeResolver'&#58; using default &#91;[email protected]ae93e&#93;
      13&#58;27&#58;49,984 INFO  &#91;DispatcherServlet&#93; Unable to locate ThemeResolver with name 'themeResolver'&#58; using default &#91;org.springframework.web.servlet.theme.FixedThemeResolver@e6f970&#93;
      13&#58;27&#58;49,984 INFO  &#91;DispatcherServlet&#93; No HandlerAdapters found in servlet 'tiles'&#58; using default
      13&#58;27&#58;49,984 INFO  &#91;DispatcherServlet&#93; Framework servlet 'tiles' init completed in 469 ms
      13&#58;27&#58;49,984 INFO  &#91;DispatcherServlet&#93; Servlet 'tiles' configured successfully
      but when I try to redeploy my web app, the error I specified in my previous post occurs :evil:

      May be it is a problem with JBOSS ... Any idea?

      Comment


      • #4
        A solution

        Re,

        I found a solution : I place the jar struts-1.1.jar in my JBOSS server lib directory (JBOSS/server/default/lib) ... I don't know why I have to do that since I ve this jar in my web app lib directory (WEB-INF/lib/) :?
        So I decided to keep this jar in my web lib directory (in the case I deploy my web app in another application server) and to have also a struts.jar in my server lib directory.

        I hope this will help someone else..

        if someone have another solution or could explain me, it would be great!

        Comment


        • #5
          Loading of tiles factory Class fails

          Hi,

          I am trying tiles with Spring, but in my case i get this error:

          [java] org.springframework.beans.factory.BeanCreationExce ption: Error creat
          ing bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-IN
          F/springapp-servlet.xml]: Instantiation of bean failed; nested exception is org.
          springframework.beans.FatalBeanException: Could not instantiate class [org.sprin
          gframework.web.servlet.view.tiles.TilesConfigurer]; constructor threw exception;
          nested exception is java.lang.NoClassDefFoundError: org.apache.struts.tiles.xml
          Definition.I18nFactorySet
          [java] org.springframework.beans.FatalBeanException: Could not instantiate
          class [org.springframework.web.servlet.view.tiles.TilesCo nfigurer]; constructor
          threw exception; nested exception is java.lang.NoClassDefFoundError: org.apache.
          struts.tiles.xmlDefinition.I18nFactorySet
          [java] java.lang.NoClassDefFoundError: org.apache.struts.tiles.xmlDefinitio
          n.I18nFactorySet
          [java] at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.cl
          ass$(TilesConfigurer.java:64)
          [java] at org.springframework.web.servlet.view.tiles.TilesCo nfigurer.<i
          nit>(TilesConfigurer.java:64)
          [java] at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native
          Method)
          [java] at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeC
          onstructorAccessorImpl.java:39)
          [java] at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Del
          egatingConstructorAccessorImpl.java:27)
          [java] at java.lang.reflect.Constructor.newInstance(Construc tor.java:49
          4)
          [java] at org.springframework.beans.BeanUtils.instantiateCla ss(BeanUtil
          s.java:172)
          [java] at org.springframework.beans.BeanUtils.instantiateCla ss(BeanUtil
          s.java:148)
          [java] at org.springframework.beans.factory.support.SimpleIn stantiation
          Strategy.instantiate(SimpleInstantiationStrategy.j ava:52)
          [java] at org.springframework.beans.factory.support.Abstract AutowireCap
          ableBeanFactory.instantiateBean(AbstractAutowireCa pableBeanFactory.java:486)
          [java] at org.springframework.beans.factory.support.Abstract AutowireCap
          ableBeanFactory.createBean(AbstractAutowireCapable BeanFactory.java:362)
          [java] at org.springframework.beans.factory.support.Abstract BeanFactory
          .getBean(AbstractBeanFactory.java:233)
          [java] at org.springframework.beans.factory.support.Abstract BeanFactory
          .getBean(AbstractBeanFactory.java:145)
          [java] at org.springframework.beans.factory.support.DefaultL istableBean
          Factory.preInstantiateSingletons(DefaultListableBe anFactory.java:283)
          [java] at org.springframework.context.support.AbstractApplic ationContex
          t.refresh(AbstractApplicationContext.java:313)



          I tried copying struts.jar in both places webapp/springapp as well in server/lib
          but its not helping.

          Please help:

          What are the jars i have to copy ? And where I have to copy them for tiles with Spring.

          Best Regards,
          Amit

          Comment

          Working...
          X