JBPM_LOG table column 'exception' is too small, throws RE: ORA-01461: can bind a
LONG value only for insert into a LONG column
------------------------------------------------------------------------------------------------------------------------------
Key: JBPM-2138
URL:
https://jira.jboss.org/jira/browse/JBPM-2138
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: jbpm 3.2.6 on an oracle server, any application server or OS
Reporter: George Mournos
If an action throws an exception, the stack trace is logged in the JBPM_LOG table.
However, in case of a very long stack trace (longer than 4000 characters), this throws an
oracle Exception.
"RE: ORA-01461: can bind a LONG value only for insert into a LONG column"
The bug is difficult to trace, since the exception is only thrown at hibernate
session.flush() and not at the actual insert...
Actual exception stacktrace that presented the problem was the exception stacktrace of
weblogic, 7200 chars. (the jbpm action was executing business logic running in its own
transaction).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira