Jetty Error on Large Workflow Instances

Steps to reproduce

Create a large workflow instance (lots of segment data or user being part of a lot of groups) and watch the following warnings/errors show up in the logs:

2016-04-28 13:39:47,463 | WARN | (ServiceRegistryJpaImpl:2258) - Service org.opencastproject.workflow@http://<admin>:8080 failed (500) accepting org.opencastproject.job.jpa.JpaJob@625947a1

2016-05-10 14:40:16,325 | WARN | (ServletHandler:563) - /workflow/dispatch
java.lang.IllegalStateException: Form too large 840314>200000

Activity

Show:
Dietmar Zenker
May 19, 2016, 7:16 PM

Hi,

just for info: I can confirm that this problem - which until now prevented working with unprivileged users - can also be fixed in a 2.1.x installation if the maxFormContentSize is increased in /usr/share/opencast/bin/setenv, e.g. by adding
export EXTRA_JAVA_OPTS=-Dorg.eclipse.jetty.server.Request.maxFormContentSize=2000000

Should the community be informed about this issue - maybe others are struggling with this...

Greets,
Dietmar

Fixed and reviewed

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Data Loss/Corruption

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Blocker