magnolia 3.05 Enterprise Edition i am still having issues with loading multiple images from the DMS.
i am basically filling a <div> with random images from a folder in the DMS, then animating them using DHTML. the images are loaded into a javascript array then written to the page using innerHTML. there seems to be issues with this process - even though the page renders properly to the user. for some reason IE causes the errors mentioned below. Firefox and opera do not cause any errors. if i call the same script referencing images in docroot rather than the DMS i get no errors obviously this is slightly scary as it looks like the DMS isnt a good place to store photos - which is the place a CMS SHOULD be storing user generated images (we can grant access to the DMS to our graphics guys) any suggestions? Liam Tipler Designer Simons Group "LIAM_TIPLER" <[email protected]> Sent by: <[email protected]> 05/11/2007 16:39 Please respond to <[email protected]> To <[email protected]> cc Subject [magnolia-user] problem with: error during download, Connection reset by peer: socket write error Hello all. magnolia 3.0.2 Enterprise Edition user, Tomcat 5.5, Eclipse Version: 3.3.0. i am having an issue with java / dhtml script im working on. basically the paragraph allows users to select a DMS folder then the script randomly fills up a column on a template with images from the specified folder. this column is then controlled via dhtml as to only allow enough images into the column so it stays the same height as the content beside it - also loading only the minimum amount of images needed. not rocket science you'll agree. now, the script works fine on screen. but if i look at the logs i see the following errors. BUT if i simply tell the script to write all the images to a seperate window BEFORE i load them into the current window there is no error. i guess its tomcat assuming we are spamming or something so throwing the errors. any help gratefully appreciated ERROR info.magnolia.module.dms.DMSDownloadServlet DMSDownloadServlet.java(doGet:50) 05.11.2007 16:16:09 error during download ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes( OutputBuffer.java:366) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323) at org.apache.catalina.connector.OutputBuffer.writeBytes( OutputBuffer.java:392) at org.apache.catalina.connector.OutputBuffer.write( OutputBuffer.java:381) at org.apache.catalina.connector.CoyoteOutputStream.write( CoyoteOutputStream.java:89) at info.magnolia.module.dms.DMSDownloadServlet.sendUnCompressed( DMSDownloadServlet.java:78) at info.magnolia.module.dms.DMSDownloadServlet.handleResourceRequest( DMSDownloadServlet.java:67) at info.magnolia.module.dms.DMSDownloadServlet.process( DMSDownloadServlet.java:141) at info.magnolia.module.dms.DMSDownloadServlet.doGet( DMSDownloadServlet.java:47) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:188) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:88) at info.magnolia.cms.filters.MgnlCmsFilter.doFilter( MgnlCmsFilter.java:106) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.cache.CacheFilter.doFilter( CacheFilter.java:96) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MgnlInterceptFilter.doFilter( MgnlInterceptFilter.java:130) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MgnlContextFilter.doFilter( MgnlContextFilter.java:45) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MultipartRequestFilter.doFilter( MultipartRequestFilter.java:80) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MgnlVirtualUriFilter.doFilter( MgnlVirtualUriFilter.java:83) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.security.SecurityFilter.doFilter( SecurityFilter.java:101) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.ContentTypeFilter.doFilter( ContentTypeFilter.java:66) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.enterprise.registration.RegistrationFilter.doFilter( RegistrationFilter.java:77) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MagnoliaManagedFilter.doFilter( MagnoliaManagedFilter.java:65) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection( Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes( InternalOutputBuffer.java:747) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer( ByteChunk.java:432) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:347) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite( InternalOutputBuffer.java:770) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite( IdentityOutputFilter.java:118) at org.apache.coyote.http11.InternalOutputBuffer.doWrite( InternalOutputBuffer.java:580) at org.apache.coyote.Response.doWrite(Response.java:560) at org.apache.catalina.connector.OutputBuffer.realWriteBytes( OutputBuffer.java:361) ... 46 more ERROR info.magnolia.module.dms.DMSDownloadServlet DMSDownloadServlet.java(doGet:50) 05.11.2007 16:16:09 error during download ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes( OutputBuffer.java:366) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323) at org.apache.catalina.connector.OutputBuffer.writeBytes( OutputBuffer.java:392) at org.apache.catalina.connector.OutputBuffer.write( OutputBuffer.java:381) at org.apache.catalina.connector.CoyoteOutputStream.write( CoyoteOutputStream.java:89) at info.magnolia.module.dms.DMSDownloadServlet.sendUnCompressed( DMSDownloadServlet.java:78) at info.magnolia.module.dms.DMSDownloadServlet.handleResourceRequest( DMSDownloadServlet.java:67) at info.magnolia.module.dms.DMSDownloadServlet.process( DMSDownloadServlet.java:141) at info.magnolia.module.dms.DMSDownloadServlet.doGet( DMSDownloadServlet.java:47) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:188) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:88) at info.magnolia.cms.filters.MgnlCmsFilter.doFilter( MgnlCmsFilter.java:106) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.cache.CacheFilter.doFilter( CacheFilter.java:96) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MgnlInterceptFilter.doFilter( MgnlInterceptFilter.java:130) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MgnlContextFilter.doFilter( MgnlContextFilter.java:45) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MultipartRequestFilter.doFilter( MultipartRequestFilter.java:80) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MgnlVirtualUriFilter.doFilter( MgnlVirtualUriFilter.java:83) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.security.SecurityFilter.doFilter( SecurityFilter.java:101) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.ContentTypeFilter.doFilter( ContentTypeFilter.java:66) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.enterprise.registration.RegistrationFilter.doFilter( RegistrationFilter.java:77) at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter( MagnoliaManagedFilter.java:92) at info.magnolia.cms.filters.MagnoliaManagedFilter.doFilter( MagnoliaManagedFilter.java:65) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection( Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) Liam Tipler Designer Simons Group _____________________________________________________________________ Simons Construction - Building Magazine Contractor of the Year 2007 - For more information go to www.building.co.uk View our latest Team Builder here - http://www.simonsgroup.com/teambuilder.pdf View our latest news release here - http://www.simonsgroup.com/news.pdf _____________________________________________________________________ Simons Developments - 2007 Property Company of the Year in the North East & Yorkshire Click here to read the full article. http://www.estatesgazetteawards.co.uk/index.shtml _____________________________________________________________________ Simons Group Limited, including Simons Construction, Simons Design and Simons Developments, Registered Office 991 Doddington Road, Lincoln, LN6 3AA. Tel: 0808 2023 991, Fax: 0845 0721 800. registered number 2147887, registered in England and Wales. The information contained in this e-mail message and any files transmitted with it is confidential and may be legally privileged. It is intended only for the addressee and others authorised to receive it. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient you are advised that you have received the e-mail in error and that any disclosure, copying, distribution or action taken in reliance on the contents of the e-mail and its attachments is strictly prohibited and may be unlawful. Please advise the sender immediately if you are not the intended recipient. This message has been checked for all known viruses through the MessageLabs Virus Scanning Service. Web site http://www.simonsgroup.com _____________________________________________________________________ ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ---------------------------------------------------------------- ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _____________________________________________________________________ Simons Construction - Building Magazine Contractor of the Year 2007 - For more information go to www.building.co.uk View our latest Team Builder here - http://www.simonsgroup.com/teambuilder.pdf View our latest news release here - http://www.simonsgroup.com/news.pdf _____________________________________________________________________ Simons Developments - 2007 Property Company of the Year in the North East & Yorkshire Click here to read the full article. http://www.estatesgazetteawards.co.uk/index.shtml _____________________________________________________________________ Simons Group Limited, including Simons Construction, Simons Design and Simons Developments, Registered Office 991 Doddington Road, Lincoln, LN6 3AA. Tel: 0808 2023 991, Fax: 0845 0721 800. registered number 2147887, registered in England and Wales. The information contained in this e-mail message and any files transmitted with it is confidential and may be legally privileged. It is intended only for the addressee and others authorised to receive it. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient you are advised that you have received the e-mail in error and that any disclosure, copying, distribution or action taken in reliance on the contents of the e-mail and its attachments is strictly prohibited and may be unlawful. Please advise the sender immediately if you are not the intended recipient. This message has been checked for all known viruses through the MessageLabs Virus Scanning Service. Web site http://www.simonsgroup.com _____________________________________________________________________ ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
