Used Software
- apache-tomee-8.0.13-plume
- javax.faces-2.3.9 Mojarra
- OpenJDK java-17-openjdk-17.0.3.0.6-1.win.x86_64
- Windows Server 2019 and 2022
I have created a little sample app using the JSF WebSocket. Exactly this example
If TOMEE is started by the startup.bat the app is working fine. But if TOMEE is started as WindowsService the app is not working correctly and is throwing this error message in the Browser:
Uncaught ReferenceError: mojarra is not defined
<anonymous> http://localhost:8080/websocket/:4
Any idea how to fix this problem?