Error creating 'Journalling Business Rules'

When running 'Maintain Journalling Business Rules' for a table with 19 columns an EMPTY 'BR_xxx_JRN_DEL' trigger is created , hence the CAPI definition fails.
If I add 1 more column to make it 20 columns the 'BR_xxx_JRN_DEL' and the CAPI are both generating correctly.
Has anyone else found this ?????

Sandra,
Ok we have the modified version of hsd and we still have similar problem. Here is the detailed log
Log Messages
Utility      Maintain Journalling Business Rules
Revision      6.5.3.2
Parameters      
Prompt      Value
Table to be Journalled      app/ my table
Errors
Message
Activity aborted with ORACLE internal errors.
-6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Debug Detailed
Message
BLAPI.OPEN_ACTIVITY
Number of Tables to create/delete Journalling Rules for: 1
Business Rule Design Definition for BR_xxx_JRN_UPD
No Update Trigger Columns specified. Business Rule BR_xxx_JRN_UPD will fire when any column is updated.
end of initial_checks
Create/maintain message with constraint_name = HRS_BR_xxx_JRN_UPD
Message QMS-00151 already exists in Headstart message tables, no new message was created.
Activity aborted with ORACLE internal errors.
-6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
and this is the piece of code from bltext
-- 6.5.2.3 changed if condition
-- if length(l_text_lines(l_ctr + 1))+ 2 + length(l_build_string) > 1990
if length(replace(l_text_lines(l_ctr + 1), chr(10), NL_CR)||NL_CR)
+
length(l_build_string) > 2000
then
exit;
end if;
end loop; -- compose 1 build string
-- 6.5.2.3 changed if condition
-- if nvl(length(l_build_string),'') > 0
if nvl(length(l_build_string),0) > 0
then
-- 6.5.0.1 column element_type_for added.
insert into cdi_text
( txt_ref
, txt_seq
, txt_type
, txt_text
, element_type_for
values
( p_el_id
, l_insert_at_seq
, p_text_type
, l_build_string
, p_el_type
end if; -- nvl(length(l_build_string),'') > 0
if l_ctr >= p_text_counter
then
exit;
else
l_build_string:= '';
l_insert_at_seq:= l_insert_at_seq + 1;
end if; -- l_ctr = p_text_counter
end loop; -- (maximum) over all lines in local text-store
end if; -- l_lock
exception
when others
then
bllog.write
('Exception: '||sqlerrm
, bllog.debug
bllog.write
(' Length Buildstring '||to_char(length(l_build_string))
, bllog.debug
bllog.write
(' Line number '||to_char(l_insert_at_seq)||' Text type = '||p_text_type
, bllog.debug
bllog.write
( 'Exception; Note that the text for this element may have been corrupted.'
, bllog.errors
end write_lines_to_repository;

Similar Messages

  • Error while creating a business rule

    Hi all,
    I am trying to create abusiness rule from eas console when I am choosing business rule >repsitory view > rules>new rule> select outline,
    I am able to select a essbase database outline ,but while I am trying to select planning outline i am getting the following error
    WARN http-10080-Processor4 com.hyperion.hbr.plugin.planning.PlanningMetadata - Error connecting to Planning server metamorp-ee0b9e.
    Any suggestion?
    Thanks

    Hi,
    The first thing to always try is :-
    stop planning service
    stop eas service
    restart rmi service
    start eas service
    start planning service
    log into planning application you want to create a business rule for.
    log into EAS, create business rule, associate outline with planning app
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Network error in the business rule

    Hello, Experts!
    I have created a business rule, validated it but when I launch it, I get the message:
    +"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."+
    The business rule works fine once I remove the following statement from it: @MEMBER(@CONCATENATE("A_", @SUBSTRING(@NAME(@CURRMBR("Entity")),6))) but it produces this error with this statement and I cannot do without this statement to perform the required calculation.
    I would be very grateful for any hints on how to resolve it!

    Hi,
    Try creating manually the update rule.
    Regards
    Rahul Bindroo

  • Error to connecting business rules for Planning application outline

    Hi all,
    I recently migrated database schemas from uat to prod.i configured evrything successfully.when
    I loged into EAS console with user(other than admin)that user has all acces to create business rules,
    I tried to create new business rule to select planning application.
    I am getting this error" error connecting to essbase server<servername>:<appname>
    in error details "error connecting to pllanning server<servername>:<appname>"
    and "error loading objects from data source:java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Object has been closed."
    Please anybody help on these
    regards
    vas

    hi john,
    we are using hyperion planning 9.3.1.1.11 version,
    we were new installatalled Production server and configured,but i did not test the business rules in production server,
    next my DBA exported Oracle Dabase Schemas from UAT server to Production sever those scema names are same in UAT and Production server,so my DBA droped The Schemas in production and replaced the UAT scemas in production server,
    After i manually configured the production server with Migrated scemas, in configuration i changed the server names with production sever and Database names while configuration ,Hyperion planning datasource names are same in UAT and Production ,i manually edited the server names and Database names, i configured to For EAS ,Shared Services,Planning
    Everything configured sucessfully,i am able to log on to application Planning url,and refreshed everything,
    But i am logon to EAS console, i tried to create the Business rule with associate Planning Application I am getting this error Connecting to essbase server<server name>:<appname>
    In error details "error connecting to pllanning server,servername>:<appname.
    and error loading objects from datasource:com.java.sqlexception;[hyperion][oracle jdbc driver]object has been close.
    please help on these
    thanking you
    srini

  • Error while migrating business rules

    While trying to use the export/import option in EAS to migrate business rules, we have run into an error.
    The export itself is fine. When trying to import, it says this:(even though it lets me select the proper xml file for importing)
    Error while migrating business rules.
    Detail: The import file specified is not a valid business rules xml file. Import will be terminated.
    Detail:Exception occured. Please check your log file for details.
    I am pretty sure I used the inherent format specified for exporting the business rules.
    Both the old and new systems are version 11.1.2.
    The LCM method also failed for the business rules migration.
    Any suggetions?
    Thanks,
    Sujani

    When you export them make sure you don't have "For Calc Mgr" checked, if you do then the import with fail.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while validating Business Rule (Error Cause: nativeGetNewTLA Rule)

    Hi, I am receiving an error while validating business rules
    An error occurred in: Rule:HypLive.Plan1.Product Interest
    A validation error was received from the Planning server 'http://abc:8300/HyperionPlanning/servlet/HspAppManagerServlet?appname=HypLive'.
    'Error:
    Error Cause: nativeGetNewTLA Rule HypLive.Plan1.Product Interest'.

    Are you able to validate the rule in EAS (or Calc Manager)?
    Normally nativeGetNewTLA Rule is followed by out of memory errors like java.lang.OutOfMemoryError,
    Increase the heap size to 1024, re start Planning and try validating it again.
    Cheers..!!

  • Help with Creating a Business Rule...

    Hi All,
    I am using Planning 11.1.1.1.0.
    I have created a classic planning application and now have to incorporate a way to copy data from one slice of the essbase db to other.
    I am trying to copy data from the following slice
    Entity : EasternZone
    Version:Working (Bottom Up)
    Scenario: Actuals
    Currency:USD
    Period:YearTotal
    Year: 2007
    to
    Entity : EasternZone
    Version:Working (Bottom Up)
    Scenario: Actuals
    Currency:USD
    Period:YearTotal
    Year: 2008 and increase by a certain percentage which is not fixed..
    How should i go about achieving this using business rules? (Calc manager is used with only EPMA applications so where do i create the business rule?) Can somebody share some ideas please?
    Any help would be greatly appreciated.
    Kind Regards.
    Alicia

    Hi!
    Are you transferring data in same application from db to another? If yes, then possibly you could use @xref function.
    for example :
    fix ("EasternZone", "Working","Actuals","USD","YearTotal")
    "2008" = @xref("_name of source db location alias_","2007")*[RunTimePrompt for percentage];
    endfix
    The name of the location alias you can find from destination db --> edit --> location aliases. There you can see the location alias name of the source db.
    if you want to be sure about block creation then you could also add the following rows at the beginning
    /*fix ("EasternZone", "Working","Actuals","USD","YearTotal","any account")*/
    /* "2008" = 0;*/
    /*endfix*/
    kind regards,
    user637777

  • Create a Business Rule to validate a datetime field

    Hi friends,
    I'm trying to create a business rules to validate a datetime attribute.
    I tried to use the Validation "must contain the pattern" but I don't kwnow exactly how it works.
    In the Edit Action section I have 3 options:
    - Attribute value
    - Attribute
    - Blank
    Where should I write the RegExp?
    Any comment will be appreciated.
    Kinde Regards,
    Paul

    Hi superbluesman,
    thanks for your quick answer.
    I created this expression to validate my specific date format and it works:
    ^(0[1-9]|1[012]|[1-9])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d
    Kind Regards,
    Paul

  • While i am creating my business rule i am not able to connect the planning

    while i am creating my business rule i am not able to connect the planning application and database?I dont know what is the reason?

    Make sure you log into the planning application before logging into EAS.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error Handling in Business Rule

    Hi,
    In my Business rule, I want to handle the error with respect to the Run Time Prompt value entered by USer at the time executing the Rule.
    How can i display and customize that message.
    Ex: IF( <cond> is True)
    execute the logic
    ELSE
    display an error message in the run time prompt pop-up
    ENDIF
    In my current logic i implemented , it is executing the logic if the Condition is true but if condition is not ture then it is closing the running pop-up and displaying a message in the web form "<Rule Name> was successful"
    Any thoughts how to handle this!!!!
    Regards,
    KP

    Hi,
    Unfortunately you cannot raise custom error messages from business rules to Planning web client. I suggest you check what you can do with validatedata.js. It provides you with custoomization facility which you can utilize for raising custom messages based on the values on the form.
    Cheers,
    Alp

  • Error while creating a Business rule dictionary in Jdevloper 11g

    Hi,
    I am getting the following error when i define the Inputs and outputs during creating on a new business rule dictionary.
    Some XML schemas are not in the "xsd" directory! gardes.xsd
    Please manually move or copy the Schemas
    I am following the "Creating a Rule-enabled Non-SOA Java EE Application" guide in Oracle® Fusion Middleware User's Guide for Oracle Business Rules, 11g Release 1 (11.1.1)
    The two schema files generated were having different content after creation of XML schema file so I copied the file to make them same. Its still giving me the same error.
    Please Help.
    Thanks,
    Mac

    Please post business rules questions on the SOA Suite forum:
    SOA Suite

  • Error while validating Business rules in EAS

    Hi,
    Iam new to hyperion. I created business rule in EAS (using a user with businessrule admin role). when i tried to validate the same, it gives an error message like *"Unable to validate or run this business rule. Detail:Exception occurred. Please check your log file for details"*. So wats the actual problem.
    Thanks in advance.

    Sounds like you have not added security to the rule. Before you assign security you must set the Location in the Location tab, this is the db you want to run the BR on (you can also use 'Allow all Locations')
    Then you must goto security tab and assign users / groups to the BR, once you have done this the BR should validate and run.
    J

  • Creating simple Business Rules in BPEL process

    Hi,
    I have an environment consisting of SOA Suite 11g running on Weblogic Server. I'm using JDeveloper 11g for development.
    Scenario
    I have a BPEL process which starts off by polling a DB table and I then assign the input to a Recieve activity's InputVariable. I have a 'Number' column which will contain a number between 1 and 3. I then require Business Rules (BR) to be set up which read this value, and based on the number, assign a 'Name' string (which is to be the output variable from the business rules) to be used later on in BPEL process.
    Problem - I have followed the basic tutorials available in order to set up the business rules, but am getting numerous errors. Firstly, I sometimes find that my input/output variables created during setup of BR component and the XSD based on this, does not have XML Faces automatically created for it (therefore have to create it myself by clicking on the + button and doing this for each element of XSD). When I do get this working, I then double-click on my Business Rules activity in my BPEL process, only to find that the input/output variables here no longer are assignable to my BR input/output variables as I get the following error "Exception: Problem Building Schema!".
    I am not sure why this is, but suspect that my XSD (which is very simple anyway) or the setup steps I follow to define the link to my XSD, are wrong.
    I have taken the following steps so far:
    1. Create empty BPEL process
    2. Set up polling adapter to poll DB table
    3. Create Receive activity and assigned polled input to created variable
    4. Add Business Rules component to composite and set up and create dictionary here. Also set up inputs/outputs to be in form of my XSD elements.
    5. Add Business Rules component to my BPEL process and configure this to include input/output variables (*This is where error occurs*)
    6. Go back to .rules component in composite to define rule and define rule
    Upon deployment, I get many errors most of which pertain to "Unresolved XML element... make sure XML element +xxxxx+ is defined in one of WSDL's that are referenced by the deployment descriptor."
    I have only imported a simple XSD containing two elements to this project. The other XSD is the one of my polling adapter. I've not created any input/output variables for the overall BPEL process as didn't think I was required to.
    Can you please help in getting this process doing the simple activities described at the top.
    I appreciate your help.
    Edited by: user10248308 on 10-Mar-2010 11:49

    Hi,
    Create a project with BPEL composite
    Now drag a business rule
    Now create input variable of type ur requestelement
    and output variable of type response element
    Now in rules designer page take decision table
    and then craete a condition (inputelement.input > 1000) and in the rule select true
    now create another rule select false
    Npw create an action with assertion and select the parameterized box there
    now in designer page for first rule assign some value (say 500) and for second rule some value(100)
    Now in bpel u have to assign a value to input var of BR
    Deploy the process
    If u supply 10000 u will get 500
    if u supply 100 u will get 100
    In the same way u can do by using If-Then
    You can use facts and bucketsets according to ur requirement
    Regards
    PavanKumar.M
    PavanKumar.M

  • Syntax errors in Oracle Business Rules carrental ruleset

    Hi,
    I'm using Oracle Business Rules Rule Author on Windows, version 10.1.3.0.0.
    I'm working with the OTN carrental sample. If i load the supplied file-based repository CarRepository from the %HOWTO_HOME%/dict directory, navigate to the RL tab -> Generate RL-code and select the 'Check RL-Syntax' button I always get the same error message:
    Error:'5}' is undefined at line ... column ... in [DM or vehicleRent]
    If I navigate to 'Test Rulesets' i get the same error, no matter what testfunction i use with the vehicleRent ruleset.
    When i test the sample with the supplied java code i don't get any errors.
    However, if I follow the steps in chapter 2 (javaFact) or 4 (XMLFact) of the Business Rules user guide and setup everything from scratch for a filebased repository i get the same error at runtime.
    I based the filebased repository on the supplied emptyrepository file.
    Seems to make no difference whether I use a filebased or a webdav repository.
    any help on this would be appreciated.
    Rob
    Message was edited by:
    [email protected]

    There are two problems here. First, there is a bug that causes this error string to be displayed incorrectly when using the RuleAuthor in any browser language other than English. If you change the browser language to English, you should see:
    <p>
    A syntax error is found. <br>
    Error:'carrental.Driver' is undefined at line 4 column 14 in DM
    <p>
    The cause of this problem is that carrental.Driver class is not in the classpath for Rule Author. This isn't covered in the how-to. See section 3.10 in the Oracle® Business Rules User’s Guide (B15986-01) (available from here).
    <p>
    From this doc:
    <p>
    Create a rule set you want to test. If the data model includes any Java classes, the
    Java classes must be included in the OC4J classpath. The easiest way to do this is
    to put the JAR files in the following directory, then restart OC4J:
    $ORACLE_HOME/j2ee/home/applications/ruleauthor/lib
    <p>
    or add it as a shared library using EM (specific instructions follow in the doc) and then add that shared library to RuleAuthor.
    Message was edited by:
    philvarner

  • Some critical errors in Planning, Business Rules and FR

    Dear All,
    I am facing some critical errors in Hyperion Plannign 11.1.1.3. We did the migration of BR rules from one server to another server. Migration went well. When i running any one of the rule, it throws the below errors:
    If i run any one of the FR reports from workspace, it throwing the same errors
    *Detail:Cannot calculate. Essbase Error(1023040): msg from remote site [[Wed Dec 16 15:58:32 2009]Local////Error(1042003) Network Error [11004]: Unable To Locate [hypplan] In Hosts File]*
    hypplan - Source server name(i took the BR rules backup in XML format)
    Please guide me in this situation.
    Thanks & Regards,
    PC

    Dear John,
    Thanks for the prompt reply. I checked all the locations alias, its fine.
    Account dimension creating problem for Business rules.
    I have Rollup BR here
    CALCDIM("Account") - It throwing the error as (*"Detail:Cannot calculate. Essbase Error(1023040): msg from remote site [[Wed Dec 16 15:58:32 2009]Local////Error(1042003) Network Error [11004]: Unable To Locate [hypplan] In Hosts File]"*)
    CALCDIM("Employees") - Its working fine
    If i specify anything related to Account dimension, it throwing above errors.
    Thanks,
    PC

Maybe you are looking for

  • Switch statement with JRadioButton!!!

    hi there guys.... Good day/! can anyone give me some short example on switch statements with JRadioButton???

  • Sarfai wont run - help plz

    I read through the forums but nothing seems to work. I seem to have got a issue as safari wont open. It was safari 5 something (new) as I updated software. Read the forums and so I reinstalled Lion again and went with the 10.7.5 update. - Still refus

  • Camcorder w/ My PowerBook

    I want to buy a camcorder and have been looking at the Sony DCR-DVD616 Handycam. All the info on the box indicates that the software works w/ Windows, and nothing about Mac. Obviously, it records to a DVD, will my PowerBook be able to play my recorde

  • MacBookPro Graphics failure

    Hi, i have a macbook pro late 2008. when i use the small graphics card my screen starts flickering black every 2 or 3 minutes just for less than a second. if i use the fast graphics card the macbook gets very hot (approx. 80 degrees Celsius) and the

  • Catalyst 3560 vs Catalyst 3750

    I need at least a 12 port 10/100/1000 and a 48 port non-POE 10/100/1000 switch that support unicast and multicast. I'm not sure if a 3560 model or a 3750 model would be better. Does someone know the main differences between the two? This in in a scho