FILES MISSING - 404 ERRORS

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

FILES MISSING - 404 ERRORS

Louis Smith
Looks like /dtds/ was refreshed this morning, and the 2.4 and 2.5 dtd files
are now missing.


[image: [ ]] struts-2.0.dtd
<http://struts.apache.org/dtds/struts-2.0.dtd> 2017-07-27
09:15 3.3K
[image: [ ]] struts-2.1.7.dtd
<http://struts.apache.org/dtds/struts-2.1.7.dtd> 2017-07-27 09:15 3.6K
[image: [ ]] struts-2.1.dtd
<http://struts.apache.org/dtds/struts-2.1.dtd> 2017-07-27
09:15 3.5K
[image: [ ]] struts-2.3.dtd
<http://struts.apache.org/dtds/struts-2.3.dtd> 2017-07-27
09:15 3.7K
[image: [ ]] struts-config_1_0.dtd
<http://struts.apache.org/dtds/struts-config_1_0.dtd> 2017-07-27 09:15 19K


Louis
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FILES MISSING - 404 ERRORS

Yasser Zamani
No, they was and are not available on struts.apache.org host but they're
inside your local struts2-core-2.X.X.jar.

On 7/27/2017 9:54 PM, Louis Smith wrote:

> Looks like /dtds/ was refreshed this morning, and the 2.4 and 2.5 dtd files
> are now missing.
>
>
> [image: [ ]] struts-2.0.dtd
> <http://struts.apache.org/dtds/struts-2.0.dtd> 2017-07-27
> 09:15 3.3K
> [image: [ ]] struts-2.1.7.dtd
> <http://struts.apache.org/dtds/struts-2.1.7.dtd> 2017-07-27 09:15 3.6K
> [image: [ ]] struts-2.1.dtd
> <http://struts.apache.org/dtds/struts-2.1.dtd> 2017-07-27
> 09:15 3.5K
> [image: [ ]] struts-2.3.dtd
> <http://struts.apache.org/dtds/struts-2.3.dtd> 2017-07-27
> 09:15 3.7K
> [image: [ ]] struts-config_1_0.dtd
> <http://struts.apache.org/dtds/struts-config_1_0.dtd> 2017-07-27 09:15 19K
>
>
> Louis
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FILES MISSING - 404 ERRORS

Louis Smith
all of our struts.xml files and struts-plugin.xml files have the doctype
and until this morning all worked just fine:

<!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
        "http://struts.apache.org/dtds/struts-2.5.dtd">




Louis


On Thu, Jul 27, 2017 at 2:36 PM, Yasser Zamani <[hidden email]>
wrote:

> No, they was and are not available on struts.apache.org host but they're
> inside your local struts2-core-2.X.X.jar.
>
> On 7/27/2017 9:54 PM, Louis Smith wrote:
> > Looks like /dtds/ was refreshed this morning, and the 2.4 and 2.5 dtd
> files
> > are now missing.
> >
> >
> > [image: [ ]] struts-2.0.dtd
> > <http://struts.apache.org/dtds/struts-2.0.dtd> 2017-07-27
> > 09:15 3.3K
> > [image: [ ]] struts-2.1.7.dtd
> > <http://struts.apache.org/dtds/struts-2.1.7.dtd> 2017-07-27 09:15 3.6K
> > [image: [ ]] struts-2.1.dtd
> > <http://struts.apache.org/dtds/struts-2.1.dtd> 2017-07-27
> > 09:15 3.5K
> > [image: [ ]] struts-2.3.dtd
> > <http://struts.apache.org/dtds/struts-2.3.dtd> 2017-07-27
> > 09:15 3.7K
> > [image: [ ]] struts-config_1_0.dtd
> > <http://struts.apache.org/dtds/struts-config_1_0.dtd> 2017-07-27 09:15
> 19K
> >
> >
> > Louis
> >
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FILES MISSING - 404 ERRORS

Louis Smith
Here is the sample from github:

https://github.com/apache/struts-examples/blob/master/bean-validation/src/main/resources/struts.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
"http://struts.apache.org/dtds/struts-2.5.dtd">
<struts>
<constant name="struts.devMode" value="true" />
<package name="default" extends="struts-bean-validation">
<!-- If no class attribute is specified the framework will assume success
and
render the result index.jsp -->
<!-- If no name value for the result node is specified the success value is
the default -->
<action name="index">
<result>/index.jsp</result>
</action>
<action name="edit" class="org.apache.struts.edit.action.EditAction" method=
"input">
<result name="input">/edit.jsp</result>
</action>
<action name="save" class="org.apache.struts.edit.action.EditAction" method=
"execute">
<result name="input">/edit.jsp</result>
<result name="success">/thankyou.jsp</result>
</action>
</package>
</struts>

Louis


On Thu, Jul 27, 2017 at 3:37 PM, Louis Smith <[hidden email]>
wrote:

> all of our struts.xml files and struts-plugin.xml files have the doctype
> and until this morning all worked just fine:
>
> <!DOCTYPE struts PUBLIC
>         "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
>         "http://struts.apache.org/dtds/struts-2.5.dtd">
>
>
>
>
> Louis
>
>
> On Thu, Jul 27, 2017 at 2:36 PM, Yasser Zamani <[hidden email]>
> wrote:
>
>> No, they was and are not available on struts.apache.org host but they're
>> inside your local struts2-core-2.X.X.jar.
>>
>> On 7/27/2017 9:54 PM, Louis Smith wrote:
>> > Looks like /dtds/ was refreshed this morning, and the 2.4 and 2.5 dtd
>> files
>> > are now missing.
>> >
>> >
>> > [image: [ ]] struts-2.0.dtd
>> > <http://struts.apache.org/dtds/struts-2.0.dtd> 2017-07-27
>> > 09:15 3.3K
>> > [image: [ ]] struts-2.1.7.dtd
>> > <http://struts.apache.org/dtds/struts-2.1.7.dtd> 2017-07-27 09:15 3.6K
>> > [image: [ ]] struts-2.1.dtd
>> > <http://struts.apache.org/dtds/struts-2.1.dtd> 2017-07-27
>> > 09:15 3.5K
>> > [image: [ ]] struts-2.3.dtd
>> > <http://struts.apache.org/dtds/struts-2.3.dtd> 2017-07-27
>> > 09:15 3.7K
>> > [image: [ ]] struts-config_1_0.dtd
>> > <http://struts.apache.org/dtds/struts-config_1_0.dtd> 2017-07-27 09:15
>> 19K
>> >
>> >
>> > Louis
>> >
>>
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FILES MISSING - 404 ERRORS

Yasser Zamani
Sorry you're right. They are also available at
http://struts.apache.org/dtds/ but after opening that in browser, I
could download them by right click save as without any issue! maybe it
starts working.

However, I also could not see struts-2.5.dtd. Something is wrong there
or we miss something.

On 7/28/2017 12:11 AM, Louis Smith wrote:

> Here is the sample from github:
>
> https://github.com/apache/struts-examples/blob/master/bean-validation/src/main/resources/struts.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE struts PUBLIC
> "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
> "http://struts.apache.org/dtds/struts-2.5.dtd">
> <struts>
> <constant name="struts.devMode" value="true" />
> <package name="default" extends="struts-bean-validation">
> <!-- If no class attribute is specified the framework will assume success
> and
> render the result index.jsp -->
> <!-- If no name value for the result node is specified the success value is
> the default -->
> <action name="index">
> <result>/index.jsp</result>
> </action>
> <action name="edit" class="org.apache.struts.edit.action.EditAction" method=
> "input">
> <result name="input">/edit.jsp</result>
> </action>
> <action name="save" class="org.apache.struts.edit.action.EditAction" method=
> "execute">
> <result name="input">/edit.jsp</result>
> <result name="success">/thankyou.jsp</result>
> </action>
> </package>
> </struts>
>
> Louis
>
>
> On Thu, Jul 27, 2017 at 3:37 PM, Louis Smith <[hidden email]>
> wrote:
>
>> all of our struts.xml files and struts-plugin.xml files have the doctype
>> and until this morning all worked just fine:
>>
>> <!DOCTYPE struts PUBLIC
>>         "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
>>         "http://struts.apache.org/dtds/struts-2.5.dtd">
>>
>>
>>
>>
>> Louis
>>
>>
>> On Thu, Jul 27, 2017 at 2:36 PM, Yasser Zamani <[hidden email]>
>> wrote:
>>
>>> No, they was and are not available on struts.apache.org host but they're
>>> inside your local struts2-core-2.X.X.jar.
>>>
>>> On 7/27/2017 9:54 PM, Louis Smith wrote:
>>>> Looks like /dtds/ was refreshed this morning, and the 2.4 and 2.5 dtd
>>> files
>>>> are now missing.
>>>>
>>>>
>>>> [image: [ ]] struts-2.0.dtd
>>>> <http://struts.apache.org/dtds/struts-2.0.dtd> 2017-07-27
>>>> 09:15 3.3K
>>>> [image: [ ]] struts-2.1.7.dtd
>>>> <http://struts.apache.org/dtds/struts-2.1.7.dtd> 2017-07-27 09:15 3.6K
>>>> [image: [ ]] struts-2.1.dtd
>>>> <http://struts.apache.org/dtds/struts-2.1.dtd> 2017-07-27
>>>> 09:15 3.5K
>>>> [image: [ ]] struts-2.3.dtd
>>>> <http://struts.apache.org/dtds/struts-2.3.dtd> 2017-07-27
>>>> 09:15 3.7K
>>>> [image: [ ]] struts-config_1_0.dtd
>>>> <http://struts.apache.org/dtds/struts-config_1_0.dtd> 2017-07-27 09:15
>>> 19K
>>>>
>>>>
>>>> Louis
>>>>
>>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FILES MISSING - 404 ERRORS

Louis Smith
It looks like there was a failure and someone did a restore this morning as
all the files that are there have the same date/timestamp.  So - a restore
was done from a really old backup.

Louis


On Thu, Jul 27, 2017 at 6:47 PM, Yasser Zamani <[hidden email]>
wrote:

> Sorry you're right. They are also available at
> http://struts.apache.org/dtds/ but after opening that in browser, I
> could download them by right click save as without any issue! maybe it
> starts working.
>
> However, I also could not see struts-2.5.dtd. Something is wrong there
> or we miss something.
>
> On 7/28/2017 12:11 AM, Louis Smith wrote:
> > Here is the sample from github:
> >
> > https://github.com/apache/struts-examples/blob/master/
> bean-validation/src/main/resources/struts.xml
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE struts PUBLIC
> > "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
> > "http://struts.apache.org/dtds/struts-2.5.dtd">
> > <struts>
> > <constant name="struts.devMode" value="true" />
> > <package name="default" extends="struts-bean-validation">
> > <!-- If no class attribute is specified the framework will assume success
> > and
> > render the result index.jsp -->
> > <!-- If no name value for the result node is specified the success value
> is
> > the default -->
> > <action name="index">
> > <result>/index.jsp</result>
> > </action>
> > <action name="edit" class="org.apache.struts.edit.action.EditAction"
> method=
> > "input">
> > <result name="input">/edit.jsp</result>
> > </action>
> > <action name="save" class="org.apache.struts.edit.action.EditAction"
> method=
> > "execute">
> > <result name="input">/edit.jsp</result>
> > <result name="success">/thankyou.jsp</result>
> > </action>
> > </package>
> > </struts>
> >
> > Louis
> >
> >
> > On Thu, Jul 27, 2017 at 3:37 PM, Louis Smith <[hidden email]>
> > wrote:
> >
> >> all of our struts.xml files and struts-plugin.xml files have the doctype
> >> and until this morning all worked just fine:
> >>
> >> <!DOCTYPE struts PUBLIC
> >>         "-//Apache Software Foundation//DTD Struts Configuration
> 2.5//EN"
> >>         "http://struts.apache.org/dtds/struts-2.5.dtd">
> >>
> >>
> >>
> >>
> >> Louis
> >>
> >>
> >> On Thu, Jul 27, 2017 at 2:36 PM, Yasser Zamani <[hidden email]>
> >> wrote:
> >>
> >>> No, they was and are not available on struts.apache.org host but
> they're
> >>> inside your local struts2-core-2.X.X.jar.
> >>>
> >>> On 7/27/2017 9:54 PM, Louis Smith wrote:
> >>>> Looks like /dtds/ was refreshed this morning, and the 2.4 and 2.5 dtd
> >>> files
> >>>> are now missing.
> >>>>
> >>>>
> >>>> [image: [ ]] struts-2.0.dtd
> >>>> <http://struts.apache.org/dtds/struts-2.0.dtd> 2017-07-27
> >>>> 09:15 3.3K
> >>>> [image: [ ]] struts-2.1.7.dtd
> >>>> <http://struts.apache.org/dtds/struts-2.1.7.dtd> 2017-07-27 09:15
> 3.6K
> >>>> [image: [ ]] struts-2.1.dtd
> >>>> <http://struts.apache.org/dtds/struts-2.1.dtd> 2017-07-27
> >>>> 09:15 3.5K
> >>>> [image: [ ]] struts-2.3.dtd
> >>>> <http://struts.apache.org/dtds/struts-2.3.dtd> 2017-07-27
> >>>> 09:15 3.7K
> >>>> [image: [ ]] struts-config_1_0.dtd
> >>>> <http://struts.apache.org/dtds/struts-config_1_0.dtd> 2017-07-27
> 09:15
> >>> 19K
> >>>>
> >>>>
> >>>> Louis
> >>>>
> >>>
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FILES MISSING - 404 ERRORS

Lukasz Lenart
In reply to this post by Louis Smith
Sorry for that :(

We have been switching to a new git based site publishing mechanism
and those DTDs were missing in the source (sic!). Anyway, this
shouldn't be a problem as those DTDa are included in JARs so parser
can use them ... there were such problems with Struts 1, but as far I
know it never happened with Struts 2 ...

2017-07-27 19:24 GMT+02:00 Louis Smith <[hidden email]>:

> Looks like /dtds/ was refreshed this morning, and the 2.4 and 2.5 dtd files
> are now missing.
>
>
> [image: [ ]] struts-2.0.dtd
> <http://struts.apache.org/dtds/struts-2.0.dtd> 2017-07-27
> 09:15 3.3K
> [image: [ ]] struts-2.1.7.dtd
> <http://struts.apache.org/dtds/struts-2.1.7.dtd> 2017-07-27 09:15 3.6K
> [image: [ ]] struts-2.1.dtd
> <http://struts.apache.org/dtds/struts-2.1.dtd> 2017-07-27
> 09:15 3.5K
> [image: [ ]] struts-2.3.dtd
> <http://struts.apache.org/dtds/struts-2.3.dtd> 2017-07-27
> 09:15 3.7K
> [image: [ ]] struts-config_1_0.dtd
> <http://struts.apache.org/dtds/struts-config_1_0.dtd> 2017-07-27 09:15 19K
>
>
> Louis

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...