java.lang.NoSuchFieldError: rsType when enabling persistant sessions

Technote (FAQ)
Problem
When enabling persistance the following error may occur: java.lang.NoSuchFieldError: rsType. when the database is DB2 6.1 fp 4 or greater. Db2 6.1 is shipped with both java and java12 directories. This problem can occur when both directories are used, the classes from one directory and the native code from the other directory.
Solution
There are two ways to check if this is happening:

1. check the admin.config, xml export and the StartupServer script to see what directories are being used for db2java.zip.

2. start the appserver with -verbose and check the appserver log to see what classes are being loaded.

WebSphere 3.5.x should only use the db2java.zip in the java12 directory.












Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Sessions and Session Management
Operating system(s): Multi-Platform
Software version: 3.5
Reference #: 1121387
IBM Group: Software Group
Modified date: 2003-08-25