OIM 9.1.0.2 ORA-0936 encountered when provisioning roles

I've configured an Access Policy that provisions users without requiring approval to a DB through the DB connector. It also provisions them with roles: CONNECT and DBA.
The latter was achieved by making Role provisioning dependent upon User creation completion in the Access Policy. The Access Policy is also where the roles are specified.
The user is created and role provisioning fires OK, but gets rejected.
The relevant section in the log looks like this:
ERROR RMICallHandler-266 XELLERATE.DATABASE - select UD_DB_ORA_P_PRIVILEGE from UD_DB_ORA_P where UD_DB_ORA_P_KEY =
java.sql.SQLException: ORA-00936: missing expression
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
<snip>
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
ERROR RMICallHandler-266 XELLERATE.DATABASE - Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
java.sql.SQLException: ORA-00936: missing expression
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
     at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)
     <snip>
     at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
DEBUG RMICallHandler-266 XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateSchItem entered.
DEBUG RMICallHandler-266 XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateSchItem - Data: event - Value: adpDBADDPRIVILEGE
DEBUG RMICallHandler-266 XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateSchItem - Data: New Status - Value: R
DEBUG RMICallHandler-266 XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateSchItem - Data: SchData - Value: Data Access Error
DEBUG RMICallHandler-266 XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateSchItem - Data: Reason - Value: Exception com.thortech.xl.dataaccess.tcDataSetException: Data Access Error was thrown in adapter "DB Add Privilege". The Adapter Response was "Data Access Error"
There is an article about this on Oracle support, which I think is relevant, it states:
CAUSE
The error is caused by the fact that the rule is based on the values of the process form which are not yet commited to the database.
The usage of the process form will be avoided when creating rules for prepopulate adapters.
SOLUTION
Create a rule based on the "Request Target Information" which is reffering attributes of the OIM target user which has to be provisioned.
Suppose an access policy is used and this is based on a specific autogroup membership, the same rule can be used when creating the rule for the prepopulate adapter.
Unfortunately, this is greek to me.
Can anyone explain how I can resolve this problem with the role provisioning?
Many thanks,
2Hugh
Edited by: 2hughg on 08-Mar-2011 09:19

I had a privilege provisioning task set up as well, when I removed that, the error condition went away.
2hugh

Similar Messages

  • ORA-1403 encountered when generating server alert SMG-4120

    Hi Gurus,
    Kindly help what's the following error:
    ORA-1403 encountered when generating server alert SMG-4120
    I'm using Oracle Database 10.2.0.1.0
    Thanks,
    BTF
    Edited by: Benj Flores on Oct 9, 2008 1:50 AM

    There isn't much information available about this error. So I would suggest you get in touch with Oracle support.

  • ORA-1461 encountered when generating server alert SMG-3500 ?

    Hi,
    i hv use oracle database 10g with two nodes n1 and n2
    today in n1 node ORA-1461 encountered when generating server alert SMG-3500 this error is occured , i hv try serch this error but i hv't answer is given also in udump no trace file genrated
    how can findout the solution.

    I also had this problem this morning and can't find anything on the web...
    Same cfg: 10.2.0.3 RAC std edition
    At the moment the server generated this error there was a scheduled job running...if this helps...
    Do you have similar experiences? Solutions? Hints?
    Roberto

  • ORA-24010 encountered when generating server alert

    Every Times I startup my Database I have the following messages
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition-update_aqs_instance, aborting txn
    Completed: ALTER DATABASE OPEN
    Thu May 24 14:48:10 2007
    ORA-24010 encountered when generating server alert SMG-4120
    ORA-24010 encountered when generating server alert SMG-4121
    ORA-24010 encountered when generating server alert SMG-4121
    What does that means ?
    regards,

    This problem comes in a newly installed database following is the discussion in metalink:
    Applies to:
    Oracle Server - Enterprise Edition - Version: 10.2.0.1.0
    This problem can occur on any platform.
    Symptoms
    1. The alert.log reports the following sequence of errors several times:
    Thu Mar 16 13:49:15 2006
    Completed: ALTER DATABASE OPEN
    Thu Mar 16 13:49:16 2006
    ORA-24010 encountered when generating server alert SMG-4120
    ORA-24010 encountered when generating server alert SMG-4121
    ORA-24010 encountered when generating server alert SMG-4121
    Thu Mar 16 14:14:16 2006
    ORA-24010 encountered when generating server alert SMG-4121
    ORA-24010 encountered when generating server alert SMG-4121
    Thu Mar 16 14:19:17 2006
    Errors in file /u01/app/oracle/admin/IRTPRO/bdump/irtpro_ora_3000.trc:
    ORA-00600: internal error code, arguments: [kdappurgeostat1], [365002], [], [], [], [], [], []
    2. A local SQLPLUS connection reports "Connected to an idle instance".
    3. The trace file does not report current cursor or current SQL information.
    Changes
    This may be a new database.
    Cause
    Error: ORA-24010
    Cause: The specified queue does not exist.
    Action: Specify a valid queue. Query USER_QUEUES for all the valid queues.
    QUEUE tables were not properly created. On a 10.2.0.3 database, the following standard queues exist:
    SQL> SELECT NAME FROM USER_QUEUES;
    NAME
    AQ$_KUPC$DATAPUMP_QUETAB_E
    AQ$_SYS$SERVICE_METRICS_TAB_E
    SYS$SERVICE_METRICS
    AQ$_ALERT_QT_E
    ALERT_QUE
    AQ$_AQ$_MEM_MC_E
    SRVQUEUE
    AQ$_SCHEDULER$_EVENT_QTAB_E
    SCHEDULER$_EVENT_QUEUE
    AQ$_SCHEDULER$_JOBQTAB_E
    SCHEDULER$_JOBQ
    AQ$_AQ_SRVNTFN_TABLE_E
    AQ_SRVNTFN_TABLE_Q
    AQ$_AQ_EVENT_TABLE_E
    AQ_EVENT_TABLE_Q
    15 rows selected.
    Since this is a new installation with a new database, the proper QUEUE tables should have been created at database creation during execution of catalog and catproc.
    Solution
    To resolve the problem:
    1. SQL> spool output.txt
    2. SQL> @?/rdbms/admin/catalog.sql
    3. SQL> @?/rdbms/admin/catproc.sql
    4. SQL> utlrp.sql
    5. SQL> select comp_name, status from dba_registry;
    (to verify VALID components)
    6. SQL> select owner, object_name, object_type from dba_objects where status = 'INVALID';
    (to verify VALID objects)
    Let us know the status after this fix.
    Senthil

  • ORA-1578 encountered when generating server alert SMG-3503

    In my system, the oracle version is 10.2.0.1.0
    In the alert file I found below errors:
    Mon Sep 12 18:48:33 2011
    ORA-1578 encountered when generating server alert SMG-3503
    ORA-1578 encountered when generating server alert SMG-4121
    ORA-1578 encountered when generating server alert SMG-4121
    Mon Sep 12 18:53:44 2011
    ORA-1578 encountered when generating server alert SMG-4121
    ORA-1578 encountered when generating server alert SMG-4121
    Mon Sep 12 18:58:40 2011
    ORA-1578 encountered when generating server alert SMG-3503
    ORA-1578 encountered when generating server alert SMG-4121
    ORA-1578 encountered when generating server alert SMG-4121
    Mon Sep 12 19:03:47 2011
    ORA-1578 encountered when generating server alert SMG-4121
    ORA-1578 encountered when generating server alert SMG-4121
    Is the error will impact the database or application system?
    What is the cause and solution of this error?

    Hi,
    please post the output of
    select * from V$DATABASE_BLOCK_CORRUPTION; Do you have a standby for this database?
    Edited by: Rodriguez on 02.02.2012 23:08

  • ORA-376 encountered when generating server alert SMG-3506

    Hi Team,
    I have a undo tablespace with 9Gb, I think to create a new and delete a old
    for decreasing size.
    I do this steps:
    shutdown immediate;
    startup restrict;
    CREATE UNDO TABLESPACE "UNDOTBS02" ;
    alter system set undo_tablespace=undotbs02;
    shutdown;
    startup;
    Now I want delete the old tablespace undo
    alter tablespace undotbs1 offline;
    and have this msg in alert.log
    Completed: ALTER TABLESPACE "UNDOTBS1" OFFLINE NORMAL
    Wed Mar 25 23:15:54 2009
    ORA-376 encountered when generating server alert SMG-3506
    Is correct my process ?
    I use this version
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 64-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    thans
    Edited by: mauro brn on Mar 26, 2009 12:36 AM

    a question:
    before drop I put on line tablespace ?
    and then
    DROP TABLESPACE <tablespace_name> INCLUDING CONTENTS;
    I do a query
    select segment_name,tablespace_name,status from dba_rollback_segs;
    and have this result
    SEGMENT_NAME TABLESPACE_NAME STATUS
    SYSTEM SYSTEM ONLINE
    _SYSSMU1$                      UNDOTBS1                       OFFLINE         
    _SYSSMU2$                      UNDOTBS1                       OFFLINE         
    _SYSSMU3$                      UNDOTBS1                       OFFLINE         
    _SYSSMU4$                      UNDOTBS1                       OFFLINE         
    _SYSSMU5$                      UNDOTBS1                       OFFLINE         
    _SYSSMU6$                      UNDOTBS1                       OFFLINE         
    _SYSSMU7$                      UNDOTBS1                       OFFLINE         
    _SYSSMU8$                      UNDOTBS1                       OFFLINE         
    _SYSSMU9$                      UNDOTBS1                       OFFLINE         
    _SYSSMU10$                     UNDOTBS1                       OFFLINE         
    _SYSSMU11$                     UNDOTBS02                      ONLINE          
    _SYSSMU12$                     UNDOTBS02                      ONLINE          
    _SYSSMU13$                     UNDOTBS02                      ONLINE          
    _SYSSMU14$                     UNDOTBS02                      ONLINE          
    _SYSSMU15$                     UNDOTBS02                      ONLINE          
    _SYSSMU16$                     UNDOTBS02                      ONLINE          
    _SYSSMU17$                     UNDOTBS02                      ONLINE          
    _SYSSMU18$                     UNDOTBS02                      ONLINE          
    _SYSSMU19$                     UNDOTBS02                      ONLINE          
    _SYSSMU20$                     UNDOTBS02                      ONLINE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • ORA-24010 encountered when generating server alert SMG-3000

    Hi,
    When i startup my database, database opened successfully but alert log shows that,
    QMNC started with pid=16, OS id=19647
    Mon Dec 6 00:34:17 2010
    ORA-24010 encountered when generating server alert SMG-3000
    ORA-24010 encountered when generating server alert SMG-4120
    ORA-24010 encountered when generating server alert SMG-4121
    ORA-24010 encountered when generating server alert SMG-4121
    Mon Dec 6 00:34:18 2010
    Completed: ALTER DATABASE OPEN
    How to resolve the error..???
    Thakns in advance

    Hi,
    looking at document ID 432503.1 on Oracle Support; it looks like there are some bad queues. Have a look at this document to solve your problem.
    Herald ten Dam
    http://htendam.wordpress.com

  • ORA-0 encountered when generating server alert SMG-3000

    Hi All,
    Does anyone has an idea on the following error.
    ORA-0 encountered when generating server alert SMG-3000
    ORA-0 encountered when generating server alert SMG-3000
    ORA-0 encountered when generating server alert SMG-3000
    ORA-0 encountered when generating server alert SMG-3000
    I'm getting this error in my alert file for my database running on 10.2.0.4.
    Thanks,
    Raja.

    Hello Mr. Raja,
    Can you tell me how do you recreate alert_que? Am facing exactly the same problem. Whats worse is that am getting out of memory exception within a couple of minutes as shown in my alert log below. Am not getting out of memory even if i run several programs in parallel, which consumes all of server CPU and considerable amount of RAM. But getting it once this exception occurs. Is there any relation between these two errors.?
    Sun Jun 19 18:49:52 2011
    ORA-0 encountered when generating server alert SMG-3503
    Sun Jun 19 18:51:23 2011
    Process startup failed, error stack:
    Sun Jun 19 18:51:23 2011
    Errors in file e:\oracle\product\10.2.0\admin\<dbname>\bdump\kpcldb_q000_12268.trc:
    ORA-04030: out of process memory when trying to allocate 8148 bytes (kxs-heap-w,qesaQBInit:buffer)
    If Mr.Raja is unavailable, can anybody else kindly answer this?
    Edited by: user13333704 on Jun 19, 2011 11:09 PM

  • ORA-29516 encountered when using LoadJava

    I get ORA-29516 when trying to use the LoadJava command on Linux and Oracle 8.1.6.
    I also have trouble running the initjvm.sql, it seems to always run with errors. Do I need to alter some values in my .ora file? or is there something else that I may try?
    I am trying to run initjvm.sql as sys.
    null

    Actually I have found that I get a ora-3113 error when I try to run the initjvm.sql script. I am trying to run it as SYS, however it hangs after a 20 or so statements and then after a long time, I get the ora-3113 error (i am guessing that oracle is terminating its session).

  • ORA-01194 encountered when cloning a database

    Oracle 10.2.0.5
    Attempted to clone a database from one linux server to another. Issued a SHUTDOWN IMMEDIATE then copied all datafiles, and log files. On the new server I place the files on diffierent mount points, modify the pfile so it is correct.
    SQL> startup nomount;
    SQL> CREATE CONTROLFILE REUSE DATABASE "UFMS044" RESETLOGS NOARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 584
    5 6 7 LOGFILE
    8 GROUP 1 '/a0902/d01/oradata/ufms044d/redo01.log' SIZE 150M,
    9 GROUP 2 '/a0902/d01/oradata/ufms044d/redo02.log' SIZE 150M,
    GROUP 3 '/a0902/d01/oradata/ufms044d/redo03.log' SIZE 150M,
    10 11 GROUP 4 '/a0902/d01/oradata/ufms044d/redo04.log' SIZE 150M,
    12 GROUP 5 '/a0902/d01/oradata/ufms044d/redo05.log' SIZE 150M
    -- STANDBY LOGFILE
    13 14 DATAFILE
    '/a0902/d01/oradata/ufms044d/system01.dbf',
    15 16 '/a0902/d01/oradata/ufms044d/undotbs01.dbf',
    17 '/a0902/d01/oradata/ufms044d/sysaux01.dbf',
    '/a0902/d01/oradata/ufms044d/momdata01.dbf',
    18 19 '/a0902/d01/oradata/ufms044d/momindex01.dbf',
    '/a0902/d01/oradata/ufms044d/users01.dbf',
    20 21 '/a0902/d01/oradata/ufms044d/ccrdata01.dbf',
    22 '/a0902/d01/oradata/ufms044d/ccrindex01.dbf',
    '/a0902/d01/oradata/ufms044d/odsdata01.dbf',
    23 24 '/a0902/d01/oradata/ufms044d/odsindex01.dbf',
    25 '/a0902/d01/oradata/ufms044d/ufmdata01.dbf',
    '/a0902/d01/oradata/ufms044d/ufmindex01.dbf',
    26 27 '/a0902/d01/oradata/ufms044d/wmadata01.dbf',
    28 '/a0902/d01/oradata/ufms044d/wmaindex01.dbf',
    29 '/a0902/d01/oradata/ufms044d/iardata01.dbf',
    '/a0902/d01/oradata/ufms044d/iarindex01.dbf',
    '/a0902/d01/oradata/ufms044d/patdata01.dbf'
    30 31 32 CHARACTER SET WE8ISO8859P1;
    Control file created.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/a0902/d01/oradata/ufms044d/system01.dbf'
    SQL> recover database until cancel using backup controlfile;
    ORA-00279: change 17130207450 generated at 08/10/2011 10:02:53 needed for
    thread 1
    ORA-00289: suggestion :
    /a0902/oracle/product/10.2.0/db_1/dbs/arch1_1_758800964.dbf
    ORA-00280: change 17130207450 for thread 1 is in sequence #1
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/a0902/d01/oradata/ufms044d/system01.dbf'
    Oracle 10.2.0.5 is on both boxes.
    Would the shutdown immediate cause issues?
    Thanks All

    user13129655 wrote:
    Oracle 10.2.0.5
    Attempted to clone a database from one linux server to another. Issued a SHUTDOWN IMMEDIATE then copied all datafiles, and log files. On the new server I place the files on diffierent mount points, modify the pfile so it is correct.
    SQL> startup nomount;
    SQL> CREATE CONTROLFILE REUSE DATABASE "UFMS044" RESETLOGS NOARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 584
    5 6 7 LOGFILE
    8 GROUP 1 '/a0902/d01/oradata/ufms044d/redo01.log' SIZE 150M,
    9 GROUP 2 '/a0902/d01/oradata/ufms044d/redo02.log' SIZE 150M,
    GROUP 3 '/a0902/d01/oradata/ufms044d/redo03.log' SIZE 150M,
    10 11 GROUP 4 '/a0902/d01/oradata/ufms044d/redo04.log' SIZE 150M,
    12 GROUP 5 '/a0902/d01/oradata/ufms044d/redo05.log' SIZE 150M
    -- STANDBY LOGFILE
    13 14 DATAFILE
    '/a0902/d01/oradata/ufms044d/system01.dbf',
    15 16 '/a0902/d01/oradata/ufms044d/undotbs01.dbf',
    17 '/a0902/d01/oradata/ufms044d/sysaux01.dbf',
    '/a0902/d01/oradata/ufms044d/momdata01.dbf',
    18 19 '/a0902/d01/oradata/ufms044d/momindex01.dbf',
    '/a0902/d01/oradata/ufms044d/users01.dbf',
    20 21 '/a0902/d01/oradata/ufms044d/ccrdata01.dbf',
    22 '/a0902/d01/oradata/ufms044d/ccrindex01.dbf',
    '/a0902/d01/oradata/ufms044d/odsdata01.dbf',
    23 24 '/a0902/d01/oradata/ufms044d/odsindex01.dbf',
    25 '/a0902/d01/oradata/ufms044d/ufmdata01.dbf',
    '/a0902/d01/oradata/ufms044d/ufmindex01.dbf',
    26 27 '/a0902/d01/oradata/ufms044d/wmadata01.dbf',
    28 '/a0902/d01/oradata/ufms044d/wmaindex01.dbf',
    29 '/a0902/d01/oradata/ufms044d/iardata01.dbf',
    '/a0902/d01/oradata/ufms044d/iarindex01.dbf',
    '/a0902/d01/oradata/ufms044d/patdata01.dbf'
    30 31 32 CHARACTER SET WE8ISO8859P1;
    Control file created.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/a0902/d01/oradata/ufms044d/system01.dbf'
    SQL> recover database until cancel using backup controlfile;
    ORA-00279: change 17130207450 generated at 08/10/2011 10:02:53 needed for
    thread 1
    ORA-00289: suggestion :
    /a0902/oracle/product/10.2.0/db_1/dbs/arch1_1_758800964.dbf
    ORA-00280: change 17130207450 for thread 1 is in sequence #1
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/a0902/d01/oradata/ufms044d/system01.dbf'
    Oracle 10.2.0.5 is on both boxes.
    Would the shutdown immediate cause issues?
    SHUTDOWN IMMEDIATE
    This mode is typically the fastest next to SHUTDOWN ABORT. Oracle Database terminates any executing SQL statements and disconnects users. Active transactions are terminated and uncommitted changes are rolled back.
    Edited by: sb92075 on Aug 11, 2011 6:45 AM

  • ORA-20160: Encountered an error while getting the ORACLE user account.

    when users trying to apply for the leave . Once they apply for the leave and the respective manager approves it.
    They get an notification mail with the error message The changes were not applied because ORA-20160: Encountered an error while getting the ORACLE user account for your concurrent request. Contact your system administrator. ORA-06512: at "APPS.ALR_PER_ABSENCE__800_53447_IAR", line 3 ORA-04088: error during execution of trigger 'APPS.ALR_PER_ABSENCE__800_53447_IAR'
    EBS : 12.1.2
    Database : 11.2.0

    We are also facing the same issue , with the following error.
    The Changes were not applied because ORA-20160: Encountered an error while getting the ORACLE user account for your concurrent request, Contact your system administrator. ORA-06512: at “ APPS.ALR_PAY_ELEMENT_801_53338_IAR”, line 1 ORA-04088: error during execution of the trigger ‘APPS.ALR_PAY_ELEMENT_801_53338_IAR’
    Dear Hussein ,
    As per your suggestion , if we disable the trigger , does it workflow goes ahead without any problems ?
    By Disabling the trigger , what would be the impact ? I mean does we are going to loose the data that was supposed to be updated the trigger.
    And basically please educate me . what is the use of this APPS.ALR_PAY_ELEMENT_801_53338_IAR’ ?
    Regards
    Raghu

  • Error ORA-12560 prompts when trying to log in to the Enterprise Manager

    Hi all,
    I am a newbie to Oracle.
    Just installed the Oracle 9i Database Enterprise Edition (9.0.1) into Windows Server 2003 Standard Edition. Problem is encountered when trying to log in to the Enterprise Manager Standalone mode using either system/oracle or scott/tiger as credentials. Error "ORA-12560: TNS:protocol adapter error" prompts.
    I tried to check with some configuration and see whether the services are started. Services of "OracleOraHome90TNSListener" and "OracleServiceORCL" have been started and the database exists in the dedicated directory. Environment variables of "ORACLE_HOME" and "ORACLE_SID" have been added manually as the SID is set to orcl, which I just follow what the instruction manual has stated. Moreover, I can't get access using command prompt typing "svrmgrl"; error returned stating " 'svrmgrl' is not recognized as an internal or external command, operable program or batch file."
    Another information is that there is no domain set in my server. Just a server with a name being assigned in a workgroup.
    Hence, would you mind please advice me what to do in order to get access into the Enterprise Manager? It's quite an urgent task.
    A million thx in advance!
    Best Regards,
    Karen

    Hi Jigneshrp,
    Thanks for your reply.
    It is checked that the listener is running and TNS name service exists. Following your advice, I did create a new listener and another name service and use them, but the same error turns out when trying to log in to the Enterprise Manager again.
    Additional information to take note for is that while reconfiguring the existing listener or creating a new listener, a mesage prompts stating "The information provided for this listener is currently in use by other software on this computer. You can proceed with the configuration as it is, but it will not be possible to start this listener until the conflict is resolved. Would you like to continue with the continue with the configuration anyway? Yes/No".
    As for the reconfiguration or the new creation of TNS names service, when I am trying to test for the connection, the results in the details pane states that "Connecting... ORA-12560: TNS:protocol adapter error. The test did not succeed...."
    Would you mind pls advice me on these?
    Furthermore, there exist 2 questions I am wondering is that it is stated in the instruction manual that prior to the installation, a static IP should be specified for it instead of the DHCP one; hence, I wanna ask after the complete insallation, is it that the server should be running in the network, i.e. allow it to get connected with the outside network?
    2nd question is that can Oracle 9i Database Server Standard Edition (9.0.1) be installed under a Windows Server 2003 Standard Edition and just a Window XP Professional?
    Thanks for your reply.
    Best Regards,
    Karen

  • ORA-06502 Error When Calling Function

    Hi,
    We have upgraded Oracle Database Server 9i to 11.1.0.7 and we are now using ODP.NET version 2.112.2.0 instead of 9.2.0.4 dll.
    After the migration, we encountered ORA-06502 problem when we are calling a function from .NET application. We investigated and found that we have to set the parameter size for the return value parameter (varchar2). But there is a strange case that how do we guess the return value size, it can be 5 characters or 5.000 characters. Before 11g Oracle.DataAccess, we do not have that such problem. We were setting the parameter size 225 by default, but ODP.NET was returning 500 characters without any error.
    The question is that how do we guess or know the actual parameter size when we are passing a Return Value parameter to the function?
    Or is there a solution for this behaviour of ODP.NET?
    Thanks.

    Is there a reason you can not set it to the default maximum size for a varchar2 of 32k?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Oracle.DataAccess.Client;
    using System.Data;
    namespace test_function2
    class Program
    static void Main(string[] args)
    OracleConnection con = new OracleConnection("Data Source=UTF8;User ID=scott;Password=tiger");
    OracleCommand cmd = new OracleCommand("test_return", con);
    cmd.CommandType = CommandType.StoredProcedure;
    OracleParameter test_return = new OracleParameter("test_return", OracleDbType.Varchar2, 32000);
    test_return.Direction = ParameterDirection.ReturnValue;
    cmd.Parameters.Add(test_return);
    OracleParameter test_input = new OracleParameter("test_input", OracleDbType.Varchar2);
    test_input.Direction = ParameterDirection.Input;
    test_input.Value = "blah";
    cmd.Parameters.Add(test_input);
    try
    con.Open();
    cmd.ExecuteNonQuery();
    con.Close();
    Console.WriteLine("{0}", test_return.Value);
    Console.WriteLine("Press Enter to Continue");
    Console.ReadLine();
    catch (OracleException e)
    Console.WriteLine(e.Number);
    Console.WriteLine(e.Message);
    Console.WriteLine("test failed\nPress Enter to Continue");
    Console.ReadLine();
    create or replace function test_return(in_var in varchar2)
    return varchar2 is
    begin
    return lpad(in_var, 4000, 'TEST test') || lpad(in_var, 4000, 'DONE done');
    end test_return;
    /

  • ORA-00600:6711 When clicking tables in SQL Developer 1.5.1

    Hello everyone.
    This will be my first time to post something in this forum. I have used SQL Developer for quite sometime already and it has really helped me in my daily tasks. I am looking after multiple databases. I have no problem in moving around in most of them except one. I always encounter this ORA-600 error when I try to click on Tables from the tree on the left-hand side of the screen to list all the tables in the database. The suggested action is to "Report as a bug".
    Hope anyone can help with this.

    Nobody can help without details...
    What DB? What version? Connection details? Can you connect with other tools?
    K.

  • ORA-00904: "PURGE_OBJECT" when opening 'Functions' leaf

    When I'm connected to some databases and try to open the 'Functions' leaf (or 'Procedures', 'Indexes'... but it works fine with 'Tables') I get an ORA-00904: "PURGE_OBJECT" error. It happens also when I try 'Create FUNCTION'. This does not occur with all connected databases, but can happen even when the DB has version 10.2. I have the freshly updated sqldeveloper on Windows.
    The exception stack trace is:
    oracle.jdeveloper.cm.dt.browser.CBBaseFolder$ExceptionWrapper
         at oracle.jdeveloper.cm.dt.browser.CBBaseFolder._loadChildren(CBBaseFolder.java:288)
         at oracle.jdeveloper.cm.dt.browser.CBBaseFolder.refresh(CBBaseFolder.java:205)
         at oracle.jdevimpl.cm.dt.ConnectionController._refreshFolderCmd(ConnectionController.java:678)
         at oracle.jdevimpl.cm.dt.ConnectionController.refreshNode(ConnectionController.java:302)
         at oracle.jdevimpl.cm.dt.ConnectionController.handleEvent(ConnectionController.java:269)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:530)
         at oracle.ide.controller.IdeAction$1.run(IdeAction.java:785)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:804)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:499)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: oracle.jdeveloper.cm.CMException: ORA-00904: "PURGE_OBJECT": ungültiger Bezeichner
         at oracle.jdeveloper.cm.dt.browser.jdbc.ObjectFolder.getObjects(ObjectFolder.java:100)
         at oracle.jdeveloper.cm.dt.browser.jdbc.ObjectFolder.getChildrenList(ObjectFolder.java:147)
         at oracle.jdeveloper.cm.dt.browser.CBBaseFolder$1.doWork(CBBaseFolder.java:241)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
         at java.lang.Thread.run(Thread.java:595)
    Thanks for any help!

    I suppose your schema owner does contain a regular TABLE which is called RECYCLEBIN but does not contain a PURGE_OBJECT column
    TEST CASE
    SQL> grant dba to JOHNY identified by JOHNY;
    Grant succeeded.
    SQL> create table JOHNY.RECYCLEBIN as select * from dual;
    Table created.try to login as johny/johny in sql/developer
    than expand your VIEWS and you will get that error
    An error was encountered when performing the requested operation:
    ORA-00904: "PURGE_OBJECT" invalid identifier
    Vendor Code 904
    this is because sql/developer relies on the public synonym not on the user_recyclebin sys view
    SQL> connect johny/johny
    Connected.
    SQL> desc recyclebin
    Name                                      Null?    Type
    DUMMY                                              VARCHAR2(1)
    SQL> select * from dba_synonyms where synonym_name='RECYCLEBIN';
    OWNER                          SYNONYM_NAME
    TABLE_OWNER                    TABLE_NAME
    DB_LINK
    PUBLIC                         RECYCLEBIN
    SYS                            USER_RECYCLEBIN
    SQL> desc sys.user_recyclebin
    Name                                      Null?    Type
    OBJECT_NAME                               NOT NULL VARCHAR2(30)
    ORIGINAL_NAME                                      VARCHAR2(32)
    OPERATION                                          VARCHAR2(9)
    TYPE                                               VARCHAR2(25)
    TS_NAME                                            VARCHAR2(30)
    CREATETIME                                         VARCHAR2(19)
    DROPTIME                                           VARCHAR2(19)
    DROPSCN                                            NUMBER
    PARTITION_NAME                                     VARCHAR2(32)
    CAN_UNDROP                                         VARCHAR2(3)
    CAN_PURGE                                          VARCHAR2(3)
    RELATED                                   NOT NULL NUMBER
    BASE_OBJECT                               NOT NULL NUMBER
    PURGE_OBJECT                              NOT NULL NUMBER
    SPACE                                              NUMBERUntil this bug is fixed, I would rather chose another user to connect
    HTH
    Laurent
    Message was edited by:
    Laurent Schneider
    SQL> select KEYWORD,RESERVED from v$reserved_words where keyword='RECYCLEBIN';
    KEYWORD    R
    RECYCLEBIN Nsince RECYCLEBIN is not a reserved, it is a legal name for your table, so the bug should be fixed one day...

Maybe you are looking for

  • Upgrading Crystal Reports XI Release 2 to CR 2008: Where is ReportDocument

    I am attempting to upgrade our .NET Crystal Reports code from Crystal Reports XI Release 2 on Visual Studio 2005 SP1 to Crystal Reports 2008 on the same compiler.  We use the ReportDocument interface and I can't seem to find it in the new Crystal Rep

  • How do I transfer my data from Palm desktop to iPhone?

    How do I transfer my data from Palm desktop to iPhone? I just gave up my Treo 755p in favor of an iPhone. How do I transfer my Treo data (contacts, calendars)

  • Problem with anchored objects in file from CS4

    I opened, in CS5, a file which was done in CS4 and discovered all my anchored objects were gone! Analising the document, I understood they were there, but in a kind of mask ("Illustrator style") but in a text frame, which is odd, I think. I show here

  • Which video effects for vhs lp mode?

    a single vhs tape containing six hours of video is captured to mpg format. as you can imagine, the quality is lower than one might like. studying every video effect offered by pp4 would take me a lifetime. can you suggest a few effects i might look a

  • Itunes wont sync iphone4

    hey guys/gals basically my macbook pro OS X 10.6.6 what running out of space so i relocated my itunes into my external harddrive, and now when i try to Sync my iPhone4 (4.2.1) into itunes it will come up as my iphone but wont sync, it says this iphon