Hello,

  Someone else have reported this problem on Solaris 8.
  It appears that digester fails to parse Tiles init file on tag's attributes 
classtype : <item ... classtype="..." />.
Check line 64 of your file. What exactly cause the problem haven't been found yet.  
Maybe a configuration problem or a
bad parser / jar version on Solaris.
  Can you try to put xml directive (<?xml version="1.0" encoding="ISO-8859-1" ?>) in 
the head of your config files ?
Does it solve the problem ?

  Another possible workaround is to remove the classtype attribute in all config file. 
This is possible only with the
latest version of tiles (02 05 24) which now allow a default value for attribute 
classtype.

  Let us know what you try and if you success or not.

      Cedric

Krzysztof Czarny wrote:

> Hi everybody,
>   I'm trying to start using tiles with Struts 1.0 and
> Tomcat. I've installed Tomcat using binary
> distribution on Solaris 8. I've downloaded tiles from
> Cedric Dumoulin Tiles site and to begin with tiles
> I've copied tiles-doc.war to tomcat's webapps/
> directory. I got an error displayed below.
> When I did the same with Windows version of Tomcat
> distribution everything went OK.
> It is obviously configuration issue, but I spent quite
> a lot of time on inspecting an error and finally found
> nothing :-(((.
> Do I really have to move to Windows ???!!
>
> The error:
> 2002-05-23 14:21:10 action: Fail to load Tiles
> definition factory
> org.apache.struts.tiles.DefinitionsFactoryException:
> Error while parsing file '/WEB-INF/tiles-defs.xml'.
> Error at (64, 63: arg
> ument type mismatch
>         at
> 
>org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:476)
>         at
> 
>org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:404)
>         at
> 
>org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:231)
>         at
> 
>org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:204)
>         at
> 
>org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:152)
>         at
> org.apache.struts.tiles.xmlDefinition.I18nFactorySet.<init>(I18nFactorySet.java:105)
>         at
> 
>org.apache.struts.tiles.definition.ReloadableDefinitionsFactory.createFactory(ReloadableDefinitionsFactory.java:143
> )
>         at
> 
>org.apache.struts.tiles.definition.ReloadableDefinitionsFactory.<init>(ReloadableDefinitionsFactory.java:50)
>         at
> 
>org.apache.struts.tiles.DefinitionsUtil.createDefinitionsFactory(DefinitionsUtil.java:163)
>         at
> 
>org.apache.struts.tiles.ActionComponentServlet.initComponentDefinitionsMapping(ActionComponentServlet.java:65)
>         at
> org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.java:53)
>         at
> javax.servlet.GenericServlet.init(GenericServlet.java:258)
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
>         at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
>         at
> 
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:388)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
>         at
> org.apache.catalina.startup.Catalina.start(Catalina.java:781)
>         at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>         at
> org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>         at java.lang.reflect.Method.invoke(Native
> Method)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to