Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pega 7.1.8 installation on DB2 fails with 'Lob is closed' error



Pega 7.1.8 installation on DB2 fails with 'Invalid operation: Lob is closed' error.

Reading Properties from : C:\Pega7.1.7\114819_Pega718\scripts/
pega.jdbc.driver.jar=C:\Program Files\IBM\shared\db2jcc4.jar
pega.jdbc.url=jdbc:db2://<host>:<port>/<db name>:retrieveMessagesFromServerOnGetMessage=true;

Error Messages

     [java] Caused by: 
     [java] Database-General    problem encountered when reading ruleset versions from the database    -4470        [jcc][10120][11936][4.17.30] Invalid operation: Lob is closed. ERRORCODE=-4470, SQLSTATE=null
     [java] From: (BE6C4A9DC0D4A798656A9FE7C5F258916:(PREnvironment)) 
     [java]     SQL: select pyRuleSetName, pyRuleSetVersionID, pzPVStream from SPTRULES.pr4_rule_ruleset where pxObjClass = 'Rule-RuleSet-Version' and pyRuleSetName = ? and pyRuleSetVersionID like '07-10%'
     [java]     SQL Inserts: <Pega-ProcessCommander>    
     [java] Caused by SQL Problems.
     [java] Problem #1, SQLState null, Error code -4470: [jcc][10120][11936][4.17.30] Invalid operation: Lob is closed. ERRORCODE=-4470, SQLSTATE=null
     [java]     at
     [java]     at
     [java]     at

Steps to Reproduce

1. Install UDF table using command line script and then run installer setting bypass.udf.generation=true.
2. Configure JDBC URI incorrectly as noted.

Root Cause

The configuration was not using the correct format for the JDBC URI.

In this use case:
Should be similar to this:
jdbc:db2://<host>:<port>/<db name>:fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;useJDBC4ColumnNameAndLabelSemantics=2;


Correct the JDBC URI format to follow suggestion by adding the following important settings:

Suggest Edit

Published July 22, 2015 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us