[JBoss Seam] - Re: bookmarkable page with cid problem
by liudan2005
Thanks for your help. It is a result view.
Here is what I'm trying to do. I have 3 pages: search->choose from result-> detailed info. I used s:link in the 2nd page. the detailed info page needs to be bookmarkable. The back bean has a search method and showResult method. both action methos are annotated with @Begin(join=true).
When user comes from the bookmarked url, my detailed info page only shows some basic information. If user comes from search page, my detailed info page would show more information related to user's search conditions. That's why I need both search and showResult methos annotated with @Begin(join=true).
I don't understand the redirect solution you've mentioned. Can you please explain it a bit more? Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996914#3996914
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996914
17 years, 8 months
[JBoss Seam] - ajax4jsf commandLink and s:conversationPropagation
by lle
Hello everyone,
I am having trouble to get s:conversationPropagation working with an a4j:commandLink. I have a master/detail scenerio where a click on row of my master page will open a new window with detail information. This new window is opened through javascript and loaded with data through a page action. I also start a conversation with explicit id when the new window is opened. In this new window, I have various a4j:commandLink, which calls the same conversation-scope bean to query and re-render the page (of course thru ajax). However, I notice that whenever the link is clicked, a new conversation is created and my previous data is not propagated over. Do you know what happens?
Here is my xhtml snippet of the detail screen:
<ul class="buttons-toggle">
| <li class="left">
| <a4j:commandLink action="#{detailsearch.applyScale1}" styleClass="#{detailsearch.scale1ButtonStyle}" value="1x" reRender="scaleWrapper" limitToList="true"
| onclick="selectMe(this);" oncomplete="setBarHeight();">
| <s:conversationPropagation type="join"/>
| </a4j:commandLink>
| </li>
| <li>
| <a4j:commandLink action="#{detailsearch.applyScale2}" styleClass="#{detailsearch.scale2ButtonStyle}" value="2x" reRender="scaleWrapper" limitToList="true"
| onclick="selectMe(this);" oncomplete="setBarHeight();">
| <s:conversationPropagation type="join"/>
| </a4j:commandLink>
| </li>
| <li class="right">
| <a4j:commandLink action="#{detailsearch.applyScale3}" styleClass="#{detailsearch.scale3ButtonStyle}" value="3x" reRender="scaleWrapper" limitToList="true"
| onclick="selectMe(this);" oncomplete="setBarHeight();">
| <s:conversationPropagation type="join"/>
| </a4j:commandLink>
| </li>
| </ul>
Here is my pages.xml:
<page view-id="/account/details.xhtml" action="#{detailsearch.findSessions(selectedAlertSession)}" >
|
| </page>
Here is my action bean:
@Name("detailsearch")
| @Scope(ScopeType.CONVERSATION)
| @GALoggedIn
| public class GAAccountDetailsAction {
|
| @In
| private Session gadb;
| @In
| private GAHostAppInfo hostApp;
| @In
| private FacesMessages facesMessages;
| @Logger
| private Log log;
| @DataModel
| private List<GASession> sessionList;
| @DataModelSelection
| private GASession dmSession;
|
| @In(required=false) @Out(required=false)
| private GASession selectedSession;
|
| private long totalSessions;
| private int scale;
| private GASession sessionTmpl;
| private List<GAUISessionProp> sessionPropList;
| private String maxOrMin;
| @Begin(id="#{selectedAlertSession.id}",join=true)
| public String findSessions(GASession selectedAlertSession) {
| log.debug("in findSessions(): selectedSession==null?" + (selectedSession==null));
| try {
| if (selectedSession == null) {
| init();
| if (selectedAlertSession != null) {
| selectedSession = selectedAlertSession;
| totalSessions = countSessions();
| getSessions();
| } else {
| facesMessages.addFromResourceBundle(Constants.NO_ACCOUNT_SELECTED);
| return "error";
| }
| }
| return "details";
| } catch (Throwable t) {
| log.error("Exception in findSessions()", t);
| facesMessages.addFromResourceBundle(Constants.APPLICATION_ERROR);
| return "error";
| }
| }
|
| public void applyScale1() {
| try {
| log.debug("in applyScale1()");
| this.scale = 1;
| getSessions();
| } catch (Throwable t) {
| log.error("Error while applying scale", t);
| facesMessages.addFromResourceBundle(Constants.APPLICATION_ERROR);
| }
| }
I also notice that after the applyScale1() method is called, the findSessions() is called again due to page action. My question is since it is an ajax request, shouldn't the page action be invoked? I thought page action is only invoked when the page is rendered, does this imply every interaction to the server from that page will cause JSF to render the page and hence, page action is invoked?
Why s:conversationPropagation with type="join" doesn't join the previous conversation?
Is there any better way to do achieve this if my current approach is not working?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996911#3996911
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996911
17 years, 8 months
[JBoss Seam] - Re: iceFaces inputFile component
by buddy1974
Hi Folks,
I found, that I was missing entries in my web.xml
| <servlet>
| <servlet-name>uploadServlet</servlet-name>
| <servlet-class>com.icesoft.faces.component.inputfile.FileUploadServlet</servlet-class>
| <load-on-startup> 1 </load-on-startup>
| </servlet>
| <servlet-mapping>
| <servlet-name>uploadServlet</servlet-name>
| <url-pattern>/uploadHtml</url-pattern>
| </servlet-mapping>
|
I inserted them. Now the upload Component renders fine.
No when uploading a file, I get the following Error(s):
anonymous wrote :
| 21:54:56,458 ERROR [STDERR] java.lang.reflect.InvocationTargetException
| 21:54:56,458 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
| 21:54:56,458 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 21:54:56,458 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
| 21:54:56,458 ERROR [STDERR] at com.icesoft.faces.component.inputfile.InputFile.fireEvent(InputFile.java:305)
| 21:54:56,458 ERROR [STDERR] at com.icesoft.faces.component.inputfile.ProgressOutputStream.setSaved(ProgressOutputStream.java:80)
| 21:54:56,458 ERROR [STDERR] at com.icesoft.faces.component.inputfile.DiskFileUpload.parseRequest(DiskFileUpload.java:256)
| 21:54:56,458 ERROR [STDERR] at com.icesoft.faces.component.inputfile.FileUploadServlet.processMultipartContent(FileUploadServlet.java:160)
| 21:54:56,458 ERROR [STDERR] at com.icesoft.faces.component.inputfile.FileUploadServlet.doPost(FileUploadServlet.java:146)
| 21:54:56,458 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| 21:54:56,458 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| 21:54:56,458 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 21:54:56,458 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 21:54:56,458 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 21:54:56,458 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 21:54:56,458 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 21:54:56,458 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 21:54:56,458 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 21:54:56,458 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 21:54:56,498 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 21:54:56,498 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 21:54:56,498 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 21:54:56,498 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| 21:54:56,498 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 21:54:56,498 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 21:54:56,498 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 21:54:56,498 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 21:54:56,498 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 21:54:56,498 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 21:54:56,498 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
| 21:54:56,498 ERROR [STDERR] Caused by: javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5c4o07-npi3ii-ewb32xv5-1-ewb33p7c-d
| 21:54:56,498 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:268)
| 21:54:56,498 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
| 21:54:56,498 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 21:54:56,498 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| 21:54:56,498 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
| 21:54:56,498 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 21:54:56,498 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 21:54:56,498 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 21:54:56,498 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 21:54:56,498 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 21:54:56,498 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
| 21:54:56,498 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| 21:54:56,498 ERROR [STDERR] at $Proxy148.progress(Unknown Source)
| 21:54:56,588 ERROR [STDERR] at de.ellumination.share.sb.UploadHome$$FastClassByCGLIB$$13259d82.invoke()
| 21:54:56,598 ERROR [STDERR] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| 21:54:56,598 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| 21:54:56,598 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| 21:54:56,598 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| 21:54:56,598 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| 21:54:56,598 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
| 21:54:56,598 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 21:54:56,979 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
| 21:54:56,979 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
| 21:54:56,979 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 21:54:56,979 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:112)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
| 21:54:56,979 ERROR [STDERR] at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$b7ee210f.progress()
| 21:54:56,979 ERROR [STDERR] ... 29 more
| 21:54:56,989 ERROR [STDERR] java.lang.reflect.InvocationTargetException
| 21:54:56,989 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
| 21:54:56,989 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 21:54:56,989 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
| 21:54:56,989 ERROR [STDERR] at com.icesoft.faces.component.inputfile.InputFile.fireEvent(InputFile.java:305)
| 21:54:56,989 ERROR [STDERR] at com.icesoft.faces.component.inputfile.FileUploadServlet.SaveFile(FileUploadServlet.java:194)
| 21:54:56,989 ERROR [STDERR] at com.icesoft.faces.component.inputfile.FileUploadServlet.processMultipartContent(FileUploadServlet.java:161)
| 21:54:56,989 ERROR [STDERR] at com.icesoft.faces.component.inputfile.FileUploadServlet.doPost(FileUploadServlet.java:146)
| 21:54:56,989 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| 21:54:56,989 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 21:54:56,989 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 21:54:56,989 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 21:54:56,989 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 21:54:56,989 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 21:54:56,989 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 21:54:56,989 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 21:54:56,989 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 21:54:56,989 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 21:54:56,989 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 21:54:56,989 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
| 21:54:56,989 ERROR [STDERR] Caused by: javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5c4o07-npi3ii-ewb32xv5-1-ewb33p7c-d
| 21:54:56,989 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:268)
| 21:54:56,989 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
| 21:54:56,989 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 21:54:56,989 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| 21:54:56,989 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
| 21:54:56,989 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 21:54:56,989 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 21:54:56,989 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 21:54:56,989 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 21:54:56,989 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 21:54:56,989 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
| 21:54:56,989 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| 21:54:56,989 ERROR [STDERR] at $Proxy148.progress(Unknown Source)
| 21:54:56,989 ERROR [STDERR] at de.ellumination.share.sb.UploadHome$$FastClassByCGLIB$$13259d82.invoke()
| 21:54:56,989 ERROR [STDERR] at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| 21:54:56,989 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| 21:54:56,989 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| 21:54:56,989 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| 21:54:56,989 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| 21:54:56,989 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
| 21:54:56,989 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 21:54:56,989 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
| 21:54:56,989 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| 21:54:56,989 ERROR [STDERR] at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| 21:54:56,989 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| 21:54:56,989 ERROR [STDERR] at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
| 21:54:56,989 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
| 21:54:56,989 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 21:54:56,999 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:112)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
| 21:54:57,029 ERROR [STDERR] at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$b7ee210f.progress()
| 21:54:57,029 ERROR [STDERR] ... 28 more
| 21:54:57,189 INFO [Exceptions] no exceptions.xml file found
| 21:54:57,189 ERROR [Exceptions] redirecting to debug page
| javax.ejb.EJBTransactionRolledbackException: java.lang.ClassCastException: com.icesoft.faces.component.inputfile.InputFile cannot be cast to com.icesoft.faces.component.input
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy148.action(Unknown Source)
| at de.ellumination.share.sb.UploadHome$$FastClassByCGLIB$$13259d82.invoke()
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
| at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
| at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
| at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$b7ee210f.action()
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
| at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
| at org.jboss.seam.ui.facelet.OptionalParameterMethodExpression.invoke(OptionalParameterMethodExpression.java:34)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
| at javax.faces.component.UICommand.broadcast(UICommand.java:86)
| at com.icesoft.faces.component.inputfile.InputFile.broadcast(InputFile.java:501)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.execute(PersistentFacesState.java:305)
| at com.icesoft.faces.webapp.xmlhttp.FileUploadServlet.execute(FileUploadServlet.java:85)
| at com.icesoft.faces.component.inputfile.FileUploadServlet.SaveFile(FileUploadServlet.java:233)
| at com.icesoft.faces.component.inputfile.FileUploadServlet.processMultipartContent(FileUploadServlet.java:161)
| at com.icesoft.faces.component.inputfile.FileUploadServlet.doPost(FileUploadServlet.java:146)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.ClassCastException: com.icesoft.faces.component.inputfile.InputFile cannot be cast to com.icesoft.faces.component.inputfile.InputFile
| at de.ellumination.share.sb.UploadBean.action(UploadBean.java:53)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:51)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:39)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:49)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| ... 82 more
|
Called Bean is the UploadBean posted before.
Any Help is highly appreciated
Kind regards
Juergen Hoffmann
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996910#3996910
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996910
17 years, 8 months