[XSQL] shall one implement XSQLPageRequest to handle ORA-01017 ?

Dear Sirs,
I have implemented an XSQLConnectionManager so that users must use their oracle username/password for the connection string. I've got it to work fine in Tomcat4.1.
However, if a customer types a wrong username/password, then the XSQLErrorWriter is activated and it returns an unpleasant error message to the customer.
XSQL-007: Cannot acquire a database connection to process page.
ORA-01017: invalid username/password; logon denied
Intead, I need to return a nice page back to the customer asking to check the username/password combination since those that were provided did not work out.
Res.getString(7) is returned only in the specific case that XSQLPageRequest.setConnectionName("somename") fails.
Does it mean tha tI have to implement my own XSQLPageRequest ?

Hi there,
I have been running onto a problem to get XSQL going on tomcat 4. Unfortunately, I haven't been successful so far.
I saw that you got it working. Can you please post what you in server.xml (for the context) and web.xml .
Did you do anything else other setting the CLASSPATH to what has been suggested.
Things work fine when I try the command line.
I will appreciate your help.
Sincerely
Sadi

Similar Messages

  • Does any one implemented solution for httpservlet request/response object in IWSDLInterceptor implemented class?

    I am trying to handle Producer not available situation in which I am using Interceptor IWSDLInterceptor in WLP 10.3.4. I am able to retrieve exception using onWSDLException but from here if I have to forward my pageURL object I need httpservlet request and response. I tried my own filter class to have its own customize request and also tried it out all other Interceptor to see if any one can handle IOException. I did manage to throw my own Customize exception but  that also did not work out as Page does not have any backing file or any supportive Controller class.
    Does any one implemented solution for httpservlet request/response object in IWSDLInterceptor implemented class? or do we have any specific documentation in regards to this? As I am not able to find much martial on IWSDLInterceptor except Java API from Oracle and article defining Two way SSL handshake Producer.
    Any kind of help is appreciated.
    Thanks
    PT

    Thanks Emmanuel for your response but render behavior is not available for IWSDLRequestContext/IWDSLResponseContext object which IWSDLInterceptor uses for implementation.
    Let me put my question in little simpler manner. May be my approach to the problem is not proper.
    Problem : Handle Producer Not available (no application exists on server) on consumer side.
    So far tried approach : Producer is not running then I am able to handle that TransportException at IInitCookieInterceptor/IHandleEventInterceptor onFault behaviour but in the case of Producer not even exists Consumer try to get WSDL fetch operation and failed with FileNotFoundException.
    To handle this exception, I used IWSDLInterceptor which is available under IWSDLInterceptor.OnWSDLException (Oracle Fusion Middleware Java API for Oracle WebLogic Portal)
    I am able to catch the exception but problem arise when application needs to forward at specific page/render portlet for this situation. For that it required request/response object but IWSDLInterceptor does not give any kind of instances to redirect request as there is no direct access to HTTPServlet request/response object.
    I tried my custom request object to use there. I tried out custom filter object of IWSDLrequestContext. nothing works.
    One approach works is to put producer WSDL file at consumer level. But in that, you need to handle different producer files for different environment. Which I don't think its a good approach.
    eAny one Let me know if my approach to the problem/scenario is wrong. Or if I am missing out any other supporting interface which also required to handle this scenario. or I am using wrong interface for this scenario.
    Thanks for your help in advance.
    PT.

  • Implement custom fault handling in bpel

    Hi,
    Can you please provide some link on how to implement custom fault handling in bpel
    Thanks,
    kpr

    See the article below for details on implementing custom fault handling.
    http://beatechnologies.wordpress.com/2011/07/18/fault-handling-in-oracle-soa-suite-advanced-concepts/

  • Trace "Unable to initialize OCI 8 environment handle ORA-01821"?

    Hi
    When I execute an oci program, I receive the following error:
    "Unable to initialize OCI 8 environment handle ORA-01821: date format not recognized"
    The program is OneWorld Xe, a black box for my purposes, meaning that I cannot see the source code.
    Can I somehow see what is happening with this? I would like to see what date format is entered, etc.
    env:
    aix 5.2, db 9.2
    Thanks in advance
    Thomas

    Without the source code being available its not possible to say what may be happening. The error has nothing to do with environment handle creation or initialization because environment initialization does not take any date parameter or anything similar. Is there a set up where you were able to run the application successfully and it started failing later on or did it never work for you ?

  • Sap business one implementation proposal template

    does anyone have sap business one implementation proposal template????

    Have yuou checked the partner portal? You should be able to find appropriate documents there?

  • ORA-01017: invalid username/password; logon denied error...Help Please!!!

    when I log into either a Unix server or a windows server, I use the same account GILLR, and as such I created an account in the DB as OPS$GILLR and issued the follwing command:
    CREATE USER OPS$GILLR IDENTIFIED EXTERNALLY DEFAULT
    GRANT CREATE SESSION TO "GILLR"
    then when I run:
    GILLR@csc08> sqlplus /
    SQL*Plus: Release 9.2.0.4.0 - Production on Wed Aug 3 08:19:52 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Enter user-name:
    Now I followed steps that were provided to me from the ASKTOM site and I even found some solutions to this error, but nothing worked. Does anyone know why I can not use OS_AUTH on any of the servers here?

    WOW!!!!! Adding in the DOMAIN into the OPS$DOMAIN\USER worked....Thanks for your help. Now I have one other question. You stated "ypur client computer and Oracle server computer should be in the same domain" What is I have users in Domain X and some users in Domain Y. When they hit some website, they have the option to select the Domain and enter their credentials. If the user has the ability to select the domain then does it really matter if the client machine is on the same domain as the DB server. I mean, the user maybe from Domain X but the DB server might be on Domain Z. The client machine and web server might be both Windows server, but when the webb app makes a call to the DB using proxxy connection, the proxxy account will take the user OPS$DOMAIN'X'\USER and make a call to the DB. How can I handle this problem?

  • ORA-01017 encountered while executing shell scripts

    Hi,
    While executing backup scripts for one of my databases, the script contains a login section which fails as shown below
    Script login section:
    sqlplus / << END > /tmp/$PROGRAM.tmp
    Error generatedf in logfile:
    SQL*Plus: Release 11.2.0.3.0 Production on Wed Apr 10 11:32:06 2013
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Couple of points to be noted:
    1) There are two other databases in the same server and they don't have any issue
    2) I am able to login into this database as "/"
    3) I am able to connect to the same databases as sysdba from another server
    4) The script runs successfully when I modify it as: sqlplus / as sysdba << END > /tmp/$PROGRAM.tmp

    if you connect sqlplus as
    $ sqlplus /You're not identifying that's why you got ORA-01017
    instead if you connect as "sqlplus / as sysdba" , check:
    sqlplus / as sysdba--how it works
    ===========================================
    please mark your threads as answered when you got the correct answer:
          866746     
    Handle:      866746 
    Status Level:      Newbie
    Registered:      Jun 18, 2011
    Total Posts:      3
    Total Questions:      3 (3 unresolved)Edited by: Fran on 12-abr-2013 3:47

  • OWF_MGR ORA-01017

    Background
    We are in the processing of upgrading the Oracle database and the Oracle Warehouse Builder.
    The current platform is Oracle 10.2.0.2 on RH 32-bit 2-node RAC at SITE1.
    With the upgrade we are moving the platform to new hardware Oracle 11.2.0.3 on SLES 11 64-bit Standalone (ie no RAC) in SITE2.
    As a staging point we have created a standby database of the current platform in SIT@.
    This is Oracle 10.2.0.2 on SLES 11 64-bit Standalone.
    We have taken a clone of this standby environment to do some baseline testing.
    Testing
    The Environment is a split configuration as follows:
    RDBMS Version: 10.2.0.2.0 (64-bit)
    OWB Repository: 10.2.0.2.0
    Workflow Version: 2.6.4
    OWB Repository User: owb_des@oradev02vir:1521:repprod
    OWB Runtime User: owb_run@ptpdcodbp03:1521:wareprod
    NOTE: The /etc/hosts file has been modified so that all of the old RAC node hostnames point locally to the new hostname PTPDCODBP03
    172.24.4.21 oraprod04 oraprod04
    172.24.4.21 oraprod05 oraprod05
    172.24.4.21 oraprod04vir oraprod04vir
    172.24.4.21 oraprod05vir oraprod05vir
    172.24.4.21 oraprod04priv oraprod04priv
    172.24.4.21 oraprod05priv oraprod05priv
    172.24.4.21 PTPDCODBP03 PTPDCODBP03
    To Test... we are running a process flow called SAS_PF against the Runtime User:
    sqlplus owb_run/<password> @sqlplus_exec_template.sql OWB_RUN LOC_OWF PROCESSFLOW SAS_PF "," ","
    This fails with
    Session altered.
    Role set.
    Stage 1: Decoding Parameters
    | location_name=LOC_OWF
    | task_type=PROCESSFLOW
    | task_name=SAS_PF
    Stage 2: Opening Task
    | l_audit_execution_id=7789824
    Stage 3: Overriding Parameters
    Stage 4: Executing Task
    | l_audit_result=3 (FAILURE)
    Stage 5: Closing Task
    Stage 6: Processing Result
    | exit=3
    PL/SQL procedure successfully completed.
    Additional information in the owb log is:
    *2012/05/09-13:19:36-NZST [1DE256F] oracle.wh.runtime.platform.operator.owf_process.OWAFatalRuntimeException: RPE-02018: Oracle Workflow schema OWF_MGR on host ORAPROD04VIR cannot be accessed using service WAREPROD through port 1521. Please check the location details and try again.*
    - ORA-01017: invalid username/password; logon denied
    Troubleshooting
    Work though
    http://docs.oracle.com/cd/B28359_01/owb.111/b31280/diagnose_06.htm
    all ok
    SQLNet Connectivity
    The following connections work successfully and both point to the SAME database:
    sqlplus owf_mgr@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=PTPDCODBP03)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=WAREPROD)))'
    sqlplus owf_mgr@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ORAPROD04VIR)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=WAREPROD)))'
    OWB Repository Password
    The repository password was reset successfully
    @stop_service
    @set_repository_password
    @start_service
    OWB Security
    Followed note: Process Flow Execution Fails With RPE-02018 And ORA-01017 [ID 779557.1]
    We have logged into the Control Center as
    OWF_MGR@ptpdcodbp03:1521:wareprod
    And ticked
    Persist location password in metadata
    Share location password during run time
    We have also reinstalled Workflow Manager and re-run the Oracle Workflow Configuration Assistant successfully (then repopulated it with data from the production install).
    WE HAVE NOT REDEPLOYED THE FLOW as the customer is against this.
    Data Source Files
    Have updated the passwords in the data-sources.xml files under
    /u01/app/oracle/product/db/10.2/oc4j/j2ee/OC4J_Workflow_Component_Container/application-deployments/WFALSNRSVCApp
    /u01/app/oracle/product/db/10.2/oc4j/j2ee/OC4J_Workflow_Component_Container/application-deployments/WFMLRSVCApp
    Invalid Objects
    There is one java class under the owb_run schema which won't compile.. and is valid in production:
    OWB_RUN@wareprod SQL>alter java class "/ffa042cb_SubkeyResourceBundle" resolve;
    Java altered.
    OWB_RUN@wareprod SQL>select * from user_errors;
    NAME TYPE SEQUENCE LINE POSITION
    TEXT
    ATTRIBUTE MESSAGE_NUMBER
    /ffa042cb_SubkeyResourceBundle JAVA CLASS 1 0 0
    ORA-29552: verification warning: java.lang.VerifyError: (class: oracle/bali/rts/
    SubkeyResourceBundle, method: getRTSBundle signature: (Ljava/lang/String;Ljava/util/Locale;)Loracle/bali/rts/SubkeyResourceBundle;) Wrong return type in function
    ERROR 0
    But can't find any support documentation on it.
    Have also checked and tested all DB LINKS.
    Any help is appreciated please.

    Duplicate thread
    ORA-06512: at "OWF_MGR.WF_LOAD
    Srini

  • New user created in oracle 11g (release 2) is not connecting (ORA-01017)

    Hi All,
    Kindly help me out regarding this.
    I have created a new user using "ORACLE Enterprise Manager 11g" and used the same credentials in SQL developer for a new connection and it throw "ORA-01017: invalid username/password; logon denied" message.
    Kindly note that have followed the following steps in creating user:
    On the Users page, click Create.
    In the Name field, enter NICK.
    In the Profile list, accept the value DEFAULT.
    This setting assigns the default password policy to user Nick.
    In the Enter Password and Confirm Password fields, enter a password that is secure.
    Create a password that is secure. See Oracle Database Security Guide for more information.
    Do not select Expire password now. If the account status is set to expired, then the user or the database administrator must change the password before the user can log in to the database.
    (Optional) Next to the Default Tablespace field, click the flashlight icon, select the USERS tablespace, and then click Select.
    All schema objects that Nick creates will then be created in the USERS tablespace unless he specifies otherwise. If you leave the Default Tablespace field blank, Nick is assigned the default tablespace for the database, which is USERS in a newly installed database. For more information about the USERS tablespace, see "About Tablespaces".
    (Optional) Next to the Temporary Tablespace field, click the flashlight icon, select the TEMP tablespace, and then click Select.
    For the Status option, accept the default selection of Unlocked.
    You can later lock the user account to prevent users from logging in with it. To temporarily deny access to a user account, locking the user account is preferable to deleting it, because deleting it also deletes all schema objects owned by the user.
    Grant roles, system privileges, and object privileges to the user, as described in "Example: Granting Privileges and Roles to a User Account".
    Note: Do not click OK in Step 13 of "Example: Granting Privileges and Roles to a User Account". Instead, skip that step and continue with Step 12 in this procedure.
    Assign a 10 MB quota on the USERS tablespace, as described in "Example: Assigning a Tablespace Quota to a User Account".
    If you did not click OK while assigning the tablespace quota (previous step), click OK now to create the user.Kindly note that I have log in as SYSTEM user and created this new user.
    Could any one help me regarding this ?

    After connecting with sqlplus, as user SYSTEM and when tried the below, I could see that the new user created by me does not exist..
    select '--' || username || '--'
    from dba_users
    order by username;
    But when tried with GUI "ORACLE Enterprise Manager 11g" I can very well see the new user created by me..
    How is this possible mate??
    Is the user not properly created through GUI (than from where it is showing the new user)
    Some more information i want to share;
    i have used schema "HR"
    And have used table space "USERS"
    And tep tablespace "TEMP"
    Edited by: 828569 on Jan 16, 2011 9:01 PM
    Edited by: 828569 on Jan 16, 2011 9:03 PM

  • ORA-01017: invalid username/password; logon denied

    Hello colleagues,
    in TCode SM21 we've got a lot of following errors, that were repeated very often:
    10:25:09 BTC  010                             BY  2 Database error 1017 at CON
    10:25:09 BTC  010                             BY  0 > ORA-01017: invalid username/password; logon denied
    10:25:09 BTC  010                             BY  2 Database error 1017 at CON
    10:25:09 BTC  010                             BY  0 > ORA-01017: invalid username/password; logon denied
    10:25:09 BTC  010                             R1  9 Initialization DB-Connect Failed, Return Code 000256
    10:25:09 BTC  010                             Q0  2 Stop Workproc10, PID 3549
    Background processes only affected and seems to be restarted after every attempt for connection into database.
    After restart fo system (DB + ABAP) problem still persists, but does not occur that often. In productive system approximately once in every 2 hours, but is still there.
    System environment:
    DB: Oracle Release 10.2.0.2.0
    OS: HP-UX
    SAP: SAP ECC 6.0
    Listener is up and running:
    oraqxs   499     1  0 10:15:31 ?         0:01 /oracle/QXS/102_64/bin/tnslsnr LISTENER_QXS -inherit
    R3trans working as well:
    mucsx032:qxsadm 29> R3trans -d -v
    This is R3trans version 6.14 (release 700 - 10.09.07 - 09:57:00).
    R3trans finished (0000).
    Below is extract from WP tracefile.
    trc file: "dev_w10", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ
    M sysno      02
    M sid        QXS
    M systemid   274 (HP (IA-64) with HP-UX)
    M relno      7000
    M patchlevel 0
    M patchno    133
    M intno      20050900
    M make:      single threaded, ASCII, 64 bit, optimized
    M pid        3549
    M
    M
    M Wed May  6 10:25:09 2009
    M  kernel runs with dp version 232(ext=109) (@(#) DPLIB-INT-VERSION-232)
    M  length of sys_adm_ext is 364 bytes
    M  ThInit: running on host ciqxs02
    M  calling db_connect ...
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPDAT's password
    C  Connecting as /@QXS on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 WE8DEC                                                    1 600000000299f0a0 60000000029a6a20 60000000029aa408
    C  Attaching to DB Server QXS (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688)
    C  Starting user session (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688,usrhp=60000000029a7238)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    [dboci.c      4532]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dbsloci.c    11044]
    C  Try to connect with default password
    C  Connecting as SAPDAT/<pwd>@QXS on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 WE8DEC                                                    1 600000000299f0a0 60000000029a6a20 60000000029aa408
    C  Starting user session (con_hdl=0,svchp=60000000029aa338,srvhp=60000000029ac688,usrhp=60000000029a7238)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1017
    [dboci.c      4532]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dbsloci.c    11044]
    B  ***LOG BY2=> sql error 1017   performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 1017   performing CON [dblink#5 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#5 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1435]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10377]
    M
    M  Info for wp 10
    M
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_BTCWP
    M    act_reqtype = DP_RQ_BTCWP
    M    rq_info = 8576
    M    tid = -1
    M    mode = 255
    M    len = 24
    M    rq_id = 1055
    M    rq_source = FROM_WP_CA
    M    last_tid = 10
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    req.vm = no VM
    M    attachedVm = no VM
    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   724]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  259]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc10 3549) [dpuxtool.c   259]
    Do you have an idea how to get rid of this error? Did you experienced the same problem before? We will be thankful for any ideas.
    Thank you all in advance.

    Hi,
    You did not mention abt the kerneleveland DB/SAP version details.
    Chk the note 623242.
    Regards.......

  • Deployment error: ORA-01017: invalid username/password; logon denied

    Hi,
    I created a new target schema against an existing runtime owner user id and runtime access user id.
    But deploying the mapping now gives error as follows:
    <<ORA-01017: invalid username/password; logon denied>>
    Can you please guide where the problem is?
    Thanks & Regards,
    Lenin

    Hi,
    Just to add some more informations about this topic. I created one extra target schema for the same runtime user id/runtime access user. And then tried to deploy the mapping and got the above error. And again, I removed the older target schema by using "OWB Runtime Assistant". And then tried to deploy mapping again and got the same error again.
    Can you please help me out in this case?
    Thanks & Regards,
    Lenin

  • [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied

    ---cmd prompt------------------------
    H:\>sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.3.0 - Production on Sun Mar 28 16:54:53 2010
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    -------------ASP -------------------------
    <%@ Language="JScript" %>
    <%
         var uname=Request.Form("un");
         var upwd=Request.Form("pwd");
         Response.Write("User Name is " + uname + "<br>" + "password is " + upwd);
         var sql = "select * from emp";
         var conn = Server.CreateObject("ADODB.Connection");
         var rs = Server.CreateObject("ADODB.Recordset");
         conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';";
         rs.Open(sql, conn, 3, 3);
    %>
    ------------------Error------------------
    User Name is scott
    Password is tiger
    Microsoft OLE DB Provider for ODBC Drivers error '80040e4d'
    [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    /prc/main.asp, line 11
    variable uname has valid username that is 'scott' and variable upwd as valid password ie 'tiger' both entered by the user.
    with the same username and password i am able to connect to the database from the command prompt.
    but when i tried using odbc through ASP(javascript) i am getting above error.
    and one more thing if i mention username and password directly in UID and PWD it works but when i pass it through variables it wont work.
    since variables have username and password it has to take from it directly...........manually i cant give,dynamically it has to take.
    plz help me out....how i can pass the parameter to that UID and PWD.
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';";
    help plz
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';"; --- does not work
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID=scott;PWD=tiger;"; --- works
    but i want the 1st statement to work........since user gives the password and username dynamically.
    Thanks
    Veeresh S

    conn.Open("DSN=tcp;UID="+uname+";PWD="+upwd+";");
    this solved me
    thanks for all who had vied this..
    veeresh

  • ORA-01017 (invalid username/password) using globally authenticated account

    Kris and team,
    Having a hard time believing no one else has encountered this already. But searching on 1017 and "globally" and "identified" in the forum yields nothing useful.
    New corporate policy has all our DBAs, developers and QA logging into globally authenticated (against OID) accounts. Oracle docs call these accounts "global users". They are able to do so just fine using SQL*Plus, TOAD and PL/SQL Developer. But when we attempt the same in SQL Developer, different rules seem to be applied, and the user is told their username/password is invalid, which is not correct.
    We have several hundred developers ready to use their new accounts in SQL Developer, but cannot. Would appreciate quick reply or patch on this.
    btw, when I say "global user", I'm referring to accounts that are created in Oracle using the "identified globally as" syntax.
    Am I missing something?
    Edited by: chromedome on Aug 9, 2010 1:49 PM

    Thank you, this was helpful in that it caused me to try the other connection methods: Basic, TNS (as you mentioned on your blog), LDAP and Advanced, both with regular accounts and with global users, both with thin and thick drivers employed.
    In all cases, using a normal Oracle account, I was able to connect.
    But using a global user, with the thick/OCI client forced, I get the "Status: Failure -Test failed: oracle.jdbc.driver.T2Connection.t2cCreateState([BI[BI[BI[BI[BISI[S[B[BZ)I" message. And with the thin driver used, I get the "ORA-01017: invalid username/password; logon denied" message. The possibility I have the password incorrect is non-existent as I'm both typing it in manually, and copying and pasting it, from successful global user connections in PL/SQL Developer and TOAD into SQL Developer.
    SQL Developer 2.1.1.64 is not working using InstantClient 11.2 when attempting to login with a global user.
    Sue/Kris, due I use "the site formerly known as Metalink" to log a bug, or are you already tackling this internally? We really need this patched soon.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • "ORA-01017 invalid username/password: logon" --- Help Please !!!

    Hello Peter,
    Sorry for sending an unexpected mail.
    I am stuck and really want your help. I have seen your email address on OTM website.
    Aim: To run the JAVA code samples provided in Oracle 9i DATA MINING suite
    on windows 2000.
    I have installed Oracle 9i enterprise edition and
    also Oracle 9i Data mining (ODM).
    I have lot of problems in username/password authentication.
    everytime I run the ODM setup, irrespective of the default
    name/password
    which is ODM/odmpw it says "ORA-01017 invalid username/password: logon"
    I was just working on the Oracle 9i DataMining installation and found something really interesting
    I was wondering if you can solve this:
    1. I created user SCOTT and ODM using SQL Plus queries by logging system/manager.
    and when I typed "select username from dba_names" it gave me ODM and SCOTT as
    users and hence I was happy.
    2. Then I uninstalled DATA MINING suite and reinstall it thinking this time it should
    get ODM/odmpw as username and password as and DBA user/password being
    system/manager. When uninstalling DATA MINING suite ODM user gets dropped
    and when reinstalling ODM suite, it never make ODM user back in Oracle 9i database.
    Hence it is not finding ODM user anymore and hence "ORA-01017 invalid username/password: logon"
    error occurs.
    Now can you tell me what can be done in order to make the ODM recreate when installing
    DATA MINING suite.
    Please reply me as I am badly stuck.
    I at least know why problem is occurring now looking for solution.
    Thanks
    Nishant

    I was reading on gogole
    i have set
    alter system set SEC_CASE_SENSITIVE_LOGON=false scope=spfile;
    now i can connect from sqlplus
    sqlplus SYSTEM/password
    also
    sqlplus SYSTEM/password@localhost:1521/XE
    also :
    From GUI i can connect to oracle db from http by port 8080
    but its seems like oracle VM manager does not connect ...
    example
    Would you like to install Oracle Database 11g Express Edition (XE) or connect to an existing Oracle database?
    1: Install Oracle Database 11g XE
    2: Use an existing Oracle database
    Select Number (1-2): 2
    Enter the Oracle Database hostname [localhost]:
    Enter the Oracle Database System ID (SID) [XE]:
    Enter the Oracle Database SYSTEM password:
    Enter the Oracle Database listener port [1521]:
    Enter the Oracle VM Manager database schema [ovs]:
    Enter the Oracle VM Manager database schema password:
    Enter the Oracle VM Manager database schema password (confirm):
    Oracle Weblogic Server 11g
    ==========================
    Enter the Oracle WebLogic Server 11g user [weblogic]:
    Enter the Oracle WebLogic Server 11g user password:
    Enter the Oracle WebLogic Server 11g user password (confirm):
    Oracle VM Manager application
    =============================
    Enter the username for the Oracle VM Manager administration user [admin]:
    Enter the admin user password:
    Enter the admin user password (confirm):
    Verifying configuration ...
    The database could not be reached using the provided connection info.
    ORA-01017: invalid username/password; logon denied
    Configuration verification failed ...
    can any one please help me

  • ORA-01017: invalid username/password; how to find out orapwd files 's pwd

    Hi, gurus,
    I have this error after I copied primary db orapwd files over to standby instance and tried to log in sys as sysdba :
    ORA-01017: invalid username/password; logon denied
    Is this means the sys password I provided is not the one generated as per orapwd utility?
    however I can log in to sys/password as sysdba if I set the oracle sid environemnt to that db.
    Anybody help here?
    Thanks.

    Hello;
    In that case you would have to change the SYS password at the Primary ( so you know it ) and then do the copy and rename again.
    Don't forget to stop apply on the standby and then shutdown and restart on the new password file. ( or you will have issues )
    Proof :
    Re: Transport service doesn't work with error  ORA-16191
    Best Regards
    mseberg
    Double check of my notes
    ORA-01017
    Change the sys password in the primary database using the alter system command, it updates the password file in the ORACLE_HOME of the primary database, it doesn't update password file in the standby database.
    In Oracle 10 you can create a password file. In Oracle 11 you must move a new copy to the standby.
    Edited by: mseberg on Jul 6, 2012 6:30 AM

Maybe you are looking for

  • IOS 8 no longer works with 2012 honda accord

    I upgraded my iPhone 5 to iOS 8.0.2.  When I connect via USB, I no longer am able to use my car (2012 Honda Accord) controls to play music.  Also, while it does connect via BlueTooth, making phone calls is very difficult, it takes much longer to conn

  • I want to give my friend a playlist (In the order) that I have created...

    Hey guys, I have a playlist of 120 songs that I want to be able to give to a friend. Sounds simple enough, but the order of the songs is very important. What is the best way of doing this? At present I have made a folder on my hard drive, selected al

  • How to open web pages in the same window

    When i click on a link in a search engine it always opens the web page in a new tab. Its annoying and i would prefer mozilla to open it in the current page. How can this be done?

  • G5 as monitor?

    Any way to use an iMac G5 as a second monitor, with a MacBook Pro? Maybe the other way around? Use the MBP as a 2nd monitor to the iMac? Thanks.

  • How to fine query name for given transaction

    how to find query name for given transaction