Results 1 to 2 of 2
  1. #1
    pmv103 is offline Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    0

    Default Jsf project glassfish to tomcat

    Hello Everyone,
    I am trying to tranfer jsf project (containing servlet, jsp) which developed in glassfish 2 environment to tomcat-6.0. I added required jar to project and completed almost all the thing and added openEjb container to tomcat for ejb part. I am getting problems in deleting records, when I select check boxes to delete tomcat gives error are as follows-

    SEVERE: javax.sql.rowset.spi.SyncProviderException: Number of conflicts while synchronizing: 1
    javax.faces.el.EvaluationException: javax.sql.rowset.spi.SyncProviderException: Number of conflicts while synchronizing: 1
    at javax.faces.component.MethodBindingMethodExpressio nAdapter.invoke(MethodBindingMethodExpressionAdapt er.java:91)
    at com.sun.faces.application.ActionListenerImpl.proce ssAction(ActionListenerImpl.java:102)
    at com.sun.rave.web.ui.appbase.faces.ActionListenerIm pl.processAction(ActionListenerImpl.java:91)
    at javax.faces.component.UICommand.broadcast(UIComman d.java:384)
    at com.sun.webui.jsf.component.WebuiCommand.broadcast (WebuiCommand.java:160)
    at org.ajax4jsf.component.AjaxViewRoot.processEvents( AjaxViewRoot.java:317)
    at org.ajax4jsf.component.AjaxViewRoot.broadcastEvent s(AjaxViewRoot.java:292)
    at org.ajax4jsf.component.AjaxViewRoot.processPhase(A jaxViewRoot.java:249)
    at org.ajax4jsf.component.AjaxViewRoot.processApplica tion(AjaxViewRoot.java:462)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.exe cute(InvokeApplicationPhase.java:82)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:1 00)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(Life cycleImpl.java:118)
    at com.sun.faces.extensions.avatar.lifecycle.PartialT raversalLifecycle.execute(PartialTraversalLifecycl e.java:94)
    at javax.faces.webapp.FacesServlet.service(FacesServl et.java:244)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(Base XMLFilter.java:154)
    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseF ilter.java:260)
    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHa ndleRequest(BaseFilter.java:366)
    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter .java:493)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at com.sun.webui.jsf.util.UploadFilter.doFilter(Uploa dFilter.java:267)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at com.spheredge.labroc.SessionCheckFilter.doFilter(S essionCheckFilter.java:68)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:857)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.sql.rowset.spi.SyncProviderException: Number of conflicts while synchronizing: 1
    at com.sun.sql.rowset.internal.CachedRowSetXWriter.wr iteData(CachedRowSetXWriter.java:530)
    at com.sun.sql.rowset.CachedRowSetXImpl5.acceptChange s(CachedRowSetXImpl5.java:955)
    at com.sun.data.provider.impl.CachedRowSetDataProvide r.commitChanges(CachedRowSetDataProvider.java:959)
    at com.spheredge.labroc.Groups.deleteGroupName(Groups .java:1038)
    at com.spheredge.labroc.Groups.deleteContactAction(Gr oups.java:917)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.el.parser.AstValue.invoke(AstValue.java :191)
    at org.apache.el.MethodExpressionImpl.invoke(MethodEx pressionImpl.java:276)
    at org.apache.jasper.el.JspMethodExpression.invoke(Js pMethodExpression.java:68)
    at javax.faces.component.MethodBindingMethodExpressio nAdapter.invoke(MethodBindingMethodExpressionAdapt er.java:71)
    ... 37 more

    Thanks

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    One of the reasons for getting that is if the original row you are trying to delete no longer exists.

Similar Threads

  1. GlassFish v3
    By ashin in forum NetBeans
    Replies: 2
    Last Post: 07-19-2011, 09:55 AM
  2. Glassfish
    By ronguilmet in forum New To Java
    Replies: 0
    Last Post: 11-15-2009, 09:13 PM
  3. What d u use, Apache Tomcat or GlassFish? Why
    By thom_ in forum New To Java
    Replies: 0
    Last Post: 03-05-2009, 11:14 PM
  4. Replies: 1
    Last Post: 12-02-2008, 12:23 AM
  5. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 10:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •