-
1. Re: GetPreferences in jboss Portal cast exception
edre.py Apr 29, 2009 1:38 PM (in response to edre.py)17:28:17,105 ERROR [LifecyclePhase] Error execute phase APPLY_REQUEST_VALUES 2
javax.faces.el.EvaluationException: /uploadAction.xhtml @21,51 fileUploadListener="#{uploadAction.listener}": javax.ejb.EJBTransactionRolledbackException: org.jboss.seam.web.IdentityRequestWrapper cannot be cast to javax.portlet.PortletRequest
at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
at org.richfaces.component.UIFileUpload.broadcast(UIFileUpload.java:190)
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:294)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) -
2. Re: GetPreferences in jboss Portal cast exception
edre.py Apr 29, 2009 1:38 PM (in response to edre.py)the code is:
PortletRequest req = (PortletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); -
3. Re: GetPreferences in jboss Portal cast exception
edre.py Apr 29, 2009 1:41 PM (in response to edre.py)Caused by: java.lang.ClassCastException: org.jboss.seam.web.IdentityRequestWrapper cannot be cast to javax.portlet.PortletRequest
at com.consulmatica.utmap.uploadfile.session.UploadActionBean.listener(UploadActionBean.java:38) -
4. Re: GetPreferences in jboss Portal cast exception
edre.py Apr 29, 2009 1:43 PM (in response to edre.py)I have no idea what the problem is!