You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@googlemail.com> on 2009/10/20 07:58:09 UTC

Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

Can I copy the file? As I recall, Wes mentioned that all files will be
erased during a new release from that location.

https://issues.apache.org/struts/browse/WW-3279


Regards
--
Lukasz

2009/10/1 Lukasz Lenart <lu...@googlemail.com>:
> 2009/10/1 E Au <ea...@yahoo.com>:
>> I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load because
>> it couldn't read struts-default.xml which is using http://struts.apache.org/dtds/struts-2.1.7.dtd.
>> The dtd is not currently available in that url.
>
> Please fill Jira ticket for that, I will upload it than!
> https://issues.apache.org/struts/browse/WW

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

Posted by Wes Wannemacher <we...@wantii.com>.
On Tue, Oct 20, 2009 at 11:24 AM, Musachy Barroso <mu...@gmail.com> wrote:
> If I don't remember wrong, there is a bug in tomcat, or one of its xml
> deps that tries to get the dtd online. This has popped multiple times
> in user@ right?
>
> musachy
>

You're right... There is some combination of jars that causes tomcat
to go out and look for dtds on the 'net.


-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

Posted by Musachy Barroso <mu...@gmail.com>.
yeah it was xalan or xerces.

On Tue, Oct 20, 2009 at 10:07 AM, Wes Wannemacher <we...@wantii.com> wrote:
> On Tue, Oct 20, 2009 at 12:43 PM, Martin Cooper <ma...@apache.org> wrote:
>> On Tue, Oct 20, 2009 at 8:24 AM, Musachy Barroso <mu...@gmail.com> wrote:
>>> If I don't remember wrong, there is a bug in tomcat, or one of its xml
>>> deps that tries to get the dtd online. This has popped multiple times
>>> in user@ right?
>>
>> I guess that's possible. When this happened with S1, though, it was
>> because something went wrong when we tried to register the URI with
>> the name resolver. (The resolver basically tells the parser "when you
>> see this URI, use this local file instead of retrieving it from the
>> net.) It would be good if we could make sure it's Tomcat and not us,
>> somehow. :-)
>>
>
> It is an issue that comes up from time-to-time. The trick is that it's
> not every install of tomcat. There is some magic combination (xalan
> jars in your web-app?) that crops up and causes the problem. I can't
> think of the last time we've come across it, but people only complain
> if their web-app can't go out and grab the DTDs from the web, so it's
> a somewhat obscure problem. The last time it came up, I remember that
> removing jars from either common/lib or WEB-INF/lib solved it for the
> user.
>
> -Wes
>
>
> --
> Wes Wannemacher
>
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
Screw John Galt, who is Martin Gainty?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

Posted by Wes Wannemacher <we...@wantii.com>.
On Tue, Oct 20, 2009 at 12:43 PM, Martin Cooper <ma...@apache.org> wrote:
> On Tue, Oct 20, 2009 at 8:24 AM, Musachy Barroso <mu...@gmail.com> wrote:
>> If I don't remember wrong, there is a bug in tomcat, or one of its xml
>> deps that tries to get the dtd online. This has popped multiple times
>> in user@ right?
>
> I guess that's possible. When this happened with S1, though, it was
> because something went wrong when we tried to register the URI with
> the name resolver. (The resolver basically tells the parser "when you
> see this URI, use this local file instead of retrieving it from the
> net.) It would be good if we could make sure it's Tomcat and not us,
> somehow. :-)
>

It is an issue that comes up from time-to-time. The trick is that it's
not every install of tomcat. There is some magic combination (xalan
jars in your web-app?) that crops up and causes the problem. I can't
think of the last time we've come across it, but people only complain
if their web-app can't go out and grab the DTDs from the web, so it's
a somewhat obscure problem. The last time it came up, I remember that
removing jars from either common/lib or WEB-INF/lib solved it for the
user.

-Wes


-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

Posted by Martin Cooper <ma...@apache.org>.
On Tue, Oct 20, 2009 at 8:24 AM, Musachy Barroso <mu...@gmail.com> wrote:
> If I don't remember wrong, there is a bug in tomcat, or one of its xml
> deps that tries to get the dtd online. This has popped multiple times
> in user@ right?

I guess that's possible. When this happened with S1, though, it was
because something went wrong when we tried to register the URI with
the name resolver. (The resolver basically tells the parser "when you
see this URI, use this local file instead of retrieving it from the
net.) It would be good if we could make sure it's Tomcat and not us,
somehow. :-)

--
Martin Cooper


> musachy
>
> On Tue, Oct 20, 2009 at 7:53 AM, Martin Cooper <ma...@apache.org> wrote:
>> On Tue, Oct 20, 2009 at 6:16 AM, Wes Wannemacher <we...@wantii.com> wrote:
>>> Yes, you can copy the file... The files in 2.x might be overwritten,
>>> but I don't know if there is any pointers to 'dtds' anywhere.
>>
>> I don't know what the situation is for S2, but that URL is *the*
>> definitive reference to the DTDs for S1. It is used when parsing the
>> XML. When everything is set up properly, the DTD should not be
>> downloaded from that URL, but a local copy (in the jar) should be
>> referenced by means of that URL. If something is trying to access the
>> file at the URL directly, then there may be a configuration problem.
>> (Regardless, the DTDs should still exist at that URL, so if they
>> don't, that's another problem.)
>>
>> --
>> Martin Cooper
>>
>>
>>> -Wes
>>>
>>> On Tue, Oct 20, 2009 at 1:58 AM, Lukasz Lenart
>>> <lu...@googlemail.com> wrote:
>>>> Can I copy the file? As I recall, Wes mentioned that all files will be
>>>> erased during a new release from that location.
>>>>
>>>> https://issues.apache.org/struts/browse/WW-3279
>>>>
>>>>
>>>> Regards
>>>> --
>>>> Lukasz
>>>>
>>>> 2009/10/1 Lukasz Lenart <lu...@googlemail.com>:
>>>>> 2009/10/1 E Au <ea...@yahoo.com>:
>>>>>> I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load because
>>>>>> it couldn't read struts-default.xml which is using http://struts.apache.org/dtds/struts-2.1.7.dtd.
>>>>>> The dtd is not currently available in that url.
>>>>>
>>>>> Please fill Jira ticket for that, I will upload it than!
>>>>> https://issues.apache.org/struts/browse/WW
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Wes Wannemacher
>>>
>>> Head Engineer, WanTii, Inc.
>>> Need Training? Struts, Spring, Maven, Tomcat...
>>> Ask me for a quote!
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

Posted by Musachy Barroso <mu...@gmail.com>.
If I don't remember wrong, there is a bug in tomcat, or one of its xml
deps that tries to get the dtd online. This has popped multiple times
in user@ right?

musachy

On Tue, Oct 20, 2009 at 7:53 AM, Martin Cooper <ma...@apache.org> wrote:
> On Tue, Oct 20, 2009 at 6:16 AM, Wes Wannemacher <we...@wantii.com> wrote:
>> Yes, you can copy the file... The files in 2.x might be overwritten,
>> but I don't know if there is any pointers to 'dtds' anywhere.
>
> I don't know what the situation is for S2, but that URL is *the*
> definitive reference to the DTDs for S1. It is used when parsing the
> XML. When everything is set up properly, the DTD should not be
> downloaded from that URL, but a local copy (in the jar) should be
> referenced by means of that URL. If something is trying to access the
> file at the URL directly, then there may be a configuration problem.
> (Regardless, the DTDs should still exist at that URL, so if they
> don't, that's another problem.)
>
> --
> Martin Cooper
>
>
>> -Wes
>>
>> On Tue, Oct 20, 2009 at 1:58 AM, Lukasz Lenart
>> <lu...@googlemail.com> wrote:
>>> Can I copy the file? As I recall, Wes mentioned that all files will be
>>> erased during a new release from that location.
>>>
>>> https://issues.apache.org/struts/browse/WW-3279
>>>
>>>
>>> Regards
>>> --
>>> Lukasz
>>>
>>> 2009/10/1 Lukasz Lenart <lu...@googlemail.com>:
>>>> 2009/10/1 E Au <ea...@yahoo.com>:
>>>>> I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load because
>>>>> it couldn't read struts-default.xml which is using http://struts.apache.org/dtds/struts-2.1.7.dtd.
>>>>> The dtd is not currently available in that url.
>>>>
>>>> Please fill Jira ticket for that, I will upload it than!
>>>> https://issues.apache.org/struts/browse/WW
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Wes Wannemacher
>>
>> Head Engineer, WanTii, Inc.
>> Need Training? Struts, Spring, Maven, Tomcat...
>> Ask me for a quote!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

Posted by Martin Cooper <ma...@apache.org>.
On Tue, Oct 20, 2009 at 6:16 AM, Wes Wannemacher <we...@wantii.com> wrote:
> Yes, you can copy the file... The files in 2.x might be overwritten,
> but I don't know if there is any pointers to 'dtds' anywhere.

I don't know what the situation is for S2, but that URL is *the*
definitive reference to the DTDs for S1. It is used when parsing the
XML. When everything is set up properly, the DTD should not be
downloaded from that URL, but a local copy (in the jar) should be
referenced by means of that URL. If something is trying to access the
file at the URL directly, then there may be a configuration problem.
(Regardless, the DTDs should still exist at that URL, so if they
don't, that's another problem.)

--
Martin Cooper


> -Wes
>
> On Tue, Oct 20, 2009 at 1:58 AM, Lukasz Lenart
> <lu...@googlemail.com> wrote:
>> Can I copy the file? As I recall, Wes mentioned that all files will be
>> erased during a new release from that location.
>>
>> https://issues.apache.org/struts/browse/WW-3279
>>
>>
>> Regards
>> --
>> Lukasz
>>
>> 2009/10/1 Lukasz Lenart <lu...@googlemail.com>:
>>> 2009/10/1 E Au <ea...@yahoo.com>:
>>>> I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load because
>>>> it couldn't read struts-default.xml which is using http://struts.apache.org/dtds/struts-2.1.7.dtd.
>>>> The dtd is not currently available in that url.
>>>
>>> Please fill Jira ticket for that, I will upload it than!
>>> https://issues.apache.org/struts/browse/WW
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
>
> --
> Wes Wannemacher
>
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: http://struts.apache.org/dtds/struts-2.1.7.dtd NOT FOUND

Posted by Wes Wannemacher <we...@wantii.com>.
Yes, you can copy the file... The files in 2.x might be overwritten,
but I don't know if there is any pointers to 'dtds' anywhere.

-Wes

On Tue, Oct 20, 2009 at 1:58 AM, Lukasz Lenart
<lu...@googlemail.com> wrote:
> Can I copy the file? As I recall, Wes mentioned that all files will be
> erased during a new release from that location.
>
> https://issues.apache.org/struts/browse/WW-3279
>
>
> Regards
> --
> Lukasz
>
> 2009/10/1 Lukasz Lenart <lu...@googlemail.com>:
>> 2009/10/1 E Au <ea...@yahoo.com>:
>>> I just migrated my struts 2.1.6 webapp to 2.1.8. My webapp failed to load because
>>> it couldn't read struts-default.xml which is using http://struts.apache.org/dtds/struts-2.1.7.dtd.
>>> The dtd is not currently available in that url.
>>
>> Please fill Jira ticket for that, I will upload it than!
>> https://issues.apache.org/struts/browse/WW
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org