Business rule Log/error files in 11.1.1.3?
Hi,
How can I trace out the status of business rules in EAS for running a calculation on essbase cube.where can I find these log/error files?
In log files can we trace out the error like where it went wrong...?
Thanks
If you have a look at hbrlaunch.log it will provide details of the business rules that have been run.
If on 11.1.1.3 and windows the file can be by default in C:\windows\system32
If you do get any errors running the rule then the essbase app log is probably the best to find more information on the error.
Cheers
John
http://john-goodwin.blogspot.com/
Similar Messages
-
Error when validating a business rule helfpully suggests checking the log for more details. I have looked around but cannot find the Business rule log. Any ideas where I should look?
T,
JHi Thr,
Check:
HBRServer.log,
Hyperion/logs/planning/HBRServer.log
Application log
Hyperion/logs/Essbase/App/<appNameFolder>/appname.log
For Planning Logs:
C:\Hyperion\logs\services\HyS9Planning-syserr.log(Hyperion 9.3.1)
C:\hyperion\logs\planOut.log(V11)
Cheers...!!! -
Hello,
Can someone please tell me where the information is stored when I launch a business rule from the EAS console? I know when launching from planning application but I need the information specifically for EAS.
The version is 9.3.1.
CheersYou want to have a search for hbrlaunch.log, if you are on windows it is usually stored in the odd place of windows\system32
Cheers
John
http://john-goodwin.blogspot.com/ -
Business rules execution error
Hi,
I am facing an error with business rules and forms.
We are having 6 folders and each folder relating to different departments and each department (folder) contains 5 forms.
The same environment is in UAT server and Production server.
The same UAT server is migrated to Production.
Here the problem is example: In each folder, form 2 is tagged with 3 business rules like rule1, rule2 and rule3.
These 3 rules are same for the form 2 in all folders, except the legal entity, code, prduct will be vary as per the user selection.
but the code is same.
In these 3 rules, the first 2 rules rule1 and rule2 are not working. While double clicking the rule, its says that, error while executing the calculation script. Please check the log file. The same error coming for form 2 in all folders with the same rules which are tagged.
But the same rules are working with the same form in UAT environment. I have tried to change the rules from UAT to Production.
After changing the rules also, the same error is coming while executing the business rule.
So can any one suggest me what to do and how to resolve this.
Thanks & Regards
RREDDYThe same error when executing the business rule after opening the form.
" Error executing the calculation script. Check log for details"
I have checked the log also, but its also showing the same sentence.
While validating the rule, I have checked the same thing and I have compared with the UAT settings also. Its all are fine.
Only these 2 rules with the same form in all the folders are getting the error.
I have done one more thing that copying the content of Business rule code in UAt and paste the same in Production and saved it.
I have checked all other settings they are remain same and no changes. Then I have detached the rules from web form and saved it and log-off from planning.
Again logged in and tagged the BR's to the form and tried to execute, even then also the same error coming.
thanks
rreddy
Edited by: user4483519 on Sep 21, 2009 4:39 AM -
Problem with Business rule-Essbase Error(1042017):
Hi,
I am getting the following error when i run this business rule specifically.
Detail:Cannot calculate. Essbase Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server. Restart the client and try again.
I dont get this error with any other rule. I have checked the solution provided in this link
_[http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_error/erhelp.htm#ercalc.htm]_. But this solution wont help because i dont get this error in any other rule.
The rule i run is
"Depreciation Value" = "Cumulative.Asset value"/ ("Assumptions_Programs"->Jul->@UDA(Entity,@NAME(@CURRMBR(Location)))->@UDA(Location,@NAME(@CURRMBR(Location)))->"Assets life in months");
The functions in the above rule will get replaced as below
"Depreciation Value" = "Cumulative.Asset value"/ "Assumptions_Programs"->Jul->IND_Assumptions->LOC_IND->"Assets life in months";
If i hardcode and run, i dont get this error. Please help.
Regards,
Ragav.The reason it works when you hard code it and why it doesn't when use UDA is simply that you should never have a multiple answers in a cross dimensional. @UDA function returns multiple answers. Even if for your case it only brings back one I believe it is tripping up the calculation. Worse if you are actually bring back multiple answers for @UDA that is definitely not going to work.
I would have to understand all your fixes above the calcultion to recommend you the best possible solution. But at least you understand why you are getting the error and what you have to fix -
Validation of business-rule gives error
Hi,
After valadating the following business-rule i get an error message.
0001 FIX ("FY08","50120","DEC")
0002 FIX ("EJV2")
0003 Cleardata "50160" ;
0004 ENDFIX
0005 DATACOPY "50120"->"EJV1" TO "50160"->"EJV2" ;
0006 ENDFIX
The error message is:
Validation error from planning server 'http://sth135.gwnet.nl:19000/HyperionPlanning/servlet/HspAppManagerServlet'.
'Error:Cannot calculate dimension member [50160] with restricted member [50120]An error occurred while running the specified calc script. Check the log for details. on Rule object with name EPMSPEEL.Resultatenrekening.test'OK (O)
It seems to have something to do with a calculation that tries to calculate a member after restricting the calculation to a different member in the same dimension. However, as my knowledge of businessrules is (yet) limited I can not figure out how to adjust the rule properly.You can not fix on a dimension and do subsequent calculations on that dimension. For example you can not say :
Fix(Jan)
Jan = Feb + March;
EndFix
You need to limit the scope in the fix statment to other dimensions not the one you are trying to calculate -
Business Rule Sequence Error in Planning
Hello Everyone,
I have a Planning application where users can run a sequence of rules by going to Tools > Business Rules and selecting the sequence. The sequence has about 8 rules in it. The sequence errors after the 7th rule (a currency conversion/calculation which takes upwards of 12 minutes). The logs do not say anything about an error, however, it does say that the active user was cleared on the database. (The BR log says that the rule never finished but the Essbase log says that it finished. The following rule in the sequence never starts.
Note: The business rule sequence completes without errors when the sequence is started from Essbase Administration Services.
Is there some type of timeout/setting update I should look at or any suggestions on where to look within the business rule?
Thank you,
MarkHi,
Have a read of the following :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/ch02s07s04.html
It explains how to set the threshold before business rules are run in the background to get around timeouts.
Cheers
John
http://john-goodwin.blogspot.com/ -
Can not run business rule with bat file
Hi all,
I've problem with using *.bat file to run business rule. My Essbase version is 11.1.1.3 and the syntax within
*.bat is simple, but I always got the Usage message and can not execute the rule.
The error result as blow(I already execute the syntax in command panel directly):
C:\Hyperion\products\Essbase\eas\console\bin>CmdLnLauncher -SWILSON -Usynadmin -P111111 -r0004_COPYDATA
Usage: CmdLineLauncher [-p:<passwordFile>] -Sservername -Uusername [-rBusiness R
ule Name | -sSequence Name] [-fRun Time Prompts file] [-validate]
My *.bat file content as below:
cd c:\Hyperion\products\Essbase\eas\console\bin
call CmdLnLauncher -SWILSON -Usynadmin -P1111111 -r0004_COPYDATA
Is there something wrong? If anyone know about this problem, please help,thanks!!Hi,
Here is a brief overview on how to use the command line launcher.
You can create a file and put the following information into it filling in the servername,app name and db name
ExecDB::"Planning/servername/appname/dbname"
Save it as .xml file (don’t think it has to be an xml, could be .txt), so something like connect.xml
Then when you run your command line do exactly like before Cmdlnlauncher -Sservername -Uusername -p:password.txt -rrule -fconnect.xml
If you have variables in your rule you can
In EAS right click over the rule and select "Automate Launch Variables", fill in the details and then save it is as an xml.
You just need to reference the xml in the batch script as described above using the -f parameter, for sequences remove -rrule and use –sSequence
update password.txt to the name of your password file.
Cheers
John
http://john-goodwin.blogspot.com/
Edited by: JohnGoodwin on Apr 30, 2010 8:17 AM -
Two business rules runtime errors
Hi,
The business rules looks very nice but I got two runtime errors, The first I have to deploy twice else I got a wdsl error
08/02/17 13:05:16 -------> CompositeDeployerTimer: deploying composites ...
08/02/17 13:05:16 --------->deploying composite model: businessrules/br!1.0*2008-02-17_10-23-41_328
17-feb-2008 13:05:16 oracle.integration.platform.PlatformMessages warningUnableRegisterService
WARNING: Unable to register service.
oracle.fabric.common.FabricException: Error in getting XML input stream: OrderCheckRules_DecisionService.wsdl: Error in getting XML input stream: OrderCheckRules_DecisionService.wsdl: Error in getting XML input stream: oramds:/br/OrderCheckRules_DecisionService.wsdl: MDS-00054: Het bestand dat moet worden geladen oramds:/br/OrderCheckRules_DecisionService.wsdl bestaat niet.
at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:341)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:141)
at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:149)
at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:130)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:89)
The other is more serious. All the business rules fails with the same error.
17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
SEVERE: <.> ORABPEL-36335
Fact not found in the rule engine working memory, rule session execution failed.
The rule session bpel:1701 failed because an instance of the fact credit_check_br.OUTPUT could not be found in the working memory of the rule session.
This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. Contact oracle support if error is not fixable.
17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
SEVERE: <.> at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:516)
17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
SEVERE: <.> at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:272)
17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
SEVERE: <.> at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.execute(OracleRuleSession.java:246)
17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
SEVERE: <.> at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1273)
17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
SEVERE: <.> at java.lang.Thread.run(Thread.java:595)
17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
SEVERE: <.> ORABPEL-36333
Error while executing the rule session.
The rule session bpel:1701 failed to execute.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
SEVERE: <.> at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:287)
SEVERE: <.> Fact not found in the rule engine working memory, rule session execution failed.
The rule session bpel:1701 failed because an instance of the fact credit_check_br.OUTPUT could not be found in the working memory of the rule session.
This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. Contact oracle support if error is not fixable.I'm not sure what you did to create the rule you are running here. Did you try the Rules chapter of the 105 sample on the TP3 page? That one does work.
Once you have it working using the sample, try your exercise again and let us know what you did to create your rule. There are many permutations here and we want to know what doesn't work.
Heidi. -
Business Rule Validation Error
Hello,
Please help me I'm finding the this error when I'm validating Business Rule in Admin Services.
"Unable to run or validate this rule (Demo2) against the following location: Essbase/Amit-pc/Sample/Basic for user Admin"
RahulHi,
Make sure you add the location in the locations tab of the business rule, then give the user access in the next tab along.
Cheers
John
http://john-goodwin.blogspot.com/ -
Hi All,
I am working on Hyperion Planning 11.1.1.3 and Essbase the same version.
I took the back of my project related BR back like this.
1) Right Click on the Business Rule and imported
2) Selected my project related BR
3) Select the dependants and click on Export.
4) Saved in C drive.
I successfully migrated the application to another system. But BR cant imported.
Please, any one help me out on this.
Thank You
EPHi,
Make sure you add the location in the locations tab of the business rule, then give the user access in the next tab along.
Cheers
John
http://john-goodwin.blogspot.com/ -
Unable to delete job logs - Error : file is corrupted or unreadable
Hi,
We are running SolMan on Windows 2003 and there are some very old job logs (dated 2009) in "F:\usr\sap\sid\SYS\global\000JOBLG\" which we are unable to remove.
The error is "The file or directory is corrupted or unreadable". Because of this, Data Protector backup always has errors.
I have run "RSBTCDEL2" but these logs were not removed.
Is there a way to remove these stubborn old job logs?
Thanks in advance>
Sisab Nimda wrote:
> Hi,
>
> We are running SolMan on Windows 2003 and there are some very old job logs (dated 2009) in "F:\usr\sap\sid\SYS\global\000JOBLG\" which we are unable to remove.
>
> The error is "The file or directory is corrupted or unreadable". Because of this, Data Protector backup always has errors.
>
> I have run "RSBTCDEL2" but these logs were not removed.
>
> Is there a way to remove these stubborn old job logs?
>
> Thanks in advance
Hi Sisab,
Best is to determine whether you actually have the jobs from 2009 ( completed / Cancelled ones ) in your Solution manager system. If they donot exist in the job tables ( normally can be seen using transaction SM37 and a date range ), just go ahead and delete the joblogs from the OS level from 2009.
Regards
Amit -
Validating the Business Rule Essbase Error(1200315):
When i Execute the BR
FIX([v_Year],[v_Scenario],"Working", "USD","EUR", "HSP_InputValue",@LEVMBRS("Datasource", 0))
/* @ANCESTORS ("Products");
@IDESCENDANTS ("Entities");*/
AGG ("Products","Entities");
ENDFIX;
It is Successful.
But when i Change the rule with *"JPY"* adding as it is one of the Currency UDA.
FIX([v_Year],[v_Scenario],"Working", "USD","EUR",_*"JPY"*_, "HSP_InputValue",@LEVMBRS("Datasource", 0))
AGG ("Products","Entities");
ENDFIX;
the Validation throwing me an error.
*Detail:Cannot calculate. Essbase Error(1200315): Error parsing formula for [FIX STATEMENT] (line 282): invalid object type*
Can you please Give me the suggestion
JPY is just a another currency member like USD and EUR.
But it is throwing me error while i am updating the BR.
In the Same BR
There is a Macro
I pass the parameter "USD" and "EUR" in the Macro. It works good but
If i Pass the Parameter for a Macro as "JPY"
It is throwing an Error
*Detail:Cannot calculate. Essbase Error(1012004): Invalid member name [JPY]*
I know the Errors means "JPY" Member is INVALID, But the JPY is present in the Outline same as USD and EUR in the UDA "Currency".
Edited by: 838300 on Oct 13, 2011 10:14 AM
Edited by: 838300 on Oct 13, 2011 10:14 AM
Edited by: 838300 on Oct 13, 2011 10:30 AM
Edited by: 838300 on Oct 13, 2011 10:34 AMAre you definitely sure JPY exists in the essbase application, go into eas and open the outline and check.
It may exist in planning but if it is not defined as a reporting currency then it won't exist in essbase.
Cheers
John
http://john-goodwin.blogspot.com/ -
Exporting Hyperion Business Rules as Text files
Hyperion 9.3.1 installtion...
Does anyone have any nifty scripts or techniques for getting the HBR code out into flat files (ideally named as the Rule)...
I Know you can export via AAS, but all I want is the raw code so I can use some differencing tools on them.
Basically I've rules being changed in Prod, and Dev, and need to manage the situation.
Using the individual export option is painfully slow with 100+ rules.
Surely there is a way to query the [dbo].*AAS.HBRRules* table feild '*Body*' which is of type 'Image' and convert it into ASCII ?
Anyone done such a thing? or automated the export facility?
Cheers,
BossHogg.Here is my variant on it.
It differs in that it accepts command line parameters for SQLServer, Output Dir (defaults to {Desktop}\Rules) & DBName (defaults to AAS). It also has header size changed to 201 which works here. Finaly some of the EOF checks have been fixed as the original posting seems to have lost the 'not equals' characters...
I Save this as HBRulesExport.vbs the execute it via a batch script twice using 'start /w ....' to export Dev & Prod to two seperate dirs for comparison.
'Force "cscript"
Dim numRules
Dim ID
Dim length
Dim index
Dim headerSize
Dim fileName
Dim rule
Dim DirPath
Dim SQLSERVER
Dim DBCAT
'ORIGINAL :- headerSize = 233
headerSize = 201
Set fs = CreateObject("Scripting.FileSystemObject")
Set rs = CreateObject("ADODB.Recordset")
Set cnSS = CreateObject("ADODB.Connection")
Set shellObj = CreateObject( "WScript.Shell" )
If Wscript.Arguments.Count < 1 Then
MsgBox "This script requires at least a SQLServer DB name to get to HBRules. Parms are as follows..." & vbCrLf & vbCrLf & Wscript.ScriptFullName & " {SQL Server Name} [{OutputPath}] [{Db Name}]"
Wscript.Quit 1
Else
SQLSERVER = Wscript.Arguments(0)
If Wscript.Arguments.Count = 3 Then
DBCAT = Wscript.Arguments(2)
DirPath = Wscript.Arguments(1)
Else
DBCAT = "AAS"
If Wscript.Arguments.Count = 2 Then
DirPath = Wscript.Arguments(1)
Else
DirPath = shellObj.ExpandEnvironmentStrings("%USERPROFILE%") & "\Desktop\rules"
End if
End if
End If
if (fs.FolderExists(DirPath) = False) Then
fs.CreateFolder (DirPath)
End If
cnSS.Open "Provider=sqloledb;" & "Data Source=" & SQLSERVER & ";" & "Initial Catalog=" & DBCAT & ";" & "Integrated Security=SSPI"
strQuery = "Select max(id) from hbrrules"
rs.Open strQuery, cnSS
If (Not rs.EOF) Then
numRules = rs.fields(0)
For ID = 1 To numRules
rule = ""
strQuery = "Select name from hbrrules where id=" & ID
rs.Close
rs.Open strQuery, cnSS
If (Not rs.EOF) Then
fileName = rs.fields(0)
rs.Close
strQuery = "Select body from hbrrules where id=" & ID
Set rulefile = fs.CreateTextFile(DirPath & "\" & fileName & ".hbr", True, True)
rs.Open strQuery, cnSS
If (Not rs.EOF) Then
length = rs.fields(0).ActualSize
For count = 1 To length - headerSize - 5
index = count + headerSize
character=AscB(MidB(rs.fields(0).Value, index, 1))
If Character = 10 Then
rule = rule & VBNEWLINE
Else
' Filter for normal ASCII character range
If (Character > 31) And (character < 127) then
rule = rule & Chr(Character)
Else
rule = rule & " "
End if
End If
Next
rulefile.WriteLine(rule)
rulefile.Close
End If
End If
Next
MsgBox "Finished extracting HBRules from " & DBCAT & " on server " & SQLSERVER & vbCrLf & "Extracted " & numRules & " to Dir - " & DirPath
Else
MsgBox "Query of DB " & DBCAT & " on server " & SQLSERVER & " - Returned no rows"
End If
rs.Close
'CODE ENDS
Edited by: djhogg on 09-Dec-2008 06:30 -
Business Rules: import .RL file into RuleAuthor
We have been doing building our rules (10.1.3) Application in jdev 10.1.3. All of our rules are in .rl files, which we use the CommandLine application to test. Now we need to move all our facts, rulesets, rules, etc into the RuleAuthor application. How do we take our rl file and import it into rule author? Now dev is done, the app admin will be using the RA app to modify rules as needed.
Thanks,
MattRuleAuthor is able to only edit rule dictionaries. There is no way to import RL to the dictionary format.
Maybe you are looking for
-
Upgrade 4S to 5 or buy New?
Will I be able to upgrade my 4S to 5 when IOS 6 is released this fall or should I wait for the new iPhone 5 when released?
-
How to change the column text of an ALV in WD?
Hiya, I have an ALV and it displays this in the column headings: I'd like to change 'Name 1' to 'Name' and 'Boolean' to 'Selection', but I can't seem to figure out how to do this in the maze of all the classes and methods... Could someone give me a f
-
Hello, if I uninstall and reinstall Itunes, will I lose all my downloads and apps. Thank you for the answer. F
-
O/p type for good Receipt Note
Hi. what is the output type for Good Receipt Note? How can we assign it?
-
Delivery tolerance for shipping notication
I'm creating an inbound delivery via a shipping notification. I can see the delivery tolernaces set in the delivery. However, when i do a GR for the delivery the system does not check the delivery tolerances and will not let me post a quantity which