IIRC the Tiles tags and possibly the DTD has changed; I had to update at least my tiles tags between 2.0.6 -> 2.0.8.
d. --- "Jiang, Jane (NIH/NCI) [C]" <[EMAIL PROTECTED]> wrote: > Hi all, > > Has any one got tiles plug-in to work with tiles > version 2.0.3 or 2.0.4? > > We have developed a Struts 2 application that uses > tiles plug in 2.0.6 > with tiles-api-2.0-20070207.130156-4.jar and > tiles-core-2.0-20070207.130156-4.jar. When I tried > to replace these two > jar files with the three 2.0.3 tiles jar files. I > could not start my > application in Tomcat. This is the error I got. > > ERROR Thread-1 > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/acr] > - > Exception sending context initialized event to > listener instance of > class org.apache.struts2.tiles.StrutsTilesListener > java.lang.NullPointerException > at > org.apache.tiles.context.ChainedTilesContextFactory.createApplicationCon > text(ChainedTilesContextFactory.java:107) > at > org.apache.struts2.tiles.StrutsTilesContainerFactory$StrutsTilesContextF > actory.createApplicationContext(StrutsTilesContainerFactory.java:98) > at > org.apache.struts2.tiles.StrutsTilesContainerFactory.initializeContainer > (StrutsTilesContainerFactory.java:68) > at > org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(Tile > sContainerFactory.java:199) > at > org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesCont > ainerFactory.java:164) > at > org.apache.tiles.listener.TilesListener.createContainer(TilesListener.ja > va:91) > at > org.apache.struts2.tiles.StrutsTilesListener.createContainer(StrutsTiles > Listener.java:66) > at > org.apache.tiles.listener.TilesListener.contextInitialized(TilesListener > .java:58) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j > ava:3764) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4216 > ) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja > va:760) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) > at > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825) > at > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31 > 1) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu > pport.java:120) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:736) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > at > org.apache.catalina.core.StandardService.start(StandardService.java:448) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:700) > at > org.apache.catalina.startup.Catalina.start(Catalina.java:552) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > at > java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) > ERROR Thread-1 > org.apache.catalina.core.StandardContext - Error > listenerStart > ERROR Thread-1 > org.apache.catalina.core.StandardContext - Context > [/acr] > startup failed due to previous errors > > > As far as I can tell, the documentation for tiles > plug-in did not > change. Is there anything else I need to do that is > not documented for > release 2.0.3? > > Thanks a lot for your help, > > Jane > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]