myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3736) Occasional ResourceHandlerImpl Error trying to load resource jsf.js with library javax.faces
Date Fri, 14 Jun 2013 12:49:20 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683320#comment-13683320
] 

Leonardo Uribe commented on MYFACES-3736:
-----------------------------------------

I think the problem is caused by your particular development environment. The lines that shows
the message are these:

425	            catch (IOException e)
426	            {
427	                //TODO: Log using a localized message (which one?)
428	                if (log.isLoggable(Level.SEVERE))
429	                {
430	                    log.severe("Error trying to load resource " + resourceName
431	                            + " with library " + libraryName + " :"
432	                            + e.getMessage());
433	                }
434	                httpServletResponse.setStatus(HttpServletResponse.SC_NOT_FOUND);
435	            }

The text sent suggest e.getMessage() is null, which is not common, but does not suggest a
bug.

I'm sure the code works as expected, otherwise we could have seen the problem long time ago.
My opinion is close this issue as invalid, but maybe it is a good idea to include the exception
in the call to log.severe ( log.log(Level.SEVERE, ... , e) ).


                
> Occasional ResourceHandlerImpl Error trying to load resource jsf.js with library javax.faces
> --------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3736
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3736
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.10
>         Environment: Windows Server 2008 R2
> Java 1.7.0_07
> Apache Tomcat 7.0.39
>            Reporter: Moshe Elisha
>
> From time to time I encountered the following error:
> ERROR http-apr-80-exec-2 ResourceHandlerImpl:425: Error trying to load resource jsf.js
with library javax.faces :null
> That is all I have. I can't tell what the exact request details or what is the IOException.
> Can you please also make it possible to log the IOException stacktrace?
> Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message