Insert privileges

Hi
I want to insert into a log table, but I always get an error message:
JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO COMIS_DR.CDR_OPT_LOG(LEKERDEZES) VALUES (:1)".
ORA-01031: insufficient privileges
Of course the user has INSERT right and in SQL* I can insert rows into the table.
JSP code is:
<jbo:Row id="logrow" datasource="log" action="createonly" >
<% try { %>
<jbo:SetAttribute datasource="log" dataitem="Lekerdezes" value="<%=vo.getWhereClause()%" />
<% } catch (JboException ex) {
throw ex; } %>
</jbo:Row>
<jbo:Commit appid="<%=amId%>" />
Do I need any speciel rights because of JDBC ?
Thanx
Zoltan

No it shoudl not matter if you access the schema through SQL*Net (e.g. SQL*Plus) or JDBC. Apart from checking that the JDBC connection really is using the same schema do you use Roles which might not be enabled and cause the problem?

Similar Messages

  • Column Privilege Security Bug in Oracle 9i

    There seems to be a bug in matching column privileges between VIEW and TABLE objects. In the SQL script below, this bug lets users INSERT values into columns that they do not have INSERT privileges on. (I guess that the bug would also let people UPDATE columns they do not own).
    This is the first time I've come into this forum, so please accept my appologies if this is the wrong place to report bugs, or this bug is already widely known.
    Adam
    In the following scripts, SYSTEM grants INSERT on column A, but column B gets inserted.
    SQL> connect system/manager @DB2
    SQL> create table t1(a int,b int,c int);
    SQL> create user adam identified by adam;
    SQL> grant create view to adam;
    SQL> grant select on t1 to adam;
    SQL> grant insert(a) on t1 to adam;
    SQL> connect adam/adam @DB2
    SQL> create view v1 as select b y,c z,a x from system.t1;
    SQL> insert into v1(y) values(1);
    SQL> commit;
    SQL> connect system/manager @DB2
    SQL> select * from t1;
    A B C
    1

    I've given here the required details:
    SQL*Plus: Release 8.0.5.0.0 - Production on Tue Jul 15 22:47:45 2003
    (c) Copyright 1998 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    DEV> drop table tmp_kar
    2 /
    Table dropped.
    DEV> create table tmp_kar (
    2 item_code varchar2(10) not null,
    3 document_no varchar2(6) not null,
    4 document_date date not null,
    5 ccn varchar2(3))
    6 /
    Table created.
    DEV> create index idx_tmp_krd__doc_date on tmp_kar (document_date desc) tablespace indx
    2 /
    Index created.
    DEV> insert into tmp_kar values ('G40101008','x','03-jan-2003','xxx')
    2 /
    1 row created.
    DEV> drop table tmp_ccn
    2 /
    Table dropped.
    DEV> create table tmp_ccn (ccn varchar2(3))
    2 /
    Table created.
    DEV> insert into tmp_ccn values ('xxx')
    2 /
    1 row created.
    DEV> commit
    2 /
    Commit complete.
    DEV> select k.ccn, document_date
    2 from tmp_kar k, tmp_ccn c
    3 where item_code = 'G40101008' and
    4 document_date >= '31-dec-2002' and
    5 document_date < '02-apr-2003' and
    6 k.ccn = c.ccn
    7 /
    CCN DOCUMENT_
    xxx 03-JAN-03
    DEV> select k.ccn, document_date
    2 from tmp_kar k
    3 where item_code = 'G40101008' and
    4 document_date >= '31-dec-2002' and
    5 document_date < '02-apr-2003' and
    6 ccn in (select ccn from tmp_ccn)
    7 /
    no rows selected
    DEV>
    Though the two sql statements should give the same result, it is not so.
    I suspect some bug in indexing document_date desc. What could be the reason?

  • SQL*Loader-929: Error parsing insert statement for table

    Hi,
    I get the following error with SQL*Loader:
    Table MYTABLE loaded from every logical record.
    Insert option in effect for this table: INSERT
    Column Name Position Len Term Encl Datatype
    IDE FIRST * ; CHARACTER
    SQL string for column : "mysequence.NEXTVAL"
    CSI_NBR 1:10 10 ; CHARACTER
    POLICY_NBR 11:22 12 ; CHARACTER
    CURRENCY_COD 23:25 3 ; CHARACTER
    POLICY_STAT 26:27 2 ; CHARACTER
    PRODUCT_COD 28:35 8 ; CHARACTER
    END_DAT 44:53 10 ; CHARACTER
    FISCAL_COD 83:83 1 ; CHARACTER
    TOT_VAL 92:112 21 ; CHARACTER
    SQL*Loader-929: Error parsing insert statement for table MYTABLE.
    ORA-01031: insufficient privileges
    I am positive that I can SELECT the sequence and INSERT into the table with the user invoking sql*loader.
    Where does that "ORA-01031" come from?
    Regards
    ...

    Options:
    1) you are wrong about privileges OR
    2) you have the privilege only when you connect via SQL*Plus (or whichever other tool you used to test the insert).
    Is it possible that during your test you enabled the role which granted you the INSERT privilege - and that SQL*Loader doesn't do this?
    Can you see the table in this list?
    select *
    from user_tab_privs_recd
    where table_name='MY_TABLE'
    and owner='table owner whoever';
    select *
    from user_role_privs;Any roles where DEFAULT_ROLE is not YES?
    HTH
    Regards Nigel

  • Grant sequence privilege issue

    Hi,
    OS is windows server 2008
    Database oracle 11g r2
    i have created a schema with name SME having DBA privilege from SME i have created another user SME_USER using the same tablespace of SME with limited privileges. The sequence was created in SME user. I am accessing the tables from SME schema. I have given insert privilege to one of the table in SME to SME_USER,but while insertiing we are using the sequnece with name IPSRNO from SME schema. Now when i tried to insert value inot the table from SME_USER its giving me the output "Sequence does not exist". I have given the grant select privilege for sequence IPSRNO.
    Please guide me on this issue.
    Regards,
    Bobby

    See Using Synonyms in DML Statements in the DBA guide
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/views003.htm
    >
    You can successfully use any private synonym contained in your schema or any public synonym, assuming that you have the necessary privileges to access the underlying object, either explicitly, from an enabled role, or from PUBLIC. You can also reference any private synonym contained in another schema if you have been granted the necessary object privileges for the underlying object.
    You can reference another user's synonym using only the object privileges that you have been granted. For example, if you have only the SELECT privilege on the jward.emp table, and the synonym jward.employee is created for jward.emp, you can query the jward.employee synonym, but you cannot insert rows using the jward.employee synonym.
    A synonym can be referenced in a DML statement the same way that the underlying object of the synonym can be referenced. For example, if a synonym named employee refers to a table or view, then the following statement is valid:
    INSERT INTO employee (empno, ename, job)
    VALUES (emp_sequence.NEXTVAL, 'SMITH', 'CLERK');
    If the synonym named fire_emp refers to a standalone procedure or package procedure, then you could execute it with the command
    EXECUTE Fire_emp(7344);

  • Granting select, insert to an user

    Hello,
    i have a user, 'roger', with dba privileges. i created a view(named 'vw_absente'), and then a user, 'user1', to which i granted connect, resource, and then select, insert on vw_absente. but when i log off, and i log in with that user, i wanna select * from vw_absence, but i got that 'Table or view does not exist'.
    However, i wanna in Forms, if that user logs on, when creating a new data block, to show only the tables and views the current user has privileges to. in my case i don't see any table or view when i log in with the 'user1' user.
    What i did wrong?
    so i wanna that user to update only some columns from a table (that's why i created the view and granted the select and insert privileges on that view, to 'user1' user).
    Please help me
    Thanks

    The public synonym doesn't belong to your schema. You only see the objects which belongs to your schema. You didn't see the dual table in the selection as the public synonym doesn't belong to your schema. There's a public synonym for the dual table. The synonym belongs to the public schema. You can access the dual table via sys.dual or simply use the public synonym dual for sys.dual as there's a synonym which belongs to the public schma where your user belongs to...
    just a test:
    SQL> conn sys/oracle as sysdba
    Connected.
    SQL> create user testsyn identified by testsyn;
    User created.
    SQL> create table test (id number);
    Table created.
    SQL> grant all on test to public;
    Grant succeeded.
    SQL> create public synonym test for sys.test;
    Synonym created.
    SQL> grant connect, resource to testsyn;
    Grant succeeded.
    SQL> conn testsyn/testsyn
    Connected.
    SQL> select * from user_objects where object_name = 'TEST';
    no rows selected
    SQL> select * from test;
    no rows selectedI can select on test altough in my schema there's no test object...
    Also look at the dual table (user testsyn):
    SQL> select * from dual;
    D
    X
    SQL> select * from user_objects where object_name = 'DUAL';
    no rows selected
    SQL>  select * from all_synonyms where synonym_name = 'DUAL';
    OWNER                      SYNONYM_NAME                TABLE_OWNER          TABLE_NAME               DB_LINK
    PUBLIC                      DUAL                     SYS               DUALand the next:
    SQL> conn sys/oracle as sysdba   
    Connected.
    SQL> insert into test(id) values (1);
    1 row created.
    SQL> insert into test(id) values (2);       
    1 row created.
    SQL> insert into test(id) values (3);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from test;
         ID
          1
          2
          3
    SQL> grant create table to testsyn;
    Grant succeeded.
    SQL> conn testsyn/testsyn
    Connected.
    SQL> select * from test;
         ID
          1
          2
          3
    SQL> create table test (id number);
    Table created.
    SQL> select * from test;
    no rows selectedThe first, I insert into the table, and as it is granted to the public schema the user testsyn can see te records in the test table where public test synonym points to. then, I created a test table in the testsyn schema, and as there is a more specific test table this one is used...
    and one last sample:
    SQL> conn sys/oracle as sysdba
    Connected.
    SQL> create user testsyn2 identified by testsyn2;
    User created.
    SQL> grant connect, resource to testsyn2;
    Grant succeeded.
    SQL> conn testsyn2/testsyn2
    Connected.
    SQL> select * from test;
         ID
          1
          2
          3
    SQL> conn sys/oracle as sysdba
    Connected.
    SQL> create synonym testsyn2.test for testsyn.test;
    Synonym created.
    SQL> conn testsyn/testsyn
    Connected.
    SQL> grant select on test to testsyn2;
    Grant succeeded.
    SQL> conn testsyn2/testsyn2
    Connected.
    SQL> select * from test;
    no rows selected
    SQL> So, quick answer to your question: you only see objects in your own schema, that's why you didn't see your object although you created a public synonym ;).
    regards

  • Grant Privileges to a new user

    Hi,
    I would like to know whether there is any way to grant all / only select / only select & insert privileges in all tables to a newly created user at once.
    Thanks in advance...

    user12504537 wrote:
    Hi,
    I would like to know whether there is any way to grant all / only select / only select & insert privileges in all tables to a newly created user at once.
    Thanks in advance...There is no such command to do this out of the box. You need to do something like,
    FOR x IN (SELECT * FROM user_tables)
    LOOP
      EXECUTE IMMEDIATE 'GRANT SELECT ON ' || your.table_names || ' TO <<user>>';
    END LOOP;Aman....

  • Dispaly message when don't have sufficient privileges.

    I have a user that doesn't have an update,delete,insert privileges.
    He can view only and currently when he tries to update he gets:
    FRM:-40509: ORACLE Error: Unable to UPDATE Record.
    I want when he tries to insert or update to display a message saying "insufficient Privileges".
    How can i do that??
    Any help please.
    Thank you.

    Dipin,
    i thought about that but I have never done it and i don't what code need to be written and where to be placed.
    Can some one give an example please?

  • Creating a role to update a view

    Hi.
    Oracle 10.2.04. Linux 4.
    I have been reading about updating views. The Oracle documentation http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/views001.htm#i1006887 states that:
    The owner of the view (whether it is you or another user) must have been explicitly granted privileges to access all objects referenced in the view definition. The owner cannot have obtained these privileges through roles. Also, the functionality of the view depends on the privileges of the view owner. For example, if the owner of the view has only the INSERT privilege for Scott's emp table, then the view can be used only to insert new rows into the emp table, not to SELECT, UPDATE, or DELETE rows.
    This is helpful, but doesn't resolve my issue.
    A role has been created to allow access to a view called SALES_RESULTS:
    create role update NOT IDENTIFIED;
    GRANT INSERT, SELECT, UPDATE ON SALES_RESULTS TO update;
    GRANT update to user;
    When user tries to update the view however, an error is returned. (Sorry, I dont know the error just yet!!)
    In essence, my question is: in order for the updates to work, does the user 'user' need explicitly granted priviliges on the underlying objects, as stated in the Oracle doc extract above - which was discussing the owner of the view?
    Thanks.
    DA

    You have an actual example that shows it does not work. Also, it is stated in the documentation.
    What else do you need?
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • ** Ugrent --CUCM Upgrade 8.6 to 10.5 issue **

    Hello all,
    We have upgraded CUCM from 8.6 to 10.5 (direct upgrade).
    After upgrade we cant make changes into CUCM Publisher. While adding phones or device profile we are facing following error:
    Add failed. The Insert privilege is required for this operation.
    Also, our Cisco Unified Attendant Console Enterprise Addition sync with CUCM is not successful.
    CTI RoutePoint & CTI Ports are not registered gone into unknow state.
    Attached are Attendant console enterprise CUCM sync reports screen shot.
    DB Replication for whole cluster is good with value 2.
    Need urgent help - our system is in production now & we dont have cisco support agreement at the moment.
    Regards,

    Here are the install logs:
    admin:file view install system-history.log
    =======================================
    Product Name -    Cisco Unified Communications Manager
    Product Version - 10.5.1.10000-7
    Kernel Image -    2.6.32-431.3.1.el6.x86_64
    =======================================
    09/12/2014 22:16:31 | root: Install 10.5.1.10000-7 Start
    09/12/2014 15:45:21 | root: Boot 10.5.1.10000-7 Start
    09/13/2014 02:17:53 | root: Install 10.5.1.10000-7 Success
    09/13/2014 02:17:54 | root: Boot 10.5.1.10000-7 Start
    09/13/2014 02:41:59 | root: DRS Restore UCMVersion:10.5.1.10000-7 Start
    09/13/2014 02:55:15 | root: DRS Restore UCMVersion:10.5.1.10000-7 Error
    09/13/2014 03:06:55 | root: Boot 10.5.1.10000-7 Start
    09/13/2014 03:16:24 | root: DRS Restore UCMVersion:10.5.1.10000-7 Start
    09/13/2014 03:55:07 | root: DRS Restore UCMVersion:10.5.1.10000-7 Success
    09/13/2014 03:59:19 | root: Boot 10.5.1.10000-7 Start
    09/13/2014 06:16:40 | root: DRS Restore UCMVersion:10.5.1.10000-7 Start
    09/13/2014 06:21:33 | root: DRS Restore UCMVersion:10.5.1.10000-7 Error
    09/13/2014 09:31:10 | root: DRS Backup UCMVersion:10.5.1.10000-7 Start
    09/13/2014 10:09:25 | root: DRS Backup UCMVersion:10.5.1.10000-7 Success
    09/14/2014 12:38:48 | root: Restart 10.5.1.10000-7 Start
    options: q=quit, n=next, p=prev, b=begin, e=end (lines 1 - 20 of 21) :
    admin:
    admin:

  • Migrating users in sql server to oracle 10g

    migrating users from sqlserver to oracle10g
    what are the setps to follow for migrating users in sqlserver to oracle10g
    also
    please let me know the migration of roles and privelage in sqlserver into oracle10g
    meaning
    these are roles in sqlserver
    public
    db_owner
    db_accessadmin
    db_securityadmin
    db_ddladmin
    db_backupoperator
    db_datareader
    db_datawriter
    db_denydatareader
    db_denydatawriter
    what are equivalent role and priv in oracle

    Hi,
    We can't directly and exactly map the roles but I have mapped to similar roles below.
    In Oracle, the access mechanisms work like this:
    A user with create table privilege can create any number of tables in his own schema. He may have some quota on tablespaces, the amount of data he can use for all his tables together in that tablespace and he becomes the dbowner for his schema and schema objects.
    He can grant select, insert, update and delete privileges to any user he like.. the user who got the privileges is called a "grantee". A grantee can again grant the privileges that he received to others, provided he has been granted with "with grant option".
    A pseudo user called public, is only a place holder to say ALL ... if you grant some privileges to PUBLIC, then everyone in the database will have that privileges.
    A user with EXP_FULL_DATABASE will be able to backup the full database.
    Please refer to oracle documentation for complete details.
    public - PUBLIC
    db_owner - SCHEMA USER him self
    db_accessadmin - SCHEMA USER himself
    db_securityadmin - SCHEMA USER himself
    db_ddladmin - SCHEMA USER himself
    db_backupoperator - a role EXP_FULL_DATABASE
    db_datareader - any user who has select previliges
    db_datawriter - any user who has select, insert , update and insert privileges
    db_denydatareader - any user who do NOT have select priviliges
    db_denydatawriter - any user who do NOT have insert , update and delete privileges
    HTH
    Regards,
    Badri.

  • How to generate unique document number ?

    Hi All,
    We need to generate Document Number where there should be any gap, so that we cannot use sequence. For example : Invoice Number.
    one possible approach like : Select MAX(InvoiceNumber)+1 from invoice, what if that table has millions of rows, is this reliable enough ?
    How to avoid two user do the same query at same time that lead to dupplicate number ?
    Anybody has done it this way in production? or any other approach ?
    Thank you for your info,
    xtanto

    I strongly second Justin's strong suggestion about re-considering the requirement.
    Be aware that for any of the schemes suggested to have a chance of working, all access to the table must be through stored procedures that use a SELECT FOR UPDATE on the counter table. No user in the database can have insert privileges on the document table except the owner. The owner's password should be kept in a locked safe and be unknown to anyone. If for some reason the owner needs access to the database, then remove the password from the safe, do what needs to be done, then get some guy off the street to set a new password, write it down and lock it in the safe again.
    If you really need a gap-free number, it needsto be another column, separate from the PK. Use a sequence to generate the pk gaps and all, then create a procedure that runs periodically to update the gap free column. Soemthing like:
    SQL> CREATE PROCEDURE fix_gap_free AS
      2     l_v NUMBER;
      3     TYPE id_tbl IS TABLE OF number INDEX BY BINARY_INTEGER;
      4     l_ids  id_tbl;
      5     l_id2s id_tbl;
      6  BEGIN
      7     SELECT MAX(NVL(id2,0)) INTO l_v FROM t;
      8     SELECT id, ROW_NUMBER() OVER (ORDER BY id)
      9     BULK COLLECT INTO l_ids, l_id2s
    10     FROM t
    11     WHERE id2 IS NULL;
    12
    13     FORALL i IN 1 .. l_ids.COUNT
    14        UPDATE t
    15        SET id2 = l_id2s(i) + l_v
    16        WHERE id = l_ids(i);
    17     COMMIT;
    18  END;
    19  /
    Procedure created.
    SQL> SELECT * FROM t;
            ID        ID2
             1
             2
             5
             7So, id2 is going to be the gap-free column.
    SQL> exec fix_gap_free;
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM t;
            ID        ID2
             1          1
             2          2
             5          3
             7          4So first pass is fine. Now lets add a few rows, so the table now looks like:
    SQL> SELECT * FROM t;
            ID        ID2
             1          1
             2          2
             5          3
             7          4
             8
             9
            25and generate more gap free number:
    SQL> exec fix_gap_free;
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM t;
            ID        ID2
             1          1
             2          2
             5          3
             7          4
             8          5
             9          6
            25          7If there may be deletions in the table, and you need to maintain the gap free nature, then just skip the WHERE id2 IS NULL predicate.
    John

  • Oracle 9i Authid problem

    Hi,
    We are using Oracle9i, we created a package using authid as current_user. while executing a procedure in the package, we are getting table or view does not exist.
    When I tried to debug I found that while inserting into one table it is giving this error. But if I insert into the table as a application user manually, it is inserting without any errors.
    Any suggestions
    Thanks
    Padmanabhan

    Your user has insert privileges on teh table through a role. It is a quirk of Oracle's security model that we cannot use privileges granted through roles to run packages or build views.
    If you grant the privilege to the named user your problem is solved.
    Cheers, APC

  • Error in dbWriteTable()

    I have successfully installed ROracle.1.1-4 under R 2.15.0, Windows 32bit, my configuration is detailed here:
    Re: ROracle 1.1-4 install failure for R  64 only: R version 2.15.0, Rtools215
    I am able to connect to my Oracle database from within R and to successfully execute commands such as
    dbListTables(con, schema="MYSCHEMA")
    dbExistsTable(con, schema="MYSCHEMA", name="MYTABLE")
    dbListFields(con, schema="MYSCHEMA", name="MYTABLE")
    mydf <- dbReadTable(con, schema"MYSCHEMA", name="MYTABLE")
    and so on. However, dbWriteTable() fails with this error message:
    dbWriteTable(con, name="MYSCHEMA.MYTABLE", mydf)
    Errore in .oci.GetQuery(con, stmt) :
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 49
    ORA-20666: MYUSRNAME
    Here "mydf" is a data.frame created with a dbReadTable(). An identical error message appears on different machines, with other data.frames and table names.
    I would appreciate any help with this paralysing issue!
    While I am at it, may I ask why has dbWriteTable() not got a "schema" parameter, whereas dbReadTable() and dbExistsTable() have?
    Thank you very much and kind regards,
    Renato

    Denis,
    let me give you some context. I work in a modelling group within a fairly large company and we are testing the useability of our Oracle database from within R. The DBA of the company created the application user MYUSRNAME for this purpose.
    The tables that the application user MYUSRNAME needs to access for our purposes are contained in a schema called MYSCHEMA in the example above. However, the default schema associated to the application user is not MYSCHEMA: indeed, it is a policy of our DBA that each application user logs onto her own schema, which happens to have the same name as the application user herself, thus MYUSRNAME, and on which said user has no CREATE privileges. As I gather from our DBA, this policy is unlikely to change so there we are, stuck with two different schemas.
    Regarding the "insufficient privilege" error, digging a little deeper I realized that there is a slight temporal delay between the creation of a new table in MYSCHEMA and the automatic granting of roles (and, consequently, INSERT privileges) to the application user. This is why the INSERT INTO generates the "insufficient privileges" error: it is just a matter of waiting a few moments after the CREATE and then the INSERT goes through without problems. By way of example, if I execute these statements
    rs <- dbSendQuery(con,"CREATE TABLE MYTABLE ( myvar varchar(1) )")
    dbHasCompleted(rs)
    dbGetQuery(con,"INSERT INTO MYTABLE (myvar) values(\'a\')")
    dbRemoveTable(con,"MYTABLE")
    as a block-paste into my R console, then an "insufficient privilege" error occurs: not enough time has elapsed between the CREATE and the INSERT. However, if I execute the same statements one-by-one (by pasting them separately), then the INSERT is successful. The BEGIN ... END block of my previous post enforces that the role granting has completed before attempting the INSERT.
    Any further suggestions/comments of yours are welcome and please do not hesitate to ask should you need more information.
    Once again thank you,
    Renato
    P.S.
    It is an unfortunate fact that my company's production DB is Oracle 10g (namely, "Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi"): this prevents us from trying the extremely interesting Oracle R Enterprise and R-ODM R package.

  • CUCM 10.5.1 - getting error when adding or updating a phone

    We just upgraded from 8.5 to 10.5.1 last weekend.  Have an issue when trying to add or make changes to a phone that the following error occurs:
    "Add failed.  The Insert privilege is required for this operation"   I do not get this error but the client service desk does.  I mimic my permissions with one of the client services desk and had them try again and still no change.  When they make a change, the change does save.  However adding phones is not allowed resulted in the same error.
    Anyone else run into this?

    Hello,
    Either Publisher is down or DB replication is broken with it. When we change any configuration, the changes will be written on the publisher and it replicates it to the subscriber even if the changes were done on a subscriber webpage.
    Thank you,
    Shadi

  • BLOBDestination Caught exception: java.io.IOException: ORA-01031

    Having problems getting the blobdestination feature to work. Everything looks good in the server trace, up to the distribution of the output. Any idea what the ORA-01031 complaint is about?
    [2006/12/4 4:14:20:484] Exception 50125 (): Caught exception: java.io.IOException: ORA-01031: insufficient privileges
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.utility.Utility.newRWException(Utility.java:756)
    at oracle.reports.utility.Utility.newRWException(Utility.java:769)
    at oracle.reports.plugin.destination.blob.BLOBDestination.sendFile(BLOBDestination.java:229)
    at oracle.reports.server.Destination.send(Destination.java:484)
    at oracle.reports.server.JobObject.distribute(JobObject.java:1582)
    at oracle.reports.server.JobManager.updateJobStatus(JobManager.java:2231)
    at oracle.reports.server.EngineCommImpl.updateEngineJobStatus(EngineCommImpl.java:134)
    at oracle.reports.server._EngineCommImplBase._invoke(_EngineCommImplBase.java:94)
    at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
    at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
    [2006/12/4 4:14:20:484] State 56016 (JobManager:updateJobStatus): Job 28 status is: Executed successfully but there were some errors when
    distribute the output
    REP-50159: Executed successfully but there were some errors when distribute the output

    It's Sounds the Privilege issue..
    check these
    - What user is the user connected as ?
    - What is the SQL statement being issued ?
    - Who owns the objects referenced in the statement ?
    Various operations required SELECT as WELL AS INSERT privilege to work

Maybe you are looking for

  • I tried to upgrade itunes and i get windows error 7

    i tried to upgrade itunes and i get windows error 7 - it says "The procedure entry point AVCFPlayerEnableHardwareAcceleratedVideoDecoderKey could not be located in the dynamic link library AVFoundationCF.dll

  • Module Pool Program(SAP-ABAP)

    Hi,   I am trying to put CHAIN..ENDCHAIN logic in PAI module   to validate screen.   How sd i use CHAIN..ENDCHAIN ?   Pls guide me with suitable example.   I m waiting for ur reply........ Thanx in Adv. Prabhas

  • Java.sql.SQLException: String index out of range: -8

    Hi Folks, I am experiencing the following error in my application and can't seem to fine where the error is occuring. Please help. java.sql.SQLException: String index out of range: -8      at sanchez.jdbc.dbaccess.ScDBError.check_error(Unknown Source

  • Help for  iStore implementation

    hello all, I hv 3 yrs of work Ex in purchase domain. I am frasher in oracle as functional counsultant. can any one provide me istore related documents?....and can any one tell me how to study istore module (from implementation view)? thanks Sujata

  • Accidentally delete the G450 notebook hidden partition

    Could someone help give me advice how to create the G450 notebook hidden partition again as I accideintally deleted it while I installed the OS.