Packages can't be deployed or Autopatch Packages can't be imported
search cancel

Packages can't be deployed or Autopatch Packages can't be imported

book

Article ID: 86141

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Packages can't be deployed or Autopatch Packages can't be imported into the UVMS via the Univiewer Webconsole.

While deploying packages containing a lot of uprocs this error can appear on the univiewer.log:

Problem occured during deployment of UPROC [UPROC_NAME][000] on NODE_NAME/AREA/MU_NAME 
com.orsyp.UniverseException: UniverseProtocol - decodeHeader: invalid header [K <NUL><NUL>]

In case of deployment of package that contain uprocs whose size can be superior to 500 KB, this error may appear on the univiewer.log:

com.orsyp.kmeleon.universe.deployment.UnifiedDeploymentBusiness$DeploymentAction|Problem occured during deployment of UPROC [UPROC_NAME][000] on NODE_NAME/AREA 
com.orsyp.UniverseException: send:

While importing an autopatch package, some of these errors may appear on the UVMS log (uvserver.log):

|ERROR| request-worker-183 | com.orsyp.comm.server.NIOBasedSocket | Character Coding ExceptionInput length = 1 
java.nio.charset.UnmappableCharacterException: Input length = 1

|ERROR| pool-3-thread-1 | com.orsyp.request.file.FilePutRequestHandler$1 | Problem occured while creating package from zip file 
java.util.zip.ZipException: invalid stored block lengths

Or:

|ERROR|http://server_tomcat:8080/univiewer_webconsole|BackgroundWorker-17|com.orsyp.kmeleon.universe.deployment.UnifiedDeploymentBusiness$AddToPackageDeploymentAction|Problem occured while saving package PACKAGE_NAME
com.orsyp.UniverseException: Post too large 
|ERROR| pool-1-thread-1 | com.orsyp.request.file.FilePutRequestHandler$1 | Problem occured while creating package from zip file 
java.util.zip.ZipException: invalid block type

Cause

Cause type: Configuration
Root Cause: The default settings of Tomcat set the connector variables values too low, that makes the http messages sent from the Univiewer WebConsole get discarded.

Resolution

Edit the file: <tomcat_folder>/conf/server.xml and modify the connector/s configuration adding the variables maxPostSize and maxHeaderCount like this:

connectionTimeout="60000"
redirectPort="8443"
maxPostSize="12582912"
maxHeaderCount="5000"/>

Then restart the Tomcat server.