tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinto <kishore.chint...@gmail.com>
Subject Re: org.apache.tiles.definition.DefinitionsFactoryException: I/O error accessing source.
Date Fri, 12 Jun 2009 00:28:15 GMT

Further info on the issue. This is the log with DEBUG level turned on for
org.apache.*

Both tiles-defs.xml and tiles-config_2_0.tld do exist in the locations TILES
is looking for.

Statck Trace

10:19:36,609  INFO org.apache.tiles.impl.BasicTilesContainer:125 -
Initializing Tiles2 container. . .
10:19:36,625 DEBUG org.apache.tiles.impl.BasicTilesContainer:394 - Adding
resource 'jndi:/127.0.0.1/pacific/WEB-INF/tiles-defs.xml' to definitions
factory.
10:19:36,656 DEBUG org.apache.commons.digester.Digester:1877 -
register('-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN',
'jar:file:/C:/Chinto/workspace/XXXX/war/target/XXXX/WEB-INF/lib/tiles-core-2.0.6.jar!/org/apache/tiles/resources/tiles-config_2_0.dtd'
10:19:36,656 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[127.0.0.1].[pacific]:676
- StandardWrapper.Throwable
java.lang.IllegalStateException: Unable to instantiate container.
	at
org.apache.tiles.web.startup.TilesListener.contextInitialized(TilesListener.java:60)
	at org.apache.tiles.web.startup.TilesServlet.init(TilesServlet.java:53)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	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.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.apache.tiles.definition.DefinitionsFactoryException: I/O
error accessing source.
	at
org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:291)
	at
org.apache.tiles.definition.UrlDefinitionsFactory.init(UrlDefinitionsFactory.java:130)
	at
org.apache.tiles.impl.BasicTilesContainer.initializeDefinitionsFactory(BasicTilesContainer.java:406)
	at
org.apache.tiles.impl.BasicTilesContainer.init(BasicTilesContainer.java:130)
	at
org.apache.tiles.factory.TilesContainerFactory.initializeContainer(TilesContainerFactory.java:232)
	at
org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(TilesContainerFactory.java:198)
	at
org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesContainerFactory.java:163)
	at
org.apache.tiles.web.startup.TilesListener.createContainer(TilesListener.java:90)
	at
org.apache.tiles.web.startup.TilesListener.contextInitialized(TilesListener.java:57)
	... 19 more
Caused by: java.io.FileNotFoundException
	at
org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:298)
	at
org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:286)
	... 27 more
10:19:36,671 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[127.0.0.1].[pacific]:3958
- Servlet pacific threw load() exception
java.io.FileNotFoundException
	at
org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:298)
	at
org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions(UrlDefinitionsFactory.java:286)
	at
org.apache.tiles.definition.UrlDefinitionsFactory.init(UrlDefinitionsFactory.java:130)
	at
org.apache.tiles.impl.BasicTilesContainer.initializeDefinitionsFactory(BasicTilesContainer.java:406)
	at
org.apache.tiles.impl.BasicTilesContainer.init(BasicTilesContainer.java:130)
	at
org.apache.tiles.factory.TilesContainerFactory.initializeContainer(TilesContainerFactory.java:232)
	at
org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(TilesContainerFactory.java:198)
	at
org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesContainerFactory.java:163)
	at
org.apache.tiles.web.startup.TilesListener.createContainer(TilesListener.java:90)
	at
org.apache.tiles.web.startup.TilesListener.contextInitialized(TilesListener.java:57)
	at org.apache.tiles.web.startup.TilesServlet.init(TilesServlet.java:53)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
	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.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
10:19:36,703 DEBUG org.apache.jasper.compiler.JspRuntimeContext:103 - Parent
class loader is: WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@97d01f


Any guidance would be greatly appreciated.

Cheers
Kishore
-- 
View this message in context: http://www.nabble.com/org.apache.tiles.definition.DefinitionsFactoryException%3A-I-O-error-accessing-source.-tp23976273p23991118.html
Sent from the tiles users mailing list archive at Nabble.com.


Mime
View raw message