3 Replies Latest reply on Apr 3, 2008 9:09 PM by Vikas Sharma

    Seam Booking Sample JEE5

    Vikas Sharma Newbie

      I am trying to run Seam Booking Sample-JEE5 on weblogic 10 MP1 with pointbase database.


      After authentication, application redirects to main.xhtml. When i click Find Hotel button first time on main.xhtml, i get below error.


      After getting error if i click browser back button, it takes me back to main.xhtml and after that Find Hotel works perfectly.


      Error:


      
      
      javax.faces.FacesException: javax.el.ELException: //C:/bea102/user_projects/workspaces/SeamBookingHSQLDB/JEE5BoookingHSQLDBWeb/WebContent/main.xhtml @70,109 rendered="#{hotelSearch.nextPageAvailable}": javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: java.lang.IllegalArgumentException: could not set field value: bookingList.user
      
           at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373)
      
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:993)
      
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001)
      
           at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001)
      
           at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493)
      
           at org.ajax4jsf.component.AjaxViewRoot.access$001(AjaxViewRoot.java:57)
      
           at org.ajax4jsf.component.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:260)
      
           at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
      
           at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:170)
      
           at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:276)
      
           at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101)
      
           at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      
           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      
           at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
      
           at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
      
           at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      
           at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      
           at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      
           at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
      
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
      
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      
           at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      
           at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
      
           at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
      
           at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
      
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
      
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
      
      Caused by: javax.el.ELException: //C:/bea102/user_projects/workspaces/SeamBookingHSQLDB/JEE5BoookingHSQLDBWeb/WebContent/main.xhtml @70,109 rendered="#{hotelSearch.nextPageAvailable}": javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: java.lang.IllegalArgumentException: could not set field value: bookingList.user
      
           at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
      
           at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:370)
      
           ... 43 more
      
      Caused by: javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: java.lang.IllegalArgumentException: could not set field value: bookingList.user
      
           at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:791)
      
           at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:483)
      
           at weblogic.ejb.container.internal.BaseLocalObject.postInvokeTxRetry(BaseLocalObject.java:421)
      
           at weblogic.ejb.container.internal.StatefulLocalObject.postInvokeTxRetry(StatefulLocalObject.java:86)
      
           at org.jboss.seam.example.booking.HotelSearchingAction_utcimg_HotelSearchingImpl.isNextPageAvailable(HotelSearchingAction_utcimg_HotelSearchingImpl.java:327)
      
           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:585)
      
           at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      
           at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      
           at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      
           at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
      
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      
           at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
      
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      
           at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      
           at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      
           at org.javassist.tmp.java.lang.Object_$$_javassist_3.isNextPageAvailable(Object_$$_javassist_3.java)
      
           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:585)
      
           at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
      
           at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
      
           at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
      
           at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
      
           at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      
           at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      
           at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
      
           ... 44 more
      
      
      
      





      Thanks