Error creating database users

Hi,
I have written a process in my application to create database uses. It's nothing complicated, all it does is
BEGIN
EXECUTE IMMEDIATE 'CREATE USER '||:P16_USERNAME||' IDENTIFIED BY '||:P16_PASSWORD;
END;
However, when I run this process I get an "ORA-01031: insufficient privileges" error. However, logging into SQL Plus as APEX_PUBLIC_USER (the user in my DADS.conf) I am able to create users with no problem.
Can anyone please tell me what I'm doing wrong and what I can do to fix it?
Thank you.
David.
PS: I am using Apex 3.1, in case that is relevant.

You'll want to undo that grant right away.
Thanks for that, Justin; I didn't know that before. However, the user in the parsing schema field also has permission to create users, so even that doesn't explain why I cannot create users in my application.It may have been granted to your application's parsing schema through a role. You need to grant it directly.
Scott

Similar Messages

  • ERROR CREATING DATABASE INSTANCE during the installation

    I try to install NW04 SP16 in my desktop. During the installation, one error occured that stop the installation process.
    I remembered last time I had the similar problem on my laptop. I reinstalled my Windows OS, and tried again, everything goes smooth.
    But now, I cannot reinstall the Windows OS in my client company.
    What seems to be the problem here?
    <i>ERROR      2006-11-03 14:38:49 [iaxxinscbk.cpp:289]
               abortInstallation
    CJS-00030  Assertion failed: in
    function sapdb_db_create(db_nm, db_host, db_ver) {
        var dep_root = sapdb_inst_root(db_nm);
        var sdb_i = new sdbInstance();
        sdb_i.dbName = db_nm;
        sdb_i.dbHost = db_host;
        sdb_i.dbVer = db_ver[0] + "." + db_ver[1];
        sdb_i.ctlUser = sapdb_get_db_user("CONTROL", db_nm, db_host);
        sdb_i.ctlUserPasswd = sapdb_get_db_user_passwd("CONTROL", db_nm, db_host);
        var actorObj = new SdbExtActor();
        actorObj.setSdbInstance(sdb_i);
        actorObj.setDbmCmd("DB_CREATE");
        actorObj.setExecutable(sapdb_dbmcli_path());
        actorObj.setDbRoot(dep_root);
        var rv = actorObj.sessionExecute();
        ASSERT(arguments.callee, rv == "OK", " SDB: ERROR CREATING DATABASE INSTANCE! Check the XCMDOUT.LOG FILE");
        var creation_ok = false;
        var i_size = actorObj.outSize();
        for (var i = 0; i < i_size; i++) {
            var s_line = actorObj.getOutputLine(i);
            if (/OK/.test(s_line)) {
                creation_ok = true;
        ASSERT(arguments.callee, creation_ok, "SDB: ERROR WHILE DB INSTANCE CREATION! CHECK THE XCMDOUT.LOG FILE! ");
    SDB: ERROR CREATING DATABASE INSTANCE! Check the XCMDOUT.LOG FILE</i>
    Thanks for advise.
    Kent

    Hi, I have exactly the same problem. How do you solved this issue?

  • Error while creating database user with first.lastname pattern

    I am trying to user the database user management connector to create oracle database user, but when i use first.lastname pattern as the database username i got an ora-01936
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],oracle.iam.connectors.dbum.common.db.util.DBUtil : executeQuery
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],Error occurred while trying to execute query.
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],Description : ORA-01936: cannot specify owner when creating users or roles
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],java.sql.SQLSyntaxErrorException: ORA-01936: cannot specify owner when creating users or roles
    i figured out that when i use fist.lastname as database username i have to add double quotes, so i can create de user properly , but now the add role or grant task fails with ora-01741.
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],================= Start Stack Trace =======================
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],oracle.iam.connectors.dbum.common.db.util.DBUtil : executeQuery
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],Error occurred while trying to execute query.
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],Description : ORA-01741: illegal zero-length identifier
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],java.sql.SQLSyntaxErrorException: ORA-01741: illegal zero-length identifier

    Did u try adding the roles via sqlplus by running a command ?
    Whats the result
    Thanks
    Suren

  • Error creating SAPJSF user

    Hello:
    I am installing ECC 6.0 SR3 (with Red Hat Enterprise Linux Server release 5.1 and Oracle 10 and my java version is: java full version "J2RE 1.4.2 IBM build cxia32142-20070708 (SR9)"). The problem is this: In the phase "Create Java Users" I get the next error:
    ERROR 2008-06-19 17:56:27.766
    FCO-00011  The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instan
    ce|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|3|0|createJSF was executed with status ERROR ( Last error r
    eported by the step :).
    INFO 2008-06-19 17:58:30.279
    An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|in
    d|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|3|0|createJSF".
    INFO 2008-06-19 17:58:34.281
    Removing file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/UserCheck.jlaunch.
    INFO 2008-06-19 17:58:34.284
    Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/UserCheck.jlaunch.
    INFO 2008-06-19 17:58:34.306
    Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/UserCheck.log.
    INFO 2008-06-19 17:58:34.679
    Output of /usr/sap/IBD/DVEBMGS00/exe/jlaunch UserCheck.jlaunch com.sap.security.tools.UserCheck /tmp/sapinst_instdir/ERP/SYSTE
    M/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib:/tmp/sapinst_instdir/ERP/SYSTEM/
    ORA/CENTRAL/AS/install -c sysnr=00 -c ashost=tejat -c client=001 -c user=DDIC -c XXXXXX -a checkCreate -u SAPJSF -p XXXXXX -r
    SAP_BC_JSF_COMMUNICATION_RO -user_type system -message_file UserCheck.message is written to the logfile /tmp/sapinst_instdir/E
    RP/SYSTEM/ORA/CENTRAL/AS/UserCheck.log.
    WARNING 2008-06-19 17:58:36.838
    Execution of the command "/usr/sap/IBD/DVEBMGS00/exe/jlaunch UserCheck.jlaunch com.sap.security.tools.UserCheck /tmp/sapinst_i
    nstdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib:/tmp/sapinst_ins
    tdir/ERP/SYSTEM/ORA/CENTRAL/AS/install -c sysnr=00 -c ashost=tejat -c client=001 -c user=DDIC -c XXXXXX -a checkCreate -u SAPJ
    SF -p XXXXXX -r SAP_BC_JSF_COMMUNICATION_RO -user_type system -message_file UserCheck.message" finished with return code 2. Ou
    tput:
    java.lang.ClassNotFoundException: com.sap.security.tools.UserCheck
            at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:79)
    Thanks,
    Felipe

    Hello to all:
    maheshwer: I had already applied note 1108852 but it didn't fix the problem.
    Seshu: Finally I did you said: I modified the keydb.xml file to skip the setp "Create Java Users" after I created manually the java users. Then the installation continued but I got next error:
    INFO       2008-06-24 18:04:47.068
               CJSlibModule::writeInfo_impl()
    Output of /usr/lib/jvm/java-1.4.2-ibm-1.4.2.9.x86_64/bin/java -classpath /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/instal
    l/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.tools.UMConfiguratorLoad /usr/sap/I
    BD/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/IBD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/IBD/SYS/global
    /security/lib/tools/iaik_smime.jar:/usr/sap/IBD/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/IBD/SYS/global/security/li
    b/tools/w3c_http.jar:/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS
    /install/sharedlib:/oracle/client/10x_64/instantclient/ojdbc14.jar -u ADMIN_USR=J2EE_ADMIN -u XXXXXX -u ADMIN_GRP=SAP_J2EE_ADM
    IN -u GUEST_USR=J2EE_GUEST -u GUEST_GRP=SAP_J2EE_GUEST -u ALL_GRP=Everyone -c CLIENT=001 -c COM_USR=SAPJSF -c XXXXXX -c ASHOST
    =localhost -c SYSNR=$$ -a setup -p abap -f /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/umconfig.properties is written to th
    e logfile umconfigurator.log.
    TRACE      2008-06-24 18:04:47.991
    2008-06-24 18:04:47.990 FSPath(/usr/lib/jvm/java-1.4.2-ibm-1.4.2.9.x86_64/bin/java) done
    WARNING    2008-06-24 18:04:47.996
               CJSlibModule::writeWarning_impl()
    Execution of the command "/usr/lib/jvm/java-1.4.2-ibm-1.4.2.9.x86_64/bin/java -classpath /tmp/sapinst_instdir/ERP/SYSTEM/ORA/C
    ENTRAL/AS/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.tools.UMConfigurato
    rLoad /usr/sap/IBD/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/IBD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sa
    p/IBD/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/IBD/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/IBD/SYS/gl
    obal/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/ERP/SYSTE
    M/ORA/CENTRAL/AS/install/sharedlib:/oracle/client/10x_64/instantclient/ojdbc14.jar -u ADMIN_USR=J2EE_ADMIN -u XXXXXX -u ADMIN_
    GRP=SAP_J2EE_ADMIN -u GUEST_USR=J2EE_GUEST -u GUEST_GRP=SAP_J2EE_GUEST -u ALL_GRP=Everyone -c CLIENT=001 -c COM_USR=SAPJSF -c
    XXXXXX -c ASHOST=localhost -c SYSNR=$$ -a setup -p abap -f /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/umconfig.properties"
    finished with return code 2. Output:
    java.lang.ClassNotFoundException: com.sap.security.tools.UMConfiguratorLoad
            at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:79)
    TRACE      2008-06-24 18:04:47.999
    2008-06-24 18:04:47.998 FSPath(/usr/lib/jvm/java-1.4.2-ibm-1.4.2.9.x86_64/bin/java) done
    TRACE      2008-06-24 18:04:47.999
    2008-06-24 18:04:47.997 ChildApplication(/usr/lib/jvm/java-1.4.2-ibm-1.4.2.9.x86_64/bin/java).run(): 2. done.
    TRACE      2008-06-24 18:04:48.000
    2008-06-24 18:04:47.999 Java.run() done: 2
    TRACE      2008-06-24 18:04:48.005
    NWException thrown: nw.configError:
    Java EE Engine configuration error. DIAGNOSIS: See output of logfile umconfigurator.log: '
    java.lang.ClassNotFoundException: com.sap.security.tools.UMConfiguratorLoad
            at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:79) '.
    TRACE      2008-06-24 18:04:48.005
    Function setMessageIdOfExceptionMessage: nw.configError
    ERROR      2008-06-24 18:04:48.006
               CJSlibModule::writeError_impl()
    CJS-30059  Java EE Engine configuration error. DIAGNOSIS: See output of logfile umconfigurator.log: '
    java.lang.ClassNotFoundException: com.sap.security.tools.UMConfiguratorLoad
            at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:79) '.
    TRACE      2008-06-24 18:04:48.7 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    TRACE      2008-06-24 18:04:48.054 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 9234
    TRACE      2008-06-24 18:04:48.772 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 9235
    ERROR      2008-06-24 18:04:50.665 [sixxcstepexecute.cpp:951]
    FCO-00011  The step runUMConfigurator with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_C
    I_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_UME_Configuration|ind|ind|ind|ind|1|0|NW_
    UME_Configuration_Doublestack|ind|ind|ind|ind|1|0|runUMConfigurator was executed with status ERROR ( Last error reported by th
    e step :Java EE Engine configuration error. DIAGNOSIS: See output of logfile umconfigurator.log: '
    java.lang.ClassNotFoundException: com.sap.security.tools.UMConfiguratorLoad
            at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:79) '.).
    TRACE      2008-06-24 18:04:50.703 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP ERP 6.0 Support Release 3 > SAP Systems > Orac
    le > Central System > Central System( Last error reported by the step :Java EE Engine configuration error. DIAGNOSIS: See outp
    ut of logfile umconfigurator.log: '
    java.lang.ClassNotFoundException: com.sap.security.tools.UMConfiguratorLoad
            at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)
            at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:79) '.). You may now </p> <ul> <li> choose <i>Re
    try</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop
    the task and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.
    </p> </body></html>
    TRACE      2008-06-24 18:04:50.703 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI

  • Is it possible to audit newly created database user in trigger?

    All,I have statement audit on for a list of database users(not all users).
    i.e
    audit update table, insert table, delete table by user1, user2, user3, ...
    Now when a new database user is created, how can I add audit statement on that new user automatically? I was thinking about using database level trigger, however, I havnt found any apporiate event type to accormadate this. Any other better solution?
    Thanks
    Jianhui

    I have figured it out by myself. Thanks.
    CREATE OR REPLACE TRIGGER audit_stmt_new_user_trg
    AFTER
    CREATE
    ON DATABASE
    WHEN (ora_dict_obj_type='USER'
    )

  • Error creating CSMREG user

    while creating user CSMREG for CCMS monitoring,
    using transaction RZ21>Technical Infratructure>Configure central system-->create user CSMREG
    gives error:
    Central system not reached
    pls help

    Hi,
    The errors indicates when creating the user that first it needs to generate the profile for the role SAP_BC_CSMREG in transaction PFCG.
    Also verify that the correct password is used while creating CSMREG User.
    In RZ21--> Technical Infrastructure -->Configure Central System --> Create CSMREG User
    You need also provide the password.
    Thanks
    Swarup

  • Error Creating New User Accounts when Setting Terminal Services Attribute

    We have just started receiving this error when new users are being created in our domain as part of the new hire process. Does anywhere have any pointers on where to look and what to look for?
    ErrorError
    com.waveset.util.WavesetException: WTSQueryUserConfig() failed - Attribute: 'Terminal Services Home Directory Drive' Error: The specified user does not exist.
    Is this something that would indicate that AD isn't replicating across multiple domain servers yet, and thus when it tries to set this attibute this command isn't finding the account? If that is the case is there a way to have a retry put in?

    May I ask what version of IDM you're running?
    There's a known bug that relates to this functionality. A quick review shows it's a pretty close match (not 100%) to what you described.
    Bug 20728: Setting AD 'Terminal Services Local Home Directory' to null in IdM results in WTSSetUserConfig error
    It's fixed in 8.1.0.3(or later), 8.0.0.10(or later), or 7.1.1.14(or later).
    For the record, the latest IDM patches can be obtained here with valid credentials:
    http://sunsolve.sun.com/show.do?target=patches/zp-Software_Network-Internet_Identity_Manager
    Regards,
    Alex

  • Error Creating Database link

    Hello Everybody,
    I am getting the following error while creating the database link using the connection information at OWB Client.
    Testing...
    Failed.
    ORA-12514 TNS: no listener
    *Cause:   The connection request could not be completed because the listener is not running
    *Action:   Ensure that the supplied destination address matches one of the addressed used by the listener
    -compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file
    Start the listener on the remote machine.
    The version of OWB Client is 10.1.0.2.0.
    When queried at oracle using the userid which i used to login OWB Client i.e. as shown below
    select db_link from all_db_links - the database link is created. But none of the obects are accessable with the db link.
    Note: I am able to create a database link explicity by issuing the command at backend oracle i.e create database link etc. and also able to access the tables.
    Kindly help.
    Thanks
    Prashanth

    Prashanth
    my guess is that you can create the database link, which simply points to the remote instance. however, the problem is on the remote instance.
    As the error message suggest, make sure that the listener is up and running on the remote machine. The link can be created, but if there is no listener on the other side, you will not get any response.

  • Error creating database w/ JServer included

    Hi, i need help creating database that include JServer.
    i use database config wizard, create new database with JServer included, go straight with its default resource setting, then let the wizard do its work. but when it comes reach to JServer installation, it stops with error like "end of file communication channel", or "error occurred at recursive SQL level 1".
    when i try to use another way, through batch file with same configuration, installation stop with this following errors :
    ORA-29541: class SYS.oracle/aurora/rdbms/security/PolicyTableManager could not be resolved
    ORA-29541: class SYS.oracle/aurora/rdbms/security/PolicyTableManager could not be resolved
    Statement processed.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [kcoapl_blkchk], [1], [10314], [6401]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [kcoapl_blkchk], [1], [8542], [6110],
    currently my db system consist of
    s/w:
    - win2000 advance server
    - oracle 8.1.7
    h/w:
    pentium 3 800 Mhz
    about 750 MB of memory
    so, can anybody help me here please?
    null

    Done and Done - I am still getting an end-of-file communications error even when I just log into the svrmgrl and issue a 'create or replace java system'. This happens about 30 minutes after I issue the command (p133 w/196mb RAM) - I have disk and cpu activity up until this point.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jesus (John) Salvo Jr. ([email protected]):
    1) Try inceasing the size and adding more redo log groups.
    2) Try also increasing the size of your rollback segments<HR></BLOCKQUOTE>
    null

  • SQLAzure: Creating Database User from Dacpac

    Is it possible to create custom Database users with post deployment steps, and get it deployed as part of Dacpac ?

    Hi,
    It seems that the SqlPackage.exe Import action does not have any parameters that you want use to specify the database version or MAXSIZE of target server.
    You can refer to the following article about Import Parameters and Properties of SqlPackage,exe:
    http://msdn.microsoft.com/en-us/library/hh550080(v=vs.103).aspx
    Ref:
    https://social.msdn.microsoft.com/Forums/en-US/e5fef831-7f52-4626-8923-0aa493efc2a8/sqlserver-2012-partially-contained-database-user-created-by-dacpac-cannot-login?forum=ssdt
    Hope this helps you.
    Girish Prajwal

  • Error creating database 11g R2, Windows 7

    Hello!
    Sorry, Im newbie in Oracle theme. After installing Oracle 11g R2 and creating Listener, I run Database Configuration Assisistant. On the stage of compliting database creation I got such an error:
    Enterprice manager configuration failed due to the following error:
    Error uploading configuration data to the repository.
    Here is a part of logfile:
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Finished executing emreposoutofbox.sql
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database orcl : Trifonov
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: Trifonov
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: F:\app\Trifonov\product\11.2.0\dbhome_1, and user: SYSMAN
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Submitting dbms job: F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\emdrep\sql\core\latest\admin\admin_submit_dbms_jobs.sql
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Successfully submitted dbms job
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: connectDesc : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local)))
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database orcl : Trifonov
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: Trifonov
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: F:\app\Trifonov\product\11.2.0\dbhome_1, and user: SYSMAN
    06.11.2012 13:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: Passed listener validation check.Listener is up and running.
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocking mgmt view user account
    06.11.2012 13:31:26 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    06.11.2012 13:31:26 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    06.11.2012 13:31:26 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: CMD /C F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.bat "F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts;F:\app\Trifonov\product\11.2.0\dbhome_1\bin;" F:/app/Trifonov/product/11.2.0/dbhome_1/perl/bin\perl.exe F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.pl F:\app\Trifonov\product\11.2.0\dbhome_1 "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local)))" SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; orcl 1 SYSMAN_PWD
    06.11.2012 13:31:28 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    06.11.2012 13:31:28 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of CMD /C F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.bat "F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts;F:\app\Trifonov\product\11.2.0\dbhome_1\bin;" F:/app/Trifonov/product/11.2.0/dbhome_1/perl/bin\perl.exe F:\app\Trifonov\product\11.2.0\dbhome_1\sysman\admin\scripts\emca\emcaDbUtil.pl F:\app\Trifonov\product\11.2.0\dbhome_1 "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local)))" SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; orcl 1 SYSMAN_PWD completed successfully
    06.11.2012 13:31:28 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed F:\app\Trifonov\product\11.2.0\dbhome_1 (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local))) SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; orcl 1 SYSMAN_PWD
    Connecting to database using connect string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Trifonov)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.trifonov.local))) in home F:\app\Trifonov\product\11.2.0\dbhome_1 with user "SYS" role "SYSDBA".
    connected to database.
    sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    noOfParams to bind: 1.
    sql execute successfully.
    06.11.2012 13:31:28 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocked mgmt_view account
    06.11.2012 13:31:28 oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked mgmt_view account
    06.11.2012 13:31:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    06.11.2012 13:31:28 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    06.11.2012 13:31:30 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    CONFIG: Error uploading configuration data to the repository
    oracle.sysman.emdrep.config.ConfigurationException: FATAL Configuration Exceptions
         at oracle.sysman.emdrep.config.EMSchemaConfiguration.perform(EMSchemaConfiguration.java:232)
         at oracle.sysman.emcp.EMReposConfig.uploadConfigDataToRepository(EMReposConfig.java:699)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:385)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
         at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
         at java.lang.Thread.run(Thread.java:595)
    06.11.2012 13:31:30 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at F:\app\Trifonov\cfgtoollogs\emca\orcl\emca_repos_config_<date>.log for more details.
    06.11.2012 13:31:30 oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error uploading configuration data to the repository
    06.11.2012 13:31:30 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error uploading configuration data to the repository
    Refer to the log file at F:\app\Trifonov\cfgtoollogs\dbca\orcl\emConfig.log for more details.
    06.11.2012 13:31:30 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error uploading configuration data to the repository
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:397)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
         at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
         at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
         at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
         at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
         at java.lang.Thread.run(Thread.java:595)
    06.11.2012 13:31:30 oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to F:\app\Trifonov\product\11.2.0\dbhome_1\oui
    Thanks in advance for any help you can provide!

    Hi
    at oracle.sysman.emdrep.config.EMSchemaConfiguration.perform(EMSchemaConfiguration.java:232)
    at oracle.sysman.emcp.EMReposConfig.uploadConfigDataToRepository(EMReposConfig.java:699)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:385)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)pelase review:
    "Error Uploading Configuration Data To The Repository" when configuring dbconsole [ID 1233913.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Error creating a user defined report in the grid control

    I am trying to create a simple User Defined report in the Grid OEM
    Under the 'Elements' tab I have a 'Type' - 'Database Table from SQL'
    And I have this 'Statement' - SELECT * FROM SYS.DBA_USERS
    When I Click the 'Preview' button I get this error.
    Error rendering element. Exception: ORA-00942: table or view does not exist
    I'm logged on as SYSTEM.
    Isn't the SYS.DBA_USERS table accessible by SYSTEM?
    Any advice on what I'm doing wrong/
    Edited by: bfee_sdc on Oct 19, 2010 9:12 AM

    What are the tricks?
    It has to be some what supported since I found this somewhere in an Oracle note...
    How to create custom reports on tables other than mgmt* views.
    To create reports on other tables, grant permissions to MGMT_VIEW user as MGMT_VIEW is responsible for creating reports in grid control
    SQL> GRANT SELECT on SYSMAN.<table_name> to MGMT_VIEW;
    And then create the reports in the reporting framework referencing SYSMAN.<table_name> in the query.
    I tried GRANT SELECT on SYS.DBA_USERS to MGNT_VIEW but this did not work.

  • Error creating new user in Weblogic console using RDBMSAuthentication

    Hi,
    I have tried to configure RDBMSAuthenticator in Weblogic 8. I created related tables in the schema i.e. user_security, etc. But its still not working with my WebApp.
    Can someone please help me to configure my application with this Oracle DBMS authentication provider to login to this application...?
    1. When I am trying to use these userid/password to login to my application its not able to login getting error as:
    ####<Nov 21, 2009 11:27:52 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Provider: getLoginModuleConfiguration()>
    ####<Nov 21, 2009 11:27:53 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Authentication Failed: User "null" denied>
    ####<Nov 21, 2009 11:27:53 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Authentication Failed: User "null">
    I am trying to use this DBMS Authentication mechanism in my WebApp i.e. in web.xml I configured the <security-constraint> <login-config> and <security-role> i.e.
    <security-constraint>
    <display-name>ABCD web security</display-name>
    <web-resource-collection>
    <web-resource-name>portal file</web-resource-name>
    <description>Protects the ABCD enterpise portal web resources</description>
    <url-pattern>/*</url-pattern>
    <url-pattern>/index.jsp</url-pattern>
    <url-pattern>/*.do</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <description>ABCD Users</description>
    <role-name>abcduser</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>pages/login.jsp</form-login-page>
    <form-error-page>pages/error.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <description>ABCD User</description>
    <role-name>abcduser</role-name>
    </security-role>
    Also I have made necessary change in Weblogic.xml
    I can see the users in this table in my Weblogic console. But I cannot modify them I cant delete any user from Weblogic console, neither can i assign any gropu to them getting error as below while doing this...
    1. When trying to delete any uset getting error as:
    ####<Nov 21, 2009 11:41:50 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <List of currently-available cursors: {RDBMSNameCursor201305690=[email protected]32b09}>
    ####<Nov 21, 2009 11:41:50 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <delegate.close("RDBMSNameCursor201305690")>
    ####<Nov 21, 2009 11:41:56 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Removing user becuser1234>
    ####<Nov 21, 2009 11:41:57 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Caught SQLException from delegate, removing from pool and retrying
    java.sql.SQLException: Fail to convert to internal representation
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.CharCommonAccessor.getLong(CharCommonAccessor.java:239)
         at oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.java:514)
         at com.bea.p13n.security.providers.authentication.RDBMSAtnDelegate.removeUser(RDBMSAtnDelegate.java:474)
         at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl$2.run(RDBMSAuthenticatorImpl.java:414)
         at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.retry(RDBMSAuthenticatorImpl.java:982)
         at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.removeUser(RDBMSAuthenticatorImpl.java:404)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1304)
         at weblogic.management.commo.CommoModelMBean.invoke(CommoModelMBean.java:640)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
         at weblogic.management.console.utils.Security.deleteUser(Security.java:1564)
         at weblogic.management.console.actions.security.DoDeleteUserAction.perform(DoDeleteUserAction.java:153)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:182)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:86)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    >
    ####<Nov 21, 2009 11:42:00 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Caught SQLException from delegate, removing from pool and retrying
    java.sql.SQLException: Fail to convert to internal representation
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.CharCommonAccessor.getLong(CharCommonAccessor.java:239)
         at oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.java:514)
         at com.bea.p13n.security.providers.authentication.RDBMSAtnDelegate.removeUser(RDBMSAtnDelegate.java:474)
         at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl$2.run(RDBMSAuthenticatorImpl.java:414)
         at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.retry(RDBMSAuthenticatorImpl.java:982)
         at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.removeUser(RDBMSAuthenticatorImpl.java:404)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1304)
         at weblogic.management.commo.CommoModelMBean.invoke(CommoModelMBean.java:640)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
         at weblogic.management.console.utils.Security.deleteUser(Security.java:1564)
         at weblogic.management.console.actions.security.DoDeleteUserAction.perform(DoDeleteUserAction.java:153)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:182)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:86)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Edited by: user12209056 on Nov 20, 2009 10:38 PM

    I could resolve the issue...The main points that needed to be done were
    1. Keep the 'DefaultAuthentication' to 'Optional/SUFFICIENT' from 'Required'.
    2. Create a 'Sequencer' table, if your jar is using it.

  • Error creating database

    Hi friends,
    I was creating a database (8.1.7) with the Database Configuration Assistant (Windows XP) and it generated an error in step 2 (creation of DB). The error:
    ORA-12560: TNS error in protocol adapter
    I tried to save in a script the creation process and execute step by step. It fails in:
    CONNECT INTERNAL/oracle.
    Any ideas?
    (I created successfully the ORALCE_HOME and ORACLE_SID variables in windows)
    Thanks
    Jose.

    Dear Jose,
    You may have NON-ALPHANUMERIC CHARACTER (dash, underscore, etc...) on your SID.
    Regards,
    Reza

  • Error Creating Database on Oracle 10g Release 2

    I'm having a problem creating a second database on 10g release 2 on Windows server 2003.
    I have created an initialization parameter file on %Oracle_Home%\database\initDB2.ora
    However, whenever I try to run sql command to create a database with the same name as the db_name parameter in the initialization parameter, it gives an error database name 'DB2' does nto matchthe parameter db_name = dbase
    dbase is the first database that was created automatically when I installed Oracle.
    Any solutions? Why is the server not using the parameter file I have created? Why does it seem to use the initialization parameter file that belongs to the first database?
    Cheers

    'startup nomount' with 'pfile=...initDB2.ora' clause? In this case Oracle chooses a server parameter file (spfile) by default and I still assume ORACLE_SID is set to your first database. So automatically spfile from the first database is used. You should try:
    set ORACLE_SID=DB2
    (now in sqlplus) startup nomount pfile=%ORACLE_HOME$\database\initDB2.ora
    Werner

Maybe you are looking for

  • Daqmx "Done" event not triggering event structure

    I would like the user to be able to abort my daqmx task by pressing a button. I am attempting to use the method in this VI: https://decibel.ni.com/content/docs/DOC-15815 It utilizes an event structure with the daqmx Control Task VI to abort. The exam

  • Error when inserting or changing in a sorted table

    Hi Experts, When i am executing a webdynpro application it says Error when inserting or changing in a sorted table. Can any one help for this. The termination type was: RABAX_STATE The ABAP call stack was: Method: GET_CATEGORY_LIST of program /1BCWDY

  • Back up contacts from ipad to icloud

    how do you back up contacts FROM the ipad INTO icloud?  i did a sync and a backup to icloud and im still missing some in the cloud

  • Re-adding music to iTunes yields surprisingly frustrating results

    Hi I recently bought an iPod touch, and subsequently downloaded iTunes 7.7 for Windows Vista. Upon plugging my new iPod in, a good chunk of my album art collection was erased mysteriously. I tried to see if re-adding the files would work, so I remove

  • Value based authorization

    Hi Experts, I would like to know how does SAP authorize that the user can update/edit/view the particular business document (example: sales order, purchase requisition) depends on field value. example1: user A is not suppose to view purchase requisit