AnsweredAssumed Answered

Lenth of act_ge_byte_bytearray column: name_

Question asked by jarle on Sep 18, 2015
Latest reply on Sep 20, 2015 by trademak
We are getting some excessively long pathnames in the name column of this table, lately resulting in this error message:

### The error may involve org.activiti.engine.impl.persistence.entity.ResourceEntity.insertResource-Inline
### The error occurred while setting parameters
### SQL: insert into ACT_GE_BYTEARRAY(ID_, REV_, NAME_, BYTES_, DEPLOYMENT_ID_, GENERATED_)     values (?, 1, ?, ?, ?, ?)
### Cause: java.sql.SQLException: ORA-12899: verdien er for stor for kolonnen "ZO"."ACT_GE_BYTEARRAY"."NAME_" (faktisk: 256, maksimum: 255)

Is there any way to override the value in the name column some how.. ?
I know we could just shorten the names of the process definitions and/or war file but I am looking for another solution.

Example of entry in our environment (this actaually works, but when given a new longer name on the war file, it breaks):
/var/lib/jetty/transient/jetty-server/batch-u1/workdir/aps/jetty/work/jetty-0.0.0.0-14037-no.storebrand.aps.aps-impl.15.7.0-SNAPSHOT.war-_aps-any-/webapp/WEB-INF/classes/bpmn-models/the_watchman_ajourhold.theWatchManMonitorProcess.png


Regards
Jarle

Outcomes