Sunday, December 21, 2014

Weblogic Admin Server startup Issue


Ok..So background is ..I was doing upgrade of Hyperion 11.1.2.1 to 11.1.2.3. We have upgraded all the components with some minimal issues. As we are freak of this lazy world. We started all services directly without starting Weblogic.

And, As all the deployment gone fine..We never got any requirement to peep in Weblogic console and check the status of the deployed clusters by simply following "If it ain't broke, don't fix it".

But Then We got requirement to deploy DRM (DATA RELATIONSHIP MANAGEMENT) API, as customer was using this function in 11.1.2.1.

Now to delete the old deployment we need  weblogic and delete the old jar file ..As a traditional manner, we tried to start the Weblogic console.

Now the whole issue arises..When we try to start weblogic, it gets failed..We even tried with Nodemanger to start just Admin Console ..But that too didn't work.


The error from the logs is as below...

<Nov 26, 2014 6:51:20 PM CST> <Error> <Management> <BEA-141244> <Schema validation errors while parsing /Oracle/Middleware/user_projects/domains/EPMSystems/config/config.xml - Expected elements 'staging-mode@http://xmlns.oracle.com/weblogic/domain alt-descriptor-path@http://xmlns.oracle.com/weblogic/domain alt-wls-descriptor-path@http://xmlns.oracle.com/weblogic/domain application-identifier@http://xmlns.oracle.com/weblogic/domain application-name@http://xmlns.oracle.com/weblogic/domain' instead of 'cache-in-app-directory@http://xmlns.oracle.com/weblogic/domain' here in element app-deployment@http://xmlns.oracle.com/weblogic/domain>
<Nov 26, 2014 6:51:20 PM CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141245]Schema Validation Error in /Oracle/Middleware/user_projects/domains/EPMSystems/config/config.xml see log for details. Schema validation can be disabled by starting the server with the command line option: -Dweblogic.configuration.schemaValidationEnabled=false>
<Nov 26, 2014 6:51:20 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Nov 26, 2014 6:51:20 PM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Nov 26, 2014 6:51:20 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

We did some goggling and checked various blogs but those didn't help us in my case.Some are here for you to refer(may be they work for you :))

 This remember me of quote “The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt.” ― Bertrand Russell

After digging further as pointed in error..Here is the resolution.

Config File has below tag:

<app-deployment>
 <name>oracle-epm-drm-webservices</name>
 <target>FoundationServices</target>
<module-type>ear</module-type>
<source-path>/Oracle/Middleware/EPMSystem11R1/products/DataRelationshipManagement/api/oracle-epm-drm-webservices.ear</source-path>
 <security-dd-model>DDOnly</security-dd-model>
 <cache-in-app-directory>false</cache-in-app-directory>
</app-deployment>

Remove below tag from the config.xml file. This resolve the issue and to avoid i just removed that deployment App.

 <cache-in-app-directory>false</cache-in-app-directory>

I just want to highlight one more point that this issue we faced in 10. 3.6 and a security patch is applied to avoid vulnerable security issues as suggested by oracle.

Sunday, October 6, 2013

Add Fonts for Financial Reporting (FR) Reports to generated in PDF


Back Again.. J

This time I will cover how to generate Financial reports in PDF format with customized/standard fonts on 11.1.2.2 …
I know there is one article available on Oracle support portal which describes how to achieve it..
How to Add Fonts so the Financial Reporting (FR) Reports Generated in PDF Preview are the Same as in Web Preview (Doc ID 1561574.1)

But this article works well on windows platform as you will see single font file (Well as much I have seen…and frankly speaking I haven’t tested the same on windows platform…Just now got this thought J)
As you all know that starting from 11.1.2.2 ..PDF generation can be run on unix as well…

When you copy font to unix box…It generates 4 files for all style separately. Like Regular, Italic, Bold Italic, Bold Regular.
Now manually updating the xdo.cfg file is tough task as you have to be careful for weight and style..

Anyhow Oracle has given the utility for this then why to do such manual had work..

Just copy the fonts to any of the font folder location..
Like MIDDLEWARE_HOME/jdk160_29/jre/lib/fonts..

Give required permission to those fonts file.
Now use FRPrintServerUtility.sh this will update your xdo.cfg file with new font entries once you add that font location (By default utility searches for the all fonts on server) .

Note: By default this utility set to “Auto ” Mod which means it will update the xdo.cfg file by its own. If  You want to take control, you can change the option by simply editing FRPrintServerUtility.properties (Auto, console, gui are the other option which can be used)
And now you are ready to test the report in PDF format..

Now Some tricks:

How To Launch Financial Reporting (FR) Batches from a Command Line in EPM 11.1.2 (Doc ID 1292512.1)

User don’t want to expose the admin password for running ScheduleBatch to generate report from command line (Asked on OTN)

You can use EncodePassword utility (Which is available at same location) to generate the encrypted password and use it so no need to worry about password leak J ..And yes you can use same encrypted password in your report xml definition as well..

Sunday, September 29, 2013

Unable to Open HFR in PDF format


This is going to be a quick and short update.


 There is nothing new in this post , I think most of the people know this as of now. But yes it will help those who don't know yet.


I will start it like ....We have faced an issue with FR reports specially when user try to open it in PDF on 11.1.2.2.

After lots of testing, checking all the configuration components and registry then also we haven't got any clue for the cause of issue.


We tried to apply all the latest patches, But still no luck. In such situations, off course we have to dig further from over end  right :) and While deploying the components on other environment, we found that once we change the JVM from  jdk to JRocket, We use to get below error.

Error Detail:


We have tried to research a lot and at last got the jack pot.

Post updating the below setting on the deployment script of FR which you can get under below location.
$HOME/Oracle/Middleware/user_projects/bin/deploymentScripts.

-Dprop.PrintServers=EmbeddedPrinting -Dprop.UseClassicPrintEngine=false
" This will start the print server separately."

Issue got resolved. All thanks for the development team (We :) ) who jumped in, I really don't know if a bug has been raised with vendor for this to update the above settings in properties file in auto-generating mode rather then manual intervention.

Hope this helps to those who are willing to consider Jrocket as JVM to enhance the performance of the system.

As The headline of Blog Says: I am doing the same work :)