Troubleshooting
Problem
If WebSphere® Process Server is configured with Oracle 9i as the database, and Oracle Thin Driver as the database driver, failed events are not saved to the database if the event size is larger than 4 KB.
Symptom
The following exception is written to the logs:
| java.sql.SQLException: ORA-01483: invalid length for DATE or NUMBER bind variable DSRA0010E: SQL State = 72000, Error Code = 1,483 |
Cause
The Oracle 9i Thin Driver limits the size of data to no more than 4 KB for VARCHAR2, NVARCHAR2, BLOB, and CLOB types.
Resolving The Problem
Use either of the following solutions to solve the problem:
- Use the Oracle 10g driver file.
- Log on to the administrative console and navigate to Environment > WebSphere Variables.
- Select the variable ORACLE_JDBC_DRIVER_PATH.
- Change the variable value to the folder that contains the Oracle 10g driver (ojdbc14.jar).
- Save the configuration.
- Restart the server.
- If the Oracle server or client is installed and configured correctly on the same system as WebSphere Process Server, change the data source to use the Oracle 9i OCI driver.
- Log on to the administrative console and navigate to Resources > JDBC > Data sources.
- Select the data source with the JNDI name jdbc/WPSDB.
- Change the URL format from Thin to OCI. For example, if the original URL is jdbc:oracle:thin:@localhost:1521:WPRCSDB, change it to jdbc:oracle:oci:@WPRCSDB.
- Save the configuration.
- Restart the server.
Note: In a network deployment environment, change the variable value at the cell level and in all of the nodes scopes, and restart all of the servers and deployment manager processes.
[{"Product":{"code":"SSQH9M","label":"WebSphere Process Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Recovery\/Session","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1;6.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21289953