I’ve got stuff running inside of Jboss portal 2.6.3, but I’m getting this persistent ClassCastException on just about every server interaction. It doesn’t appear to impact what the application is doing, but it appears to impact performance. The Jboss portal runs with another version of commons-io, which appears to always take precendence over the version packaged with Orbeon. Any thoughts on how to coerce the classloader to use the 1.1 version for Orbeon? Jack 07:08:38,755 INFO [ProcessorService] /xforms-server - Received request 07:08:38,814 ERROR [ProcessorService] Exception with no location data java.lang.ClassCastException: org.apache.commons.io.output.DeferredFileOutputStream at org.orbeon.oxf.xml.XMLUtils$2.contextDestroyed(XMLUtils.java:925) at org.orbeon.oxf.pipeline.api.PipelineContext.destroy(PipelineContext.java:186) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:97) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:613) --------------------- Jack Cox CapTech Ventures, Inc. 1118 W. Main St. Richmond, VA 23220 804-306-4710 -- 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
|
Jack,
I suspect that this line is causing trouble: final String temporaryFileName = ((DeferredFileOutputStream) fileItem.getOutputStream()).getFile().getAbsolutePath(); Our DeferredFileOutputStream is in package org.apache.commons.fileupload. The error your are seeing shows that it is in another package. What we should do is upgrade to either 1.1.1 or 1.2.1. But this will require changing some Java code due to the casts we are doing. I entered a bug: http://forge.objectweb.org/tracker/index.php?func=detail&aid=308976&group_id=168&atid=350207 -Erik On Mar 27, 2008, at 4:16 AM, Jack Cox wrote: > Guys, > > I’ve got stuff running inside of Jboss portal 2.6.3, but I’m getting > this persistent ClassCastException on just about every server > interaction. It doesn’t appear to impact what the application is > doing, but it appears to impact performance. > > The Jboss portal runs with another version of commons-io, which > appears to always take precendence over the version packaged with > Orbeon. > > Any thoughts on how to coerce the classloader to use the 1.1 version > for Orbeon? > > Jack > > > 07:08:38,755 INFO [ProcessorService] /xforms-server - Received > request > 07:08:38,814 ERROR [ProcessorService] Exception with no location data > java.lang.ClassCastException: > org.apache.commons.io.output.DeferredFileOutputStream > at org.orbeon.oxf.xml.XMLUtils > $2.contextDestroyed(XMLUtils.java:925) > at > org > .orbeon > .oxf.pipeline.api.PipelineContext.destroy(PipelineContext.java:186) > at > org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:97) > at > org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java: > 96) > at > org > .orbeon > .oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148) > at javax.servlet.http.HttpServlet.service(HttpServlet.java: > 803) > at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java: > 75) > at javax.servlet.http.HttpServlet.service(HttpServlet.java: > 803) > at > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > at > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org > .jboss > .web > .tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) > at > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > at > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 230) > at > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke > (SecurityAssociationValve.java:179) > at > org > .jboss > .web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) > at > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke > (CachedConnectionValve.java:157) > at > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > at > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 262) > at > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > at org.apache.coyote.http11.Http11Protocol > $Http11ConnectionHandler.process(Http11Protocol.java:583) > at org.apache.tomcat.util.net.JIoEndpoint > $Worker.run(JIoEndpoint.java:446) > at java.lang.Thread.run(Thread.java:613) > > > --------------------- > Jack Cox > CapTech Ventures, Inc. > 1118 W. Main St. > Richmond, VA 23220 > 804-306-4710 > > -- > 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 |
Erik,
Any estimated time frame for the fix. I ask because I think it is causing some other weird behavior, such as: 1) Not resolving names to resources correctly, e.g. Any external resource like an image or a servlet in the same container must be referenced by it's full URL instead of a relative URL. 2) Things like the xforms:delete not working, but xforms:insert does. Jack On 3/27/08 1:07 PM, "Erik Bruchez" <[hidden email]> wrote: > Jack, > > I suspect that this line is causing trouble: > > final String temporaryFileName = ((DeferredFileOutputStream) > fileItem.getOutputStream()).getFile().getAbsolutePath(); > > Our DeferredFileOutputStream is in package > org.apache.commons.fileupload. The error your are seeing shows that it > is in another package. > > What we should do is upgrade to either 1.1.1 or 1.2.1. But this will > require changing some Java code due to the casts we are doing. I > entered a bug: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=308976&group_id=1 > 68&atid=350207 > > -Erik > > On Mar 27, 2008, at 4:16 AM, Jack Cox wrote: > >> Guys, >> >> I¹ve got stuff running inside of Jboss portal 2.6.3, but I¹m getting >> this persistent ClassCastException on just about every server >> interaction. It doesn¹t appear to impact what the application is >> doing, but it appears to impact performance. >> >> The Jboss portal runs with another version of commons-io, which >> appears to always take precendence over the version packaged with >> Orbeon. >> >> Any thoughts on how to coerce the classloader to use the 1.1 version >> for Orbeon? >> >> Jack >> >> >> 07:08:38,755 INFO [ProcessorService] /xforms-server - Received >> request >> 07:08:38,814 ERROR [ProcessorService] Exception with no location data >> java.lang.ClassCastException: >> org.apache.commons.io.output.DeferredFileOutputStream >> at org.orbeon.oxf.xml.XMLUtils >> $2.contextDestroyed(XMLUtils.java:925) >> at >> org >> .orbeon >> .oxf.pipeline.api.PipelineContext.destroy(PipelineContext.java:186) >> at >> org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:97) >> at >> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java: >> 96) >> at >> org >> .orbeon >> .oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java: >> 803) >> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java: >> 75) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java: >> 803) >> at >> org >> .apache >> .catalina >> .core >> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: >> 290) >> at >> org >> .apache >> .catalina >> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at >> org >> .jboss >> .web >> .tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) >> at >> org >> .apache >> .catalina >> .core >> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: >> 235) >> at >> org >> .apache >> .catalina >> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at >> org >> .apache >> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: >> 230) >> at >> org >> .apache >> .catalina.core.StandardContextValve.invoke(StandardContextValve.java: >> 175) >> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke >> (SecurityAssociationValve.java:179) >> at >> org >> .jboss >> .web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) >> at >> org >> .apache >> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> at >> org >> .apache >> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke >> (CachedConnectionValve.java:157) >> at >> org >> .apache >> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: >> 109) >> at >> org >> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: >> 262) >> at >> org >> .apache.coyote.http11.Http11Processor.process(Http11Processor.java: >> 844) >> at org.apache.coyote.http11.Http11Protocol >> $Http11ConnectionHandler.process(Http11Protocol.java:583) >> at org.apache.tomcat.util.net.JIoEndpoint >> $Worker.run(JIoEndpoint.java:446) >> at java.lang.Thread.run(Thread.java:613) >> >> >> --------------------- >> Jack Cox >> CapTech Ventures, Inc. >> 1118 W. Main St. >> Richmond, VA 23220 >> 804-306-4710 >> >> -- >> 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 Jack Cox CapTech Ventures, Inc. 1118 W. Main St. Richmond, VA 23220 804-306-4710 -- 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
|
Jack,
We have upgraded to commons-fileupload 1.2.1. Hopefully this will fix your problem, although we can't rule out that this won't conflict with the JBoss version. Please let us know if this works. -Erik On Mar 28, 2008, at 10:36 AM, Jack Cox wrote: > Erik, > > Any estimated time frame for the fix. I ask because I think it is > causing > some other weird behavior, such as: > > 1) Not resolving names to resources correctly, e.g. Any external > resource > like an image or a servlet in the same container must be referenced > by it's > full URL instead of a relative URL. > 2) Things like the xforms:delete not working, but xforms:insert does. > > Jack > > > > On 3/27/08 1:07 PM, "Erik Bruchez" <[hidden email]> wrote: > >> Jack, >> >> I suspect that this line is causing trouble: >> >> final String temporaryFileName = ((DeferredFileOutputStream) >> fileItem.getOutputStream()).getFile().getAbsolutePath(); >> >> Our DeferredFileOutputStream is in package >> org.apache.commons.fileupload. The error your are seeing shows that >> it >> is in another package. >> >> What we should do is upgrade to either 1.1.1 or 1.2.1. But this will >> require changing some Java code due to the casts we are doing. I >> entered a bug: >> >> http://forge.objectweb.org/tracker/index.php?func=detail&aid=308976&group_id=1 >> 68&atid=350207 >> >> -Erik >> >> On Mar 27, 2008, at 4:16 AM, Jack Cox wrote: >> >>> Guys, >>> >>> I’ve got stuff running inside of Jboss portal 2.6.3, but I’m getting >>> this persistent ClassCastException on just about every server >>> interaction. It doesn’t appear to impact what the application is >>> doing, but it appears to impact performance. >>> >>> The Jboss portal runs with another version of commons-io, which >>> appears to always take precendence over the version packaged with >>> Orbeon. >>> >>> Any thoughts on how to coerce the classloader to use the 1.1 version >>> for Orbeon? >>> >>> Jack >>> >>> >>> 07:08:38,755 INFO [ProcessorService] /xforms-server - Received >>> request >>> 07:08:38,814 ERROR [ProcessorService] Exception with no location >>> data >>> java.lang.ClassCastException: >>> org.apache.commons.io.output.DeferredFileOutputStream >>> at org.orbeon.oxf.xml.XMLUtils >>> $2.contextDestroyed(XMLUtils.java:925) >>> at >>> org >>> .orbeon >>> .oxf.pipeline.api.PipelineContext.destroy(PipelineContext.java:186) >>> at >>> org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:97) >>> at >>> org >>> .orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java: >>> 96) >>> at >>> org >>> .orbeon >>> .oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java: >>> 803) >>> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java: >>> 75) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java: >>> 803) >>> at >>> org >>> .apache >>> .catalina >>> .core >>> .ApplicationFilterChain >>> .internalDoFilter(ApplicationFilterChain.java: >>> 290) >>> at >>> org >>> .apache >>> .catalina >>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: >>> 206) >>> at >>> org >>> .jboss >>> .web >>> .tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: >>> 96) >>> at >>> org >>> .apache >>> .catalina >>> .core >>> .ApplicationFilterChain >>> .internalDoFilter(ApplicationFilterChain.java: >>> 235) >>> at >>> org >>> .apache >>> .catalina >>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: >>> 206) >>> at >>> org >>> .apache >>> .catalina >>> .core.StandardWrapperValve.invoke(StandardWrapperValve.java: >>> 230) >>> at >>> org >>> .apache >>> .catalina >>> .core.StandardContextValve.invoke(StandardContextValve.java: >>> 175) >>> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke >>> (SecurityAssociationValve.java:179) >>> at >>> org >>> .jboss >>> .web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java: >>> 84) >>> at >>> org >>> .apache >>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >>> at >>> org >>> .apache >>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >>> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke >>> (CachedConnectionValve.java:157) >>> at >>> org >>> .apache >>> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: >>> 109) >>> at >>> org >>> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: >>> 262) >>> at >>> org >>> .apache.coyote.http11.Http11Processor.process(Http11Processor.java: >>> 844) >>> at org.apache.coyote.http11.Http11Protocol >>> $Http11ConnectionHandler.process(Http11Protocol.java:583) >>> at org.apache.tomcat.util.net.JIoEndpoint >>> $Worker.run(JIoEndpoint.java:446) >>> at java.lang.Thread.run(Thread.java:613) >>> >>> >>> --------------------- >>> Jack Cox >>> CapTech Ventures, Inc. >>> 1118 W. Main St. >>> Richmond, VA 23220 >>> 804-306-4710 >>> >>> -- >>> 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 > > --------------------- > Jack Cox > CapTech Ventures, Inc. > 1118 W. Main St. > Richmond, VA 23220 > 804-306-4710 > > > -- > 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 |