[richfaces-issues] [JBoss JIRA] (RF-13380) Error 404 not found for fonts

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Mon Nov 25 06:15:06 EST 2013


     [ https://issues.jboss.org/browse/RF-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavol Pitonak updated RF-13380:
-------------------------------

    Description: 
# deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# see browser console

result:
* several resources are missing
* Chrome console contains these errors:
{quote}
GET http://localhost:8080/metamer/faces/components/a4jAjax/RES_NOT_FOUND 404 (Not Found) hCommandButton.xhtml:27
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.woff 404 (Not Found) hCommandButton.xhtml:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.woff 404 (Not Found) hCommandButton.xhtml:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.ttf 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.ttf:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.ttf 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.ttf:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.svg 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.svg#OpenSansRegular:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.svg 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold:1
{quote}
* when deployed to JBoss AS 7.1.1.Final, you can see these warnings in server log
{quote}
12:12:53,342 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file fonts/OpenSans-Semibold-webfont.woff.  To resolve this, add a mime-type mapping to the applications web.xml.
12:12:53,341 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-6) JSF1091: No mime type could be found for file fonts/OpenSans-Regular-webfont.woff.  To resolve this, add a mime-type mapping to the applications web.xml.
12:12:53,392 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-6) JSF1091: No mime type could be found for file fonts/OpenSans-Regular-webfont.ttf.  To resolve this, add a mime-type mapping to the applications web.xml.
12:12:53,393 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file fonts/OpenSans-Semibold-webfont.ttf.  To resolve this, add a mime-type mapping to the applications web.xml.
{quote}

  was:
# deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
# see browser console

result:
* several resources are missing
* Chrome console contains these errors:
{quote}
GET http://localhost:8080/metamer/faces/components/a4jAjax/RES_NOT_FOUND 404 (Not Found) hCommandButton.xhtml:27
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.woff 404 (Not Found) hCommandButton.xhtml:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.woff 404 (Not Found) hCommandButton.xhtml:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.ttf 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.ttf:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.ttf 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.ttf:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.svg 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.svg#OpenSansRegular:1
GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.svg 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold:1
{quote}


    
> Error 404 not found for fonts
> -----------------------------
>
>                 Key: RF-13380
>                 URL: https://issues.jboss.org/browse/RF-13380
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: base functionality
>    Affects Versions: 5.0.0.Alpha2
>         Environment: RichFaces 5.0.0-SNAPSHOT
> Metamer 5.0.0-SNAPSHOT
>            Reporter: Pavol Pitonak
>            Priority: Critical
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
> # see browser console
> result:
> * several resources are missing
> * Chrome console contains these errors:
> {quote}
> GET http://localhost:8080/metamer/faces/components/a4jAjax/RES_NOT_FOUND 404 (Not Found) hCommandButton.xhtml:27
> GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.woff 404 (Not Found) hCommandButton.xhtml:1
> GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.woff 404 (Not Found) hCommandButton.xhtml:1
> GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.ttf 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.ttf:1
> GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.ttf 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.ttf:1
> GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.svg 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Regular-webfont.svg#OpenSansRegular:1
> GET http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.svg 404 (Not Found) :8080/metamer/org.richfaces.resources/javax.faces.resource/fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold:1
> {quote}
> * when deployed to JBoss AS 7.1.1.Final, you can see these warnings in server log
> {quote}
> 12:12:53,342 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file fonts/OpenSans-Semibold-webfont.woff.  To resolve this, add a mime-type mapping to the applications web.xml.
> 12:12:53,341 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-6) JSF1091: No mime type could be found for file fonts/OpenSans-Regular-webfont.woff.  To resolve this, add a mime-type mapping to the applications web.xml.
> 12:12:53,392 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-6) JSF1091: No mime type could be found for file fonts/OpenSans-Regular-webfont.ttf.  To resolve this, add a mime-type mapping to the applications web.xml.
> 12:12:53,393 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-3) JSF1091: No mime type could be found for file fonts/OpenSans-Semibold-webfont.ttf.  To resolve this, add a mime-type mapping to the applications web.xml.
> {quote}

--
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


More information about the richfaces-issues mailing list