[
https://issues.apache.org/jira/browse/TOMEE-3718?focusedWorklogId=581121&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-581121
]
ASF GitHub Bot logged work on TOMEE-3718:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Apr/21 16:21
Start Date: 12/Apr/21 16:21
Worklog Time Spent: 10m
Work Description: rzo1 opened a new pull request #782:
URL: https://github.com/apache/tomee/pull/782
# What does this PR do?
- Updates `web.xml` to current Tomcat's version (v9.0.45) to honor missing
mime types and other changes since 2011
- Jasper should run in production mode (TomEE modification compared to
Tomcat version)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 581121)
Remaining Estimate: 0h
Time Spent: 10m
> Missing mime mappings
> ---------------------
>
> Key: TOMEE-3718
> URL: https://issues.apache.org/jira/browse/TOMEE-3718
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 7.0.7, 7.1.4, 8.0.6
> Environment: RHEL
> Java 8
> Reporter: KON-SUN-TACK
> Assignee: Richard Zowalla
> Priority: Major
> Labels: mime-type, web.xml
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Hi all,
> When upgrading from TomEE 7.0.6 to 7.0.7, we faced the following error when
> serving TTF font files (in Chrome console):
> _Failed to decode downloaded font:
> [http://host:port/my/path/some_font1.ttf|http://host:port/my/path/some_font1.ttf??]_
> _localIndex.jsp:1 OTS parsing error: OS/2: misaligned table_
> _Failed to decode downloaded font:
> [http://host:port/my/path/some_font2.ttf|http://host:port/my/path/some_font2.ttf??]_
> _OTS parsing error: cmap: misaligned table_
> Adding the following in /conf/web.xml solved the issue:
> <mime-mapping>
> <extension>ttf</extension>
> <mime-type>font/ttf</mime-type>
> </mime-mapping>
> It appears that TomEE 7.0.7's /conf/web.xml is not in sync with Tomcat
> 8.5.50's one.
> (same issue in TomEE 8.0.6 not being aligned with Tomcat 9.0.41 web.xml)
> Regards,
> Jean.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)