When trying to create / update some big business views ( around more than 30 tasks) using the Univiewer Webconsole, an error occurs when saving.
The issue does not occur when using the Univiewer Webstart / Standalone version.
On the univiewer.log these errors may appear:
|ERROR||BackgroundWorker-6|com.orsyp.kmeleon.swing.businessviews.commands.AbstractSaveCommand$SaveRunnable|com.orsyp.UniverseException: Unable to create BVI data file
|ERROR||BackgroundWorker-6|com.orsyp.kmeleon.environment.ExceptionManager|An error occured on ENVIRONMENT: (node = XXXX environment = [XXXX/XXXX/X])
com.orsyp.UniverseException: Unable to create BVI data file
On the Tomcat catalina log these messages may appear as well:
WARNING [http-nio-8080-exec-6] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/jars/xstream-parent.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
INFO [http-nio-8080-exec-5] org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
The issue may occur on any version of Webconsole hosted on a Tomcat Server with default configuration
Cause type: Configuration
Root Cause: The default settings of the Tomcat connector are too undersized (specially maxHttpHeaderSize) and need to be increased when working with big Business Views.
In order to allow to save big business views using Univiewer Webconsole, please tune the tomcat configuration file: /conf/server.xml
Add on the active connector the missing variables:
Example:
connectionTimeout="20000"
redirectPort="8443"
maxPostSize="12582912"
maxHeaderCount="5000"
maxHttpHeaderSize="32176"
acceptCount="1024" />
Then restart the tomcat server to take into account the modification.
Then use a Univiewer Console version equal or superior to the one with the fix:
Fix Status: Released
Fix Version(s):
Component: Univiewer.Console
Version: Dollar.Universe 6.3.41