I am trying to use OPS 3.6.0 on JBOSS 4.2.0 GA application server from my
application (on JBOSS) using crosscontext. I am getting the following error (I am able to use crosscontext from tomcat without any issues even if my xforms file size is more than 100 kb. On JBOSS, i am always getting outofmemory error. Orbeon Forms - An Error has Occurred An error has occurred in Orbeon Forms. You may want to try one of the following: Error Message org.exolab.castor.mapping.MappingException: The field MODE_SYNCHRONOUS in class org.w3c.dom.ls.DOMImplementationLS is not accessible -- the field must be public, not static and not transient Call Stack Resource URL Line Column Description XML Element There is no Orbeon Forms call stack available for this error. Java Exceptions (5 total) Java Exceptions are the native mechanism by which Orbeon Forms reports errors. More than one exception may be provided below but usually the first exception along with the Orbeon Forms Stack Trace above provide enough information to track down an issue. org.exolab.castor.xml.MarshalException Exception Class org.exolab.castor.xml.MarshalException Message org.exolab.castor.mapping.MappingException: The field MODE_SYNCHRONOUS in class org.w3c.dom.ls.DOMImplementationLS is not accessible -- the field must be public, not static and not transient Servlet Stack Trace (27 method calls) Class Name Method Name File Name Line Number org.exolab.castor.xml.Marshaller getClassDescriptor Marshaller.java 1533 org.exolab.castor.xml.Marshaller marshal Marshaller.java 865 org.exolab.castor.xml.Marshaller marshal Marshaller.java 1323 org.exolab.castor.xml.Marshaller marshal Marshaller.java 735 org.orbeon.oxf.processor.scope.ScopeGenerator readBean ScopeGenerator.java 178 org.orbeon.oxf.processor.scope.ScopeGenerator$1 fillOutState ScopeGenerator.java 134 org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl getFilledOutState ProcessorImpl.java 1441 org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl getLocalKey ProcessorImpl.java 1404 org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl getKeyImpl ProcessorImpl.java 1346 org.orbeon.oxf.processor.ProcessorImpl$7 getKey ProcessorImpl.java 1034 More... org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl getKey ProcessorImpl.java 1224 org.orbeon.oxf.processor.pipeline.TeeProcessor$1 getKeyImpl TeeProcessor.java 83 org.orbeon.oxf.processor.ProcessorImpl$7 getKey ProcessorImpl.java 1034 org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl getKey ProcessorImpl.java 1224 org.orbeon.oxf.processor.ProcessorImpl getInputKey ProcessorImpl.java 1242 org.orbeon.oxf.processor.ProcessorImpl getInputKeyValidity ProcessorImpl.java 1277 org.orbeon.oxf.processor.ProcessorImpl readCacheInputAsObject ProcessorImpl.java 473 org.orbeon.oxf.processor.ProcessorImpl readCacheInputAsTinyTree ProcessorImpl.java 443 org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor start ConcreteChooseProcessor.java 184 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 650 org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java 554 org.orbeon.oxf.processor.pipeline.PipelineProcessor start PipelineProcessor.java 647 org.orbeon.oxf.pipeline.InitUtils runProcessor InitUtils.java 95 org.orbeon.oxf.webapp.ProcessorService service ProcessorService.java 96 org.orbeon.oxf.servlet.OPSServletDelegate service OPSServletDelegate.java 148 javax.servlet.http.HttpServlet service HttpServlet.java 803 org.orbeon.oxf.servlet.OPSServlet service OPSServlet.java 75 Servlet Stack Trace (26 method calls) Class Name Method Name File Name Line Number javax.servlet.http.HttpServlet service HttpServlet.java 803 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 290 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 org.apache.catalina.core.ApplicationDispatcher invoke ApplicationDispatcher.java 687 org.apache.catalina.core.ApplicationDispatcher processRequest ApplicationDispatcher.java 469 org.apache.catalina.core.ApplicationDispatcher doForward ApplicationDispatcher.java 403 org.apache.catalina.core.ApplicationDispatcher forward ApplicationDispatcher.java 301 org.orbeon.oxf.servlet.OPSXFormsFilter doFilter OPSXFormsFilter.java 89 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 235 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 More... org.jboss.web.tomcat.filters.ReplyHeaderFilter doFilter ReplyHeaderFilter.java 96 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 235 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 org.apache.catalina.core.StandardWrapperValve invoke StandardWrapperValve.java 230 org.apache.catalina.core.StandardContextValve invoke StandardContextValve.java 175 org.jboss.web.tomcat.security.SecurityAssociationValve invoke SecurityAssociationValve.java 179 org.jboss.web.tomcat.security.JaccContextValve invoke JaccContextValve.java 84 org.apache.catalina.core.StandardHostValve invoke StandardHostValve.java 128 org.apache.catalina.valves.ErrorReportValve invoke ErrorReportValve.java 104 org.jboss.web.tomcat.service.jca.CachedConnectionValve invoke CachedConnectionValve.java 156 org.apache.catalina.core.StandardEngineValve invoke StandardEngineValve.java 109 org.apache.catalina.connector.CoyoteAdapter service CoyoteAdapter.java 241 org.apache.coyote.http11.Http11Processor process Http11Processor.java 844 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process Http11Protocol.java 580 org.apache.tomcat.util.net.JIoEndpoint$Worker run JIoEndpoint.java 447 java.lang.Thread run Thread.java 595 org.orbeon.oxf.common.OXFException Exception Class org.orbeon.oxf.common.OXFException Message org.exolab.castor.mapping.MappingException: The field MODE_SYNCHRONOUS in class org.w3c.dom.ls.DOMImplementationLS is not accessible -- the field must be public, not static and not transient Servlet Stack Trace (23 method calls) Class Name Method Name File Name Line Number org.orbeon.oxf.processor.scope.ScopeGenerator readBean ScopeGenerator.java 183 org.orbeon.oxf.processor.scope.ScopeGenerator$1 fillOutState ScopeGenerator.java 134 org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl getFilledOutState ProcessorImpl.java 1441 org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl getLocalKey ProcessorImpl.java 1404 org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl getKeyImpl ProcessorImpl.java 1346 org.orbeon.oxf.processor.ProcessorImpl$7 getKey ProcessorImpl.java 1034 org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl getKey ProcessorImpl.java 1224 org.orbeon.oxf.processor.pipeline.TeeProcessor$1 getKeyImpl TeeProcessor.java 83 org.orbeon.oxf.processor.ProcessorImpl$7 getKey ProcessorImpl.java 1034 org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl getKey ProcessorImpl.java 1224 More... org.orbeon.oxf.processor.ProcessorImpl getInputKey ProcessorImpl.java 1242 org.orbeon.oxf.processor.ProcessorImpl getInputKeyValidity ProcessorImpl.java 1277 org.orbeon.oxf.processor.ProcessorImpl readCacheInputAsObject ProcessorImpl.java 473 org.orbeon.oxf.processor.ProcessorImpl readCacheInputAsTinyTree ProcessorImpl.java 443 org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor start ConcreteChooseProcessor.java 184 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 650 org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java 554 org.orbeon.oxf.processor.pipeline.PipelineProcessor start PipelineProcessor.java 647 org.orbeon.oxf.pipeline.InitUtils runProcessor InitUtils.java 95 org.orbeon.oxf.webapp.ProcessorService service ProcessorService.java 96 org.orbeon.oxf.servlet.OPSServletDelegate service OPSServletDelegate.java 148 javax.servlet.http.HttpServlet service HttpServlet.java 803 org.orbeon.oxf.servlet.OPSServlet service OPSServlet.java 75 Servlet Stack Trace (26 method calls) Class Name Method Name File Name Line Number javax.servlet.http.HttpServlet service HttpServlet.java 803 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 290 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 org.apache.catalina.core.ApplicationDispatcher invoke ApplicationDispatcher.java 687 org.apache.catalina.core.ApplicationDispatcher processRequest ApplicationDispatcher.java 469 org.apache.catalina.core.ApplicationDispatcher doForward ApplicationDispatcher.java 403 org.apache.catalina.core.ApplicationDispatcher forward ApplicationDispatcher.java 301 org.orbeon.oxf.servlet.OPSXFormsFilter doFilter OPSXFormsFilter.java 89 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 235 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 More... org.jboss.web.tomcat.filters.ReplyHeaderFilter doFilter ReplyHeaderFilter.java 96 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 235 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 org.apache.catalina.core.StandardWrapperValve invoke StandardWrapperValve.java 230 org.apache.catalina.core.StandardContextValve invoke StandardContextValve.java 175 org.jboss.web.tomcat.security.SecurityAssociationValve invoke SecurityAssociationValve.java 179 org.jboss.web.tomcat.security.JaccContextValve invoke JaccContextValve.java 84 org.apache.catalina.core.StandardHostValve invoke StandardHostValve.java 128 org.apache.catalina.valves.ErrorReportValve invoke ErrorReportValve.java 104 org.jboss.web.tomcat.service.jca.CachedConnectionValve invoke CachedConnectionValve.java 156 org.apache.catalina.core.StandardEngineValve invoke StandardEngineValve.java 109 org.apache.catalina.connector.CoyoteAdapter service CoyoteAdapter.java 241 org.apache.coyote.http11.Http11Processor process Http11Processor.java 844 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process Http11Protocol.java 580 org.apache.tomcat.util.net.JIoEndpoint$Worker run JIoEndpoint.java 447 java.lang.Thread run Thread.java 595 org.orbeon.oxf.common.OXFException Exception Class org.orbeon.oxf.common.OXFException Message org.exolab.castor.mapping.MappingException: The field MODE_SYNCHRONOUS in class org.w3c.dom.ls.DOMImplementationLS is not accessible -- the field must be public, not static and not transient Servlet Stack Trace (22 method calls) Class Name Method Name File Name Line Number org.orbeon.oxf.processor.scope.ScopeGenerator$1 fillOutState ScopeGenerator.java 158 org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl getFilledOutState ProcessorImpl.java 1441 org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl getLocalKey ProcessorImpl.java 1404 org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl getKeyImpl ProcessorImpl.java 1346 org.orbeon.oxf.processor.ProcessorImpl$7 getKey ProcessorImpl.java 1034 org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl getKey ProcessorImpl.java 1224 org.orbeon.oxf.processor.pipeline.TeeProcessor$1 getKeyImpl TeeProcessor.java 83 org.orbeon.oxf.processor.ProcessorImpl$7 getKey ProcessorImpl.java 1034 org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl getKey ProcessorImpl.java 1224 org.orbeon.oxf.processor.ProcessorImpl getInputKey ProcessorImpl.java 1242 More... org.orbeon.oxf.processor.ProcessorImpl getInputKeyValidity ProcessorImpl.java 1277 org.orbeon.oxf.processor.ProcessorImpl readCacheInputAsObject ProcessorImpl.java 473 org.orbeon.oxf.processor.ProcessorImpl readCacheInputAsTinyTree ProcessorImpl.java 443 org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor start ConcreteChooseProcessor.java 184 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 650 org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java 554 org.orbeon.oxf.processor.pipeline.PipelineProcessor start PipelineProcessor.java 647 org.orbeon.oxf.pipeline.InitUtils runProcessor InitUtils.java 95 org.orbeon.oxf.webapp.ProcessorService service ProcessorService.java 96 org.orbeon.oxf.servlet.OPSServletDelegate service OPSServletDelegate.java 148 javax.servlet.http.HttpServlet service HttpServlet.java 803 org.orbeon.oxf.servlet.OPSServlet service OPSServlet.java 75 Servlet Stack Trace (26 method calls) Class Name Method Name File Name Line Number javax.servlet.http.HttpServlet service HttpServlet.java 803 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 290 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 org.apache.catalina.core.ApplicationDispatcher invoke ApplicationDispatcher.java 687 org.apache.catalina.core.ApplicationDispatcher processRequest ApplicationDispatcher.java 469 org.apache.catalina.core.ApplicationDispatcher doForward ApplicationDispatcher.java 403 org.apache.catalina.core.ApplicationDispatcher forward ApplicationDispatcher.java 301 org.orbeon.oxf.servlet.OPSXFormsFilter doFilter OPSXFormsFilter.java 89 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 235 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 More... org.jboss.web.tomcat.filters.ReplyHeaderFilter doFilter ReplyHeaderFilter.java 96 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 235 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 org.apache.catalina.core.StandardWrapperValve invoke StandardWrapperValve.java 230 org.apache.catalina.core.StandardContextValve invoke StandardContextValve.java 175 org.jboss.web.tomcat.security.SecurityAssociationValve invoke SecurityAssociationValve.java 179 org.jboss.web.tomcat.security.JaccContextValve invoke JaccContextValve.java 84 org.apache.catalina.core.StandardHostValve invoke StandardHostValve.java 128 org.apache.catalina.valves.ErrorReportValve invoke ErrorReportValve.java 104 org.jboss.web.tomcat.service.jca.CachedConnectionValve invoke CachedConnectionValve.java 156 org.apache.catalina.core.StandardEngineValve invoke StandardEngineValve.java 109 org.apache.catalina.connector.CoyoteAdapter service CoyoteAdapter.java 241 org.apache.coyote.http11.Http11Processor process Http11Processor.java 844 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process Http11Protocol.java 580 org.apache.tomcat.util.net.JIoEndpoint$Worker run JIoEndpoint.java 447 java.lang.Thread run Thread.java 595 org.orbeon.oxf.common.ValidationException Exception Class org.orbeon.oxf.common.ValidationException Message org.exolab.castor.mapping.MappingException: The field MODE_SYNCHRONOUS in class org.w3c.dom.ls.DOMImplementationLS is not accessible -- the field must be public, not static and not transient Servlet Stack Trace (9 method calls) Class Name Method Name File Name Line Number org.orbeon.oxf.common.ValidationException wrapException ValidationException.java 119 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 652 org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java 554 org.orbeon.oxf.processor.pipeline.PipelineProcessor start PipelineProcessor.java 647 org.orbeon.oxf.pipeline.InitUtils runProcessor InitUtils.java 95 org.orbeon.oxf.webapp.ProcessorService service ProcessorService.java 96 org.orbeon.oxf.servlet.OPSServletDelegate service OPSServletDelegate.java 148 javax.servlet.http.HttpServlet service HttpServlet.java 803 org.orbeon.oxf.servlet.OPSServlet service OPSServlet.java 75 More... Servlet Stack Trace (26 method calls) Class Name Method Name File Name Line Number javax.servlet.http.HttpServlet service HttpServlet.java 803 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 290 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 org.apache.catalina.core.ApplicationDispatcher invoke ApplicationDispatcher.java 687 org.apache.catalina.core.ApplicationDispatcher processRequest ApplicationDispatcher.java 469 org.apache.catalina.core.ApplicationDispatcher doForward ApplicationDispatcher.java 403 org.apache.catalina.core.ApplicationDispatcher forward ApplicationDispatcher.java 301 org.orbeon.oxf.servlet.OPSXFormsFilter doFilter OPSXFormsFilter.java 89 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 235 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 More... org.jboss.web.tomcat.filters.ReplyHeaderFilter doFilter ReplyHeaderFilter.java 96 org.apache.catalina.core.ApplicationFilterChain internalDoFilter ApplicationFilterChain.java 235 org.apache.catalina.core.ApplicationFilterChain doFilter ApplicationFilterChain.java 206 org.apache.catalina.core.StandardWrapperValve invoke StandardWrapperValve.java 230 org.apache.catalina.core.StandardContextValve invoke StandardContextValve.java 175 org.jboss.web.tomcat.security.SecurityAssociationValve invoke SecurityAssociationValve.java 179 org.jboss.web.tomcat.security.JaccContextValve invoke JaccContextValve.java 84 org.apache.catalina.core.StandardHostValve invoke StandardHostValve.java 128 org.apache.catalina.valves.ErrorReportValve invoke ErrorReportValve.java 104 org.jboss.web.tomcat.service.jca.CachedConnectionValve invoke CachedConnectionValve.java 156 org.apache.catalina.core.StandardEngineValve invoke StandardEngineValve.java 109 org.apache.catalina.connector.CoyoteAdapter service CoyoteAdapter.java 241 org.apache.coyote.http11.Http11Processor process Http11Processor.java 844 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process Http11Protocol.java 580 org.apache.tomcat.util.net.JIoEndpoint$Worker run JIoEndpoint.java 447 java.lang.Thread run Thread.java 595 org.orbeon.oxf.common.OXFException -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Sabeer,
I don't see a memory issue in your message. The error says " field MODE_SYNCHRONOUS in class org.w3c.dom.ls.DOMImplementationLS is not accessible -- the field must be public, not static and not transient" Where do you see an OutOfMemoryError? What I see in the stack trace is that there is an XML DOM in a request or session, which then, with the Scope Generator, is serialized out to XML. Is this something that you implemented yourself? -Erik On Feb 22, 2008, at 6:15 AM, Sabeer wrote: > field MODE_SYNCHRONOUS > in class org.w3c.dom.ls.DOMImplementationLS is not accessible -- the > field must > be public, not static and not transient -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
I am using crossContext to display my XHTML file. In my servlet,
request.setAttribute("oxf.xforms.renderer.document", sb ), earlier I was using the Document type as second parameter (after loading my XHTML file), now I have changed that to String type and everthing is working fine Is there any way to suppress the messages which are shown on JBOSS console by OPS? Sabeer -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Yes, you can configure RESOURCES/config/log4j.xml to reduce logging.
-Erik On Feb 26, 2008, at 5:14 AM, Sabeer wrote: > I am using crossContext to display my XHTML file. In my servlet, > request.setAttribute("oxf.xforms.renderer.document", sb ), earlier I > was using > the Document type as second parameter (after loading my XHTML file), > now I have > changed that to String type and everthing is working fine > > Is there any way to suppress the messages which are shown on JBOSS > console by > OPS? > > Sabeer > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |