Saturday, May 08, 2010

Change the setting of main_mode for JSP from justrun to recompile

In Release 11i of Ebusiness suite deplouyment of a new JSP was simple.
1. Copy the file, for example: myjsp.jsp to the server in the $OA_HTML directory
2. Request it in the browser like http://myhost.mydomain:myport/OA_HTML/myjsp.jsp
After the above steps, the middle tier compiles the JSP automatically on first access and if you go to $COMMON_TOP/_pages directory, you could see the new .class file generated.

Same steps in R12 of Ebusiness will just show you a blank screen.

To change this behavior in R12, we can follow these steps:

1. Login into E-Business suite and select System Administrator responsibility
2. Select function AutoConfig (under Oracle Applications Manager)
3. For each AppsTier server perform the following:
3a Change the value for the entry s_jsp_main_mode from justrun to recompile
3b Confirm the Action and save.
3c Run AutoConfig to push the changes to
$INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml
3d Verify that the changes have been made to orion-web.xml

main_mode recompile


4. Restart the Middle Tier Services
5. Clear your browser cache
6. Launch the new .jsp as
http://www.myhost.mydomain.com:myport/OA_HTML/myjsp.jsp

Thursday, May 06, 2010

Setup XDO


Got a page from developer that the "Send Separate Remittance Advices" has completed with error.
I started with the request log and saw the error:
+==================================================================+
Exit: iby.scheduler.SRAAndPayerNotif.extractAndFormat()
Finished extract and formatting.
Error: IBY_XDO_DELIVERY_CFG_FILE is not set
oracle.apps.iby.exception.PSException: Error: the IBY_XDO_DELIVERY_CFG_FILE profile option is not set or is invalid.
        at oracle.apps.iby.scheduler.SRAAndPayerNotif.doElectronicProcessing(SRAAndPayerNotif.java:669)
        at oracle.apps.iby.scheduler.SRAAndPayerNotif.runSRA(SRAAndPayerNotif.java:387)
        at oracle.apps.iby.scheduler.SRAAndPayerNotif.runProgram(SRAAndPayerNotif.java:191)
        at oracle.apps.iby.scheduler.FDSeparateRemittanceAdvice.runProgram(FDSeparateRemittanceAdvice.java:48)
        at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
 
Error: the IBY_XDO_DELIVERY_CFG_FILE profile option is not set or is invalid.
An error occurred. Roll back any changes.
Done roll back changes.
Request completed in error.
+==================================================================+

To solve the above, we need to follow the below steps:

1. Follow "Configuration File Support" of 
  • Oracle® XML Publisher Administration and Developer's Guide
           Release 12 Part No. B31412-01
  • Oracle® XML Publisher User’s Guide
           Release 11i Part No. B13817-06



 2. Login to Applications as SYSADMIN and update the profile option "IBY: XML Publisher Delivery Manager Configuration File" to the actual location of the above file at the OS level and save.

For more guidance, take a look at Metalink Note 401619.1.