Monday, 4 November 2019

REP-69 : Java heap space REP-0069 An Internal error occured

Error: REP-69 : Java heap space REP-0069 An Internal error occured

Problem: The above error coming when multiple pages report are executing


-----Existing Report server configuration File--------

[oracle@said-app RptSvr_said-app_asinst_1]$ vim /u01/oracle/middleware/asinst_1/config/ReportsServerComponent/RptSvr_bach2-app_asinst_1/rwserver.conf



   
       
       
   
    jvmOptions="-Xmx1024m -Xms512m"
maxEngine="16" maxIdle="30" minEngine="1">       
       
   
   
   
   
   
   
   
       
       
   
   
   
   

~                                                                                                                                                                     
~                                                                                                                                                                     
"rwserver.conf" 23L, 1413C                 

Solution

Step 1- Backup Reports Server configuration file
Step 2- Edit Reports Server configuration file and change

FROM
minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000">
TO
minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xmx1024m">

Or


TO
jvmOptions="-Xmx3072m -Xms1024m"

maxEngine="16" maxIdle="30" minEngine="1">
Step 3- Re-start Reports Server and run report again.


Note: Apply first in test server

Thursday, 24 October 2019

REP-52262: Diagnostic output is disabled. (Oracle Reports)

Senarion



To fix this error, you will need to apply the following:
  1. Go to $DOMAIN_HOME%\config\fmwconfig\servers\WLS_REPORTS\applications\reports_11.2.1\configuration and open rwservlet.properties (make a backup first)
[saiduzzaman@WEB ~]$ scp rwservlet.properties rwservlet.properties_bak

[saiduzzaman@WEB ~]$vim rwservlet.properties
  1. Add the following parameter below the parameter:
    • <!–webcommandaccess>L1
  • Then change the value from L1 to L2 
  • L2
  • Save and close the file
  • Restart WLS_REPORTS
  • Monday, 21 October 2019

    Find IP address or unique IP address from a log file

    Scenario: In this scenario we will

    -------Sample Log----

    07-APR-2019 20:14:05 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=WIN-MQ01PK54063$))(SERVICE_NAME=stlbas)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=WIN-MQ01PK54063$))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.88.1.88)(PORT=50100)) * establish * stlbas * 0
    07-APR-2019 20:14:06 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=root))(SERVICE_NAME=emob)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=root))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.95)(PORT=57193)) * establish * emob * 0
    07-APR-2019 20:14:07 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=root))(SERVICE_NAME=emob)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=root))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.95)(PORT=57194)) * establish * emob * 0

    07-APR-2019 20:14:27 * (CONNECT_DATA=(SERVICE_NAME=STLBAS)(CID=(PROGRAM=frmweb)(HOST=ISTELAR-08)(USER=root))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.228)(PORT=37861)) * establish * STLBAS * 0

    07-APR-2019 20:14:29 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=emob)(CID=(PROGRAM=java)(HOST=HR-APP)(USER=root))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.88.1.174)(PORT=27081)) * establish * emob * 0


    cat listener_07042019.log | awk '{ print $6 }' >> IP2.log
    cat IP2.log | awk -F= '{print $4}' >> IP3.log
    sed 's/......$//' IP3.log >> IP4.log
    sort -u IP4.log 



    cat listener_07042019.log | awk '{ print $6 }' >> IP2.log
    -bash-4.1$ vim IP2.log
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.88.1.174)(PORT=63679))
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.88.1.88)(PORT=51571))
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.95)(PORT=56043))
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.95)(PORT=56044))
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.11.1.95)(PORT=56045))


    cat IP2.log | awk -F= '{print $4}' >> IP3.log

    -bash-4.1$ vim IP3.log
    10.88.1.174)(PORT
    10.88.1.88)(PORT
    10.11.1.95)(PORT
    10.11.1.95)(PORT
    10.11.1.95)(PORT

    sed 's/......$//' IP3.log >> IP4.log

    -bash-4.1$ vim IP4.log
    10.88.1.174
    10.88.1.88
    10.11.1.95
    10.11.1.95
    10.11.1.95

    -bash-4.1$ sort -u IP4.log

    10.11.1.121
    10.11.1.126
    10.11.1.133
    10.11.1.144
    10.11.1.162
    10.11.1.163
    10.11.1.167
    10.11.1.198
    10.11.1.221
    10.11.1.224