This content has been marked as final. Show 3 replies
This must be an old application, as setKey was deprecated prior to TopLink 9 and replaced with setLicensePath, which were also deprecated prior to TopLink 9. TopLink 9 and later do not require keys or license files, so this code can be removed.
What specific questions do you have connecting TopLink to DB2, and have you seen the documentation for TopLink here:
I had removed setKey do we still require setLicensePath, For now i have not added setLicensePath and just commented setKey .
Now Toplink is able to connect but then I again getting below error when toplink is firing any query
[1/10/13 3:49:35:662 PST] 00000026 SystemOut O [TopLink Info]: 2013.01.10 03:49:35.662--ServerSession(1451906698)-- login successful
[1/10/13 3:49:35:662 PST] 00000026 SystemOut O *** In 2
[1/10/13 3:49:35:662 PST] 00000026 SystemOut O
TopLink logon to jdbc:db2://S1991393:50000/DEVFARM2 DB at: Jan 10, 2013 3:49:31 AM
[1/10/13 3:49:35:662 PST] 00000026 SystemOut O server.acquireClientSession() ::ClientSession(null)
[1/10/13 3:49:35:662 PST] 00000026 SystemOut O session ClientSession(null)
Earlier db2 was connected using type 2 but after migration I am using type 4 for connecting db2
I am not able to get session at this point server.acquireClientSession() this code was running before migration but now its failing
Please let me know what went wrong and what i have to do to fix this earlier we were using toplink 9 and now its migrated to toplink 11 g