Migration tool fails on file uploads when IE proxy is in effect

  • 3299992
  • 12-Dec-2007
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

When IE proxy is set (Tools / Internet Options / Connections / LAN settings) then the ZENworks Configuration Migration Utility fails to migrate any object that includes file upload (group policies, applications with MSI, etc.)
Creating new policies, bundles with MSI etc. works fine from ZCC on the same client.
ERROR: UploadFile threw exception: The underlying connection was closed: An unexpected error occurred on a receive.

Resolution

This is fixed in version 10.0.3 - see KB 3486285 "Updates to ZENworks 10 Configuration Management" which can be found at https://www.novell.com/support
Workaround prior to fix: disable the IE proxy temporarily while running the migration tool or create exception for ZCM server.

Additional Information

From Migration log:
Zip file name: C:\Documents and Settings\ANCGroup\Local Settings\Temp\002fac6fe431d911b3f1000f1f67ecb1.zip
Group policy files are zipped: C:\Documents and Settings\ANCGroup\Local Settings\Temp\002fac6fe431d911b3f1000f1f67ecb1.zip
Zip File: C:\Documents and Settings\ANCGroup\Local Settings\Temp\002fac6fe431d911b3f1000f1f67ecb1.zip
Zip File Name: 002fac6fe431d911b3f1000f1f67ecb1.zip
UploadFile threw exception: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
From services-messages.log:
[DEBUG] [12/4/07 1:27:31 PM] [] [File Upload Servlet] [Upload Request Received: (43)"type=datamodel&filename_utf=fec1e4aecb034fc2aa843a059cadb081/002fac6fe431d911b3f1000f1f67ecb1.zip&overwrite=true"] [Upload Request Received: (43)"type=datamodel&filename_utf=fec1e4aecb034fc2aa843a059cadb081/002fac6fe431d911b3f1000f1f67ecb1.zip&overwrite=true"] [] []
[DEBUG] [12/4/07 1:27:51 PM] [] [File Upload Servlet] [Error uploading file: C:\Program Files\Novell\ZENworks\work\collection\datamodel\fec1e4aecb034fc2aa843a059cadb081/002fac6fe431d911b3f1000f1f67ecb1.zip] [Error uploading file: C:\Program Files\Novell\ZENworks\work\collection\datamodel\fec1e4aecb034fc2aa843a059cadb081/002fac6fe431d911b3f1000f1f67ecb1.zip] [] []
[DEBUG] [12/4/07 1:27:51 PM] [] [File Upload Servlet] [java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:748)
at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:778)
at org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(ChunkedInputFilter.java:226)
at org.apache.coyote.http11.filters.ChunkedInputFilter.parseChunkHeader(ChunkedInputFilter.java:249)
at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:130)
at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:713)
at org.apache.coyote.Request.doRead(Request.java:419)
at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:265)
at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403)
at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:280)
at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
at com.novell.zenworks.coreservices.fileupload.FileUploadServlet.copyStream(FileUploadServlet.java:637)
at com.novell.zenworks.coreservices.fileupload.FileUploadServlet.saveFile(FileUploadServlet.java:486)
at com.novell.zenworks.coreservices.fileupload.FileUploadServlet.doPost(FileUploadServlet.java:377)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:710)
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 com.novell.zenworks.webservice.lib.StatisticFilter.doFilter(StatisticFilter.java:77)
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 com.novell.zenworks.tomcat.ZENRequestValve.invoke(ZENRequestValve.java:1090)
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(Thread.java:595)