[ https://issues.apache.org/jira/browse/TOMEE-4355?focusedWorklogId=925386&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-925386 ]
ASF GitHub Bot logged work on TOMEE-4355: ----------------------------------------- Author: ASF GitHub Bot Created on: 11/Jul/24 07:59 Start Date: 11/Jul/24 07:59 Worklog Time Spent: 10m Work Description: jungm opened a new pull request, #1278: URL: https://github.com/apache/tomee/pull/1278 Mojarra 4.0.1+ doesn't run on OWB out of the box anymore, there is an ongoing CDI spec discussion happening in https://github.com/eclipse-ee4j/mojarra/issues/5457 that should resolve this again in the future However, **right now** we have the following options: - Downgrade to 4.0.0 and wait for an OWB/Mojarra release, which can take some time - Write a workaround so that Mojarra 4.0.1+ can run again in TomEE I've tried to workaround this by disabling Mojarra's CDI extension and enabling a subclass of it that lives in tomee-mojarra. This extension uses OWB internals to change the returnType of the beans Mojarra registers so that OWB proxies the correct types again. This fixes [TOMEE-4355](https://issues.apache.org/jira/browse/TOMEE-4355) without forcing us to stay on Mojarra 4.0.0 Issue Time Tracking ------------------- Worklog Id: (was: 925386) Remaining Estimate: 0h Time Spent: 10m > mojarra faces.js is truncated > ----------------------------- > > Key: TOMEE-4355 > URL: https://issues.apache.org/jira/browse/TOMEE-4355 > Project: TomEE > Issue Type: Bug > Components: TomEE Core Server > Affects Versions: 10.0.0-M1 > Environment: macOS, java 17 > Reporter: Jens Heitmann > Priority: Major > Attachments: image-2024-07-02-14-09-44-214.png, test.war > > Time Spent: 10m > Remaining Estimate: 0h > > I've just test the 10. M1 release. Several things are working, but the > faces.js is truncated, which results in some Ajax errors. It is working with > wildfly and the old java version too. > I've created a small project showing this bug. Maybe it's a configuration > fault, but I think it may be a good to have a view on it. Because it is > working in other environments and a quite simple project, and if it is really > a bug, it might be very important. > For testing > Deploy.the war and open the browsers development console. Check the faces.js > in the Sources view. Scroll to the bottom and you will see that it is > truncated. -- This message was sent by Atlassian Jira (v8.20.10#820010)