Cannot create channels using the Scheduler

Hello

In Oracle 11 g r2
CREATE OR REPLACE PROCEDURE p_tst
AS
BEGIN
   DBMS_SCHEDULER.CREATE_CHAIN (chain_name            => 'CHAIN_DELTA1',
                                rule_set_name         => NULL,
                                evaluation_interval   => NULL,
                                comments              => NULL);
END;
--=================================
EXEC p_tst;
I am facing the error. ORA-01031: insufficient privileges.
I have the DBA role assigned to my username. What could be the reason for the error?

Kind regards
Matola.

Or, if appropriate, use the rights of the current user instead of the author's rights.

CREATE OR REPLACE PROCEDURE p_tst authid current_user
AS
BEGIN
   DBMS_SCHEDULER.CREATE_CHAIN (chain_name            => 'CHAIN_DELTA1',
                                rule_set_name         => NULL,
                                evaluation_interval   => NULL,
                                comments              => NULL);
end;
/

Tags: Database

Similar Questions

  • Cannot create groups using the API

    Hello

    I have an approval workflow for the creation of a new organization and it works fine. Once the final level of approval is finished, I should create a new org and three groups within the IOM. My adapter creates the new organization successfully. However, I get exception when I try to create groups. Is someone can you please tell me what is the question. I assigned all group permissions to the users group on the approval of the application. Here is the snippet of code with the exception I get:

    HashMap < String, String > orgMap = new HashMap < String, String > ();
    orgMap.put ("Organizations.Organization name", orgName);
    orgMap.put ("Organizations.Type", "Organization");
    long orgKey = orgOper.createOrganization (orgMap);
    System.out.println ("new agency created");
    HashMap < String, String > groupMap = new HashMap < String, String > ();
    groupMap.put ("Groups.Group name" orgName + "Admin");
    long adminGroupKey = groupOper.createGroup (groupMap); -It's the line, I get the following exception


    CREATENEWORG running
    = Class Security.iam.identity.adapters.tasks.CreatePartnerOrg target
    Initializing class
    New agency created
    ERROR, March 8, 2011 16:52:10, 660, [XELLERATE. SERVER], class/method: tcDataObj/eventPreInsert error: Insert permission is denied
    ERROR, March 8, 2011 16:52:10, 661, [XELLERATE. API], class/method: tcGroupOperationsBean/createGroup some problems: maoRejections: you are not allowed to insert this object.
    Thor.API.Exceptions.tcAPIException: You are not allowed to insert this object.



    Thank you
    PETREA

    Which user do you use?

    Config ConfigurationClient.ComplexSetting = ConfigurationClient.getComplexSettingByPath ("Discovery.CoreServer");
    final Hashtable env = config.getAllSettings ();
    tcSignatureMessage moSignature = tcCryptoUtil.sign ("xelsysadm", "PrivateKey");
    tcUtilityFactory utilFactory = new tcUtilityFactory (env, moSignature);

  • Cannot create images using the Digital Image Standard 2006 Editor

    original title: Digital Image Standard 2006 Editor

    I have the Digital Image Standard 2006 Editor on my Windows 7 computer and for some reason, the only thing I can't do with it is to create frames and mats. Nothing happens when I click on this option. Everything else works so I am confused. Any suggestions?

    Hi Kittea,

    Thanks for posting in the Microsoft Communities. The problem description, I understand that you are not able to access some options in editor of Digital Image Standard 2006 application. Before you start the troubleshooting steps, provide the following information:

    ·         Did you do changes on the computer before the show?

    ·         You get the error message? If Yes, what is the full error message?

    Follow these methods.


    Method 1: Uninstalland reinstall the program.


    Method 2: place the computer in a clean boot State to see if there is a software conflict as the clean boot helps eliminate software conflicts.


    Note: After completing the steps in the clean boot troubleshooting, follow step 7 the link to start the computer to a Normal startupmode.

    I hope this helps. Let us know if you need more assistance.

    Thank you.

  • ORA-04089: cannot create triggers on the objects belonged to SYS

    I did a google on this error and it say that I should never get to anything to do with the system and also to make another account when executing my script, I did this, but I still get the error code and the error is less than

    REM **********************************************************************

    CREATE TABLE gam_attribute_bin (/ * gam_ab * /)

    attribute_owner_type char (1) NOT NULL, / * player Att, Att User Instance Att Att class.

    Class criteria, client static/Gulp * /.

    ATTRIBUTE_NAME VARCHAR2 (20) NOT NULL,

    owner_id NUMBER (10) NOT NULL, / * specific check-in attribute_owner * /.

    LONG RAW NULL binary_value

    ) TABLESPACE gam_lgtab STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)

    /

    ALTER TABLE gam_attribute_bin ADD)

    CONSTRAINT gam_attribute_bin_pk

    UNIQUE (attribute_owner_type, owner_id, attribute_name)

    USING INDEX

    TABLESPACE gam_ind

    STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)

    )

    /

    Suppression of REM binary attribute when necessary

    CREATE TRIGGER gam_att_delete

    AFTER YOU REMOVE gam_attribute

    FOR EACH LINE

    BEGIN

    IF (: old.attribute_data_type = 'B')

    THEN

    DELETE FROM gam_attribute_bin

    WHERE attribute_owner_type =: old.attribute_owner_type

    AND attribute_name =: old.attribute_name

    AND owner_id =: old.owner_id;

    END IF;

    END;

    /

    ERROR on line 1:

    ORA-04089: cannot create triggers on the objects belonged to SYS

    hope someone can help me clear this up thanks

    Hello

    You code works very well for me.  I had to change to run on my system tablespaces, but otherwise, what you posted worked for me when I tried (in a different schema than SYS, of course).

  • Now that the utility install cleanup is no longer available, what are my options to uninstall a program that cannot be uninstalled using the standard method?

    I have three programs which cannot be uninstalled using the standard method (Control Panel > Add / Remove Programs); they are Adobe Reader 9.3.4, update of Java 6 and Java 6 update 24. What are my options for removing these programs from my system? I did a search on the internet and all the answers say to use the standard method, or they point to the Microsoft Installer Cleanup (msicuu2.exe) utility. I found sites that claim to have the software available for download, but I am wary of loading the software of a site, that I don't know.

    I have three programs which cannot be uninstalled using the standard method (Control Panel > Add / Remove Programs); they are Adobe Reader 9.3.4, update of Java 6 and Java 6 update 24. What are my options for removing these programs from my system? I did a search on the internet and all the answers say to use the standard method, or they point to the Microsoft Installer Cleanup (msicuu2.exe) utility. I found sites that claim to have the software available for download, but I am wary of loading the software of a site, that I don't know.

    Revo Uninstaller (free): http://www.revouninstaller.com/revo_uninstaller_free_download.html

    The MS Installer Cleanup Utility is available at http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html , that it is a safe to download site from.  Based on warnings from Microsoft on the cleanup utility, however, you might well advised to make a backup disk image or at least a backup of the registry before using it.  C:\WINDOWS\ERUNT is an easy to use free registry backup tool.

  • Vista, a pppoe connection is created by using the 'Get Connected wizard' or rasphone.exe, she appears as a "Dial-up connection" in the network connections folder.

    Vista, a pppoe connection is created by using the 'Get Connected wizard' or rasphone.exe, she appears as a "Dial-up connection" in the network connections folder. When you right click on the connection of customer created, click Properties, it says "connect using the Modem.

    Is it a registry problem or what? How can I fix?

    original title: PPPOE connection problem

    Hello

    1. you connect using a cable or DSL modem?

    2. did you ever get this working before that?

    3. are you connected to a domain?

    4 are you running Vista in a virtual environment?

    You doing appeared in this link to create the PPPOE connection:

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-PPPoE-connection-to-the-Internet

    Thank you

  • ORA-02327: cannot create indexes on the LOB data type expression

    DB 10.2.0.4
    DB 5.2

    I am not able to move lobindex and lobsegment. While try occurs below error

    SQL > ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD THE TABLESPACE DATA_TEMP;
    ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD TABLESPACE DATA_TEMP
    *
    ERROR on line 1:
    ORA-02327: cannot create indexes on the LOB data type expression

    Thank you

    Published by: user13382934 on October 16, 2012 14:05

    correct syntax is
    ALTER TABLE.

    MOVE the LOB ()
    STORE AS (tablespace );

    Where is a name of the / columns LOB, not the name of the segment. Moving type LOB data will move its indexes as well.

  • Data Modeler: how to create and use the collection type

    Hello
    essentially of departure I don't understand how (for example) create and use the data based on the type of data varray type.

    Please notify.
    Thank you
    Andrew

    Hi André,.

    You can create new types of collection (varray/table) in two ways:
    (1) in the browser - find 'Types of data' > 'Types of Collection' node menu dropdown - there just 'create new collection type' it
    (2) in the types of data model diagram - you can create collection "some type structured" or collection of references to the it - use 'new Collection... '. "tool and click first on sight structured type and after the structured type that will contain the collection - new attribute is added to the latter and if there is none this type of collection already didn't set the new collection type are created and you can change it later.

    Philippe

  • Cannot create partition during the Windows installation.

    Hey

    You have a problem with the installation of Windows (10 or 8.1, same problem). I share the part Boot Camp using the tool, but once I'm in the installer that I meet a problem. I format the BOOTCAMP partition scored, but then Windows says that it cannot create a new partition.

    Some impressions diskutil

    / dev/disk0 (internal, physical):

    #: NAME SIZE TYPE IDENTIFIER

    0: GUID_partition_scheme * GB 121,3 disk0

    1: disk0s1 EFI EFI 209.7 MB

    2: Apple_CoreStorage GB internal drive 121.0 disk0s2

    3: disk0s3 Apple_Boot Boot OS X 134,2 MB

    / dev/disk1 (internal, physical):

    #: NAME SIZE TYPE IDENTIFIER

    0: GUID_partition_scheme * 1.0 TB disk1

    1: EFI EFI 209.7 MB disk1s1

    2: Apple_CoreStorage GB internal Drive disk1s2 648.9

    3: disk1s3 Apple_Boot Recovery 650.0 MB HD

    4: Microsoft data base 350,5 GB disk1s4

    / dev/disk2 (internal, virtual):

    #: NAME SIZE TYPE IDENTIFIER

    0: Apple_HFS Macintosh HD + 764,0 GB disk2

    Logical volume on disk0s2, disk1s2

    4B58E1CE-F3F4-4E82-974B-019D1DC8A5B9

    Fusion unencrypted drive

    List of CS

    CoreStorage groups of logical volumes (1 found)

    |

    + Logical Volume - Group C4FDFFD0-7D27-4DCC-9034-2D19E7487DCD

    =========================================================

    Name: Internal drive

    Status: online

    Dimensions: 769855381504 B (769,9 GB)

    Free space: 180224 B (180.2 KB)

    |

    +-< physical="" volume="">

    |   ----------------------------------------------------

    |   Index: 0

    |   Disc: disk0s2

    |   Status: online

    |   Dimensions: 120988852224 B (121.0 GB)

    |

    +-< physical="" volume="">

    |   ----------------------------------------------------

    |   Index: 1

    |   Disc: disk1s2

    |   Status: online

    |   Dimensions: 648866529280 B (648,9 GB)

    |

    +-> FDD23DD2-C30E-4575-B7B1-50CBCB539D10 family of Logical Volume

    ----------------------------------------------------------

    Encryption type: no

    |

    +--> Logical Volume 4B58E1CE-F3F4-4E82-974B-019D1DC8A5B9

    ---------------------------------------------------

    Disc: disk2

    Status: online

    Size (Total): 763999944704 B (764,0 GB)

    Reversible: no

    Name: Macintosh HD

    Volume name: Macintosh HD

    Content indicator: Apple_HFS

    LVG Type: Fusion, sparse

    See the TPG: / dev/disk0: mediasize = 121332826112; SectorSize = 512; blocks = 236978176

    See the TPG: / dev/disk0: PMBR to sector 0

    See the TPG: / dev/disk0: Pri GPT to sector 1

    See the TPG: / dev/disk0: GPT Sec at sector 236978175

    start index size summary

    0 1 PMBR

    1 1 Pri GPT header

    2 32 table GPT Pri

    34 6

    40 409600 1 part TPG - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

    409640 236306352 2 part TPG - 53746F72-6167-11AA-AA11-00306543ECAC

    236715992 262144 3 part TPG - 426F6F74-0000-11AA-AA11-00306543ECAC

    236978136 7

    236978143 32 table dry GPT

    236978175 1 dry GPT header

    Daniels-iMac: ~ danielzandian$ sudo fdisk/dev/disk0

    Disk: geometry / dev/disk0: 14751/255/63 [236978176 sectors]

    Signature: 0xAA55

    From end

    #: cyl hd s - cyl hd s id [Start - size]

    ------------------------------------------------------------------------

    1: EA 1023 254 63 - 1023 254 63 [1-236978175]

    02:00 0 0 0-0 0 0 [0-0] unused

    03:00 0 0 0-0 0 0 [0-0] unused

    04:00 0 0 0-0 0 0 [0-0] unused

    You can also post the output of

    sudo TPG - vv - r see the/dev/disk1

    sudo fdisk/dev/disk1

    What is the year/model of your Mac?

  • How to read voltage on several channels using the 6255\SCB-68

    Hi all

    I have been able to get the following code to compile, run and display the data as expected. When you read the tension (CSR) on Dev0/ai65

    ... Instruments\NI-national DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage\Cont Acq - Int Clk\ContAcq - IntClk.c

    * I think I'm using CSR, but I have no idea since I don't see an argument to specify

    I'm reading two different data points:

    1 discovered (CSR) tension on Dev0/ai65

    2 show the (differential) voltage difference between Dev0/ai17 and Dev0/ai25

    Can someone point me to an example (or a web link) where two different data points are read.

    * edit - I am filling this task using C++

    Thank you

    Chad

    This code is a start, and it works


    using namespace std;





    using namespace std;

    #define DAQmxErrChk (functionCall) if (DAQmxFailed (error = (functionCall))) goto error; on the other

    int main (void)
    {

    <>
    < "\t="" starting="" the="" ni="" daqmx="" data="">
    <>

    int loop;

    < 3;="">
    {
    Int32 = 0 error;
    TaskHandle taskHandle1 = 0;
    TaskHandle taskHandle2 = 0;
    Int32 read1.
    Int32 Read 2;
    float64 data1 [1000];
    float64 data2 [1000];
    tank errBuff [2048] = {'\0'};

    Channel settings and the schedule of the analog voltage DAQmx
    DAQmxErrChk (DAQmxCreateTask ("task1", & taskHandle1));
    DAQmxErrChk (DAQmxCreateAIVoltageChan (taskHandle1, "ai25/Dev1", "", DAQmx_Val_Cfg_Default,-10,0, 10.0, DAQmx_Val_Volts, NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming (taskHandle1, "", 10000.0, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 1000));

    DAQmxErrChk (DAQmxCreateTask ("task2", & taskHandle2));
    DAQmxErrChk (DAQmxCreateAIVoltageChan (taskHandle2, "Dev1/ai17", "", DAQmx_Val_Cfg_Default,-10,0, 10.0, DAQmx_Val_Volts, NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming (taskHandle2, "", 10000.0, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 1000));

    Starting code DAQmx
    DAQmxErrChk (DAQmxStartTask (taskHandle1));

    Reading DAQmx code
    DAQmxErrChk (DAQmxReadAnalogF64 (taskHandle1, 1000, 10.0, DAQmx_Val_GroupByChannel, data1, 1000, & read1, NULL));
    < read1;="">
    < data1[i]="">< "="">
    <>

    DAQmxStopTask (taskHandle1);
    DAQmxClearTask (taskHandle1);

    Starting code DAQmx
    DAQmxErrChk (DAQmxStartTask (taskHandle2));

    Reading DAQmx code
    DAQmxErrChk (DAQmxReadAnalogF64 (taskHandle2, 1000, 10.0, DAQmx_Val_GroupByChannel, data2, 1000, & read2, NULL));
    < read2;="">
    < data2[i]="">< "="">
    <>
    DAQmxStopTask (taskHandle2);
    DAQmxClearTask (taskHandle2);

    Stop and clear spots
    Error:
    If (DAQmxFailed (error))
    DAQmxGetExtendedErrorInfo (errBuff, 2048);
    If (taskHandle1! = 0) {}
    DAQmxStopTask (taskHandle1);
    DAQmxStopTask (taskHandle2);
    DAQmxClearTask (taskHandle1);
    DAQmxClearTask (taskHandle2);
    }

    If (DAQmxFailed (error))
    printf ("DAQmx error: %s\n", errBuff);

    }
    end of loop

    <>
    < "\t="" stopping="" the="" ni="" daqmx="" data="">
    <>

    return 0;

    }

  • Cannot take Photos using the LCD

    I just bought a D60 and when I try to take a picture using the LCD screen and auto focus it won't take the picture.  It will however, when I get out of auto focus or when I use the viewfinder.  But not using the LCD and AV screen on.

    Everyone knows about this problem?  If so, how to solve it?

    I assume you mean that the 60 d (he was in fact a D60, but it is more than 10 years.)

    Development of systems should has enough light and (b) an object with a certain contrast.

    For example: she would have a hard time focusing on a wall of ordinary color in dim light.  But if you give him something with contrast, going to an easier time concentrating.

    What kind of lighting you have and what kind of subject you want to photograph?

    Have you tried to test the system under ideal circumstances (beautiful light bright and contrasting topics?)

    Either way... using the camera through the viewfinder will still be faster to use liveview.  The camera actually uses different systems development depending on how you use it.

    When you use the viewfinder, autofocus camera sensors use "phase detection".  These sensors are not on the image sensor.   The reflex mirror bounces low light these sensors.  The sensors are looking for contrasting edges.  Through a Prism-like efect, part of the image moves in one direction and in the other part (imagine use a pair of scissors to cut a picture into two halves and then slightly evil align the image along the cut).  The amount of the displacement varies according to the distance of focus on the subject.   The camera is capable of analyzing the pixels along the edge to determine how the two halves should adjust, and with this, it can determine how the focus needs to be adjusted in order to bring together the image.

    There is an additional advantage to the phase system to detect.  The system is able to analyze all areas of focus at the same time.  The direction of movement tells the camera that he needs to focus closer or further away.  That means in a moment, the camaera knows _which _ AF point is on the nearest subject and he knows how and to what extent the development must settle before the picture comes to focus.  That means the phase detect AF systems is generally useless to "hunt" for focus... they know exactly which way to turn the update and how far to go to get a lock.

    The phase detection system is very fast.

    When the camera using the "live view" mode, the reflex mirror was swinging clear so that the light can strike the image sensor.  This means the tiny mirrors that bounce light in the development of phase-detect sensors are not in-game camera cannot use this system.

    Instead, it analyzes the image on the sensor trying to achieve maximum contrast in the target areas.

    The best example I can think of is to imagine a "UPC code" (bar code) and imagine what it looks like when it is 'in' focus 'out' of focus vs.  If it is, in short, you have a white background with rows of sharp, crisp, black.  But if you think that involved... colors each pixel is 'white' (background) or 'black' (scratches).  There is no pixel 'gray '.    Now, imagine this same barcode horribly blurred... you have a white background, but when you approach a black line, go you through a lot of "grey" get pixels gradually darker until you get to the black parts of the streak.   The camera knows that he emphasized when she reached the highest possible contrast between adjacent pixels.

    Unlike the "detection phase" development, the system of 'contrast' doesn't know what direction to adjust to get the update.  It samples should be taken... (adjust and see if it is better or worse... If it gets worse, reverse the sense of the update and try again).  Not only the computer did not have to do further analysis to detect if the image is sharp... He must do more iterations because of the problem of hunting of accent.

    Point & shoot cameras and 'live view' mode on cameras digital SLRS generally use this system of the development of "contrast detection.  The system is extremely accurate... but the drawback is that the computer has to analyze the image for contrast several times and it's not nearly as fast as the phase detect sensors (which are usually extremely fast).

    Cameras struggle to concentrate when there are nothing to do with contrast high to base its analysis.  They struggle in low light because there is not much difference between the dark and light areas.

    Canon has a new system called the "double pixel" AF.  They essentially combined the "phase detection" technology right on the sensor by creating micro-prismes on the surface of the imaging sensor itself.  The camera is actually capable of doing the "phase detection" style auto-focus directly on the surface of the sensor (never possible and Canon are the only company that got it.)

    The new 70 d is the first DSLR (and currently only) to get the system.

    If shoot you, you don't have the choice... the mirror must be upward in order to record videos so the camera can only use by contrast detection focus when shooting video *-with the exception of the D 70 because he can actually do "phase detection" focus directly on the sensor.

  • Cannot create or rename the new folders, cut and paste to a different destination

    Whenever I try to create a new folder it tells me that the file or folder does not exist when I cut paste in different folder does nothing so I have to drag-and - drop in different areas of my laptop to get the file where I want it to be.
    My OS is vista please anything you can do I appreciate it thanks

    Hello Young Ceaser,

    Thank you for using the Microsoft Windows Vista Forums.

    Have you always had this problem with the creation of a new folder?  When you try to create that file to?  Please let us know status.  Thank you!

    I'd like to experience for me to better understand the potential cause for what you are experiencing.

    What we will do is create a new folder in your user profile directory and test the availability of renaming.

    We also create a folder on your desktop and attempt to appropriate to see if we can then rename it.

    Here are the steps to do this:

    Click Start-> click on your username at the top right of the menu.

    In the new window, click on organize-> then new folder

    Check your ability to rename.

    From there, double-click the desktop folder.

    Take the same steps to create a new folder, test the name change.

    Then, on an issue that you cannot rename, test this procedure:

    To take ownership of a folder:

    Right-click the folder for which you want to set permissions, click Properties and then click the Security tab.

    Click Advanced to open the security settings advanced for the dialog box .

    Click on the owner tab, click on change. If you are prompted for an administrator password or a confirmation, type your password or click on continue.

    In the new security settings advanced to box, the change in ownership to: field, select your username and check Replace owner of subcontainers and objects. Click OK, repeat for the other boxes. (If your username does not appear click on the button other users or groups to add your account).

    Try to rename the folder.

    Once you are complete with tests, you can delete the folder created by right-clicking on them and selecting Remove.

    Engineer James Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • insufficient privileges when you create sequence using the procedure

    CREATE OR REPLACE PROCEDURE schema1.proc1 AS
    BEGIN
    EXECUTE IMMEDIATE 'DROP SEQUENCE schema1.add_ins_seq';
    EXECUTE IMMEDIATE 'CREATE SEQUENCE schema1.add_ins_seq MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER  NOCYCLE';
    END;
    

    This procedure is created to schema1 by schema1.

    Schema1 boasts a CREATE SEQUENCE privilege.

    When I run this procedure through SQL Developer after the Cup to schema1, the error is thrown in insufficient privilege to CREATE SEQUENCE, however, DROP SEQUENCE is executed. I can create the sequence without the procedure call.

    If I add AUTHID CURRENT_USER so I don't get the error of insufficient privileges.

    Why it gives this error when the owner and the applicant of the procedure is schema1?

    Hello

    1st thing to know: when a procedure is defined (and updated), any privileges granted through ROLE is not taken into account. This is because these privileges can be active or not at the level of the session (as happens if for example a user has active 'role A' in session 1 but not in session 2 and if this role has been used to define a procedure?) The proecedure must at the same time be VALID in session 1 and INVALID session 2? Is not possible.

    Thus, for instance in a situation of 'standard': user SYSTEM has 'DBA Rôle', so you can for example make a sqlplus session "SELECT * v $ instance;", but you would write a procedure owned by system making instance_name SELECT INTO l_variable OF v$ instance;  "then"surprise": the procedure cannot be compiled because of the ORA-904 Table or view does not exist..." To be able to create the procedure, a DSS system needs to be done.

    2nd thing for your special case, a little more complex: default for a procedure is 'AUTHID DEFINE', but once more: it means "privileges of the author creating the procedure", so without taking into account the acquired privileges through roles... Your user name is 'sequence create' through a role, it cannot use the privilege within the procedure.  But... but when you define the procedure with AUTHID CURRENT_USER, privileges are evaluated at run time, and thanks to the active ROLE in the session by calling the procedure, at this time, the user can create the sequence.  If try again you but with 'The VALUE NONE ROLE' in the session before the call, you will again have the question.

    Conclusion: If you need to do the action, you must grant the user the necessary privilege directly.

    Best regards

    Bruno Vroman.

  • OIMClient: Cannot create demand in the repository

    I use OIM 11 GR 2

    I tried to raise a request to create a role with OIMClient, but I got an error "unable to create the application in the repository.

    The user to the OIMClient has the role of Admin SPML.

    Here is my code for the creation of demand.

    String rolename = request.getParameter ("rolename");

    String displayname = request.getParameter ("displayname");

    String description = request.getParameter ("description");

    OIMService rm = oimClient.getService (OIMService.class);

    RequestData requestData = new donnees();

    RequestEntity requestEntity = new RequestEntity();

    requestEntity.setRequestEntityType (OIMType.Role);

    requestEntity.setOperation (RequestConstants.MODEL_CREATE_OPERATION);

    List < RequestEntityAttribute > entitydatalist = new ArrayList < RequestEntityAttribute > ();

    RequestEntityAttribute rolenameattribute = new RequestEntityAttribute();

    rolenameattribute.setName (RoleManagerConstants.RoleAttributeName.NAME.getId ());

    rolenameattribute.setValue (rolename);

    rolenameattribute.setType (TYPE. String);

    entitydatalist. Add (rolenameattribute);

    DescriptionAttribute RequestEntityAttribute = new RequestEntityAttribute();

    descriptionattribute.setName (RoleManagerConstants.RoleAttributeName.DESCRIPTION.getId ());

    descriptionattribute.setValue (description);

    descriptionattribute.setType (TYPE. String);

    entitydatalist. Add (DescriptionAttribute);

    DisplayNameAttribute RequestEntityAttribute = new RequestEntityAttribute();

    displaynameattribute.setName (RoleManagerConstants.RoleAttributeName.DISPLAY_NAME.getId ());

    displaynameattribute.setType (TYPE. String);

    displaynameattribute.setValue (displayname);

    entitydatalist. Add (DisplayNameAttribute);

    requestEntity.setEntityData (entitydatalist);

    requestData.setTargetEntities (Collections.singletonList (requestEntity));

    Result OperationResult = rm.doOperation (requestData, OIMService.Intent.ANY);

    Here are the first lines of the exception:

    oracle.iam.platform.tx.OIMTransactionException: oracle.iam.request.exception.RequestServiceException: cannot create the application in the repository.

    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:28)

    at oracle.iam.request.repository.RequestRepository.createRequest(RequestRepository.java:199)

    at oracle.iam.request.impl.RequestEngine.createRequest(RequestEngine.java:1708)

    at oracle.iam.request.impl.RequestEngine.triggerOperation(RequestEngine.java:5277)

    at oracle.iam.request.impl.RequestEngine.doOperation(RequestEngine.java:5028)

    at oracle.iam.impl.OIMServiceImpl.doOperation(OIMServiceImpl.java:43)

    Finally, identify the problem.

    The problem is caused by the line:

    requestData.setTargetEntities (Collections.singletonList (requestEntity));

    The singaletonList created by "Collections.singletonList (requestEntity)" is not cloned.

  • (Sysdate-1) in the name of the file using the Scheduler and ftp

    Hello

    I'm having a small problem with BI Publisher.
    What I'm trying to do, is use sysdate-1 in the file name when you use Task Scheduler to BEEP.

    I have found that by using the regular date it is features such as %d %m %y, so of course the first thing I tried was using the %d - 1, but that did not work :(
    Then I is picked up on the internet and found the following article:

    http://OBIEE-BIP.blogspot.com/2010/05/dynamic-delivery-file-naming-in-bi.html

    He mentions things like:

    DD: CAST (DAYOFMONTH (NOW ()) AS CHAR) (ex 01-31)
    Mon: CAST (SUBSTRING (MONTHNAME (NOW ()) FROM 1 TO 3) AS CHAR) (ex, Jan - Dec)
    AAAA: CAST (YEAR (NOW ()) AS CHAR) (ex, 2006,2010)

    But when I use those in the same field of file name, and then it just displays the string in the text file name.

    Could someone tell me what I am doing wrong, or what I have to do to make this work?

    Thanks in advance

    Version BEEP: Oracle BI Publisher 10.1.3.4.1

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    "CORE 10.2.0.4.0 Production."
    AMT for HP - UX: release 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production

    Hi Raafje,

    As I mentioned in my Blog, using the Date Expressions on filenames of query made irruption has its own limitations. This expression of date you tried sysdate-1 (%d - 1 %m %y) will not hang in the requirement. in any case, you can solve the problem by using alternative workaround.

    Method I (using CAST and DATE functions)
    1. standby-> CAST (DAYOFMONTH (TIMESTAMPADD (SQL_TSI_DAY-1, CURRENT_DATE)) AS CHAR)
    2 months of sleep-> CAST (MONTH (TIMESTAMPADD (SQL_TSI_DAY-1, CURRENT_DATE)) AS CHAR)
    3 year of Eve-> CAST (YEAR (TIMESTAMPADD (SQL_TSI_DAY-1, CURRENT_DATE)) AS CHAR)

    Code example
    + 'ReportName' |'-' | CAST (DAYOFMONTH (TIMESTAMPADD (SQL_TSI_DAY-1, CURRENT_DATE)) AS CHAR). » -'|| CAST (MONTH (TIMESTAMPADD (SQL_TSI_DAY-1, CURRENT_DATE)) AS CHAR). » -'|| CAST (YEAR (TIMESTAMPADD (SQL_TSI_DAY-1, CURRENT_DATE)) AS CHAR) |'. PDF "+

    Method II (using Server Variables)
    1. create a dynamic repository as Previous_Date Variable (Non - Session System variables can also be used)
    2. create a block initialization
    In the Data Source Section - edit the Data Source and place the query below
    Select TO_CHAR(SYSDATE-1,'MM/DD/YYYY')
    The DOUBLE (if necessary, you can use any date format)
    3. in the Section target Variable
    Change the target-
    Give the name as Previous_Date (that you created in step 1) and check the option as dynamic
    Place the date of default as "22/09/2010 '"
    4. now use this repository Variable in the parameter filename of the rafale as VALUEOF("Previous_Date") repository Variable query
    and VALUEOF (NQ_SESSION. Previous_Date) in case you created a session for the query variable

    Thank you best regards &,.
    Goushalya
    http://OBIEE-BIP.blogspot.com/2010/05/dynamic-delivery-file-naming-in-bi.html

    Published by: Goushalya on September 29, 2011 07:09

Maybe you are looking for

  • Replaced the HDD, need new Windows 7 genuine

    Hey,.My HD failed, and I needed to replace it.I don't have DVD repair or any support to install Windows. I tried to download from Microsoft, but they are sending me to Toshiba.Any way I can download a good Windows 7 for my laptop? THX,JO

  • Toshiba Tecra 9000 noise

    Hi all I just bought the Toshiba Tecra 9000 Pentium 3 1 GHz, 256RAM of ebay. The problem is that after the start of some video applications or sometimes even opening new Web site which is in Macromedia Flash, I hear a strange noise, which I think is

  • Portege R500: How could I access "Toshiba Power Saver" as a user restricted

    Hello I have a few related problems and would like to have someone to share knowledge on issues with limited on a portege r500 user rights! My question is: how could I access "toshiba power saver" as a user restricted? My source of knowledge not admi

  • Satellite C870D - blue screen / reboot randomly

    Hi all I recently bought a satellite c870d (uk) and the last week or so from time to time, usually when browsing the internet or do I change the window I look (for example flicking of internet explorer on the desktop) the computer to crash and bring

  • Windows cannot load of Rise of Nations and when I restart it blocks my machine

    I have a new Dell laptop with Windows 7 above.  I have an older game, Rise of Nations, I love to play.  I went to load it on my machine and it loads fine, but it does not open.  When I restart the machine, I get a locked machine.  I had to reboot in