You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Vootele Rotov (JIRA)" <ji...@apache.org> on 2018/10/24 10:33:00 UTC
[jira] [Commented] (TOMEE-2262) JSF managed beans not found on
TomEE plume 7.1
[ https://issues.apache.org/jira/browse/TOMEE-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662077#comment-16662077 ]
Vootele Rotov commented on TOMEE-2262:
--------------------------------------
Hey
My first bug report for TomEE, if there are any issues with it, please do let me know and I would be happy to try to improve the bug report.
> JSF managed beans not found on TomEE plume 7.1
> ----------------------------------------------
>
> Key: TOMEE-2262
> URL: https://issues.apache.org/jira/browse/TOMEE-2262
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 7.1.0
> Reporter: Vootele Rotov
> Priority: Minor
>
> There seems to be an issue with finding JSF managed beans when WAR containing JSF managed beans is deployed inside EAR to {{webapps}} folder on TomEE plume 7.1.
> Following project reproduces the issue:
> [https://github.com/vootelerotov/tomee-jsf-managedBean-and-ejb]
> Building the EAR, deploying it to {{webapps}} folder of TomEE plume 7.1 and going to {{war}} and clicking on theĀ {{Add}} button results in
> {noformat}
> /calculator.xhtml @34,51 value="#{calculatorBean.x}": Target Unreachable, identifier [calculatorBean] resolved to null.
> {noformat}
> It is the example app({{jsf-managedBean-and-ejb}}) taken from TomEE repo. The only difference is that the WAR is wrapped in EAR and is not deployed directly.
> I could not reproduce this when deploying the WAR directly. Also, this did not reproduce on TomEE plus, even when deployed inside EAR.
> I understand that deploying EARs to {{apps}} folder is the suggested approach, but as the application is deployed when placed in {{webapps}}, it seems to me that this issue is still worth looking into.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)