Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Steps to get Reports running from Forms?

Jessica BoggiaMar 17 2020 — edited Mar 19 2020

Hi All,

I was wondering if anyone knew of documentation which goes over all of the post-config modifications you need to do to get Oracle Reports 12c running out of Oracle Forms 12c.

For configuring oracle forms, there is ample documentation on how you set and modify the files for frmsweb.cfg, default.env, webutil.cfg, etc. But there doesn't seem to be much out there, start-to-finish about what needs to be done to reports after the domain is configured. I've been having to put it together from disparate sources where people are asking the same questions I am. I've made progress but I feel like I am missing a key piece.

Here's what I have done so far...

  1. Run createReportsToolsInstance and createReportsServerInstance in WLS to create reptools1 and rep_server1
  2. Add COMPONENT_CONFIG_PATH, COMPONENT_CONFIG_DIRECTORY, REPORTS_SERVER, REPORTS_SERVLET and REPORTS_PATH to myenvironment.env and have verified these variables are using the correct absolute directory paths
  3. Modify rwservlet.properties and add <webcommandaccess>L2</webcommandaccess>
  4. Edit jps-config-jse.xml so that it takes weblogic creditentials IE:

<jazn-data>

  1. <jazn-realm default="jazn.com">

  2. <realm>

  3. <name>jazn.com</name>

  4. <users>

  5. <user>

  6. <name>weblogic</name>

  7. <credentials>!<password></credentials>

  8. </user>

  9. </users>

  10. <roles/>

  11. </realm>   

  1.     </jazn-realm>  

5. Edit rwserver.conf with the below:

<!--Comment out, 12Mar2020-->

<!--security id="rwJaznSec" class="oracle.reports.server.RWJAZNSecurity"/-->

   <!--Enable folder access to output path-->

<enableFolderaccess>

<read>*</read>

      <write>/u01/app/appname/reports</write>

      </enableFolderaccess>

<!--12Mar2020, change the below line -->

   <!--job jobType="report" engineId="rwEng" securityId="rwJaznSec"/-->

   <job jobType="report" securityId="rwJaznSec"/>

Currently, our reports are getting to the server they are just stuck in 'Processing' mode.

rwservlet/showjobs shows them as ex:

Job IDMaster JobID
Job Type
Job Name
Job Status
Job Owner
Output Type
Output Name
Server Name
Queued at
Started At
10reportPraudrptprocessing (blue clock icon)ANONYMOUSCacherpout1.htmlrep_wls_reports_nameofmyserverTime I started the report from formsExact same time to second as 'queued'

From Forms, it hangs indefinitely until I kill the job from rwservlet. In reports, if I try to go directly to the report using getjob, it displays the below error:

"Rep-51026, no output is generated for job ID 10".

So it seems it's able to receive the request for the job but unable to generate the output and send it back to forms. In PL/SQL, we are using Run_Report_Object to call the report, but since we are using the Cache output type this should not pose a problem.

I am not 100% certain I have done everything required to configure it for this as, searching high and low, there does not seem to be any start-to-finish instruction on which config files need to be edited and what they should be edited to to run a report out of a form. And there seems to be conflicting information on what you should edit and how it should be edited... Most if it coming from disparate support threads, not any single compiled document on how to configure reports. I realize that reports is on its way out, and we are looking for viable alternatives, but in the meantime we do need to use the final version of reports until we can switch over to another product. It seems strange that there are no outlined basic 'steps' on reports post-config.

If someone could please point me in the right direction for how to get these to run, I'd very much appreciate it.

Thank you,

Jessica

Comments

Post Details

Added on Mar 17 2020
7 comments
1,732 views