Configuring Java CAPS Business Processes

Troubleshooting

To aid in troubleshooting, common error messages and resolutions are described below.

Table 3 Troubleshooting Windows Systems

Error Message 

Checklist 

Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc9.dll in java.library.path 

  • Is the oracle_home environment variable set?

  • Is oracle_home\bin added to the system path?

  • Is oracle_home\lib added to the system path?

Exception No Such Method : make_c_state error 

  • Is oracle_home\lib added to the system path?

  • Is the JDBC Oracle client driver version used to connect to the database different from the application server version?

Exception in thread "main" java.lang.NoSuchFieldError: envCharSetId 

  • Is oracle_home\lib added to the system path?

  • Is the JDBC Oracle client driver version used to connect to the database different from the application server version?

Table 4 Troubleshooting Linux/Unix Systems

Error Message 

Checklist 

Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path 

  • Is the oracle_home environment variable set?

  • Is oracle_home/lib added to LD_LIBRARY_PATH?

Exception in thread "main" java.lang.NoSuchFieldError: envCharSetId 

  • Is the oracle_home environment variable set?

  • Is the JDBC Oracle client driver version used to connect to the database different from the application server version?

make_c_state error 

  • Is oracle_home/bin added to the system path?

  • Is the JDBC Oracle client driver version used to connect to the database different from the application server version?