]
Pavol Pitonak closed RF-13380.
------------------------------
Verified
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
Assignee: Lukáš Fryč
Priority: Critical
Fix For: 5.0.0.Alpha2
# 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.resourc...
404 (Not Found) hCommandButton.xhtml:1
GET
http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resourc...
404 (Not Found) hCommandButton.xhtml:1
GET
http://localhost:8080/metamer/org.richfaces.resources/javax.faces.resourc...
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.resourc...
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.resourc...
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.resourc...
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: