Sunday, April 11, 2010
Oracle Forms Report Crash while generating Excel output, REP-56049
to do this, in the $ORACLE_HOME/reports/config ,find your report config file
and change the engine id,
engine id="rwEng" class="oracle.reports.engine.EngineImpl" initengine="1" maxengine="1" minengine="0" englife="1" maxidle="30" callbacktimeout="90000" jvmoptions="-Xms64m -Xmx32m -Xss8192k -Xoss8192k"
with jvmOptions to a higher value e.g.
engine id="rwEng" class="oracle.reports.engine.EngineImpl" initengine="1" maxengine="1" minengine="0" englife="1" maxidle="30" callbacktimeout="90000" jvmoptions="-Xms512m -Xmx1024m -Xss8192k -Xoss8192k"
Restart the forms services after this.
If you still encounter this problem after increasing the memory and you oracle forms version is 10.1.2.0.2. Do the below,
1. Apply the latest patch set 10.1.2.3 and then apply the 6835690 patch 6835690 to run the report with enhancedspreadsheet. Download and apply the Patch:5983622 for 10.1.2.3.
Note: The one-off patch:6835690 to get EnhancedSpreadsheet can be applied on release 10.1.2.2 too, but it is always recommended to upgrade to the latest patchset available. Right now the latest one is patchset 3.
3. To make sure the middle tier was successfully upgraded to patchset 3 (10.1.2.3), execute the following url and command:
http://host:port/reports/rwservlet/getserverinfo?
$ORACLE_HOME/Apache/Apache/bin/httpd -version
Both versions, Oracle HTTP Server (OHS) and Oracle Reports should be 10.1.2.3
4. Apply one-off patch 6835690 needed to work with EnhancedSpreadsheet desformat.
After that , change the format to DESFORMAT=ENHANCEDSPREADSHEET has been introduced to generate large data sets (up to 75,000 rows) to spreadsheets as indicated patch:6835690
Tuesday, August 18, 2009
Oracle Forms -REP-56055 exceeded max connections allowed Oracle Reports Error
1. Goto $ORACLE_HOME/reports/conf/ , find your server report name e.g. TestReport.conf
2. find the connection maxConnect= and set it to a higher values.
3. Restart the reports services .
There is also a possibilities that after you increase to high value on the maximum database connection , the error still persists.
If so, then if your reports takes a long time to generated out and has many pages the possibilities are that the number of session in 1 reports engine more than the reports engine can handled.
Then you need to changed the engineid , engine id="rwEng" engLife="50" to lesser values such as 5 and increase your maxEngine from 1 to higher value like 5.
Thursday, July 16, 2009
Oracle Application Server - Java OutOfMemory Issue
data id="java-options" value="-Xms1024m -Xmx2048m -Xss256k "
The Xms specified the start of the heap memory , Xmx , specified the maximum memory settings for the java container. the Xss specified to set the maximum native stack size for any thread.
Starts from the 512m for the memory settings and the xss128k until the issue can be resolved.
After that, dcmctl updateconfig to update the configuration.
For more information, on the using of this Java parameters, please refer to
Fine-Tuning Memory Usage of 32-Bit Java on AIX
http://www.ibmsystemsmag.com/print/print.aspx?print_page=%2Faix%2Foctobernovember04%2Ftechnicalcorner%2F6643printp1.aspx&string_referer=/aix/octobernovember04/technicalcorner/6643p2.aspx
Forum on Java Outofmemory issue,
http://www.ibm.com/developerworks/forums/message.jspa?messageID=13853385
Metalink Note : 298551.1
OPMN and Process Monitoring
Metalink Note : 823504.1
What are the minimum and maximum sizes recommended for Java heap configuration for OC4J?
Sunday, June 07, 2009
IAS error - REP-56040: Server rep_ already exists in the network
If you encounter these error "REP-56040: Server rep_
In MS Windows: %ORACLE_HOME%\bin\rwdiag.bat -findall
In Unix: $ORACLE_HOME/bin/rwdiag.sh -findAll
Broadcast mechanism used to locate servers------------------------------------------
Channel address = 228.4.6.6 Channel port = 14021
(1) Name =
(2) Name =
(3) Name =
(4) Name =
notice, that the report server services appear on the different hostname. In the rwservlet.trc,
Exception 51002 (): Bind to Reports Server
There's two way to resolve this , 1 way is to set different report_server name compare with other server or 2 , changing the naming method in the $ORACLE_HOME/reports/rwnetwork.conf
Uncoment the multicast and enabled the naming method. e.g.
multicast channel="228.5.6.7" port="14021" timeout="1000" retry="3"/
!--namingService name="Cos" host="%NAMING_HOST%" port="%NAMING_PORT%"/--
to
discoveryService
!-- multicast channel="228.5.6.7" port="14021" timeout="1000" retry="3"/--
namingService name="Cos" host="testserver" port="14021"
/discoveryService
Metalink note:
- Intermittent REP-51002 or REP-56040 and Same Repserver is Displayed Multiple Times in Rwdiag.sh Output, Note ID :563367.1
-REP-51002 And Rep-56040 if More than one OC4J_BI_FORMS Instance is Created, Note ID : 390412.1