My Oracle Support Banner

Oracle Reports Erro "REP-50125 : java.lang.ClassNotFoundException" Adding Custom Jar File (Doc ID 2070031.1)

Last updated on MAY 22, 2023

Applies to:

Oracle Reports Developer - Version 11.1 and later
Oracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

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

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 <INSTANCE_HOME>/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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.