How to fix OSCL authentication against JAS 6.0.5 ifix001 with ERROR 22001: A truncation error was encountered trying to shrink VARCHAR ?
Hi,
Setup as follows:
Distributed JTS with Apps on Liberty authenticating against Jazz Authorization Server (JAS) 6.0.5 ifix001, using Derby. All on RHEL Linux.
Using an RTC Eclipse Client I can authenticate against either /ccm , /qm or /rm server fine.
Using a 3rd party integration in the same Eclipse Client (pure::variants) I get an authentication error and find in the JAS logfile:
com.ibm.ws.security.oauth20.plugins.db.CachedDBOidcTokenStore E Internal error adding token: A truncation error was encountered trying to shrink VARCHAR '{xor}OiYVNz0YPDYQNhUWCiUWbhE2FWZxOiYVJTsIFjYQNhULEQoZDwkaahQ&' to length 2048.
[...]
ERROR 22001: A truncation error was encountered trying to shrink VARCHAR '{xor}OiYVNz0YPDYQNhUWCiUWbhE2FWZxOiYVJTsIFjYQNhULEQoZDwkaahQ&' to length 2048.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
Did anybody encounter something similar? Do you have an idea what the underlying problem is or how to fix it?
best,
Arne
Accepted answer
HI Arne
Comments
1 vote