REP-50125 : java.lang.ClassNotFoundException Adding Custom Jar File

(Doc ID 2070031.1)

Last updated on NOVEMBER 11, 2015

Applies to:

Oracle Reports Developer - Version 11.1 to 11.1.2.2.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

When attempting to customize the error message displayed by Reports 11g using a Java API the following error like the following occurs:

[WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 7] [userId: weblogic] [ecid: 3f9a0fc43694a7b9:58927193:150063af708:-8000-0000000000003ee4,0] [APP: reports#11.1.1.2.0] REP-50125 : java.lang.ClassNotFoundException: JobRepositoryCustom  [[
java.lang.ClassNotFoundException: JobRepositoryCustom
at java.lang.Class.forNameImpl(Native Method)




The issue can be reproduced at will with the following steps:

1. Setup in the report.sh the REPORTS_CLASSPATH  adding your jar file i.e /local/apps/fmw/pfrd/as_1/reports/jlib/JobRepositoryCustom.jar at the end.
2. Restart the Reports Server.
3. Run a Report using reports URL, observe the error in diagnostics files.

Changes

Adding a custom java file to display customized message when using Job Repository and login fails.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms