BPA Publisher 11g Installed on WebLogic Application Server: Evaluations Tab Gives Error: "Org/Mozilla/Javascript/Scriptruntime.Contextfactoryclass" After Attempting to Run an Evaluation (Doc ID 1380250.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Business Process Analysis Suite - Version: 11.1.1.1.0 and later   [Release: 11gR1 and later ]
Information in this document applies to any platform.

Symptoms

Using BPA Publisher 11.1.1.1 and above when installed on WebLogic application server, attempts to run Evaluations fail.  Attempted usage of the Evaluations function results in the following error under the "Evaluations created" "Result" column in the Publisher browser when selecting the Evaluations tab:

"org/mozilla/javascript/ScriptRuntime.ContextFactoryClassLjava/lang/Class"

Also checking the Publisher report-*.log logfile at $Middleware_Home/user_projects/domains/<your domain>/servers/<server where Publisher is installed>/tmp/_WL_user/businesspublisher/<alpha-numeric deployment directory>/war/log you will see errors when trying to run an Evaluation.  For example in file report-7.1.0.490292_0.log you will see similar errors:

IT_131013eda37_SEVERE 2011-07-06T16:58:41,591 Unknown
IT_131013eda39_FINER 2011-07-06T16:58:41,593 Report job 10.141.161.5-0 was
finished after 134 milliseconds. Status: ERROR
IT_13101413bac_SEVERE 2011-07-06T17:01:17,613 Unknown
IT_13101413bae_FINER 2011-07-06T17:01:17,614 Report job 10.141.161.5-1 was
finished after 3 milliseconds. Status: ERROR
IT_13101422eee_SEVERE 2011-07-06T17:02:19,886 Unknown
IT_13101422eee_FINER 2011-07-06T17:02:19,887 Report job 10.141.161.5-2 was
finished after 6 milliseconds. Status: ERROR
IT_13101439b50_SEVERE 2011-07-06T17:03:53,168 Unknown
IT_13101439b50_FINER 2011-07-06T17:03:53,168 Report job 10.141.161.5-3 was
finished after 0 milliseconds. Status: ERROR
IT_13101440c19_SEVERE 2011-07-06T17:04:22,41 Unknown
IT_13101440c19_FINER 2011-07-06T17:04:22,41 Report job 10.141.161.5-4 was
finished after 0 milliseconds. Status: ERROR


These are the steps to reproduce the error:

  1. Use BPA 11g with Architect, Repository Server and Publisher. The installation of Publisher should be done on WebLogic application server.
  2. Perform a publisher export of any database making sure to export using "Entire method" and set the export to active.
  3. In Publisher open the "Entire method" of the export.
  4. Select the Contents tab, then one of the components of the export under "Main Group".
  5. Right click one of the blocks in the drawing and choose Evaluate.
  6. Choose the default options (Evaluation name = Analyze classification, Output format = XLS) and Start. Though this will also be reproducible using any of the options as well.
  7. Will see evaluation failure message pop-up.
  8. Check the Evaluations tab and see the "ContextFactoryClass" errored there.

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