The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here
Source - CB 2.0.0.7 MySQL 8.0
Target CB 2.0.0.7 PGSQL 16.2
Error :
Hi,
This looks less like a bad user record and more like a PostgreSQL large object handling issue after migration.
The key part is this line:
fetchLargeObject() failedNot a wrapper of org.postgresql.PGConnection
That usually means Codebeamer is trying to read the profile picture as a PostgreSQL large object, but the JDBC connection in the target setup cannot unwrap to PGConnection. In practice, this is usually caused by one of these:
Wrong / incompatible PostgreSQL JDBC driver
Tomcat connection pool wrapping issue
Migrated avatar data stored as large object, but target DB/JDBC stack is not handling it correctly
A practical fix path would be:
Check the PostgreSQL JDBC driver used by the target Codebeamer server and make sure it is the supported version for CB 2.0.0.7.
Verify there is no old MySQL driver or mixed JDBC library left in the target Tomcat lib folder.
Rebuild the target DB connection exactly as recommended by Codebeamer for PostgreSQL, especially the datasource and pool settings.
As a quick confirmation, remove the affected user’s profile picture record in the target database and test again. If the user page opens after that, the issue is definitely tied to migrated avatar/blob data.
If multiple users are affected, run a cleanup for migrated user photo / large object entries and let users upload the pictures again.
Thanks,
Hi @Deepak_kankhare,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,
Anurag
