[jboss-user] [JBoss Seam] - EvaluationExcepion for page-action
mugwump
do-not-reply at jboss.com
Wed May 9 10:49:03 EDT 2007
I'm getting a strange exception when I try to execute a page-action:
| javax.faces.el.EvaluationException: Exception while invoking expression #{resultsManager.selectResults}
|
| org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
| org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
| org.jboss.seam.core.Expressions$2.invoke(Expressions.java:148)
| org.jboss.seam.pages.Page.enter(Page.java:229)
| org.jboss.seam.core.Pages.enterPage(Pages.java:276)
| org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:276)
| org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:214)
| org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:56)
| org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
| org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| java.lang.Thread.run(Thread.java:619)
|
This is the pageAction:
| <page view-id="/protected/examResults.xhtml"
| action="#{resultsManager.selectResults(examId)}">
| <param name="examId" />
| </page>
|
And this is the interface:
| public interface ResultsManager {
| public void selectResults(String examId);
| }
|
with a StatelessSessionBean named "resultsManager" implementing it.
This works fine on a windows-box where I develop, however it fails with the above exception on a linux-box where I deploy it. Anyone knows why this should not work?
I even tried to go back to a request-parameter and calling the method without a parameter, but this gives the same exception on linux (and works fine on the windows-box) - is it maybe something about the expression-language extensions??!? I'm currently cluelless and any hints are highly appreciated!!!
cheers
stefan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044334#4044334
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044334
More information about the jboss-user
mailing list