0% found this document useful (0 votes)
2K views

Oracle BI Publisher

The document provides troubleshooting information for "java.lang.OutOfMemoryError" errors that can occur when running large reports in Oracle BI Publisher (BIP). It outlines several potential causes for this error, including insufficient memory allocation for large file outputs and memory leaks. The document recommends ways to address the issue, such as increasing the concurrent processing timeout, enabling BIP's scalable features, and checking the Output Post Processor log for error details.

Uploaded by

deepthi412
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

Oracle BI Publisher

The document provides troubleshooting information for "java.lang.OutOfMemoryError" errors that can occur when running large reports in Oracle BI Publisher (BIP). It outlines several potential causes for this error, including insufficient memory allocation for large file outputs and memory leaks. The document recommends ways to address the issue, such as increasing the concurrent processing timeout, enabling BIP's scalable features, and checking the Output Post Processor log for error details.

Uploaded by

deepthi412
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 43

6/7/2016

Document1546377.1

BIPublisherConsolidatedReference(DocID1546377.1)
InthisDocument
Purpose
Details

OutputPostProcessing

1.OutputPostProcessingFailsDueTojava.lang.ThreadDeath

2.OutputPostProcessor(OPP)LogContainsError"java.lang.OutOfMemoryError"

3.R12:HowtoConfiguretheAccountAnalysisReportforLargeReports

4.OutputPostProcessorFailsDuetojava.lang.OutOfMemoryError

5.XMLPublisherReportFailsWithError"Java.lang.OutOfMemoryError:JavaHeapSpace"

Templates

1.HowtoModifyExistingSeededTemplatesUsingOracleBIPublisher(formerlyXMLPublisher)

2.OutOfMemoryErrorWhenRunningXMLPublisherTemplateReGeneratorConcurrentProgram

3.HowtocreateMultisheetinSingleExcelfileusingExcelTemplate

4.JBO29000:UnexpectedExceptionCaught:Java.Lang.OutOfMemoryError,Msg=JavaHeapSpace

5.PreviewingPDFGenerates'java.lang.OutOfMemoryError:javaheapspace'

6.OutOfMemoryErrorWhenRunningXMLPublisherTemplateReGeneratorConcurrentProgram

7.AttributApplicationShortNameinDSDefinitionsAM.DSDefinitionsVO1isrequiredNotAbleToSelectThe
ApplicationWhileCreatingTheTemplate

8.AreTemplatesCreatedWithWordBiPPlugin11.1.1.6CompatibleWithBiP10.1.3.2.4?

BIPVersion5.6.x

1.HowToInstall(Register)aNewFontUsingXMLPublisher

2.java.lang.NullPointerExceptionOccursUsingXDORequests

3.BiPublisherFormatCurrencyFunctionReturnsTheWrongResult(ItReturns0.9Insteadof$0.90)

BIPVersion10.x

1."ThemacrocannotbefoundorhasbeendisabledbecauseofyourMacrosecuritysettings"InBIPublisher

2.ExcelOutputFromBIPublisherorXMLPublisherisTrimmingLeadingZeros

3.BiPublisherProcessingexception:StringindexoutofboundsexceptionWhenReportIncludesaChart

BIPVersion11.x

1.UndeterministicSelectionExceptionRecievedWhenDeployingBIPublisher11GonWeblogicServer

2.HowToUninstallOracleBIPublisherDesktopManually?

3.HowToChangeTheSessionTimeoutInOracleBIPublisher11g

4.ReportsWithSpecialCharactersinTheirNamesAreNotVisibleinBIPublisher11g

5.HowToManuallyStoptheNodeManager?

BIPAllVersions

1.BIPublisherDesktopStoppedWorkingWithMSWordAfterWindowsSecurityUpdate

2.ReportGenerationFailsDuetooracle.xdo.parser.v2.XPathException:Namespaceprefix'ref'usedbutnot
declared

3.XMLReportsCompleteWithWarningUnableToFindAnOutputPostProcessorServiceToPostProcess
Request

4.HowToResolveErrorJBO25036InvalidObjectwithFndApplicationVO_1627?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

1/43

6/7/2016

Document1546377.1

5.ArabicCharactersAppearAsQuestionMarksInXMLPublisherOutput

6.ExcelOutputFileSizeGeneratedByBIPublisherisVeryLarge

7.BarcodeFontDoesNotAppearInPDFOutput

8.HowtoaddMicrosoftExcelasTypetotheCreateTemplateListofValuesinBIPublisher

9.HowtoInstallSpecialFonts(MICR,Barcode)inBIPublisherEnterprise

References

APPLIESTO:
BIPublisher(formerlyXMLPublisher)Version5.6.0to5.6.3[Release5]
BIPublisher(formerlyXMLPublisher)Version10.1.3.4.1to11.1.1.7.0[Release10.1to11.1]
BIPublisher(formerlyXMLPublisher)Version11.5to12.2[Release11.5to12.2]
Informationinthisdocumentappliestoanyplatform.

PURPOSE
ThisdocumentisaConsolidationReferenceofBIPublisher/XMLPublisherDocuments

DETAILS
OutputPostProcessing
1.OutputPostProcessingFailsDueTojava.lang.ThreadDeath
TheOutputPostProcessor(OPP)logshowsthefollowingfailure:
java.lang.reflect.InvocationTargetException
atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
atjava.lang.reflect.Method.invoke(Method.java:324)
atoracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:586)
atoracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:383)
atoracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:201)
atoracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
atoracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
atoracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
atoracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5975)
atoracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3555)
atoracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3614)
atoracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
atoracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
Causedby:java.lang.ThreadDeath
atjava.lang.Thread.stop(Thread.java:630)
atoracle.apps.fnd.cp.opp.OPPRequestThreadManager.terminateThread(OPPRequestThreadManager.java:207)
atoracle.apps.fnd.cp.opp.OPPTerminateCommand.execute(OPPTerminateCommand.java:45)
atoracle.apps.fnd.cp.opp.OPPServiceThread.processMessage(OPPServiceThread.java:240)
atoracle.apps.fnd.cp.opp.OPPServiceThread.waitForMessages(OPPServiceThread.java:227)
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

2/43

6/7/2016

Document1546377.1

atoracle.apps.fnd.cp.opp.OPPServiceThread.mainLoop(OPPServiceThread.java:128)
atoracle.apps.fnd.cp.gsf.BaseServiceThread.run(BaseServiceThread.java:125)

Cause
Thejava.lang.ThreadDeatherrorindicatesthattheOutputPostProcessorhasreacheditsprocessingtimeout.
Solution
1.IncreasethevalueoftheConcurrent:OPPReponseTimeoutprofileoptiontoamaximumof300seconds.This
TimeoutshouldONLYbeAPPLIEDiftheFNDOPPServiceStopsWorkingfortheConcurrentRequestregardless
ofhowlongitistakinginFNDOPPtoservicetherequest.IfthereisanactualprobleminFNDOPP,theRequest
willremaininaRUNNINGPhaseuntiltheTimeOutAboveCompletes.
2.EnablethescalabilityfeatureofXMLPublisher:
a.LoginasSYSADMIN.
b.Responsibility:XMLPublisherAdministrator.
c.Function:Administration
d.Setthefollowingproperties:
1.TemporaryDirectory
2.UseXMLPublisher'sXSLTprocessor:True
3.EnablescalablefeatureofXSLTprocessor:True
4.EnableXSLTruntimeoptimization:True
NOTE:TheaboveinstructionswillaffectallXMLPublisherreports.Itisworthconsideringto
settheseproperties6till8ontheDataDefinitionlevelforthoseconcurrentprogramsthatare
expectedtoproducelargeXMLdatafiles.
3.RestarttheConcurrentManagerssothatchangestakeeffect(e.g.usingadcmctl.sh).
NOTE:It'sworthconsideringtosettheseproperties6till8ontheDataDefinitionlevelforthoseconcurrent
programsthatareexpectedtoproducelargeXMLdatafiles.Theissueisthereisnoproperties6till8.
References:
BUG:5682760RAC:REMOTEFILEEXCEPTIONIFTEMPLATERUNINADIFFERENTNODETHANOPP
BUG:56857245682760RACREMOTEFILEEXCEPTIONONMULTINODEPDFOUTPUTERROR
NOTE:1338762.1OracleBIPublisher(BIP)ProductInformationCenter(PIC)
NOTE:291792.1ConcurrentProcessingUsingtheConcurrentRequestOutputPostProcessor(OPP)inOracle
Applications
NOTE:729883.1HowtoCreateaSecondOPPConcurrentManagerinaNodeDifferentThanThePrimaryNode

2.OutputPostProcessor(OPP)LogContainsError"java.lang.OutOfMemoryError"
ThisisintendedforSystemAdministrators.Itisgenericinnatureandisnotdesignedtoaddressproductspecific
issues.IndividualproductdataistobeaddressedbytheproductteamthatownstheXMLdata.
Thepurposeofthissectionistooutlinebugs/patches,notes,knowledgebase,andcommunityresourcesfor
addressingtheerror:
"java.lang.OutOfMemoryError"
Theerroroccurswhenthefileoutputislargeinsizeandthemachinedoesnothaveadequatememorytoallocatefor
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

3/43

6/7/2016

Document1546377.1

theprocess,theOutputPostProcessordoesnothavesufficientheapsizeperprocessdefinedtohandlethelarge
report,whenprocessinglargereportsduringpeakutilizationtimes,codingerrorsinthedatatemplate,andmemory
leaksrequiringpatchingformorecurrentcode.
EnablingthescalablefeaturecontrolsthescalablefeatureoftheXDOparser.Ifyouknowyouaregoingtoreturna
largedatasetorhavealongrunningqueryyoucanspecifythatthedataengineenterscalablemode.Byturningon
thescalableoptionthiswillcausethedataenginetousethediskratherthanusememorytogeneratetheoutput.
Whenthiserroroccursinonereport,subsequentreportswilllikelynothaveanyoutputandwillendupwitherrors
also.
ToobtaintheOutputPostProcessorlogfile,followthenavigationbelow:
1.SelecttheSystemAdministratorresponsibility.
2.SelectthemenuConcurrentManagerAdminister.
3.SelecttheOutputPostProcessorService.
4.SelecttheProcessesbutton.
5.SelectManagerLog.
6.Thelogwillcontainajavastackerrorsimilartothefollowing:
/18/065:00:14PM][UNEXPECTED][128085:RT1585526]java.lang.reflect.InvocationTargetException
atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
atjava.lang.reflect.Method.invoke(Method.java(CompiledCode))
atoracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:580)
atoracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:378)
atoracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:197)
atoracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:178)
atoracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1507)
atoracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:913)
atoracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:1766)
atoracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1277)
atoracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
atoracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
Causedby:java.lang.OutOfMemoryError
atjava.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java(CompiledCode))
atoracle.xdo.parser.v2.XMLOutputStream.flush(XMLOutputStream.java(InlinedCompiledCode))
atoracle.xdo.parser.v2.XMLOutputStream.write(XMLOutputStream.java(CompiledCode))
atoracle.xdo.parser.v2.XMLOutputStream.writeChars(XMLOutputStream.java(CompiledCode))
...
Solutions
Genericerrorscanberesolvedbyperformingthefollowingsteps:
1.LogintotheXMLPublisherAdministratorresponsibility.
2.NavigatetoHomeAdministrationConfiguration.
3.UndertheGeneralPropertiesselectTemporarydirectory.
4.Selectatemporaryfilelocationonyourconcurrentprocessingnode.Thisshouldbeatleast5Gbor20timeslarger
thanthelargestXMLdatafileyougenerate.
OR
1.LogintotheXMLPublisherAdministratorresponsibility.
2.NavigatetoHomeAdministrationConfiguration.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

4/43

6/7/2016

Document1546377.1

3.UndertheFOProcessingPropertiesset:
a.UseXMLPublisher'sXSLTprocessortoTrue.
b.EnablescalablefeatureofXSLTprocessortoFalse.
c.EnableXSLTruntimeoptimizationtoTrue.
OR
1.AsSystemAdministrator:NavigatetoConcurrent>Program>Define.
2.Queryupthereport:AccountAnalysisReport(forexample).
3.AddaparameternamedScalableFlag:
ValueSet:Yes_No
DefaultValue:Yes
SelectcheckboxesEnableSecurityandRequired
DonotselectthecheckboxDisplay,oruserscouldturnthisoffatruntime.
TokenneedstobeScalableFlag(thisisacasesensitivevalue).
Note:CompletethesestepsforboththeapplicationGeneralLedgerandtheSubledgerAccountingconcurrentprogram
definitions.
OR
1.DeterminewhattheheapsizeperOPPprocessiscurrently:
selectDEVELOPER_PARAMETERSfromFND_CP_SERVICES

whereSERVICE_ID=(selectMANAGER_TYPEfromFND_CONCURRENT_QUEUES

whereCONCURRENT_QUEUE_NAME='FNDCPOPP')

2.Thedefaultshouldbe:
J:oracle.apps.fnd.cp.gsf.GSMServiceController:mx512m

3.IncreasetheHeapSpaceperProcessto1024:
updateFND_CP_SERVICES

setDEVELOPER_PARAMETERS=

'J:oracle.apps.fnd.cp.gsf.GSMServiceController:mx1024m'

whereSERVICE_ID=(selectMANAGER_TYPEfromFND_CONCURRENT_QUEUES

whereCONCURRENT_QUEUE_NAME='FNDCPOPP')

4.Bringthemanagersdown.
5.PleaseruntheConcurrentManagerRecoveryfeaturetoaddressanyConcurrentManager/ConcurrentProcessing
issueswithintheOracleApplicationManager.NOTE:RegularuseoftheCPAnalyzerinNote1411723.1canprovide
anImmediateAnalysisandOutputofaConcurrentEnvironment.
6.Bringthemanagersupagain.
OR
1.NavigatetotheSystemAdministratorresponsibility.
2.NavigatetoConcurrentProgramDefine.
3.QueryuptheXDOTMGENexecutableshortname.
4.IntheOptionsfieldaddavaluesuchasXmx512morXmx1024morotherrelevantnumbertoincreasetheheap
size.
5.Savethechanges.
6.Resubmittherequest.
Note:InsurethelatestATGRUPandXDOpatchsetshasbeenappliedinyourenvironmentforbetterreport
processingperformance.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

5/43

6/7/2016

Document1546377.1

Reference:
Note1138602.1OverviewofAvailablePatchesforOracleXMLPublisher(embeddedinOracleEBusinessSuite)
OverviewofBugReferences:

OracleEBusinessSuite12i:
Bug7504236ONDEMAND:XMLErrorintheCreatingAccounting
Bug7599031XMLPUBLISHERSUM(CURRENTGROUP())FAILS
Bug8289767BIPublisherConcurrentRequestReportOutputPrintsXMLData
Bug9477895FWDPORT:7306874:12.1.1:12.1.1:OPPERRORJAVA.LANG.OUTOFMEMORYERROR:ZIP002:OUT
Bug9890082ReportFailingwithjava.lang.OutOfMemoryError:javaheapspace
OracleEBusinessSuite11i:
Bug5466522XMLPublisherTemplateReGeneratorFailswithjava.lang.OutOfMemoryError
Bug5469928XMLPublisher5.6.2DataTemplateJavaOutOfMemoryErrorAfter5374629
Bug5635273PayrollMessageReport(PDF)ErrorsAfterApplyingRUP1
Bug5605387OPPFailedwithjava.lang.OutOfMemoryError
Bug7306874OPPErrorJAVA.LANG.OUTOFMEMORYERROR:ZIP002:OUTOFMEMORYERROR,MEM_ERROR
Bug7324601Backport:7306874:11.5.10.2:11.5.10.2:OPPErrorjava.lang.outofmemoryerror:zip
Bug73504147343915:UnabletoViewPublishedReportTimesOut

3.R12:HowtoConfiguretheAccountAnalysisReportforLargeReports
TheOracleEBusinessSuiteRelease12includesanewversionoftheAccountAnalysisReportaspartofthe
SubledgerAccountingapplication,implementingtheXMLPublishertechnologyfordatagatheringaswellasreport
generation.
ThedataisextractedandgeneratedintoanXMLformatusingaDataTemplate,extractedviatheJavaprogram
XDODTEXE.Subsequenttothat,thelayoutisthengeneratedusingtheOutputPostProcessor(OPP)concurrent
manager.
Atypicalproblemforapplicationusersofthesereportsisthefactthatitislikelytofailwhengeneratingthereportfor
verylargedatasetssotheenvironmentneedstobeconfiguredproperlytohandlethat.
1.SettheScalableOptiontoonfortheseprograms.ThispreventsthefollowingerrorintheSubledgerAccounting
program'slog:

CallingXDODataEngine...
****Warning!!!Duetohighvolumeofdata,gotoutofmemoryexception...***
****PleaseretrywithscalableoptionormodifytheDatatemplatetoruninscalablemode...***

Thescalabilityoptionissetbyperformingthesesteps:
1.AsSystemAdministrator:NavigatetoConcurrent>Program>Define
2.Queryupthereport:AccountAnalysisReport
3.AddaparameternamedScalableFlag:
ValueSet:Yes_No
DefaultValue:Yes
SelectcheckboxesEnableandRequired
DonotselectthecheckboxDisplayed,oruserscouldturnthisoffatruntime.
TokenneedstobeScalableFlag(thisisacasesensitivevalue).
CompletethesestepsforboththeapplicationGeneralLedgerandtheSubledgerAccountingconcurrentprogram
definitions.Formoreinformationabouthowtodealwiththis"OUTOFMEMORY"errorrefertonote1410160.1.
2.ConfiguretheXMLPublisherAdministratorConfigurationsettings.Thisprevents"java.lang.OutOfMemoryError"
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

6/43

6/7/2016

Document1546377.1

errorsintheOutputPostProcessorlogassociatedtotheSubledgerAccountingprogram.
1.AsXMLPublisherAdministratornavigatetoAdministration>Configuration.
2.UnderTemporaryDirectorypickatemporaryfilelocationonyourconcurrentprocessingnode.Thisshouldbe
atleast5GBor20xlargerthanlargestXMLdatafileyougenerate
3.UnderFOProcessing,set:
1.UseXMLPublisher'sXSLTprocessorsettoTrue
2.EnablescalablefeatureofXSLTprocessorsettoFalse(see#4below),
3.EnableXSLTruntimeoptimizationsettoTrue
3.ConfiguretheOutputPostProcessor'sJVM.ThesestepssettheJVMto2GB.Thissettingpreventstheerror
"java.lang.OutOfMemoryError:Javaheapspace"intheOutputPostProcessor'slogassociatedtotheSubledger
AccountingProgram.SinceEBSusesa32bitJREusingvaluesgreaterthan2GBisnotgoingtohelp.Addressable
memorymaxesoutbetween1GBand2GBfor32bitJRE.
LogintoSQL*PlusasAPPS.
SQL>updateFND_CP_SERVICESsetDEVELOPER_PARAMETERS=
'J:oracle.apps.fnd.cp.gsf.GSMServiceController:mx2048m'
whereSERVICE_ID=(selectMANAGER_TYPEfromFND_CONCURRENT_QUEUES
whereCONCURRENT_QUEUE_NAME='FNDCPOPP')
Bouncetheconcurrentmanagers.
4.WiththeadditionofPatch7599031XMLPUBLISHERSUM(CURRENTGROUP())FAILS,theFOProcessingoption
EnablescalablefeatureofXSLTprocessorcanbesafelysettoTrueattheTemplatelevel(forlargereports),enabling
improvedJAVAheaputilization.WestillrecommendthisremainfalseatSitelevel.Thishastheadvantageoffaster
performancebynotusingtemporaryfilesforXSLTprocessingforsmalltomediumreports.
5.ApplyPatch7687414REHOSTINGXDOPARSER10.1.0.5WITHFIXFORBUG7586025,7339075.Thispatch
upgradestheJavaDevelopersKit(XDK)whichisusedbyXMLPublisherforsorting.
6.Testthereports.

4.OutputPostProcessorFailsDuetojava.lang.OutOfMemoryError
AsingleconcurrentprogramiscausingthefollowingerrorwhenattemptingtorunanumberofXMLjobsinarow
againsttheXMLPostProcessor:
XmlPublisherreceivesException:java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
Stepstoreproduce:
1.SubmittheXMLjobsmorethan10timesinarow.
2.Sometimestheerroroccursquickly,sometimesitmaytakemorethan15+jobstoreproduce.e
OPPLOGFILEError:
Postprocessingofrequest311864failedat25MAY200612:42:14withtheerrormessage:
TheconcurrentmanagerhastimedoutwaitingfortheOutputPostprocessortofinishthisrequest.
CheckthattheheapsizeperOutputPostprocessorserviceprocessissufficient.
Cause
TheOutputPostProcessordidnothavesufficientheapsizeperprocessdefined.TheOPPneedstohavesufficient
heapsizeperprocesstohandlethelargestpossibleload.
Solution
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

7/43

6/7/2016

Document1546377.1

Completethefollowingactions:
1.DeterminewhattheheapsizeperOPPprocessiscurrently:
selectDEVELOPER_PARAMETERSfromFND_CP_SERVICES

whereSERVICE_ID=(selectMANAGER_TYPEfromFND_CONCURRENT_QUEUES

whereCONCURRENT_QUEUE_NAME='FNDCPOPP')

2.Thedefaultvaluewillbe:
J:oracle.apps.fnd.cp.gsf.GSMServiceController:mx512m

3.IncreasetheHeapSpaceperOPPprocesstoe.g.1GiB:
updateFND_CP_SERVICES

setDEVELOPER_PARAMETERS=

'J:oracle.apps.fnd.cp.gsf.GSMServiceController:mx1024m'

whereSERVICE_ID=(selectMANAGER_TYPEfromFND_CONCURRENT_QUEUES

whereCONCURRENT_QUEUE_NAME='FNDCPOPP')

4.RestarttheConcurrentManagers.
5.Retesttheconcurrentprogramtovalidateiftheissueisresolved.

5.XMLPublisherReportFailsWithError"Java.lang.OutOfMemoryError:JavaHeapSpace"
XMLPublisherreportfailswitherror:
"Java.lang.OutOfMemoryError:JavaHeapSpace"
Alltheheapsizerelatedsettingshavebeensetup,butthereportstillfailswithheapsizeerror.
Thesettingare:
J:oracle.apps.fnd.cp.gsf.GSMServiceController:mx2048m
UseXMLPublisher'sXSLTprocessorxsltxdoparser:true
EnablescalablefeatureofXSLTprocessorxsltscalable:true
EnableXSLTruntimeoptimizationxsltruntimeoptimization:true
Temporarydirectorysystemtempdir/u01/app/inst(thisdirectoryhas100G+space)
Cause
Intheresport'stemplate,theentiretableismarkedas"HeaderROW",notjustthefirstrow.
Solution
1.OpenthetemplateinWord.
2.Clickthesecondrowofthetable,goto"Tabletools".
3.Clickthe"layout"tab,UNCHECKthe"RepeatHeaderRows".
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

8/43

6/7/2016

Document1546377.1

4.Dothesametothefollowingrows.
5.Uploadthetemplateandretesttheissue.

Templates
1.HowtoModifyExistingSeededTemplatesUsingOracleBIPublisher(formerlyXMLPublisher)
Patch4905678XDO/ORACLEXMLPUBLISHEROAROLLUPPATCH5.6.1,deliveredinFamilyPackKRUP1,providesa
setofHTMLpagestocreate,view,andmodifytemplatesanddatadefinitionsintheTemplateManager.
Forexample,theBenefitEnrollmentConfirmationtemplateisusedtodisplaytheBenefitsConfirmation&
SummaryPDFwhenausercompletesbenefitenrollmentsinSelfServiceandclickstheConfirmationStatement
button.Youwanttomodify/replacethistemplate.
Solution
TheOracleBIPublisherUser'sGuide>Section:CreatinganRTFTemplatecontainsthefollowinginformation:
Seededtemplatescannotbeupdatedordeleted.TheUpdateandDeleteiconsforthesetemplatesaredisabled.Ifone
wishestomodifyaseededtemplate,duplicateit,thenmodifythetemplatefileoftheduplicatedentry.Onecanthen
EndDatetheseededtemplateifonedoesnotwishittobeavailabletotheusers.
CopyingaTemplate:
UsetheSearchregiontofindthetemplateonewishestocopy.
Fromthesearchresultstable,selecttheDuplicateiconforthetemplatetolaunchtheCopyTemplatepage:
CodeAssignatemplateCodeusingtheproductshortnameandadescriptiveending.(TheCodeassigned
musthavethesameprefixinthenameastheseededtemplates'code.)
NameEnterauserfriendlynameforyourtemplate.
ApplicationSelectthereport'sapplicationfromtheLOV.
SourceTemplateName(Notupdateable)Displaysthenameofthetemplateyouareduplicating.
Usethefollowingsteps:
Onemustremoveanyincorrectduplicatesofthetemplate/reportthatoneistryingtocopybyenddatingthemonthe
samedaytheywherecreated.
1.GotoXMLPublisherResponsibility>Templates.
2.Usethesearchenginetofindthetemplatetocopy.
3.Clickonthelinkforthecopypreviouslycreated.
4.ClicktheUpdatebuttonandenteranenddateintotheEndDatefield.(Usethecreationdatetocompletelyremove
theincorrectcopy.)
5.Repeatthisforeveryincorrectcopythatmayexist.
Ifonehaspreviouslyenddatedtheseededtemplate,removetheenddate.
1.GotoXMLPublisherResponsibility>Templates.
2.UsethesearchenginetofindthetemplateandchangetheActivefieldto"No".
3.Clickonthelinkfortheseededreport.
4.ClicktheUpdatebuttonandremovetheenddate.
Aftermakingyourmodificationsbydownloadingacopyoftheseededtemplateorcreatinganewfile,createa
duplicateoftheseededtemplate.
1.Usethesearchenginetofindthetemplateyouwishtocopy.Theseededreportshouldnowdisplay.
2.Clickthe"Duplicate"iconnexttotheseededreport.
3.ChangetherequiredCodefieldfromCopyofXXXXtoXXXX2.Forexample,ifyourseededtemplates'codewas
'BENSSCNF',thenfortheduplicatetemplate,oneofthepossiblecodescouldbe'BENSSCNF2'(basicallyanycode
prefixedwith'BENSSCNF').Also,notethatthesecodesarenonupdateable,somakesuretorenamethemwhile
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

9/43

6/7/2016

Document1546377.1

duplicatingthetemplateitself.
4.ChangetherequiredNamefieldandclicktheApplybutton.
5.ClicktheAddFilebuttonanduploadtheneworcustomizedreplacementfile.
6.ClicktheUpdatebuttonandchangetheDefaultfile,ifnecessary.
7.Alterthecopystartdate,ifnecessary.Thisdatewillcoincidewiththedateusedtoenddatetheseededtemplate.
8.GobacktoTemplatesandfindtheseededreportonehasduplicated.
9.ClickthelinkfortheseededtemplateandclicktheUpdatebutton.
10.Enddatetheseededtemplate.
11.Generatethereportintheapplication.Thegeneratedreportshouldreflecttheduplicate.
REMINDER:IfexperiencingissueswiththeConfirmationStatementatalatertimeafterapplyingapatchforinstance,
oneshoulddothefollowing:
1.Verifyifonehasmanuallyupdatedthetemplate.Itcanbecheckedasfollows:
Loginto'XMLPublisherAdministrator'responsibilityandselect'Templates'.
Entersearchparametersasfollows:
Code:'BENSSCNF'
Active:
Clickthe'Go'button.
Ifgettingmultiplerowsinthesearchresult,thenonehastomanuallyupdatedtheseededtemplateBENSSCNF_en.rtf.
Inthiscaseanewfilewillneedtobedownloadedtoreplacewhatwouldhavebeendeliveredintheappliedpatch.
Ifthetemplateisdeliveredinthepatch,itcannotoverridethemanuallyupdatedtemplate.
Thiscanbeconfusingbecause,attimes,theversionsmaybethesame.
2.Manuallyupdatethetemplatewiththenewfileasfollows:
SavetheBENSSCNF.rtffilefromthepatchsomewhereinthefilesystem.
Loginasauserwith'XMLPublisherAdministrator'responsibilityandselect'Templates'.
Searchtemplatewithcode'BENSSCNF'.
Clickonthetemplatenametoviewdetails.
IntheTemplateFilesregionclick'Update'icon.
In'UpdateFile'page,click'Browse'tolocatetheBENSSCNF.rtffilesavedpreviously.
'Apply'thechanges.
RefertoOracleBusinessIntelligencePublisherUser'sGuide,PartNumberB4001701.
LogintoMyOracleSupport
SelecttheKnowledgetab
Searchfor"BIPublisherUserGuide"underSource>Documentation
References:
BUG:5485926CAN'TMODIFYTHETEMPLATEFORBENEFITCONFIRMATIONSTATEMENT
NOTE:357308.1AboutOracleXMLPublisher5.6.1
NOTE:842555.1HowtoAddandModifyPopulatedFieldsinConfirmationStatementPDFFile?

2.OutOfMemoryErrorWhenRunningXMLPublisherTemplateReGeneratorConcurrentProgram
WhenrunningtheXDOTMGENmodule:XMLPublisherTemplateReGeneratorconcurrentprogram
iterrorsoutwiththefollowing:
Exceptioninthread"main"java.lang.OutOfMemoryError:Javaheapspace
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

10/43

6/7/2016

Document1546377.1

atjava.util.Arrays.copyOf(Arrays.java:2786)
atjava.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
atoracle.apps.xdo.oa.cp.JCP4RTF2XSLGenerator.runProgram(JCP4RTF2XSLGenerator.java:239)
atoracle.apps.fnd.cp.request.Run.main(Run.java:161)
Cause
ThisisaJVMspaceissuewheretheerrorindicatesthereisnotenoughheapspaceintheJVMforthereport.
Solution
1.LogintoapplicationswiththeSystemAdministratorresponsibility.
2.NavigatetoConcurrent>Program>Define
3.QuerytheXMLPublisherTemplateReGeneratorprogram
4.SetthefollowingvaluefortheExecutableOptions:Xmx1024m
5.Savechanges.
6.Retesttheprogram.

3.HowtocreateMultisheetinSingleExcelfileusingExcelTemplate
ThefollowingexamplewillgenerateaSingleExcelfilewithMultipleSheet,eachsheetwilldisplayeveryDepartment
withitsallocatedEmployeesinthatdepartment.
AttachedtotheDocumentthefollowingsamplefilesusedintheexamplebelow:

Attachments:
1ExcelTemplate(EmpsbyDeptConditionalBorder.xls)
2SampleData(EmpDeptData.xml)
3DataTemplate(EmpDept_DataTemplate.xml)

Herearethestepsrequiredtoachievethat:
Firststeptocreatethedatamodelthatwillgeneratethedata

Note:Intheexampledatatemplateisbeingusedasdatasource,youcangeneratethedatainotherwayasyou
need.

1CreatenewReportinBIPublisherEnterpriseanditsDataModelisbasedonDataTemplatethatextractthedata
from2tablesfromHRschema(Employees&Departments):

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

11/43

6/7/2016

Document1546377.1

<dataTemplatename="EMPLOYESS"description="TestMultisheetXLSFile"dataSourceRef="HR">

<dataQuery>

<sqlStatementname="Q1">

<![CDATA[SELECTEMPLOYEE_ID,FIRST_NAME||''||LAST_NAME
EMP_NAME,EMAIL,PHONE_NUMBER,HIRE_DATE,SALARYFROMEMPLOYEESWHEREDEPARTMENT_ID=
:DEPARTMENT_ID]]>
</sqlStatement>

<sqlStatementname="Q2">

<![CDATA[SELECTT1.DEPARTMENT_IDDEPARTMENT_ID,T1.DEPARTMENT_NAMEDEPARTMENT_NAME,
COUNT(EMPLOYEE_ID)TOTAL_EMPS,SUM(SALARY)TOTAL_SALARY,AVG(SALARY)AVG_SALARY,MAX(SALARY)
MAX_SALARY,MIN(SALARY)MIN_SALARYFROMDEPARTMENTST1,EMPLOYEEST2WHERET1.DEPARTMENT_ID=
T2.DEPARTMENT_IDGROUPBYT1.DEPARTMENT_ID,T1.DEPARTMENT_NAMEORDERBY1]]>

</sqlStatement>

</dataQuery>

<linkname="DEPTEMP_LINK"parentQuery="Q1"parentColumn="DEPARTMENT_ID"childQuery="Q_2"
childColumn="DEPARTMENT_ID"/>

<dataStructure>

<groupname="G_DEPT"source="Q2">

<elementname="DEPARTMENT_ID"value="DEPARTMENT_ID"/>

<elementname="DEPARTMENT_NAME"value="DEPARTMENT_NAME"/>

<groupname="G_EMP"source="Q1">

<elementname="EMPLOYEE_ID"value="EMPLOYEE_ID"/>

<elementname="EMP_NAME"value="EMP_NAME"/>

<elementname="EMAIL"value="EMAIL"/>

<elementname="PHONE_NUMBER"value="PHONE_NUMBER"/>

<elementname="HIRE_DATE"value="HIRE_DATE"/>

<elementname="SALARY"value="SALARY"/>

</group>

<elementname="TOTAL_EMPS"value="TOTAL_EMPS"/>

<elementname="TOTAL_SALARY"value="TOTAL_SALARY"/>

<elementname="AVG_SALARY"value="AVG_SALARY"/>

<elementname="MAX_SALARY"value="MAX_SALARY"/>
<elementname="MIN_SALARY"value="MIN_SALARY"/>

</group>

</dataStructure>
</dataTemplate>

Youwillnoticethatthedatatemplatecontains2queries:

Q1:RetrievetheemployeesdatabasedonthedepartmentidreturnedfromQ2.
Q2:Retrievethedepartmentsdataandsomeotherdatalikenumberofemployees,totalsalaries,averagesalary,
minimum&maximumsalary.

AfterthatitcomestheXMLdatastructureforXMLdatafilethatwillbegeneratedandithas2groups:

G_DEPT:ForDepartments
G_EMP:ForRmployees

SotheXMLDatafilewilllooklikethefollowing:
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

12/43

6/7/2016

Document1546377.1

<?xmlversion="1.0"encoding="UTF8"?>

<EMPLOYESS>

<LIST_G_DEPT>

<G_DEPT>

<DEPARTMENT_ID>10</DEPARTMENT_ID>

<DEPARTMENT_NAME>Administration</DEPARTMENT_NAME>

<TOTAL_EMPS>1</TOTAL_EMPS>

<TOTAL_SALARY>4400</TOTAL_SALARY>

<AVG_SALARY>4400</AVG_SALARY>
<MAX_SALARY>4400</MAX_SALARY>
<MIN_SALARY>4400</MIN_SALARY>

<LIST_G_EMP>

<G_EMP>

<EMPLOYEE_ID>200</EMPLOYEE_ID>

<EMP_NAME>JenniferWhalen</EMP_NAME>

<EMAIL>JWHALEN</EMAIL>

<PHONE_NUMBER>515.123.4444</PHONE_NUMBER>

<HIRE_DATE>19870917T00:00:00.000+10:00</HIRE_DATE>

<SALARY>4400</SALARY>

</G_EMP>

</LIST_G_EMP>

</G_DEPT>
<G_DEPT>

<DEPARTMENT_ID>20</DEPARTMENT_ID>

<DEPARTMENT_NAME>Marketing</DEPARTMENT_NAME>

<TOTAL_EMPS>2</TOTAL_EMPS>

<TOTAL_SALARY>19000</TOTAL_SALARY>

<AVG_SALARY>9500</AVG_SALARY>

<MAX_SALARY>13000</MAX_SALARY>
<MIN_SALARY>6000</MIN_SALARY>

<LIST_G_EMP>

<G_EMP>

<EMPLOYEE_ID>201</EMPLOYEE_ID>

<EMP_NAME>MichaelHartstein</EMP_NAME>

<EMAIL>MHARTSTE</EMAIL>

<PHONE_NUMBER>515.123.5555</PHONE_NUMBER>

<HIRE_DATE>19960217T00:00:00.000+11:00</HIRE_DATE>

<SALARY>13000</SALARY>

</G_EMP>
<G_EMP>

<EMPLOYEE_ID>202</EMPLOYEE_ID>
<EMP_NAME>PatFay</EMP_NAME>

<EMAIL>PFAY</EMAIL>

<PHONE_NUMBER>603.123.6666</PHONE_NUMBER>

<HIRE_DATE>19970817T00:00:00.000+10:00</HIRE_DATE>

<SALARY>6000</SALARY>

</G_EMP>

</LIST_G_EMP>

.....

ThefollowingstepsaretocreatetheEXCELtemplate:
2CreateablankExcelfileandsaveitas"Excel972003Workbookbinaryformat(*.xls)"
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

13/43

6/7/2016

Document1546377.1

3TheTemplatelayoutwillbelikethefollowing(figure1):

AsinRTFtemplatewehavetodefinethefieldsandgroupsthatwillbemappedtotheXMLdatafile.
Todothatintheexceltemplatewedowhatwecall"AssigningBIPublisherdefinednames"toeachcellandgroupthat
willbemappedtothedata.ThosedefinednamesmuststartwithaprefixXDO_.
Thecellsmustbenamedaccordingtothefollowingformat:

Dataelements:XDO_?element_name?

where

XDO_istherequiredprefix

and

?element_name?iseither:

TheXMLtagnamefromyourdatadelimitedby"?"

OR

Auniquenamethatyouwillusetomapaderivedvaluetothecell

Forexample:XDO_?EMPLOYEE_ID?

Datagroups:XDO_GROUP_?group_name?

where

XDO_GROUP_istherequiredprefix

and

?group_name?iseither:

TheXMLtagnamefortheparentelementinyourXMLdatadelimitedby"?".

OR

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

14/43

6/7/2016

Document1546377.1

Auniquenamethatyouwillusetodefineaderivedgroupinglogic

Forexample:XDO_GROUP_?DEPT?

Notethatthequestionmarkdelimiter,thegroup_name,andtheelement_namearecasesensitive.

4ClickthecellintheExcelworksheet.
5ClicktheNameboxattheleftendoftheformulabar.ThedefaultnamewilldisplayintheNamebox.Bydefault,all
cellsarenamedaccordingtoposition,forexample:A8.
6IntheNamebox,enterthenameusingtheXDO_prefixandthetagnamefromyourdata.
Forexample:XDO_?EMP_NAME?
7PressEnter.
ThefollowingfigureshowsthedefinednamefortheEmployeeNamefieldenteredintheNamebox:

8Repeatforeachofthefollowingdatafields:DEPARTMENT_NAME,EMPLOYEE_ID,EMAIL,PHONE_NUMBER,and
SALARY.

Tips:
IfyounavigateoutoftheNameboxwithoutpressingEnter,thenameyouenteredwillnotbemaintained.
YoucannotedittheNameboxwhileyouareeditingthecellcontents.
Thenamecannotbemorethan255charactersinlength.

9Afteryouhaveenteredallthefields,youcanreviewthenamesandmakeanycorrectionsoreditsusingtheName
ManagerfeatureofExcel.AccesstheNameManagerfromtheFormulastabinExcelasshown:
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

15/43

6/7/2016

Document1546377.1

10Afteryouhavenamedallthecellsforthisexample,theNameManagerdialogwillappearasshown:

11Nowitistimetocreatethegroup(s)forthereportintheexceltemplate:
Highlightthecellsthatmakeupthegroup.InthisexamplethecellsareA8E8
12ClicktheNameboxattheleftendoftheformulabarandenterthenameusingtheXDO_GROUP_prefixandthe
tagnameforthegroupfromyourdata.Inthisexample:XDO_GROUP_?EMPS?
13PressEnter.
ThefollowingfigureshowstheXDO_GROUP_definednamedenteredfortheEmployeesgroup.
Notethatjusttherowofemployeedataishighlighted.Donothighlighttheheaders.
NotealsothatthetotalcellXDO_?TOTAL_SALARY?isnothighlighted

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

16/43

6/7/2016

Document1546377.1

14Todefinethedepartmentgroup,includethedepartmentnamecellandalltheemployeefieldsbeneathit(A5E9)
asshowninthefollowingfigure:

Enterthenameforthisgroupas:XDO_GROUP_?DEPT?tomatchthegroupinthedata.NotethattheXDO_?
TOTAL_SALARY?cellisincludedinthedepartmentgrouptoensureitrepeatsatthedepartmentlevel.

ThefollowingstepsareveryimportantwhichareforpreparingandcreatingXDO_METADATA
Sheetinthetemplate:
15ThefollowingfigureshowsthedefaultortheinitialXDO_METADATAsheetthatanyexcelsheetshouldhave:

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

17/43

6/7/2016

Document1546377.1

16CreateanewsheetinyourExcelWorkbookandnameit"XDO_METADATA"
17CreatetheheadersectionbyenteringthefollowingvariablenamesincolumnA,oneperrow,startingwithrow1:

Version

ARUdbdrv

ExtractorVersion

TemplateCode
TemplateType

PreprocessXSLTFile
LastModifiedDate
LastModifiedBy

18Skiparowandenter"DataConstraints"incolumnAofrow10
19Intheheaderregion,forthevariable"TemplateType"enterthevalue:TYPE_EXCEL_TEMPLATE

NowdoingthestepstosplittingtheReportintoMultipleSheets:
20Thisexamplewill:
Createanewworksheetforeachdepartment
Nameeachworksheetthenameofthedepartmentwiththenumberofemployeesinthedepartment,
forexample:Sales21.
21IntheXDO_METADATAsheetweneedtodothefollowing:

Usethethissetofcommandstodefinethelogictosplitthereportdataintomultiplesheets:
UseXDO_SHEET_?todefinethelogicbywhichtosplitthedataontoanewsheet.
UseXDO_SHEET_NAME_?tospecifythenamingconventionforeachsheet.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

18/43

6/7/2016

Document1546377.1

ColumnAEntry

ColumnBEntry

ColumnCEntry

XDO_SHEET_?

<?xsl_evaluationtosplitthedata?>
Example:
<?.//G_DEPT?>

n/a

XDO_SHEET_NAME_? <?xsl_expressiontonamethesheet?>
Example:
<?concat(.//DEPARTMENT_NAME,'',count(.//EMP_NAME))?>

(Optional)
<?originalsheetname?>
Example:<?Sheet3?>

NowtheXDO_METADATAsheetshouldlooklikethefollowingfigure:

XDO_SHEET_?mustrefertoanexistinghighlevelnodeinyourXMLdata.Theexample<?.//G_DEPT?>willcreatea
newsheetforeachoccurrenceof<G_DEPT>inthedata.
Ifyourdataisflatyoucannotusethiscommandunlessyoufirstpreprocessthedatatocreatethedesiredhierarchy.
Topreprocessthedata,definethetransformationinanXSLTfile,thenspecifythisfileinthePreprocessXSLTFilefield
oftheheadersectionoftheXDO_METADATAsheet.
Wearedone,NowTesttheTemplate:
22IfyouhaveinstalledtheTemplateBuilderforExcel,theBIPublishertabwillappearontheribbonmenuasshown
inthefollowingfigure:

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

19/43

6/7/2016

Document1546377.1

23ClickSampleXML.Youwillbepromptedtoselectthesampledatafile.
24ClickPreview.
Thesampledatawillbeappliedtoyourtemplateandtheoutputdocumentwillbeopenedinanewworkbook.
Thefollowingfigureshowsthegeneratedreport.Eachdepartmentdatanowdisplaysonitsownsheet,whichshows
thenamingconventionspecified:

4.JBO29000:UnexpectedExceptionCaught:Java.Lang.OutOfMemoryError,Msg=JavaHeapSpace
Whileuploading.rtffilewithsizeof32MBormorethroughXMLPublisherAdministration>templatereceiving
followingerror:

oracle.apps.fnd.framework.OAException:oracle.jbo.JboException:JBO29000:Unexpectedexceptioncaught:
java.lang.OutOfMemoryError,msg=Javaheapspace

FirstTimegettingthisissueaftertryingtouploadthebigfilesizeof32MBormore.
Smallerfilescanbeuploadedwithoutanyissue.
Cause
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

20/43

6/7/2016

Document1546377.1

Usingafilesizeof32MBormore.
Solution
TogetaroundthisuseXDOLoader.
SeeOracleXMLPublisherAdministrationandDeveloper'sGuideRelease12
PartNo.B3141201
AppendixC:MovingTemplatesandDataDefinitions
BetweenEBusinessSuiteInstances

5.PreviewingPDFGenerates'java.lang.OutOfMemoryError:javaheapspace'
WhenattemptingtopreviewanXML/BIPublishertemplatewithanoutputofPDFthatisapproximately12Mbinsizein
MSWord,thefollowingerrorisgenerated.
FontDir:d:\ProgramFiles\Oracle\XMLPublisherDesktop\TemplateBuilderforWord\fonts
RunXDOStart
RTFProcessorsetLocale:enus
RTFProcessorsetConfig:d:\ProgramFiles\Oracle\XMLPublisherDesktop\TemplateBuilderforWord\config\xdo.cfg
FOProcessorsetData:\\icfs5\ict_projectworkarea\EPB\Phase2\Requirements\R001
VarianceReport\04.Data\DataVersion4.1\DEC06\Budget_Variance__Administration.xml
FOProcessorsetLocale:enus
java.lang.reflect.InvocationTargetException
atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)
atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)
atjava.lang.reflect.Method.invoke(UnknownSource)
atoracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:479)
atoracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
atoracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
atoracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
atoracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
atRTF2PDF.runRTFto(RTF2PDF.java:626)
atRTF2PDF.runXDO(RTF2PDF.java:460)
atRTF2PDF.main(RTF2PDF.java:251)
Causedby:java.lang.OutOfMemoryError:Javaheapspace
Cause
TheJavaMemorySpecificationParameterisignoredbyTemplateBuilder(Xmx1024M).
Solution
1.XMLPublisherinstallsaTemplateBuilderandaTemplateViewerforviewingtemplates.
2.UsetheTemplateViewerasaworkaroundtoovercomethisissue:
3.NavigatetoWindows>Start>OracleXMLPublisherDesktop>TemplateViewer
4.ModifythecalloftheTemplateViewerviaShortcutProperties.Settargetto:
"C:\ProgramFiles\Java\jre6\bin\javaw.exe"Xmx1300mjar"C:\ProgramFiles\Oracle\BI
Publisher\BIPublisherDesktop\TemplateViewer\tmplviewer.jar"

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

21/43

6/7/2016

Document1546377.1

6.OutOfMemoryErrorWhenRunningXMLPublisherTemplateReGeneratorConcurrentProgram
WhenrunningtheXDOTMGENmodule:XMLPublisherTemplateReGeneratorconcurrentprogramiterrorsoutwith
thefollowing:
Exceptioninthread"main"java.lang.OutOfMemoryError:Javaheapspace
atjava.util.Arrays.copyOf(Arrays.java:2786)
atjava.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
atoracle.apps.xdo.oa.cp.JCP4RTF2XSLGenerator.runProgram(JCP4RTF2XSLGenerator.java:239)
atoracle.apps.fnd.cp.request.Run.main(Run.java:161)
Cause
ThisisaJVMspaceissue.ErrorindicatesthereisnotenoughheapspaceintheJVMforthereport.
Solution
Toimplementthesolution,executethefollowingsteps:
1.LogintoapplicationswiththeSystemAdministratorresponsibility.
2.NavigatetoConcurrent>Program>Define
3.QuerytheXMLPublisherTemplateReGeneratorprogram
4.SetthefollowingvaluefortheExecutableOptions:Xmx1024m
5.Savechanges.
6.Retesttheprogram.

7.AttributApplicationShortNameinDSDefinitionsAM.DSDefinitionsVO1isrequiredNotAbleToSelectThe
ApplicationWhileCreatingTheTemplate
NotabletoselecttheapplicationfromtheLOVwhilecreatingtheTemplateinXMLPublisheradministrator.When
tryingtogivethevaluecalledPurchasingandtryingtoentertab,itisaccepted,buterroringoutwhenapplyingthe
template.
1.ApplicationShortNameAttributApplicationShortNameinDSDefinitionsAM.DSDefinitionsVO1isrequired
2.ApplicationSelectavalidvalue
Solution
1.RunthefollowingSQLastheAPPSuser:
selectp.profile_option_nameSHORT_NAME,n.user_profile_option_nameNAME,
to_char(v.last_update_date,'DDMONRR')"LastUpdated",decode(v.level_id,10001,'Site',
10002,'Application',10003,'Responsibility',10004,'User',10005,'Server',10007,
'SERVRESP','UnDef')LEVEL_SET,decode(to_char(v.level_id),'10001','','10002',
app.application_short_name,'10003',rsp.responsibility_key,'10005',svr.node_name,'10006',
org.name,'10004',usr.user_name,'10007','Serv/resp','UnDef')"CONTEXT",v.profile_option_value
VALUE

fromfnd_profile_optionsp,fnd_profile_option_valuesv,fnd_profile_options_tln,fnd_user
usr,fnd_applicationapp,fnd_responsibilityrsp,fnd_nodessvr,hr_operating_unitsorg

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

22/43

6/7/2016

Document1546377.1

wherep.profile_option_id=v.profile_option_id(+)
andp.profile_option_name=n.profile_option_name

and(n.user_profile_option_name)in('SelfServiceAccessibilityFeatures')

andusr.user_id(+)=v.level_value

andrsp.application_id(+)=v.level_value_application_id

andrsp.responsibility_id(+)=v.level_value

andapp.application_id(+)=v.level_value

andsvr.node_id(+)=v.level_value

andorg.organization_id(+)=v.level_value

orderbyshort_name,level_set

2.ReviewtheoutputoftheSQLandvalidateifthereareanyvaluesshowingwhicharenotYorN.
3.Ifthereisa'SelfServiceAccessibilityFeatures'profileoptionsettoanythingotherthanYorN,thenpleaseeither
removethesettingorsetittoYorN.
4.UsingApplicationforms,setthe'SelfServiceAccessibilityFeatures'profileoptionto'StandardAccessibility'atthe
userlevel.

8.AreTemplatesCreatedWithWordBiPPlugin11.1.1.6CompatibleWithBiP10.1.3.2.4?
NoBiPtechnologyisnotbackwardcompatible.WhilethetemplatescreatedinBiPPlugin10.1.3.4canbeusedin
11.1.1.6,theoppositeisnottrue.

BIPVersion5.6.x
1.HowToInstall(Register)aNewFontUsingXMLPublisher
1.Introduction
IntroducedinXMLPublisher5.6.0isanewtabnamedAdministration.Thisreplacesthexdo.cfgconfigurationfile
anditsgoalistosimplytheadministrationofXMLPublisheraspartofanOracleEBusinessSuiteenvironment.
2.HowtocreateanewfontinXMLPublisher?
FontscanbeuploadeddirectlyviatheAdministrationpages.Theyarethenstoredinthedatabaseinsteadofonthefile
system.
TheAdministrationtabhas3moresubtabs:
1.Configuration
2.FontMappingsandFontFiles
3.Currencies
Thecreationofafontrequiresonlyafewstepstobeperformed:
1.LoginasXMLPublisherAdministrator.
2.NavigatetoAdministration>FontFiles>CreateFontFile.
3.AvailablefieldsareFontNameandFile:
>ForFontName,chooseanydescriptivename
>FilewillbrowsethePCtolocatethefontfile
4.NavigatetoFontMappings>CreateFontMappingSet.
5.Mappingnameisthenameonewillgivetoasetoffonts.
6.Mappingcodeistheinternalnameonewillgivetothisset.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

23/43

6/7/2016

Document1546377.1

7.Type:'PDFForm'forPDFtemplates.'FOtoPDF'forallothertemplatetypes.
8.CreateFontMapping(thisallowsonetoaddfontstoaset).
9.FontFamilyistheexactsamenameseeninMSWordunderFont.Ifonedoesnotusethesamenamethefont
willnotbepickedupatruntime.
10.StyleandweightmustalsomatchhowoneusesthefontintheRTForPDFlayouttemplate.NormalandNormal
aregooddefaults.
11.LanguageandTerritoryshouldremainblank(NULL)unlessonehasastrongbusinessreason,asthesefields
cancausethefontnottobepickedupatruntime.
12.NavigatetoConfigurationGeneral>FOProcessing>FontMappingSet.ThiscanalsobedoneatData
DefinitionandTemplatelevel,viathecorrespondingEditConfigurationbuttononthosepages.Thehierarchyis
Site>DataDef>Template.
13.Selectthenewmappingset.
14.MakesurethefontisnotreferencedunderFile>Properties>CustomintheRTFtemplatefile.
15.UnderGeneral,setaTemporaryDirectory.Thefontwillbestoredundera/fontsdirectoryatruntime,initially
createdthefirsttimethefontisused.
16.Uploadatemplatethatusesthespecialfontandtestusingprevieworbysubmittingaconcurrentrequest.
Formoreinformation,kindlyrefertotheXMLPublisherdocumentationaccessiblyviatheReferencessectionofthis
document.

Note:Itisstillpossibletodefinecustomfontsviathexdo.cfgfilethoughthatdoesrequireforthefontfilesto
physicallyexistontheserver.
3.KnownIssues
Thefollowingexceptionmaybeencounteredatruntime,e.g.fromaconcurrentrequest:

java.lang.NullPointerException

atoracle.apps.xdo.oa.util.FontCacheManager.getFontFilePath

Insuchcase,refertoNote358093.1andapplyPatch5024026.
References:
NOTE:358093.1PdfWithNonAsciiCharactersWasNotGeneratedInFormsInterface

2.java.lang.NullPointerExceptionOccursUsingXDORequests
CallingXDODataEngine...
java.lang.NullPointerException
atoracle.apps.xdo.dataengine.DataTemplateParser.getObjectVlaue(DataTemplateParser.java:1759)
atoracle.apps.xdo.dataengine.DataTemplateParser.replaceSubstituteVariables(DataTemplateParser.java:1478)
atoracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:456)
atoracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
atoracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
atoracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
atoracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
atoracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
atoracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
atoracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
atoracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

24/43

6/7/2016

Document1546377.1

atoracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
atoracle.apps.fnd.cp.request.Run.main(Run.java:157)
Change
Usingparametersfortherequest.
Cause
Usedanampersandwhereacolonshouldbeused.
Solution
Anyuserparametershouldsetabindparameter(i.e:P1)
Replace:
selectend_datefromcn_period_statuses_allwhereperiod_id=&p_period_to
With:
selectend_datefromcn_period_statuses_allwhereperiod_id=:p_period_to

3.BiPublisherFormatCurrencyFunctionReturnsTheWrongResult(ItReturns0.9Insteadof$0.90)
Symptoms
CreateaBIPublisherreportwiththefollowing:
<?formatcurrency:AMOUNTCURRENCY_CODE'true'?>

Thisshouldreturn$0.90butinsteaditreturns0.9.
Cause
Afterreproducetheissueon5.6.3thefollowingerrorappear:
[052810_233520062][][ERROR]java.lang.IllegalArgumentException:Localecannotbenull.
atoracle.apps.fnd.i18n.common.util.FormatMaskUtil.getCurrencyFormatWithSymbol(Unknown
Source)

at
oracle.apps.xdo.template.rtf.util.XDOFormatterUtil.formatCurrency(XDOFormatterUtil.java:450)

atoracle.apps.xdo.template.rtf.XSLTFunctions.xdo_format_currency(XSLTFunctions.java:841)

atsun.reflect.GeneratedMethodAccessor103.invoke(UnknownSource)

atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)

atjava.lang.reflect.Method.invoke(UnknownSource)

atoracle.xdo.parser.v2.XSLExtFunctions.callStaticMethod(XSLExtFunctions.java:111)
atoracle.xdo.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction.java:307)

atoracle.xdo.parser.v2.XPathExtFunction.evaluate(XPathExtFunction.java:226)

atoracle.xdo.parser.v2.XSLValueOf.processAction(XSLValueOf.java:101)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLForEach.processAction(XSLForEach.java:147)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

25/43

6/7/2016

Document1546377.1

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLForEach.processAction(XSLForEach.java:147)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)

atoracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)

atoracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
atoracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
atoracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)

atoracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
atoracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
atoracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)

atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)

atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)

atjava.lang.reflect.Method.invoke(UnknownSource)

atoracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:677)

atoracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:425)
atoracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:244)

atoracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)

atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
atoracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)

atoracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1647)
atoracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:941)
atoracle.apps.xdo.template.FOProcessor.process(FOProcessor.java:787)

atoracle.apps.xdo.runner.XDORunThread.runFOProcessor(XDORunThread.java:159)
atoracle.apps.xdo.runner.XDORunThread.runFOProcessor(XDORunThread.java:72)

atoracle.apps.xdo.runner.XDORunThread.run(XDORunThread.java:47)

EndofProcess.

Time:5.953sec.

Successfullygeneratedxdo4701679035580224391.pdf

Spawningviewer..

Thiserrorisduetothefollowingfile:
\oracle\apps\xdo\template\rtf\util\XDOFormatterUtil.java
1.Patch9740420shouldbeapplytosolvethisissue.
Thispatchwillbringusthefollowingfiles:
xdojava/template/eft/funcXSLToCheckNumber.java120.0.12010000.2
xdojava/template/rtfXSLTFunctions.java120.23.12010000.9
xdojava/template/rtf/imgRTFChartUtil.java120.8.12010000.3
xdojava/template/rtf/utilXDOFormatterUtil.java120.10.12010000.7
2.BounceApacheafterthepatchandretest.

BIPVersion10.x
1."ThemacrocannotbefoundorhasbeendisabledbecauseofyourMacrosecuritysettings"InBIPublisher
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

26/43

6/7/2016

Document1546377.1

Onemaybeexperiencinganyofthefollowingtwosymptoms:
1.Whenselecting"LoadXMLData"fromtheXML/BIPublisherDesktopaddinforWordtemplate,thefollowingerror
occurs:
ThemacrocannotbefoundorhasbeendisabledbecauseoftheMacrosecuritysettings.
2.WheninstallingnewversionofBIPublisherDesktop,thefollowingMicrosoftVisualBasicerroroccurs:
Objectlibraryinvalidorcontainsreferencestoobjectdefinitionsthatcouldnotbefound.

Changes
Microsoftsecurityupdatewasapplied.
Cause
MicrosofthasreleasedsecuritybulletinMS08070.ThissecurityupdateinstallsVBAsoftwarecomponentswhichcause
thirdpartysoftwarebasedonMicrosoftVisualBasicforApplications(VBA)stopworking.Inthiscase,thirdparty
softwareisXML/BIPublisherDesktopaddinforWordtemplate.
Solution
1.GotoStartMenu>Run>CommandPrompt.
1.1.WindowsXPcommandpromptwillshow:
C:\DocumentsandSettings\UserName>_
1.2.WindowsVistaandWindows7promptwillshow:
C:\Users\UserName>_
2.Executethefollowingcommand(notcasesensitive):
DEL/S/A:H/A:H*.EXD
Thiswilldeleteallthe.exdfilesonthemachine.ItissafetodeletetheEXDfilesbecausethe.exdfileswillbere
createdautomaticallyusingthenewcontrolsthenexttimethatoneusesVBA.
3.Retesttheissue.
4.Ifdeleting*.EXDfilesdoesn'tfixtheissue:
4.1.For64bitoperatingsystems,typethefollowing:
Regsvr32"C:\Windows\SysWOW64\MSCOMCTL.OCX"
4.2.For32bitoperatingsystems,typethefollowing:
Regsvr32"C:\Windows\System32\MSCOMCTL.OCX"
Rebootaftertheaboveactionhascompletedsuccessfully.
5.Ifthatfailstoresolvetheissue,tryacompleteuninstallofMSOfficeandreinstallit.
6.Migratethesolutionasappropriatetootherenvironments.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

27/43

6/7/2016

Document1546377.1

2.ExcelOutputFromBIPublisherorXMLPublisherisTrimmingLeadingZeros
Symptoms
CreatedanXMLPublisherreportwithExceloutput.Whennumericdataincludesleadingzeros,thesearedroppedin
theoutpute.g.00123becomes123.
ExamplesourceXML:
<root>
<invoices>
<invoice>
<invoice_number>0000123</invoice_number>
</invoice>
<invoice>
</root>
Cause
Excelautomaticallytrimsleadingandtrailingzeroswheninwhatitseesasnumericdata.
Tokeepleadingortrailingzeroswherethedataisnotnumericbutactuallyastring,
suchasaninvoicenumber,Excelhastoseethenumbersasastringvaluenotnumeric.
Solution
1.Inthertftemplate,usetheInsert>Symbolfunctiontoinsertaverysmall
0xA0(NOBREAKSPACE)character(fontsize1or2pt)infrontofthenumberstringfield.
2.Onecanalsotry:
<fo:bidioverridedirection="ltr"unicodebidi="bidioverride"><?formatnumber:INVOICE_NUMBER'09999999'?>
</fo:bidioverride>"
3.Anotheroption:
DuringXMLtemplatedesign,Insteadoftheusingthetag<?TAG_NAME?>
use="<?TAG_NAME?>".Itwrapsthevaluewithdoublequotes.NowExceltreatvalueascharacteranddoesn'ttrim
theleadingzerosofvalue.
Note:spacebetween<and?andtagnameisnotrequired.
4.Retestfortheissue.
3.BIPublisherCacheDirectoryFillingUpandPointingtoInvalidDirectoryInsteadofsystemtmpdirParameter
Symptoms
Temporaryandcachefilesarewrittento.../j2ee/home/applications/xmlpserver/xmlpserver/xdo/cachebutnottothe
pathconfiguredinthefileweb.xmlfile:

<paramname>systemtmpdir</paramname><paramvalue>/servers/bipublisher/XMLP/Cache</paramvalue>Sonomatt

Cause
ThecauseofthisproblemhasbeenidentifiedinunpublishedBug9560562:BIPUBLISHERCACHEDIRECTORYFILLING
UPANDPOINTINGTOINVALIDDIRECTORY.
FixforunpublishedBug9560562hasbeenincludedinPatch9791839:UPDATEFORBIPUBLISHERENTERPRISE
10.1.3.4.1JUNE2010.
Withthisfix,AdministratorcandefineSystemTemporaryDirectoryfromAdmin>ServerConfigurationandBIPuses
thisdirectoryforcaching
Solution
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

28/43

6/7/2016

Document1546377.1

1.PleaseapplythePatch9791839
2.SetthetemporarydirectoryinAdmin>ServerConfiguration
3.Bouncetheservices.
4.Thentestagain.

3.BiPublisherProcessingexception:StringindexoutofboundsexceptionWhenReportIncludesaChart
Symptoms
WhenchedulingareportinBIPublisherwhichincludesachart,thefollowingexceptionisreceived:
oracle.apps.xdo.servlet.scheduler.ProcessingException:java.lang.StringIndexOutOfBoundsException:Stringindexoutof
range:1
Theerrorisnotgeneratedifthereporttemplatedoesnotcontainachart.
Cause
JVMisnotrunninginheadlessmode
Solution
1.AsBIPublisherusestheJavaAWTAPIduringchartgenerationandrequiresJVMtoberunin
headlessmode,setthesystempropertyDjava.awt.headless=true.
2.StopandstarttheBIPublisherserver.
3.Retestfortheissue

BIPVersion11.x
1.UndeterministicSelectionExceptionRecievedWhenDeployingBIPublisher11GonWeblogicServer
TryingtoinstallBIPublisher11.1.1.5.0usingSoftwareOnlyInstallationmethod.
TheWebLogicServerisalsorunningForms/Reports11gR2inaseparatedomain.
Afterinstallingsoftwareonly,oneistryingtoconfigureBIPublisher11.1.1.5withtheconfig.shscript.
AftercreatingdomainandsettingupWebLogicsuccessfully,oneisreceivinga"UndeterministicSelectionException"
errormessageintheinstallationlogfilewhendeployingbasesetup.
ReviewingtheBIPublisherInstallationlogfileonecanseeitisendingwiththefollowing:
oracle.as.provisioning.exception.ASProvWorkflowException:ProbleminvokingWLSTTraceback(innermostlast):
File"/tmp/tmp1323687296212.py",line15,in?
File"/tmp/WLSTOfflineIni7176764304464073604.py",line89,inaddTemplate
OracleWSMPolicyManager11.1.1.0[oracle_common]
OracleWSMPolicyManager11.1.1.0[as_fr_1112]
at
com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
atcom.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
atcom.oracle.cie.domain.script.jython.WLScriptContext.addTemplate(WLScriptContext.java:420)
atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
atjava.lang.reflect.Method.invoke(Method.java:597)
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

29/43

6/7/2016

Document1546377.1

com.oracle.cie.domain.script.jython.WLSTException:com.oracle.cie.domain.script.jython.WLSTException:
com.oracle.cie.domain.script.ScriptException:
com.oracle.cie.domain.template.dependency.UndeterministicSelectionException:Oneofthefollowingneedstobe
selected:
OracleWSMPolicyManager11.1.1.0[oracle_common]
OracleWSMPolicyManager11.1.1.0[as_fr_1112]

atoracle.as.provisioning.weblogic.ASDomain._addTemplate(ASDomain.java:4221)
atoracle.as.provisioning.weblogic.ASDomain.addTemplate(ASDomain.java:4017)
atoracle.as.provisioning.engine.WorkFlowExecutor._addTemplates(WorkFlowExecutor.java:1396)
atoracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:473)
atoracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at
oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
atoracle.as.install.bi.biconfig.standard.ConfigTemplateTask.doExecute(ConfigTemplateTask.java:34)
atoracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
atoracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
atoracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
atoracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
atoracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at
oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
atoracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
atoracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at
oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.ja
at
oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
atoracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
atjava.lang.Thread.run(Thread.java:662)

Cause:
ThisisexplainnedinpublishedBug13495636PROBLEMINSTALLINGBIPUBLISHER11.1.1.5ONWEBLOGICSERVER.
ThisisduetoaninvalidinstallationofForms/Reports11g,becauseoracle.wsmpm_template_11.1.1.jarisinstalledin
multipleOracleHomes.
Thisfilemustexistinonyonelocationintheoracle_commonhome:
oracle_common/common/templates/applications/oracle.wsmpm_template_11.1.1.jar

DuetotheFormsReportsinstallation,thisfileispresentinmultiplelocations.
Solution
Removingthefileoracle.wsmpm_template_11.1.1.jarfromtheotherlocationandleavingonlyoneinstanceofthisfile
in"oracle_common/common/templates/applications/"directorywillfixtheissueandallowonetoinstallandconfigure
BIPublishersuccessfully.

2.HowToUninstallOracleBIPublisherDesktopManually?
ItisrecommendedtouninstallOracleBIPublisherDesktopviathefollowingsteps:
1.EnsurethattheOSuserthatoneuseshasanadministratorprivilege.
2.Startmenu.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

30/43

6/7/2016

Document1546377.1

3.OpentheControlPanel.
4.Goto:
WindowsXP:AddorRemoveprograms
Windows7:ProgramsandFeatures
5.Inthelist,selectOracleBIPublisherDesktopandclickonUninstall.
CleanupAPossibleCorruptedInstallation
Insomecases,theinstallationOracleBIPublisherDesktopmayhavefailedortheuninstallprocessisnotremovingall
thefilesfromthefilesystem.SuchacorruptedinstallationmayevenpreventanewinstallationofOracleBIPublisher
Desktop.
Solution
Thefollowingstepsoutlinehowtomanuallycleanupanythingthatisleftbehind:
1.OpenWindowsExplorer.
2.GotoC:\WINDOWS\assemblydirectory.
3.Checkifthereareanyassemblieswhichstartwith"TB".Ifso,removethembyrightclickingontheassembly
>Uninstall.
4.GototheMSWordStartupDirectory%APPDATA%\Microsoft\Word\STARTUP.
5.RemoveanyexistingfilenamedTemplateBuilder.dot,WordAnalyzer.dotorTBCrosstab.dot.
6.GototheMSWordTemplateDirectory%APPDATA%\Microsoft\Templates.
7.Bydefault,thisdirectoryshouldonlycontainNormal.dot,Normal.dotm,NormalEmail.dotand
NormalEmail.dotm.RemoveanyotherTemplatethat'sbelievedshouldnotexist.
8.OpenMSWord
>TheOracleBIPublishermenushouldnotlongerbevisible.
Atthispoint,restarttheOSanditshouldbepossibletoreinstallOracleBIPublisherDesktop.
CleanupAPossibleCorruptedInstallationContinued
IftheinstallationofOracleBIPublisherDesktopstillfailsaftercompletingtheabovesteps,thenproceedwiththe
followingchecks:
1.Startmenu
2.OpentheControlPanel
3.Goto
WindowsXP:AddorRemoveprograms
Windows7:ProgramsandFeatures
4.Checkifthefollowinghavebeeninstalled,andifmissinginstallthemnow:
SharedAddinExtensibilityUpdateforMicrosoft.NETFramework2.0(KB908002)
SharedAddinSupportUpdateforMicrosoft.NETFramework2.0(KB908002)
MSVisualStudio2010ToolsforOfficeRuntime
5.CheckifonehasanotherMicrosoftOfficeaddinandifso,turnitoffbeforeattemptingtoinstallOracleBI
PublisherDesktop.
6.RestarttheOS
7.ReinstallOracleBIPublisherDesktop
8.IftheissuepersiststhenmoveNormal.dotand/orNormal.dotmtoanotherdirectoryandtryagain.Important:
Oneneedstomoveit.Renamingthefileisnotsufficient.
IftheinstallationofOracleBIPublisherDesktopstillfailsaftermovingNormal.dotthentrytherepairofMicrosoft
Office:
1.UninstallOracleBIPublisherDesktopbyfollowingthestepsabove.
2.OpentheControlPanel
3.Goto
WindowsXP:AddorRemoveprograms
Windows7:ProgramsandFeatures
4.RightclickonMicrosoftOffice>Change>Repair
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

31/43

6/7/2016

Document1546377.1

5.WaitfortheRepairprocesstocomplete
6.ReinstallOracleBIPublisherDesktop
Atthisstage,ifonedoesnotseetheOracleBIPublisherribbonsonMSWord2007orMSWord2010,thencheckthe
following:
MSWord2007:
1.Goto"Officebuttononthetopleft"
2.Clickon"WordOption"atthebottom
3.Clickon"AddIns"ontheleft.
Word2010:
1.Goto"File"tab
2.Clickon"Options"ontheleft
3.Clickon"Addins"ontheleft.
Validatethatallofthefollowingitemsareactive:
OracleOracleBIPublisherDesktop11.1.1.5.x
TemplateBuilder.dot
WordAnalyzer.dot
TBMenus
TBMenus2007
OracleOracleBIPublisherDesktop11.1.1.6.x
TBMenus2007
Ifonehasdisableditems,activatethemfromtheManagedialogatthebottom.Select"DisabledItems"andclick"Go".

3.HowToChangeTheSessionTimeoutInOracleBIPublisher11g
ThesessiontimeoutiscontrolledbyOracleWebLogicServer.ThedefaultsessiontimeoutforOracleBIPublisheris20
minutes,afterwhichtheenduserwillseethefollowingdialogwindow:

Youhavebeeninactiveformorethan20minutes.ClickOKtokeepyoursession.

OracleBIPublisher11gisshippedasapackagethatincludesastandardJ2EEapplicationdeploymentdescriptorfile
web.xml,locatedinthe/METAINFdirectoryoftheapplication,e.g.:

./user_projects/domains/bifoundation_domain/servers/bi_server1/tmp/_WL_user/bipublisher_11.1.1/to5gma/
INF/web.xml

Note:Thedirectory'to5gma'isarandomnameandwillbedifferentoneveryenvironment.

Thefollowingstepsarerequiredtochangethesessiontimeoutvalue:
1.TakeabackupoftheoriginalEARfile:
[MW_HOMElikeOracleBI]/Oracle_BI1/bifoundation/jee/xmlpserver.ear

2.CopytheEARfiletoatemporarydirectory:
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

32/43

6/7/2016

Document1546377.1

$cpxmlpserver.ear/tmp/bip

$cd/tmp/bip

3.Extractthexmlpserver.warfilefromthexmlpserver.ear:
$unzipxmlpserver.earxmlpserver.war

Archive:xmlpserver.ear

inflating:xmlpserver.war

$lsl

total103576

rwrr1pbreugelpbreugel78228982Mar607:37xmlpserver.ear
rwrr1pbreugelpbreugel27706708Mar513:41xmlpserver.war

4.ExtracttheWEBINF/web.xmlfromthexmlpserver.warfile:
$unzipxmlpserver.warWEBINF/web.xml

Archive:xmlpserver.war

inflating:WEBINF/web.xml

$lslR

.:

total103584

drwxrwxrx2pbreugelpbreugel4096Mar607:39WEBINF

rwrr1pbreugelpbreugel78228982Mar607:37xmlpserver.ear
rwrr1pbreugelpbreugel27706708Mar513:41xmlpserver.war

./WEBINF:
total44

rwrr1pbreugelpbreugel38635Mar513:40web.xml

5.EdittheextractedWEBINF/web.xmlfileusingaplaintexteditor,modifyingthevalueofsessiontimeouttoe.g.
60:
$grepnC1sessiontimeoutWEBINF/web.xml

1011<sessionconfig>

1012:<sessiontimeout>20</sessiontimeout>

1013</sessionconfig>

$viWEBINF/web.xml

$grepnC1sessiontimeoutWEBINF/web.xml

1011<sessionconfig>

1012:<sessiontimeout>60</sessiontimeout>

1013</sessionconfig>

6.Updatethexmlpserver.warwiththemodifiedWEBINF/web.xmlfile(makesuretopreservedirectories):
$zipuxmlpserver.warWEBINF/web.xml

updating:WEBINF/web.xml(deflated88%)

$unziplxmlpserver.war|grepWEBINF/web.xml
3863503061207:41WEBINF/web.xml

7.Updatethexmlpserver.earwiththeupdatedxmlpserver.warfile(makesuretopreservedirectories):
$zipuxmlpserver.earxmlpserver.war
updating:xmlpserver.war(deflated8%)

$unziplxmlpserver.ear|grepxmlpserver.war

2770669003061207:41xmlpserver.war

8.CopytheupdatedEARfiletothedeploymentfilesdirectory,overwritingtheexistingone:
$cpxmlpserver.ear[MW_HOMElikeOracleBI]/Oracle_BI1/bifoundation/jee/xmlpserver.ear

9.LogintotheWebLogicServerAdministrationConsole:
http://[hostname]:[port]/console/

10.NavigatetotheDeploymentpage
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

33/43

6/7/2016

Document1546377.1

11.Updatethedeploymentnamed'bipublisher(11.1.1)'
12.Verifythattheupdatedweb.xmlisdeployedcorrectly:

$cd[MW_HOME]

$find.typefnameweb.xml|xargsgrepnC1sessiontimeout|
grep./user_projects/domains/bifoundation_domain/servers/AdminServer/tmp/_WL_user/bipublisher_11.
INF/web.xml1011<sessionconfig>

./user_projects/domains/bifoundation_domain/servers/AdminServer/tmp/_WL_user/bipublisher_11.1.1/
INF/web.xml:1012:<sessiontimeout>60</sessiontimeout>fileordirectory

./user_projects/domains/bifoundation_domain/servers/AdminServer/tmp/_WL_user/bipublisher_11.1.1/
INF/web.xml1013</sessionconfig>

4.ReportsWithSpecialCharactersinTheirNamesAreNotVisibleinBIPublisher11g
AllBIPublisherreportsarepresentinxdmandxdoformatonanftpserver,andmanyareexposedinBIPEnterprise,
butsomearenot.
HowtomakethesereportsvisibleinBIPEnterprise?
ThereportswhicharevisibleinBIPublisherhavenospecialcharactersintheirnames.Isthereanywaytoretain
them,astheyareauserrequirement?
Solution
ThereportsarenotappearinginBIPublisherbecausetheyhavenotbeensavedtotheCatalog,andtheyhavenot
beensavedbecausetheirnamescontainatleastoneofthespecialcharacters.Thisistheexpectedbehaviour.One
needstoremoveanyofthespecialcharactersthatarelistedintheerrormessagefromthereportnamesontheftp
server.
Reference:Note1276869.1OverviewofAvailableUpdatePatchesforOracleBIPublisherEnterprise11g

5.HowToManuallyStoptheNodeManager?
A.Thereisnospecificcommandtomanuallystopthenodemanager.Onehastokilltheprocesstomanuallytostop
thenodemanager.
B.Thefollowingisthesequencetostopthenodemanager:
1.opmnctlstopall
2.stopManagedServer(cmdorsh)
3.stopWeblogic(cmdorsh)
4.NodeManager:TostopnodemanageronUnixdirectlykilltheprocess.OnWindows,ifregisteredasaservice,stop
thenodemanagerservice.

BIPAllVersions
1.BIPublisherDesktopStoppedWorkingWithMSWordAfterWindowsSecurityUpdate
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

34/43

6/7/2016

Document1546377.1

AfterinstallingthelatestMicrosoftSecurityUpdatesontheWindows7PC,ortheWindowsXPSP3,the
functionalityfortheBIPublisherplugintoMicrosoftWord2007isnolongerworking.
FormostoftheBIPpluginfunctionalitynothinghappensatall.
Thefollowingerrorscomesupforsomefunctions:
"AutomationError,UnspecifiedError"
OR
"Compileerrorinhiddenmodule:Module_starter"
Changes
MicrosoftWindowsUpdateswereapplied
Cause
MicrosoftWindowsUpdates

AtleastoneoftheMicrosoftWindowsUpdatesfreezesout3rdpartyapplicationfunctionalitythatinvolvesVisualBasic.
Solution
InWindows7gotoControlPanel>ProgramsandFeatures>ViewInstalledUpdates.
Or,inWindowsXPSP3,gotoControlPanel>Add/RemovePrograms
Checkthatonehasupdatesdatingfrom14Aug2012(thedatethisSecurityUpdatewasreleased).
Thefollowingwebpagegivesthereasonforthefixandtheinstruction(detailedbelow):
http://blogs.technet.com/b/wordonenotesupport/archive/2012/08/16/quotunspecifiedautomationerrorquotafter
applyingms12060.aspx
"UnspecifiedAutomationError"afterapplyingMS12060
KeithElMSFT
16Aug201211:43AM
MS12060isasecurityupdatethatwasreleasedTuesday,August14,2012.
ThisupdatereplacedMS12027.Onemaynowbeseeing"UnspecifiedAutomationError"whenrunningtheMicrosoft
OfficeVBAcodeafterinstallingMS12060.
ThefixforthisproblemistoreregisterMSCOMCTL.OCX.Todothis,followthesesteps:
1.Openanadministrativelevelcommandprompt.
a.ClickSTART,andtypeRUNintheruncommandline.
b.OnWindowsVistaandWindows7findcmd.exeinWindows\System32.
c.Rightclickcmd.exeandselect'RunAsAdministrator'togetacommandwindow.
2.a.Ifona64bitmachine,typethefollowinginthecommandwindow:
regsvr32.exe/uC:\Windows\SysWOW64\MSCOMCTL.OCX

b.PressENTER,thentype:
regsvr32.exeC:\Windows\SysWOW64\MSCOMCTL.OCX
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

35/43

6/7/2016

Document1546377.1

3.Ifona32bitmachine,typethefollowinginthecommandwindow:
regsvr32.exe/uC:\Windows\System32\MSCOMCTL.OCX

PressENTER,thentype:
regsvr32.exeC:\Windows\System32\MSCOMCTL.OCX

4.NowopenanRTFtemplateinMSWord2007andseetheBIPpluginfunctionsareworking.

2.ReportGenerationFailsDuetooracle.xdo.parser.v2.XPathException:Namespaceprefix'ref'usedbutnot
declared
BIPublisher/XMLPublisherreportsarenotbeinggeneratedsuccessfully.Instead,theprocessisencounteringthe
followingexception:
Causedby:oracle.xdo.parser.v2.XPathException:Namespaceprefix'ref'usedbutnot
declared.

atoracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)

atoracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)

...17more

Changes
TheRTFlayouttemplatemayhavebeenmodifiedusingtheTemplateBuilderforWord.
Cause
TheRTFlayouttemplatecontainsoneormoreplaceholdersusingtheFormFieldmethod.TheTemplateBuilderfor
WordthatcomeswithOracleBIPublisher11g(11.1.1.3.0and11.1.1.5.0)includesthecodefixforenhancement
requestbug8520142SupportWordVariablesAsAlternativeForFormFieldsandChartAlternativeText.Thisversion
oftheTemplateBuilderwillbydefaultmakeuseofWordVariablesforstoringtheformfielddata.RTFlayout
templatesthathavebeenmodifybytheOracleBIPublisherTemplateBuilderforWord11.1.1.3.0or11.1.1.5.0are
notbackwardscompatiblewith:
OracleXMLPublisheraspartoftheOracleEBusinessSuite
OracleBIPublisherEnterprise10.1.3.4.1orearlier(oranyapplicationthatisintegratedwithit)
Solution
TheencounteredexceptionisaclearindicationthattheRTFlayouttemplateisnolongercompatibleforthegiven
application.ItisrequiredtorevertbacktotheoriginalRTFlayouttemplateandredoanymodificationsusinga
compatibleTemplateBuilderforWord.Thelatestoneavailablecanbefoundinthefollowingknowledgedocuments:
Document1138602.1OverviewofAvailablePatchesforOracleXMLPublisher(embeddedinOracleEBusiness
Suite)
Document797057.1OverviewofAvailableUpdatePatchesforOracleBIPublisherEnterprise10g
Workaround:
TheTemplateBuilderforWord11ghasanoptiontoturnoffthisnewfeatureandwhichcanbeofuseincaseaminor
modificationtoanexistingtemplateisrequired,whileremainingitsbackwardcompatibilitywitholderversionslikeBI
Publisher10gorXMLPublisheraspartoftheOracleEBusinessSuite.Thefollowingactionsarerequiredtodoso:
1.OpenMicrosoftWord
2.OntheBIPublishermenu/tab,selecttheOptionsmenuitem
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

36/43

6/7/2016

Document1546377.1

3.Clickonthetabnamed'Build'
4.SetthevalueforFormfieldsizetoBackwardCompatible
Note:Theimplementationoftheenhancementrequestallowsupto64KiBofdatatobestoredinasingleform
field,improvingonthedefaultof380charactersforformfieldsandapproximately4KiBforchartdata.
References:
Note:1138602.1OverviewofAvailablePatchesforOracleXMLPublisherembeddedintheOracleEBusinessSuite
Note:1301148.1E1:XMLP:RTFTemplatesCreatedUsingBIDesktopv.11DoNotWorkwithEnterpriseOne8.98.x
Note:797057.1OverviewofAvailableUpdatePatchesforOracleBIPublisherEnterprise10g

3.XMLReportsCompleteWithWarningUnableToFindAnOutputPostProcessorServiceToPostProcess
Request
WhenXMLReportsarerun,theycompletewiththeWarningmessage:
+1)PUBLISH+
UnabletofindanOutputPostProcessorservicetopostprocessrequestXXXXXX(request_id).
CheckthattheOutputPostProcessorserviceisrunning.
++
Solution
1.Pleaseshutdowntheinternalmanager.
2.MakesuretherearenoFNDLIBRprocessesrunningasfollows:
$psef|grepFNDLIBR

3.IfthereareanyFNDLIBRprocesses,pleasekillthemas:
$kill9pid

4.PleaseruntheConcurrentManagerRecoveryfeaturetoaddressanyConcurrentManager/ConcurrentProcessing
issueswithintheOracleApplicationManager.NOTE:RegularuseoftheCPAnalyzerinNote1411723.1canprovide
anImmediateAnalysisandOutputofaConcurrentEnvironment.
5.Starttheinternalmanageroncethescriptiscompleteandretest.

4.HowToResolveErrorJBO25036InvalidObjectwithFndApplicationVO_1627?
WhennavigatingwithXMLPublisherResponsibilityandchooseanymenuoption,receivetheerrormessage:
ExceptionDetails.
oracle.apps.fnd.framework.OAException:Application:FND,MessageName:FND_GENERIC_MESSAGE.
Tokens:MESSAGE=oracle.jbo.InvalidObjAccessException:JBO25036:Aninvalidobjectoperation
wasinvokedontypeViewObjectwithnameFndApplicationVO_1627
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

37/43

6/7/2016

Document1546377.1

atoracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
atoracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:2148)
....
Cause
Undetermined
Solution
1.Listthecurrentstatus:
$INST_TOP/admin/scripts/adopmnctl.shstatus

2.BounceOACore:
$INST_TOP/admin/scripts/adoarorectl.shstop

$INST_TOP/admin/scripts/adoarorectl.shstart

3.BounceApache:
$INST_TOP/admin/scripts/adapcctl.shstop

$INST_TOP/admin/scripts/adapcctl.shstart

4.Retest.

5.ArabicCharactersAppearAsQuestionMarksInXMLPublisherOutput
Symptoms
WhenattemptingtorunXMLPublisherReportsfromOracleApplications,
theArabiccharactersappearasquestionmarksinthePDFoutputfiles.
Cause
TheissueiscausedbyanincompletesetupofXMLPublisher.
Solution
ThefollowingcanguideforthecorrectsetupofXMLPublisher
1.Ifthe$JRE_TOP/jre/lib/fontsdoesn'texistscreateit.
The$JRE_TOPreferstoAF_JRE_TOPfortheconcurrentnode
orOA_JRE_TOPfortheWebnode.
2.TheArabicfontfiles(ALBAN*.ttf)from$FND_TOP/resourcesneedtobecopiedto:
$JRE_TOP/jre/lib/fontsdirectoryonallwebandconcurrentnodesfor11i.
$JRE_TOP/lib/fontsdirectoryonallwebandconcurrentnodesforR12.x.

3.Issuethefollowingfromtheoperatingsystem:
echo$NLS_LANG

IfitisnotArabicsetitusingthefollowingsteps:
a.Stoptheconcurrentmanagers.EnsurenoFNDLIBRprocessesattheO/Slevel.
b.SetNLS_LANGasfollows:
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

38/43

6/7/2016

Document1546377.1

NLS_LANG="ARABIC_UNITEDARABEMIRATES.AR8MSWIN1256"

exportNLS_LANG

c.Starttheconcurrentmanagersfromthesameenvironment.
4.IfthereportisacustomreportthenputencodinginthesourceoftheRDFfilesourceinreportpropertyXMLProlog
Value=<?xmlversion="1.0"encoding="WINDOWS1256"?>
usingthefollowingsteps:
a.Openthereportsourcecode.
b.Openthepropertydialoguewindow.
c.Navigatetothe"XMLPrologValue".
d.Changethevalueandset<?xmlversion="1.0"encoding="WINDOWS1256"?>
e.Savethechange,andthencompilethisreport.
f.Retesttheissue.
BesurethatthecreatedXMLdatafilehasthefollowingheader:
<?xmlversion="1.0"encoding="WINDOWS1256"?>

6.ExcelOutputFileSizeGeneratedByBIPublisherisVeryLarge
TheEXCELoutputfilesizegeneratedbyBIPublisher(andXMLPublisherinEBS)isverylarge(nearly22MB)andit's
taking2030mintoviewtheoutput.Afteropeningthisfileandsavingas.xlsthefilesizeisreduceddrastically(nearly
3MB).
Solution
ThisissueisbecausetheExceloutputfromBIPublisherisMHTML(XMLPublishergeneratesXHTML)notbinary.xls.
MHTMLandXHTMLaremoreverboseformatsthanbinary.xls.
ItwillbelargebecausethecurrentExceloutputisjustanHTMLandnotcompressedlikePDF.Pleaseusethe
workaround(saveitas.xlsfile).ThisisaknownlimitationofRTFlayouttemplates.
BIPublisherEnterprisehasanewfeatureTrueExcelTemplates.ThelayoutsgeneratebinaryExceloutput.
Thisisavailableinversion10.1.3.4.1withtheAugustpatchset,andin11.1.1.3.

7.BarcodeFontDoesNotAppearInPDFOutput
Symptoms
BarcodeisshowninRTF/EXCELoutput,
inPDFitiscomingasstandardfontbutnotinbarcode.
Cause
Thefontsneedtobedeclaredinthexdo.cfgfilethatnormallyresidein$OA_JRE_TOP/jre/lib.
Ifthefontmappingsarenotsetinxdo.cfgtheproducedPDFdoesnotincludesthem,sonobarcodefontwillbe
shown.

Solution
TomakesurethatPDFoutputincludesallthefonts,pleasedothis:
Copythefontfile(i.e.FRE3OF9X.TTF)in$OA_JRE_TOP/jre/lib/fonts
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

39/43

6/7/2016

Document1546377.1

Addthefollowinglinesinxdo.cfg(mustresidesin$OA_JRE_TOP/jre/lib)
<fontfamily="Free3of9Extended"style="normal"weight="normal">
<truetypepath="/usr/java14/jre/lib/fonts/FRE3OF9X.TTF"/>
</font>
Pleasecheckwhat$OA_JRE_TOPissettointheenvironmentandusethisactualpathinxdo.cfg
Thisisanexamplexdo.cfg
Pleasemodifyittoonesneeds:

<configversion="1.0.0"xmlns="http://xmlns.oracle.com/oxp/config/">

<!Properties>

<properties>

<!Systemlevelproperties>

<!PLEASESELECTAVALIDTEMPFILEDIRECTORY!!!>
<propertyname="systemtempdir">D:/Temp</property>

<!PDFcompression>

<propertyname="pdfcompression">true</property>

<!CheckboxAppearance>

<propertyname="rtfcheckboxglyph">Wingdings253111</property>

<!PDFsecurity>

<propertyname="pdfsecurity">false</property>

<propertyname="pdfopenpassword">user</property>

<propertyname="pdfpermissionspassword">owner</property>

<propertyname="pdfnoprinting">true</property>

<propertyname="pdfnochangingthedocument">true</property>

>

</properties>

<!Fontsetting>

<fonts>

<!WindowsWingdingsfont>

<fontfamily="Wingdings"style="normal"weight="normal">

<truetypepath="/usr/java14/jre/lib/fonts/WINGDING.TTF"/>

</font>

<fontfamily="GnuMICR"style="normal"weight="normal">

<truetypepath="/usr/java14/jre/lib/fonts/GnuMICR.ttf"/>

</font>

<fontfamily="TimesNewRoman"style="normal"weight="normal">

<truetypepath="/usr/java14/jre/lib/fonts/TIMES.TTF"/>

</font>

<fontfamily="Tahoma"style="normal"weight="normal">

<truetypepath="/usr/java14/jre/lib/fonts/TAHOMA.TTF"/>

</font>

<fontfamily="Tahoma"style="normal"weight="bold">

<truetypepath="/usr/java14/jre/lib/fonts/TAHOMABD.TTF"/>

</font>

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

40/43

6/7/2016

Document1546377.1

<fontfamily="Free3of9Extended"style="normal"weight="normal">
<truetypepath="/usr/java14/jre/lib/fonts/FRE3OF9X.TTF"/>
</font>

<fontfamily="IDAutomationHC39M"style="normal"weight="normal">
<truetypepath="/usr/java14/jre/lib/fonts/IDAutomationHC39M.ttf"/>
</font>

<fontfamily="BC3of9"style="normal"weight="normal">
<truetypepath="/usr/java14/jre/lib/fonts/B39R00.TTF"/>
</font>
</fonts>
</config>

PleasealsoseeNote373377.1HowToCreateaNewFontUsingXMLPublisher
XMLPublisher5.6hasanewtab:Administration.
Thisreplacesthexdo.cfgconfigurationfile.
Nowfontscanbeuploadedandstoredinthedatabaseinsteadofstoredonthefilesystem.

8.HowtoaddMicrosoftExcelasTypetotheCreateTemplateListofValuesinBIPublisher
For12.0.x
ExcelTemplatesareonlypartiallysupportedontheOracleEBusinessSuiteRelease12.0.x.Therearenocurrentplans
tobackportthisfeaturetotheOracleEBusinessSuiteRelease11i,norwillitbefullysupportedin12.1.x.
OracleEBusinessSuiteRelease12.0:
Patch7237006R12.ATG_PF.A.DELTA.6
ThispatchincludessomebasicfunctionalityforExceltemplates.Youcanrunaverybasicspreadsheet.
ForthefullfunctionalityassociatedwithExcellayoutsyouhavetolicenseandinstallBIPublisherEnterprise
10.1.3.4.2,11.1.1.5orlaterversion.
WearenotloggingnewdefectsforenhancementstothisfunctionalityinEBSatthistime.
RefertotheOracleFusionMiddlewareReportDesigner'sGuideforOracleBusinessIntelligencePublisher,chapter
CreatingExcelTemplates.
For12.1.3
PleaseapplyPatch:124154141OFF:11873050:12.1.3:12.1.3:FRM41830,FRM40212SubmittingProgramPublisher
FSG.
Thispatchupdatesthelooktype("XDO_XLS_TEMPL_OUTPUTS")andlookupcode(Excel)tosupporttheExcel
templatesforBIPublisherR12.1release.
Thispatchwilladdthe"Excel"TemplatetypetotheLOV.
Afterpatch12415414isaplieddothefollowingtoenableEXCELoutputoptionforBIpublishertemplates:
1.Enableoption'XLS'inXDO_TEMPLATE_TYPElookupcode:

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

41/43

6/7/2016

Document1546377.1

(Responsibility)ApplicationDeveloper>Application>Lookups>ApplicationObjectLibrary>QueryoutType
'XDO_TEMPLATE_TYPE'
Check'Enable'checkboxofrecord'XLS',andenter'XDO_XLS_TEMPL_OUTPUTS'in'Tag'fieldofthisrecord,Save.
2.Enableoption'EXCEL'inXDO_XLS_TEMPL_OUTPUTSlookupcode:
(Responsibility)ApplicationDeveloper>Application>Lookups>ApplicationObjectLibrary>QueryoutType
'XDO_XLS_TEMPL_OUTPUTS'
Makesureoption'EXCEL'isenabled.
3.Gotoresponsibility'XMLPulisherAdministrator'>Templates>CreateTemplate,makesurethereisanoption
'MicrosoftExcel'in'Type'listofvalue.

9.HowtoInstallSpecialFonts(MICR,Barcode)inBIPublisherEnterprise
TherearespecialfontsinstalledbyBIPublisherDesktop10.1.3.2andlater.
OnaPCundertheinstallationdirectory:
BIPublisherDesktop\TemplateBuilderforWord\fonts
Theyarefiles:
B39R00.TTF
UPCR00.TTF
MICR___.TTF
TherearealsoAlbanyfontsforBIDIlanguagesSimplifiedandTraditionalChinese,Korean,Japananese.
Thesecanbecopiedtothejdk/jre/lib/fontsdirectoryontheserver.
ForanOAS10.1.3.1installthiswas:
D:\product\10.1.3.1\OracleAS_1\jdk\jre\lib\fonts
ForaStandaloneOC4Jinstallthiswas:
OraHome_2(BIP)\jdk\jre\lib\fonts
EachofthesetwolocationshadthedefaultLucidafontfilesalreadyinstalled.
1.CopythefilesfromthePCDesktopinstallation.
2.LogintoBIPublisher,selectedAdmin>FontMappings.
3.TheAlbanyandLucidafontsshouldbevisibleintheLOV.
4.Theotherfonts:B39R00.TTF,UPCR00.TTFandMICR___.TTFwerenot.
5.Loggedontotheserver,changethefileextentionsfrom*.TTFto*.ttfforthethreefilesabove.
6.NowtheyshouldbevisibleintheLOV.
7.CreateafontmappingusingtheMIRC___.ttffont.
8.Createatemplatetousethefont.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

42/43

6/7/2016

Document1546377.1

9.Bouncetheserver,sincethechangesweremadeintheAdminarea.
10.RunthereportinPDFandthefontshouldbeembedded.

StayConnectedwithusformoreBIPublisherupdatesthroughthefollowingchannels:
1Youtube
2Twitter
3Linkedin
4Facebook
IfyouhaveanyquestionsregardingBIPublisherorwouldliketoreadmoreupdatedarticlesabout
BIPublisherfromOracleBIPublisherExpertswithinOraclepleasevisitthefollowingcommunities:
OracleBIPublisherBlog
http://blogs.oracle.com/xmlpublisher/
OracleBIPublisherForum
https://forums.oracle.com/forums/forum.jspa?forumID=245
MyOracleSupportBIPublisherCommunity
https://community.oracle.com/community/support/oracle_ebusiness_suite/bi_publisher

REFERENCES
NOTE:1338762.1InformationCenter:OracleBIPublisher(BIP)
NOTE:1589915.1BurstinginBIPublisherEnterpriseConsolidatedReference
NOTE:1138602.1OverviewofAvailablePatchesforOracleXMLPublisherembeddedintheOracleEBusinessSuite
NOTE:364547.1BIPublisherTroubleshootingOracleBusinessIntelligence(XML)PublisherForTheOracleE
BusinessSuite
NOTE:1574210.1BurstinginEBSXMLPublisherConsolidatedReference
NOTE:1387643.1TroubleshootingOracleBIPublisherEnterprise11g
Didn'tfindwhatyouarelookingfor?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=4ntognsfc_114&id=1546377.1

43/43

You might also like