Re: [Shale] Using standalone tiles?

2005-11-29 Thread Christopher Becker
I am using Tiles in a Struts (v.1.2.7) app, and also experienced an error when the Apache site was temporarily down. So to prevent this from happening in the future, what is the suggested solution? Removing the DOCTYPE element from the tiles-def.xml file does not seem appropriate - or is it?

Re: [Shale] Using standalone tiles?

2005-11-29 Thread Greg Reddin
On Nov 29, 2005, at 7:31 AM, Christopher Becker wrote: I am using Tiles in a Struts (v.1.2.7) app, and also experienced an error when the Apache site was temporarily down. So to prevent this from happening in the future, what is the suggested solution? Removing the DOCTYPE element from the

[Shale] Using standalone tiles?

2005-11-28 Thread Bjørn T Johansen
I am using JSF, Shale and tiles (tiles-nightly) and this has been working great... But now suddenly, I get the following error when I try to start Tomcat..: Nov 28, 2005 3:07:31 PM org.apache.tiles.servlets.TilesServlet init INFO: Initializing TilesServlet Nov 28, 2005 3:07:31 PM

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Bahadır Yağan
I am getting a similar error with totally different configuration(struts 1.2, no shale of jsf). Apache web site seems down (or I can not reach it) so tomcat could not fetch the dtd files. I think the problem is related to that. Bjørn T Johansen wrote: I am using JSF, Shale and tiles

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Bjørn T Johansen
Yes, I think you are right... But I think it's kind of stupid that my webapplication is dependent on an external site to be up and running for my webapplication to work! Or is there a workaround that I don't know about? BTJ Bahadır Yağan wrote: I am getting a similar error with totally

Re: [Shale] Using standalone tiles?

2005-11-28 Thread gramani
Bjørn T Johansen [EMAIL PROTECTED] wrote on 11/28/2005 10:04:38 AM: Yes, I think you are right... But I think it's kind of stupid that my webapplication is dependent on an external site to be up and running for my webapplication to work! Or is there a workaround that I don't know about?

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Wendy Smoak
On 11/28/05, Bjørn T Johansen [EMAIL PROTECTED] wrote: Yes, I think you are right... But I think it's kind of stupid that my webapplication is dependent on an external site to be up and running for my webapplication to work! It shouldn't be... provided you give it the right public

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Bjørn T Johansen
Well, that's the one I am using and it is not working when the apache site is down! BTJ Wendy Smoak wrote: On 11/28/05, Bjørn T Johansen [EMAIL PROTECTED] wrote: Yes, I think you are right... But I think it's kind of stupid that my webapplication is dependent on an external site to be up

Re: [Shale] Using standalone tiles?

2005-11-28 Thread gramani
Wendy Smoak [EMAIL PROTECTED] wrote on 11/28/2005 10:55:29 AM: Those public identifiers (the part that starts with --/Apache...) are registered to copies of the DTD inside the tiles-core.jar file, you can see them in there under /org/apache/tiles/resources. Wendy, I remember you saying this

Re: [Shale] Using standalone tiles?

2005-11-28 Thread gramani
Actually I changed my !DOCTYPE defintion to what is in my /org/apache/tiles/resources as Wendy states below and now it does work.. Maybe you can recheck and make sure your dtd says exactly what you think it does..? Geeta Bjørn T Johansen [EMAIL PROTECTED] wrote on 11/28/2005 11:03:23 AM:

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Greg Reddin
On Nov 28, 2005, at 10:08 AM, [EMAIL PROTECTED] wrote: Those public identifiers (the part that starts with --/Apache...) are registered to copies of the DTD inside the tiles-core.jar file, you can see them in there under /org/apache/tiles/resources. Wendy, I remember you saying this was so

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Bjørn T Johansen
Now it works, because the site is up again BTJ [EMAIL PROTECTED] wrote: Actually I changed my !DOCTYPE defintion to what is in my /org/apache/tiles/resources as Wendy states below and now it does work.. Maybe you can recheck and make sure your dtd says exactly what you think it

Re: [Shale] Using standalone tiles?

2005-11-28 Thread gramani
Greg Reddin [EMAIL PROTECTED] wrote on 11/28/2005 11:15:29 AM: On Nov 28, 2005, at 10:08 AM, [EMAIL PROTECTED] wrote: Those public identifiers (the part that starts with --/Apache...) are registered to copies of the DTD inside the tiles-core.jar file, you can see them in there under

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Wendy Smoak
On 11/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Wendy, I remember you saying this was so a while back (and a few times since!) and so i rechecked my tiles-cores.jar and found (in tiles-core.tld within META-INF) the following: urihttp://jakarta.apache.org/tiles/uri I had thought this

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Greg Reddin
On Nov 28, 2005, at 10:22 AM, Wendy Smoak wrote: Hmmm... maybe we should wait for Greg to sort this all out. :) It should _not_ be going out to retrieve the dtd, that much I know. Ok, here's what's happening. The DigesterDefinitionsReader class is the class that reads Tiles defs using

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Greg Reddin
On Nov 28, 2005, at 1:11 PM, Greg Reddin wrote: public DigesterDefinitionsReader() { digester = new Digester(); digester.setValidating(validating); digester.setNamespaceAware(true); digester.setUseContextClassLoader(true); // Register our local copy

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Craig McClanahan
On 11/28/05, Greg Reddin [EMAIL PROTECTED] wrote: protected String registrations[] = { -//Apache Software Foundation//DTD Tiles Configuration 1.1// EN, /org/apache/tiles/resources/tiles-config_1_1.dtd, -//Apache Software Foundation//DTD Tiles Configuration

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Greg Reddin
On Nov 28, 2005, at 1:57 PM, Craig McClanahan wrote: On 11/28/05, Greg Reddin [EMAIL PROTECTED] wrote: protected String registrations[] = { -//Apache Software Foundation//DTD Tiles Configuration 1.1// EN, /org/apache/tiles/resources/tiles-config_1_1.dtd,

Re: [Shale] Using standalone tiles?

2005-11-28 Thread Bahadir Yagan
On my first post to this thread I mentioned that I am having a *similar* exception, which I have related to the down time of ASF website. The similarity is, if I understand it correctly, my long list of exceptions are coming from both tiles and sql-maps dtd's. So if this issue turns out to be