You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Roland Schaal (JIRA)" <de...@myfaces.apache.org> on 2006/03/13 09:58:05 UTC

[jira] Created: (TOMAHAWK-194) Wrong entry in AddRessource.properties causes Error-message

Wrong entry in AddRessource.properties causes Error-message
-----------------------------------------------------------

         Key: TOMAHAWK-194
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-194
     Project: MyFaces Tomahawk
        Type: Bug
    Versions: 1.1.2-SNAPSHOT    
    Reporter: Roland Schaal
    Priority: Minor


I don't really know, what this file is exactly for, but I get a log-output
'Unparsable lastModified : @lastModified@'
when using the nightly builds of tomahawk.

Looking at the AddRessource.properties-file I see the entry
lastModified=@lastModified@
which probably causes the logging

It ought to be in a format that can be parsed from the method MyFacesRessourceLoader.getLastModified() (format = "yyyy-MM-dd HH:mm:ss Z").
So there has to be something like
lastModified=2006-03-01 15:23:34 -0400
in this file.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (TOMAHAWK-194) Wrong entry in AddRessource.properties causes Error-message

Posted by Mike Kienenberger <mk...@gmail.com>.
On 8/10/06, Veit Guna (JIRA) <de...@myfaces.apache.org> wrote:
http://issues.apache.org/jira/browse/TOMAHAWK-194?page=comments#action_12427324
]
>
> Veit Guna commented on TOMAHAWK-194:
> No matter if this will be "fixed", it's annoying that it is logged as an ERROR. I use the log4j SmtpAppender to notify me about errors in the application. So everytime I deploy it for testing, I will always get this "ERROR" mailed. Perhaps it could be logged as WARN?


Open a JIRA issue, and submit a patch to change the logging level.

Adding comments on closed issues isn't going to help, and no one else
has been bothered by it enough to create a patch.

[jira] Commented: (TOMAHAWK-194) Wrong entry in AddRessource.properties causes Error-message

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-194?page=comments#action_12375568 ] 

Mike Kienenberger commented on TOMAHAWK-194:
--------------------------------------------

Murray Brandon wrote on April 21st to the myfaces user list":

<b>Issue:</b> <xmp>
Mar 27, 2006 6:12:30 AM
org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader getLastModified
SEVERE: Unparsable lastModified : @lastModified@
</xmp>
<br><br>
<b>Solution:</b><xmp>
Perhaps because MyFaces has an AddResource.properties with a
@lastModified@ maven(?) tag in it that hasn't been substituted at build
time. eg.

# Used in the ressources URL, to enable caching the resources on the client.
lastModified=@lastModified@

It should not affect anything since the value then defaults to 0 and
it's only the value for caching the resources (never changes under
normal circumstances).
</xmp>
<hr>

> Wrong entry in AddRessource.properties causes Error-message
> -----------------------------------------------------------
>
>          Key: TOMAHAWK-194
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-194
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: Roland Schaal
>     Priority: Minor

>
> I don't really know, what this file is exactly for, but I get a log-output
> 'Unparsable lastModified : @lastModified@'
> when using the nightly builds of tomahawk.
> Looking at the AddRessource.properties-file I see the entry
> lastModified=@lastModified@
> which probably causes the logging
> It ought to be in a format that can be parsed from the method MyFacesRessourceLoader.getLastModified() (format = "yyyy-MM-dd HH:mm:ss Z").
> So there has to be something like
> lastModified=2006-03-01 15:23:34 -0400
> in this file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-194) Wrong entry in AddRessource.properties causes Error-message

Posted by "Veit Guna (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-194?page=comments#action_12427324 ] 
            
Veit Guna commented on TOMAHAWK-194:
------------------------------------

Hi.

No matter if this will be "fixed", it's annoying that it is logged as an ERROR. I use the log4j SmtpAppender to notify me about errors in the application. So everytime I deploy it for testing, I will always get this "ERROR" mailed. Perhaps it could be logged as WARN?


> Wrong entry in AddRessource.properties causes Error-message
> -----------------------------------------------------------
>
>                 Key: TOMAHAWK-194
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-194
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: ExtensionsFilter
>    Affects Versions: 1.1.2-SNAPSHOT
>            Reporter: Roland Schaal
>            Priority: Minor
>
> I don't really know, what this file is exactly for, but I get a log-output
> 'Unparsable lastModified : @lastModified@'
> when using the nightly builds of tomahawk.
> Looking at the AddRessource.properties-file I see the entry
> lastModified=@lastModified@
> which probably causes the logging
> It ought to be in a format that can be parsed from the method MyFacesRessourceLoader.getLastModified() (format = "yyyy-MM-dd HH:mm:ss Z").
> So there has to be something like
> lastModified=2006-03-01 15:23:34 -0400
> in this file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira