Exporting & Importing rules

Hi, got some ruleset questions if anyone would happen to know.
1. How do you export and import rules and rulesets in WLPS? The rules are
stored in a blob in the database, so a rowexport is not possible without
copying all the rules.
2. How is the intended rules development process from BEA? If you can't lock
or version the rules, only one person should be given access to change them.
3. How is migration between development-test-production intended? Copy all
the rules (the blob) whenever something changes?
4. Just for interest, what is stored in the blob? Is the whole OO-hierarchy
of the rulesets serialized and dumped into the database?
cheers,
Oyvind

Øyvind,
1. Importing is achieved using loadrules.bat (should be in bin/win32 or
bin/unix). You can use a utility such as Toad (www.quest.com) to export the
rulesets.
2. This is probably safest, although different people could be working on
different rulesets.
3. This is the solution at present. We are currently working on better
management solutions that will allow you to use version control tools etc.
4. The ruleset is actually an XML document (whose Schema we have not exposed
and is not supported). If you use Toad or something similar you can save
these XML documents to disk to put them under version control etc.
I hope that helped!
Sincerely,
Daniel Selman
Rules Team Lead
BEA Personalization Server
"Øyvind Eikeland" <[email protected]> wrote in message
news:[email protected]..
Hi, got some ruleset questions if anyone would happen to know.
1. How do you export and import rules and rulesets in WLPS? The rules are
stored in a blob in the database, so a rowexport is not possible without
copying all the rules.
2. How is the intended rules development process from BEA? If you can'tlock
or version the rules, only one person should be given access to changethem.
>
3. How is migration between development-test-production intended? Copy all
the rules (the blob) whenever something changes?
4. Just for interest, what is stored in the blob? Is the wholeOO-hierarchy
of the rulesets serialized and dumped into the database?
cheers,
Oyvind

Similar Messages

  • Error during Import & Export of rules - RAR 5.2

    Hi all,
    We tried exporting the rule set from Production to the Quality system (as we wanted to make changes in the quality system and then move to the production again).
    For this we followed the step by step procedure provided in the configuration guide for Import and Export of rules. The background job was successfull. But we are unable the generate the Action and Permission rules in Quality System
    We observed the following the Quality system
    a) All the functions and risks imported successfully and we could able to see them
    b) But when we click on the Action rules it is poping up the error
         "500 Internal Server error.00 -Failed to process request Please contact your sys admin"
    c) We are unable to find the ACTIONS (T-CODES) under the respective functions imported into the Quality System.
    Does anybody faced the same problem and resolved it. Please help us in resolving
    Thanks and Best Regards,
    Srihari.K

    Hi
    You can also review the guide GRC Access Control 5.2 u2013 Risk Analysis and Remediation: Quick Reference Guide for Moving to Production to see if it helps you identify your problem.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00bb29df-8b58-2a10-869a-a016de9d0ef7
    Lori

  • Error during export & import of rules in RAR 5.2

    Hi all,
    We followed the steps mentioned in exporting & importing the rules as per the Config guide. But we
    are receiving the below error during the import of rules. Can anybody please throw a limelight on why this error message is appearing?
    "Error in Table Data ==> VIRSA_CC_CRPROF
    SQL==>Insert into VIRSA_CC_CRPROF(VSYSKEY,PROFILE,RULESETID,RISKLEVEL,STATUS)Values(??????)
    Record==>D VIRSA_CC_CRPROF null"
    We also ensured that the downloaded file is not truncated and saved it in a separate folder. Does the file needs to saved in ANSI or Unicode text? We saved in ANSI
    Also the background ground job is not getting scheduled automatically during the import of ruels. Is that due to the above error?
    Thanks and Best Regards,
    Srihari.K

    Hello Sri,
    background job for generating the rules won`t be scheduled before you upload the file successfully.
    The most obvious reason for this error message is that you have line in your file - in table VIRSA_CC_CRPROF that is corrupted. Make sure all lines from table VIRSA_CC_CRPROF have all predefined fields - (VSYSKEY,PROFILE,RULESETID,RISKLEVEL,STATUS).
    If you keep hiting this problem just delete this table, after the upload you`ll add the critical profiles manually - I bet you don`t have many of them.
    Also from my experience I always choose to save the downloaded file in UNICODE UTF-8 format.
    Once the file is saved in other format, there`s no use of it, download it again and save directly in Unicode.
    Make sure you don`t have empty fields, even in the fields where you don`t have values, you must leave space, otherwise you`ll keep hitting the same issue.
    Regards,
    Iliya

  • Export/Import refinement rules and views in SSL

    Hi,
    I tried to run the graph from Re: Import/Export Refinement Rules in Endeca 3.1 but i get an error "Peer not authenticated".
    This is propably because I have a SSL environment. Normally I disable SSL authentication for a component but this is not possible in a HTML component.
    Does anybody know how I can fix this?
    Thanks!
    Marco

    When exporting views from an SSL-protected Endeca Server, try using the WEB_SERVICE_CLIENT component instead of the HTTP_CONNECTOR component.  See my wiki comment  https://wikis.oracle.com/display/endecainformationdiscovery/EID+3.1+Export+View+Configuration?focusedCommentId=62423284&#comment-62423284

  • Recovering the rules app from one export/import (HOWTO?)

    Hello Aravind:
    I'm having an issue with my rules app.
    Our customer has a requirement. They want to export the production environment to the test environment, to have the data updated, and be able to reproduce recent issues to create a report.
    The problem is, when we import the schema into the test environment, we are not able to use the rules app again, the results views is no longer valid because the RLM$SESSRSLTTTAB tables used to create this views not exists. So we have to manually delete all related objects to the rules app, an re-run the scripts to create all again.
    The question is, if there is any procedure to re-create this internal objects, or a way to generate the export/import to avoid this.
    Thnks in advance Aravind.
    Alex.

    Alex,
    Rules Manager applications can be exported and imported to a different database with a restriction that the destination schema is same as the schema from which the objects are exported. When a rules application is exported, the internal objects are skipped. At the time of import, all the internal objects are recreated. Note that these internal objects may now have different names (object numbers) on the import site. Please let me know if you this is not the behavior you are seeing when you use export/import.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b31088/exprn_brm_intro.htm#insertedID7
    Regards,
    -Aravind.

  • Export/Import of Business Rules

    Hi
    Can we automate the export/import of Business Rules using Workspace? I want to use this for backup/restoration purpose.
    Thanks

    Here you go :) - Re: Exporting Hyperion Business Rules as Text files
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to Export/Import between different CPS Enviornments( Test& QAS)

    HI all,
    i am facing some issues while doing export and import of Objects from one CPS host to another host.
    I did see another thread mentioning the same but stilll was not clear.
    I am trying to Export Application from one host to another host.
    My Case:
    Steps taken to Export:
    >selected SAP System in Application under SAP and do Export Tree . and Export is successfull. Copied the *.car file localy to desktop.
    I go to another CPS host and do Import Rule Set . I dont put any rule there but just submitt the Jobs. It asks to Upload the file to server. give path to *.car file , Once done. Import Job Runs but goes to error status.
    I have attached the logs.
    ERROR 2011-07-22 15:31:40,977 Africa/Harare [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.2835 - Import failed, no objects have been imported.
    -- JOB RUN STACK TRACE --
    JCS-113051: Exception while parsing source jar:file:/C:/usr/sap/QRP/JC00/j2ee/cluster/server0/scheduler/JOB_2835carin.car.car!/SAPSystem/GLOBAL.QSR.xml at line 22: JCS-113004: No such field LoadThreshold on object type SAPSystem. See cause for further information
         at com.redwood.scheduler.model.imprt.BaseImporter.importObject(BaseImporter.java:297)
         at com.redwood.scheduler.model.imprt.ImportScanner.importObject(ImportScanner.java:52)
         at com.redwood.scheduler.model.imprt.BaseImporter.importObject(BaseImporter.java:185)
         at com.redwood.scheduler.model.imprt.CronacleArchiveReader.scanArchive(CronacleArchiveReader.java:111)
         at com.redwood.scheduler.model.imprt.CronacleArchiveReader.importAll(CronacleArchiveReader.java:84)
         at com.redwood.scheduler.system.jobs.CronacleArchiveImport.runInternal(CronacleArchiveImport.java:396)
         at com.redwood.scheduler.system.jobs.CronacleArchiveImport.run(CronacleArchiveImport.java:192)
         at com.redwood.scheduler.system.jobs.CommonSystemJob.execute(CommonSystemJob.java:53)
         at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:242)
         at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:74)
    I do feel i have to use import Rule . But what feild do i need to include to replace with as per new host.
    Seconldy when i try to export EVENTS. I am able to do successfully. by giving an export rule for specfic events.
    But when i import it ,, i get in issues.
    Error Log:
    INFO  2011-07-22 10:06:24,091 Africa/Harare [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.2685 - Starting to import all definitions from archive.
    INFO  2011-07-22 10:06:24,163 Africa/Harare [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.2685 - Scanning : jar:file:/C:/usr/sap/QRP/JC00/j2ee/cluster/server0/scheduler/JOB_2685carin.car.car!/EventDefinition/GLOBAL.QFS_Detect_Z_C6_ABSA_119020.xml
    ERROR 2011-07-22 10:06:24,662 Africa/Harare [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.2685 - Unable to parse input source: jar:file:/C:/usr/sap/QRP/JC00/j2ee/cluster/server0/scheduler/JOB_2685carin.car.car!/EventDefinition/GLOBAL.QFS_Detect_Z_C6_ABSA_119020.xml line 9
    I guess iagain i should be using import rule correctly.
    what feilds should i be replacing in import rule. is it going to be Application ( as feild ) or partition or anything else..
    Please advise if i am doing something worng.
    Thank You
    Deepak

    Hi ,
    There was version mismatch between Target CPS host and Sources CPS Host.
    I bought the Sources CPS host version same as Target CPS version (.Build: M33.21-49924 ). But stil when i do the Applciation Export from sourcs CPS to Target CPS i am still receiving same error as  below:
    INFO  2011-07-25 10:12:37,009 Africa/Harare [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.3913 - Starting to import all definitions from archive.
    INFO  2011-07-25 10:12:37,055 Africa/Harare [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.3913 - Scanning : jar:file:/C:/usr/sap/QRP/JC00/j2ee/cluster/server0/scheduler/JOB_3913carin.car.car!/JobDefinition/GLOBAL.Z_SRM-220_I_POW_UPD_ERP_DAT_POWL.xml
    INFO  2011-07-25 10:12:37,057 Africa/Harare [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.3913 - Scanning : jar:file:/C:/usr/sap/QRP/JC00/j2ee/cluster/server0/scheduler/JOB_3913carin.car.car!/Application/GLOBAL.ESKOM_QUALITY_SRM_SYSTEM.xml
    ERROR 2011-07-25 10:12:37,069 Africa/Harare [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.3913 - Unable to parse input source: jar:file:/C:/usr/sap/QRP/JC00/j2ee/cluster/server0/scheduler/JOB_3913carin.car.car!/Application/GLOBAL.ESKOM_QUALITY_SRM_SYSTEM.xml line 7
    JCS-113007: Cannot set field User/Role on Grant on Application <Name Not Set> to <Grantee Subject Not Set>:<Grantee Subject Not Set> to Subject:Role.Everyone
    Please advice.
    Regards
    Deepak

  • Bad performance on system, export/import buffer many sawps

    Hello,
    I have an ECC 6.0 system on AIX with 6 application servers. There seems to be a performance problem on the system, this issue is being noticed very well when people are trying to save a sale order for example, this operation takes about 10 minutes.
    Sometimes we get short dumps TSV_TNEW_PAGE_ALLOC_FAILED or MEMORY_NO_MORE_PAGING but not very often.
    I am not very good at studying the performance issues, but from what I could see is that there are may swaps on buffer export/import, program and generic key. Also the HitRatio is 88% at  buffer export/import, which I think is pretty low.
    I know that the maximum value accepted of swaps per day is 10000, is that right?
    Can you please advice me what needs to be done in order for these swaps to decrese and hit ratio to increase? And also what else I should do in order to analyse and root cause and the bad performance of the system?
    Many thannks,
    manoliv

    Hi,
    sappfpar determines the minimum and maximum (worst-case) swap space requirements of an R/3 application server. It also checks on shared memory requirements and that the em/initial_size_MB and abap/heap_area_total parameters are correctly set with the following procedure:
    /usr/sap/<SYSTEMNAME>/SYS/exe/run/sappfpar check pf=/usr/sap/<SYSTMENAME>/SYS/profile/<Profile name>
    At the end of the list, the program reports the minimum swap space, maximum heap space, and worst case swap space requirements:
    Additional Swap Space Requirements :
    You will probably need to increase the size of the swap space in hosts in which R/3 application servers run.
    As a rule of thumb, swap space should equal
    3 x Size of Main Storage or at least 1 GB, whichever is larger.
    SAP recommends a swap space of 2-3 GB for optimal performance.
    Determining Current Swap Space Availability: memlimits
    You can find out how much swap space is currently available in your host system with R/3’s memlimits program.
    Here’s how to run memlimits:
    From the UNIX command prompt, run the R/3 memlimits program to check on the size of the available swap space on the host system on which an R/3 application server is to run.
    The application server must be stopped, not running.
    /usr/sap/<SYSTEMNAME>/SYS/exe/run/memlimits | more
    The available swap space is reported in the output line Total available swap space: at the end of the program output. The program also indicates whether this amount of swap space will be adequate and determines the size of the data segments in the system.

  • Import rules, error message "Invalid system"

    Hi,
    When importing rules under Rule Architect - Import rules, error message "VBS is invalid system" . In the configuration tab we have system  and System Name defined as VBS, test connection successful.
    Why is it giving an error message VBS is invalid system? Please advise.
    Thanks,
    Sri

    Hi,
    Is it rule import after taking an export from other system? In that case, make sure destination system name doesn't contain any space in it.
    Also, make sure text and auth Objects are uploaded for VBS system before doing rules import.
    Regards,
    Sabita

  • Exporting Mail Rules

    Is there a way to export mail rules from Mail so they can be imported into GMail?
    A friend wants to be able to have their GMail filtered consistently between their desktop and their iPhone without having to leave their computer at home on to have the rules applied.
    Thanks

    Is there a way to export mail rules from Mail so they can be imported into GMail?
    A friend wants to be able to have their GMail filtered consistently between their desktop and their iPhone without having to leave their computer at home on to have the rules applied.
    Thanks

  • Exporting business rules from Calc manger

    Hi all,
    when i try to Export business rules from Calc manger nothing happens but i can import to calc manger.
    I am using EPM 11.1.2.1
    Appreciate your help

    Are you sure you are following below steps for export:
    http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin/cmgr_export.html
    Cheers...!!!
    Rahul S.

  • Procedure names in lowercase (export/import)

    After an export/import into a new schema all package/procedure/function names are written in uppercase and within ". The rule in our norms and standards defines to write object names in lowercase. Is there a solution to keep object names in lowercase and without "?
    We work with Oracle 10gR2 and developer tool Toad!
    Example:
    before import --> CREATE OR REPLACE PROCEDURE p_to_bk_trans_multiversa
    after import --> CREATE OR REPLACE PROCEDURE "P_TO_BK_TRANS_MULTIVERSA"
    The name of the object is now written in uppercase.
    Edited by: user7535259 on Apr 13, 2010 11:36 PM

    Hi,
    I remember an issue where DataPump was no preserving the spacing and <cr> in functions, procedures, and packages, but I don't remember an issue where it was upcasing the name. I just checked with 11.2 and it seems to work fine. I created 2 functions:
    create function foo (a number) return number is
    begin
    if a > 0 then
    return 10;
    else
    return 100;
    end if;
    end;
    create or replace function "foo" (a number) return number is
    begin
    if a > 0 then
    return 10;
    else
    return 100;
    end if;
    end;
    Then ran export/import to sqlfile and got this:
    CREATE function foo (a number) return number is
    begin
    if a > 0 then
    return 10;
    else
    return 100;
    end if;
    end;
    CREATE function "foo" (a number) return number is
    begin
    if a > 0 then
    return 10;
    else
    return 100;
    end if;
    end;
    So, it looks like it has been fixed in 11.2. I'm not sure if there is a patch available for your release, but you could contact Oracle Support to see.
    Dean

  • Import Rules Problem

    Hi all, i found a rather bothering problem. I have successfully created risk and generated the rules in the development server. But when i export and import into QAS, i found that although the risk/functions are loaded into QAS, but the actions/permissions are EMPTY!!
    Therefore i have no choice but to load the function_permission file to populate the tcodes and objects which was missing from the import rules.
    what did i do wrong or not do ?
    BTW  I'm using CC 5.2

    Hi! great.. for the benefit of those using CC, i will share with all that
    with regarding to exporting file, the 'destination' is CRITICAL to determining if the file can be  imported successfully to another system.
    For example, if i am moving Rules from DEV to QAS, during export rules, the destination MUST BE 'QAS'. The 'QAS' is dependent on what you define under the 'system id' of the connector. If you define as 'QAS', then the destination must be 'QAS'.
    If you do not define the destination properly, you will find that you only import the function but the action/permission will all NOT be imported. We spent a long time finding out the problem.

  • Database export /import

    hi all
    while i was exporting /importing im geting some of the errors so how to we need to avoiid thata errors .

    786631 wrote:
    but we can see using by the command at o.s level to verify the version ,so there is no pblm to check that.
    Posters, please mind these common-sense rules when participating here:
    - When asking a question, provide all the details that someone would need to answer it. Consulting documentation first is highly recommended.
    - When answering a question, please be courteous and respectful; there are different levels of experience represented here. A poorly worded question is better ignored than flamed - or better yet, help the poster ask a better question.
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    - See more tips in the FAQ
    Thanks for doing your part to make this community as valuable as possible for everyone!
    - OTN ok post your os and oracle version and export/import command by os command here.

  • Export-Import for LSMW

    HI, Please let me know how to export the project-subproject-object from one devlopment server to qulity server, IN qulity server we have to import the same objects. please let me know the procedure
    Regards
    Pinal

    Dear All,
    I have got few LSMWs created in my Dev System and also in SND systems.
    Earlier I used the Export-Import mechanism for moving them to Q & P.
    However I am facing issues now.
    When I try to export the LSMW it opens me windows dialog box with C: drive but instead of showing me Save button,it shows me open button for click.
    When I press that it does not do anything.If I select some other location and click this open button LSMW gets exported in file with the message mapping and rules exported successfully..
    Now when I try to import the LSMW in another server, it does not import it & gives me error 'No importable information can be found in the file.'
    Am I missing anything here ?
    I have already done import export successfully couple of times in the past but why I am getting this error ?
    Also, why cant I see Save button while exporting to hard drive and why it does not get exported to C: drive which appears default ?
    Request you to suggest please.
    Best Regards,
    manOO

Maybe you are looking for

  • Can I transfer my existing iTunes library to my new iPod?

    Not sure if this is right location for this question, but here goes; I am thinking of buying a new ipod and was wondering if I'd be able to load my current iTunes library of music (imported from CD's and purchased from iTunes) onto my new iPod? Since

  • Problem installing BPEL Process Manager 10.1.3.1.0

    Hi, I'm new to BPEL. I downloaded BPEL Process Manager 10.1.3.1.0 for OC4J for Windows. After the download while doing the Oracle Universal Installer I selected "BPEL Process Manager for OracleAS Middle Tier" I get the following error: BPEL Process M

  • Short supply against sales order

    Hi, Is it possible to get short supply matrial list against the sales order For EG: we are the computer manufacturer's So when ever we will sales order(MTO scenario) we will manufacture the PC and deliver it aganist the sales order. But some times wh

  • Cannot turn off auto correction of forward slash after character "o" (Ø)

    Hi There: I have a strange problem with Keynote 09: Every time I type "o/" it turns into the nordic character "Ø" (o with forward slash through it). I turned automatic correction off in the preferences, but it still keeps doing it. The only way to ci

  • Why does my archivelog RMAN backups end up in ORACLE_HOME/dbs ?

    DB version: 11.2 Platform: Solaris 10 I have noticed that , rman backup pieces containing archivelogs end up in $ORACLE_HOME/dbs directory despite using format parameter. This happened for both Level 0 AND Level 1 backups. I know that backup files en