openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thusitha Thilina Dayaratne <thusithathil...@gmail.com>
Subject javax.el.PropertyNotFoundException when tryo to run JSF-CDI app in TomEE/OWB Integration
Date Tue, 09 Jun 2015 11:02:48 GMT
Hi,

I'm trying to integrate TomEE 1.7.2 ,myfaces 2.1.17, openwebbeans 1.2.7
with embedded tomcat. After the integration when try to run a simple
JSF-CDI app (
https://github.com/thusithathilina/javaee-samples/tree/master/JSF-EJB/greeting)
I'm getting following exception. This same war is working fine in standard
TomEE webprofile distribution.
what could be the possible issue for this?

 ERROR {org.apache.catalina.core.StandardWrapperValve} -  Servlet.service()
> for servlet [Faces Servlet] in context with path [/jsf-greeting-1.0] threw
> exception [javax.el.PropertyNotFoundException: Target Unreachable,
> identifier 'person' resolved to null] with root cause
> javax.el.PropertyNotFoundException: Target Unreachable, identifier
> 'person' resolved to null
> at org.apache.el.parser.AstValue.getTarget(AstValue.java:97)
> at org.apache.el.parser.AstValue.getType(AstValue.java:81)
> at org.apache.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:171)
> at
> org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getType(ContextAwareTagValueExpression.java:75)
> at
> org.apache.myfaces.shared.renderkit._SharedRendererUtils.findUIOutputConverter(_SharedRendererUtils.java:81)
> at
> org.apache.myfaces.shared.renderkit.RendererUtils.findUIOutputConverter(RendererUtils.java:548)
> at
> org.apache.myfaces.shared.renderkit.RendererUtils.getConvertedUIOutputValue(RendererUtils.java:1009)
> at
> org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase.getConvertedValue(HtmlTextRendererBase.java:355)
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:658)
> at javax.faces.component.UIInput.validate(UIInput.java:594)
> at javax.faces.component.UIInput.processValidators(UIInput.java:274)
> at javax.faces.component.UIForm.processValidators(UIForm.java:213)
> at
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1427)
> at
> javax.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1456)
> at javax.faces.component.UIViewRoot.access$500(UIViewRoot.java:74)
> at
> javax.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1563)
> at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1412)
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:812)
> at
> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:38)
> at
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:170)
> at
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> at
> org.wso2.carbon.statistics.webapp.RequestIntercepterValve.invoke(RequestIntercepterValve.java:47)
> at
> org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:104)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
> at
> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:745)



Thanks
Best Regards

--

Mime
View raw message