Invalid username/password in case of oracle os authentication

Hi,
I am trying to connect to database using oracle local os authentication. REMOTE_OS_AUTHENT = false
I am using oracle 11g.
here is the code
I am trying in two ways :-
1. OracleDataSource
OracleDataSource ods = new OracleDataSource();
String url = "jdbc:oracle:oci:@";
ods.setURL(url);
ods.setDatabaseName("oradg");
Connection conn = ods.getConnection();
In this case it always connects to the default ORACLE_SID which is set in the environment.
2. Simple JDBC connection
String url = "jdbc:oracle:oci:@oradg";
Connection con = Drivermanager.getconnection(url,props);
in this case it always says "invalid username/password"
Please help me to resolve the problem.
Thanks

user10839503 wrote:
2 using the oracle account for this is a VERY BAD IDEA
i have another os user called demo which has the same issue.
REMOTE_OS_AUTHENT any way i dont want to use.
3 always connecting to the database server is a VERY BAD IDEA
i am not very clear on this can u please elaborate it?
I dont want to use any username and password for os authentication in the code.
The problem is if ORACLE_SID is set in the environment then code works fine. But I want to set the sid in the code itself.
Because if i set in the environment then at a time only one sid will be used.
But why you want to hard code the SID in the first place anywhere? Why not to use the Services ?
Aman....

Similar Messages

  • OracleException ORA-1017: invalid username/password; logon denied at Oracle

    Hi,
    SYS@EHS06T>select from v$version;*
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE 10.2.0.5.0 Production
    TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    I have checked the PWADM and PWSYS account and tried to connect to the DB using sqlplus both. I didn’t got any error while connecting.
    Also checked the Event viewer logs and found nothing.
    But end user getting below error from application  :
    Message:      Error saving emissions
    Oracle.DataAccess.Client.OracleException ORA-1017: invalid username/password; logon denied at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) at Oracle.DataAccess.Client.OracleConnection.Open() at Ess.Framework.DA.BulkOperations.InsertDataOracle(String tableName, DataTable table, Int32 timeout) at Ess.Framework.DA.BulkOperations.InsertData(String tableName, DataTable table) at Ess.ESuite.Air.BO.Calculator.Controller.SaveEmissions(List`1 list) at Ess.ESuite.Air.BO.Calculator.Controller.SaveCachedEmissions()
    Request your assistance in solving this issue. Thanks!

    hi,
    Try a SQL*Net trace on the client (your PC) for the connection that works and the one that does not. Compare to see what is different.
    Client Side Tracing:
    Your SQLNET.ORA file should contain the following lines to produce a client side trace file:
    trace_level_client = 10
    trace_unique_client = on
    trace_file_client = sqlnet.trc
    trace_directory_client =
    regards,

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

    Hi all
    I need your kind help.
    I have installed Oracle Audit Vault Server  Release 10.2.3.2 in Linux system and collection agent in Windows system. Adding and starting DBAUD collector went fine however  adding REDO collector return back errors when executing avorcldb add_collector command as follow
    [oracle@avsrv ~]$
    [oracle@avsrv ~]$  avorcldb add_collector -srcname orcl -agentname avagent01 -colltype REDO -av Lugaopc:1521:orcl
    collector REDO_Collector for source orcl already exists
    initializing REDO Collector
    ERROR: could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    ERROR: ORA-01017: invalid username/password; logon denied
    [oracle@avsrv ~]$
    Here is the contents of avorcldb.log file
    09-09-13 16:58:44 [INFO ] Processing command add_collector
    09-09-13 16:58:44 [INFO ] Processing arg -srcname = orcl
    09-09-13 16:58:44 [INFO ] Processing arg -agentname = avagent01
    09-09-13 16:58:44 [INFO ] Processing arg -colltype = REDO
    09-09-13 16:58:44 [INFO ] Processing arg -av = Lugaopc:1521:orcl
    09-09-13 16:58:44 [INFO ] Connect info : Lugaopc:1521:orcl
    09-09-13 16:58:45 [INFO ] Got AV admin connection using jdbc:oracle:oci:@AVDB
    09-09-13 16:58:45 [INFO ] Executing SQL as [ADM@AV] select s.host||':'||a1.num_value||':'||a2.char_value from avsys.av$attrvalue a1, avsys.av$attrvalue a2, avsys.av$source s, avsys.av$attrdef ad1, avsys.av$attrdef ad2 where source_name = :1 and a1.inst_id = s.source_id and a2.inst_id = s.source_id and a1.attr_id = ad1.attr_id and ad1.attr_name = 'PORT' and a2.attr_id = ad2.attr_id and ad2.attr_name = 'DB_SERVICE'
    09-09-13 16:58:45 [INFO ] Using bind value orcl
    09-09-13 16:58:45 [INFO ] Return value = Lugaopc:1521:orcl
    09-09-13 16:58:45 [INFO ] Connect info : Lugaopc:1521:orcl
    09-09-13 16:58:45 [INFO ] Executing SQL as [ADM@AV] select to_char(source_id) from avsys.av$source where source_name = :1
    09-09-13 16:58:45 [INFO ] Using bind value orcl
    09-09-13 16:58:45 [INFO ] Return value = 1
    09-09-13 16:58:46 [INFO ] Got source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select decode(c.status, 1, 'active', 0, 'dropped', null) from avsys.av$collector c, avsys.av$source s where source_name = :1 and collector_name = :2 and c.source_id = s.source_id
    09-09-13 16:58:46 [INFO ] Using bind value orcl
    09-09-13 16:58:46 [INFO ] Using bind value REDO_Collector
    09-09-13 16:58:46 [INFO ] Return value = active
    09-09-13 16:58:46 [MESG ] collector REDO_Collector for source orcl already exists
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select decode(c.status, 1, 'active', 0, 'dropped', null) from avsys.av$collector c, avsys.av$source s where source_name = :1 and collector_name = :2 and c.source_id = s.source_id
    09-09-13 16:58:46 [INFO ] Using bind value orcl
    09-09-13 16:58:46 [INFO ] Using bind value REDO_Collector
    09-09-13 16:58:46 [INFO ] Return value = active
    09-09-13 16:58:46 [MESG ] initializing REDO Collector
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select username from avsys.av$source where source_name = :1
    09-09-13 16:58:46 [INFO ] Using bind value orcl
    09-09-13 16:58:46 [INFO ] Return value = AVSRCUSR1
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] {? = call avsys.dbms_audit_vault.reset_source_user(?)}
    09-09-13 16:58:46 [INFO ] Adding mask for user password
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select table_name from user_tables where upper(table_name) = upper(:1)
    09-09-13 16:58:46 [INFO ] Using bind value STREAMS_HEARTBEAT
    09-09-13 16:58:46 [INFO ] Return value = STREAMS_HEARTBEAT
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop table streams_heartbeat
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create table streams_heartbeat( src_dbname varchar2(4000), job_number number, heartbeat_time timestamp)
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] declare dbs_name varchar2(4000); begin select global_name into dbs_name from global_name; insert into streams_heartbeat values (dbs_name, 0, SYSTIMESTAMP); end;
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create or replace procedure update_heartbeat IS begin update streams_heartbeat set heartbeat_time=(select systimestamp from dual); commit; end;
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select table_name from user_tables where upper(table_name) = upper(:1)
    09-09-13 16:58:46 [INFO ] Using bind value CAPTURE_RULES
    09-09-13 16:58:46 [INFO ] Return value = CAPTURE_RULES
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop table capture_rules
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] create table capture_rules( rule_name  varchar2(50), rule_scope varchar2(6),  rule_type  varchar2(3),  obj_name   varchar2(100))
    09-09-13 16:58:46 [INFO ] Executing SQL as [ADM@AV] select global_name from global_name
    09-09-13 16:58:46 [INFO ] Return value = AVDB.AVSRV
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select db_link from user_db_links where db_link = :1
    09-09-13 16:58:46 [INFO ] Using bind value AVDB.AVSRV
    09-09-13 16:58:46 [INFO ] Return value = AVDB.AVSRV
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] drop database link "AVDB.AVSRV"
    09-09-13 16:58:46 [INFO ] Executing SQL as [USR@SRC] select version from v$instance
    09-09-13 16:58:46 [INFO ] Return value = 11.2.0.1.0
    09-09-13 16:58:46 [INFO ] Creating DB link using AVDB.AVSRV,AVSRCUSR1,{avsrcusr_pwd},Lugaopc,1521,orcl
    09-09-13 16:58:46 [INFO ] Connecting as srcuser_ora01 to @(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    09-09-13 16:58:46 [INFO ] Output from SQLPlus
    09-09-13 16:58:46 [INFO ]
    09-09-13 16:58:46 [INFO ] Package created.
    09-09-13 16:58:46 [INFO ]
    09-09-13 16:58:46 [INFO ] No errors.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] Package body created.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] No errors.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] Package created.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] No errors.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] Package body created.
    09-09-13 16:58:47 [INFO ]
    09-09-13 16:58:47 [INFO ] No errors.
    09-09-13 16:58:47 [INFO ] Executing SQL as [USR@SRC] select distinct name from user_errors where name = :1
    09-09-13 16:58:47 [INFO ] Using bind value DBMS_SRC_STREAMS_COLLECTOR
    09-09-13 16:58:47 [INFO ] Return value = null
    09-09-13 16:58:47 [ERROR] could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    09-09-13 16:58:47 [ERROR] ORA-01017: invalid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
        at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)
        at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
        at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:162)
        at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
        at java.sql.DriverManager.getConnection(DriverManager.java:525)
        at java.sql.DriverManager.getConnection(DriverManager.java:140)
        at oracle.av.avca.jdbc.JdbcConnection.<init>(JdbcConnection.java:87)
        at oracle.av.orcldb.DAO.initConnection(DAO.java:79)
        at oracle.av.orcldb.DAO.<init>(DAO.java:64)
        at oracle.av.orcldb.commands.AddCollector.setupCollector(AddCollector.java:746)
        at oracle.av.orcldb.commands.AddCollector.execute(AddCollector.java:230)
        at oracle.av.orcldb.Command.process(Command.java:89)
        at oracle.av.orcldb.Main.process(Main.java:118)
        at oracle.av.orcldb.Main.main(Main.java:132)
    I have searched the forum to my level best without clear solution
    Regards
    Sadock

    Hi gurus
    I don't believe if this is missing solution from oracle community. I have decided to installed the collction agent and source database in linux system, so now both auditt vault server and collction agent are running in Linux system (but separately)
    I am wondering, avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype DBAUD and  avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype OSAUD -orclhome /u01/app/oracle/product/11.2.0/dbhome_1 are working fine and  I am able to start these collectors
    The  avorcldb verify -src Lugaosrv:1521:ORCL.LUGAOSRV -colltype ALL command also return good results
    [oracle@avsrv ~]$ avorcldb verify -src Lugaosrv:1521:ORCL.LUGAOSRV -colltype ALL
    Enter Source user name: srcuser_ora01
    Enter Source password:          
    source ORCL.LUGAOSRV verified for OS File Audit Collector collector
    source ORCL.LUGAOSRV verified for Aud$/FGA_LOG$ Audit Collector collector
    source ORCL.LUGAOSRV verified for REDO Log Audit Collector collector
    [oracle@avsrv ~]$
    The problem still I am facing is when attempting to add REDO collector. In fact the collector is added successful and i can see it even on EM console.
    [oracle@avsrv ~]$ avorcldb add_collector -srcname ORCL -agentname avagent01 -colltype REDO -av Lugaosrv:1521:ORCL.LUGAOSRV
    source ORCL verified for REDO Log Audit Collector collector
    Adding collector...
    Collector added successfully.
    remember the following information for use in avctl
    Collector name (collname): REDO_Collector
    initializing REDO Collector
    ERROR: could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaosrv)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL.LUGAOSRV)))
    ERROR: ORA-01017: invalid username/password; logon denied
    [oracle@avsrv ~]$
    Any help will be appreciated
    Sadock

  • ORA-01017: invalid username/password;

    Hi there,
    I have set up an Inbound Data Exchange Session so that my program can send alerts to be displayed on OEM(Oracle Enterprise Manager), as specified in http://download-uk.oracle.com/docs/cd/B16240_01/doc/em.102/b32521/em_data_ex.htm.
    I have succesfully create an Outbound Data Exchange Session where my program receives new alerts from OEM, but im encountering an issue when i send alerts to OEM. I have checked the emoms.trc file and its complaining about an invalid username and password for the database, but when i set up the Outbound Data Exchange Session, there is nowhere i can specify the database credentials!
    Is there anyway i could change the database so it can be accessed without password? I have copy pasted the emoms.trc file below.
    2008-03-03 10:44:41,202 [JobWorker 3265:Thread-31] ERROR jobs.ReceiveMetricDataViaJms validateMsgsAndInsertEvents.561 - Cannot insert alert for oem-winxp.int-link.com : ORA-01017: invalid username/password; logon denied
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] ERROR genericImpl.Authentication_State executeUsing.104 - Authentication_State::executeUsing(ExecutionContext ec, InputEvent ie) >> ORA-01017: invalid username/password; logon denied
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] FATAL consumingExternalAlerts.InboundEventProcessor notify.115 - class oracle.sysman.emWebservices.inbound.consumingExternalAlerts.InboundEventProcessor::notify(Alert) >> An exception occured while processing alert. Alert details below, followed by exception stack dump:
    PRODUCER_ID=
    KEY1=
    KEY2=
    KEY3=
    KEY4=
    KEY5=
    TARGET_TYPE=host
    TARGET_NAME=oem-winxp.int-link.com
    CATEGORY=
    METRIC_NAME=
    VALUE=
    SEVERITY=Critical
    MESSAGE=NEW ALERT TEST!!!
    TIMESTAMP=null
    oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.StateExecutionException: oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.AuthenticationException: ORA-01017: invalid username/password; logon denied
         at oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.Authentication_State.executeUsing(Authentication_State.java:105)
         at oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.Machine.executeUsing(Machine.java:31)
         at oracle.sysman.emWebservices.inbound.consumingExternalAlerts.InboundEventProcessor.notify(InboundEventProcessor.java:102)
         at oracle.sysman.eml.bam.jobs.ReceiveMetricDataViaJms.validateMsgsAndInsertEvents(ReceiveMetricDataViaJms.java:558)
         at oracle.sysman.eml.bam.jobs.ReceiveMetricDataViaJms.executeCommand(ReceiveMetricDataViaJms.java:240)
         at oracle.sysman.emdrep.jobs.JobWorker.runCommand(Dispatcher.java:825)
         at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:708)
         at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
    Caused by: oracle.sysman.emWebservices.inbound.finiteStateMachineFramework.genericImpl.AuthenticationException: ORA-01017: invalid username/password; logon denied
         ... 8 more
    2008-03-03 10:44:41,468 [JobWorker 3265:Thread-31] ERROR jobs.ReceiveMetricDataViaJms validateMsgsAndInsertEvents.561 - Cannot insert alert for oem-winxp.int-link.com : ORA-01017: invalid username/password; logon denied
    Many thanks,
    Mo.

    Do you have write the preferred credentials for the target database?
    you must select PREFERENCES --> CREDENTIALS and write the credentials for:
    agent
    host
    database
    The trc of emoms show that you dont have credentials for the database of repository. Any action of grid control that is executed in automatic mode need that you introduced the credentials for the targets
    My suggestion is that write and test the credentials for all the targets
    Regards

  • ORA-01017: invalid username/password; logon denied on Weblogic 9.0 cluster

    I am experiencing the following exception in Weblogic 9.0 server cluster environment. The same code works fine in non-cluster environment. The problem happens every now and then and would go away temporarily after recycling the domains. The Oracle database that the backend system connects to is 9.0.2.6. I am using the ocjdbc14.jar jdbc driver that comes with the Weblogic 9.0 on the client side to connect. I really appreciate any help or clue.
    Ashkan
    Error on dequeuing requests
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:496)
         at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:278)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
         at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
         at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
         at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:810)
         at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:857)
         at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:102)
         at com.rwi.wam.dao.serviceprovider.ServiceProviderDequeue.dequeue(ServiceProviderDequeue.java:32)
         at com.rwi.wam.dao.serviceprovider.ServiceProviderDAO.dequeueRequest(ServiceProviderDAO.java:48)
         at com.rwi.wam.ejb.WAMRequestMessageBean.onMessage(WAMRequestMessageBean.java:168)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:425)
         at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3069)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:2989)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:3448)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

    Hi, I can tell you that you're not using any WebLogic
    JDBC code. You're getting a connection directly from
    the Oracle drive, and you can change the vesion of the
    drive if you want by changing the ojdbc14.jar in the
    weblogic server\lib directory.
    However, I believe the problem is an inherent weakness
    at the DBMS. The DBMS listener process can sometimes
    be temporarily swamped if it gets too many connection
    requests at one time, and will fail some of them even if
    they are all identical and correct.
    This is one of the major reasons you should use WebLogic
    connection pools so you always get already-made and
    tested connections.
    Another huge danger is that you are using DriverManager
    calls. These are very bad in multithreaded applications
    like WebLogic, because all DriverManager calls (including
    some internal ones that all JDBC drivers call all the time,
    are class-synchronized! This means that one call to
    getConnection() will probably bolock all other running
    JDBC in the whole JVM. If you can change the springframework
    code to use WebLogic DataSources to pools, you'll be much
    better off.
    Joe
    Ashkan Gholam-Zadeh wrote:
    I am experiencing the following exception in Weblogic 9.0 server cluster environment. The same code works fine in non-cluster environment. The problem happens every now and then and would go away temporarily after recycling the domains. The Oracle database that the backend system connects to is 9.0.2.6. I am using the ocjdbc14.jar jdbc driver that comes with the Weblogic 9.0 on the client side to connect. I really appreciate any help or clue.
    Ashkan
    Error on dequeuing requests
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:496)
         at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:278)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
         at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
         at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
         at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:810)
         at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:857)
         at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:102)
         at com.rwi.wam.dao.serviceprovider.ServiceProviderDequeue.dequeue(ServiceProviderDequeue.java:32)
         at com.rwi.wam.dao.serviceprovider.ServiceProviderDAO.dequeueRequest(ServiceProviderDAO.java:48)
         at com.rwi.wam.ejb.WAMRequestMessageBean.onMessage(WAMRequestMessageBean.java:168)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:425)
         at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3069)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:2989)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:3448)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

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

    Hello SAPiens,
    I have to perform a system copy of Bank analyzer 6, NW7.1, ABAP stack only on AIX 5.3, MCOD oracle 10.2.0.4 DB. I'm arriving to the sapinst parameters screen asking for the securestore key. The key is accepted, then it asks for the JAVA components DVD. An issue occurs after this step (JVM is uncompressed then tries to access the DB). Here is th UTL_load_usage :
    cat UTL_load_usages.log
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[1.5.7.1006]/-->
    <!--NAME[UTL_load_usages.log]/-->
    <!--PATTERN[UTL_load_usages.log]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %7s: %m)]/-->
    <!--ENCODING[UTF8]/-->
    <!--LOGHEADER[END]/-->
    Aug 20, 2010 5:51:50 PM  Info   : Successfully parsed!
    Aug 20, 2010 5:51:50 PM  Info   : Executing command Export...
    Aug 20, 2010 5:51:50 PM  Info   : Establishing DB connection...
    Aug 20, 2010 5:51:53 PM  Path   : Exception : The DataBase is down or the connection parameters are wrong: -sid=BA3 -dsn=jdbc/pool/BA3 -ssprops=/usr/sap/BA3/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/BA3/SYS/global/security/data/SecStore.key -keyphrase=null
    java.lang.Exception
            at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1230)
            at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:457)
            at com.sap.exception.BaseException.<init>(BaseException.java:303)
            at com.sap.sl.ut.infoprovider.exceptions.UTInfoException.<init>(UTInfoException.java:99)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.connect(DataBaseInfoFactory.java:373)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.constructSystemInfo(DataBaseInfoFactory.java:776)
            at com.sap.sl.ut.manager.command.Export.executeExportKDB(Export.java:57)
            at com.sap.sl.ut.manager.command.Export.execute(Export.java:81)
            at com.sap.sl.ut.manager.command.Command.exec(Command.java:88)
            at com.sap.sl.ut.manager.UtlMain.exec(UtlMain.java:59)
            at com.sap.sl.ut.manager.UtlMain.main(UtlMain.java:55)
            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:585)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
            at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:790)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
            at com.sap.sql.connect.factory.DriverPooledConnectionFactory.createVendorConnection(DriverPooledConnectionFactory.java:50)
            at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:37)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:677)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.newPooledConnection(DBDataSourceImpl.java:626)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.getConnection(DBDataSourceImpl.java:105)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:202)
            at com.sap.sl.ut.manager.persistence.db.DBConnection.connectViaSecureStore(DBConnection.java:159)
            at com.sap.sl.ut.manager.persistence.db.DBConnection.connect(DBConnection.java:171)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.connect(DataBaseInfoFactory.java:371)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.constructSystemInfo(DataBaseInfoFactory.java:776)
            at com.sap.sl.ut.manager.command.Export.executeExportKDB(Export.java:57)
            at com.sap.sl.ut.manager.command.Export.execute(Export.java:81)
            at com.sap.sl.ut.manager.command.Command.exec(Command.java:88)
            at com.sap.sl.ut.manager.UtlMain.exec(UtlMain.java:59)
            at com.sap.sl.ut.manager.UtlMain.main(UtlMain.java:55)
            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:585)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
    Aug 20, 2010 5:51:53 PM  Info   : Severe (database) error. Return code: 64
    I guess sapinst retreives the connection data from the securestore, but fails using it...
    The DB is up and running. I checked Oracle users, none of them are locked.
    Can anyone kindly advice or provide a search path for shooting this issue ?
    Thank you already,
    Eric

    Hello Kiran,
    Thank you for your advice.
    the password is correct :
    #/sapmnt/BA3/global/sltools> ./checkKeyPhrase.sh -f /sapmnt/BA3/global/security/data/SecStore.properties
       INFO: Loading tool launcher...
       INFO: [OS: AIX] [VM vendor: SAP AG] [VM version: 5.1.015] [VM type: SAP Java 64-Bit Server VM]
       INFO: Main class to start: "com.sap.inst.checkKeyPhrase.CheckKeyPhrase"
       INFO: Loading 27 JAR files: [./sharedlib/checkKeyPhrase.jar, ./sharedlib/jdbc.jar, ./sharedlib/jload.jar, ./sharedlib/jload_core.jar, ./sharedlib/jperflib.jar, ./sharedlib/jsizecheck.jar, ./sharedlib/sap.com~sl.ut.infoprovider_lib.jar, ./sharedlib/sap.com~sl.ut.manager.offline.jar, ./sharedlib/sap.com~tc~antlr.jar, ./sharedlib/sap.com~tc~bl~iqlib~impl.jar, ./sharedlib/sap.com~tc~bl~jdsr~jdsr.jar, ./sharedlib/sap.com~tc~bl~offline_launcher~impl.jar, ./sharedlib/sap.com~tc~bl~opensql~implStandalone.jar, ./sharedlib/sap.com~tc~bl~sl~utility.jar, ./sharedlib/sap.com~tc~dd~db~dictionarydatabase~implDictionaryDatabase.jar, ./sharedlib/sap.com~tc~exception.jar, ./sharedlib/sap.com~tc~je~configtool.jar, ./sharedlib/sap.com~tc~je~offlineconfiguration~impl.jar, ./sharedlib/sap.com~tc~logging~java~impl.jar, ./sharedlib/sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar, ./sharedlib/sap.com~tc~sdt~cvl~impl.jar, ./sharedlib/sap.com~tc~sec~secstorefs~java~core.jar, ./../security/lib/tools/iaik_jce.jar, ./../security/lib/tools/iaik_jsse.jar, ./../security/lib/tools/iaik_smime.jar, ./../security/lib/tools/iaik_ssl.jar, ./../security/lib/tools/w3c_http.jar]
       INFO: Start
    Key phrase::::::::::::
    The key phrase is correct.
    I guess sapinst is retrieving the DB  password from the securestore, tries to connect but gives back the incorrect password error message. But how can that DB password be incorrect if the system is up and running?
    What is the DB user name sapinst retreives from the securestore ?
    Kind regards,
    Eric

  • ORA-01017: invalid username/password; after Oracle Upgrade 9.2.06 to 10.2

    Hi
    I did an oracle Upgrade from Oracle Upgrade 9.2.06 to 10.2 as per SAP Documentation.
    and after the upgrade was successful i changed the password of SAPABT (sapowner)
    and now it is giving an error in work folder  <b>dev_wo</b>
    while connecting can any one help please ?
    Tue Feb 06 18:55:20 2007
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPABT's password
    C  Connecting as /@ABT on connection 0 (nls_hdl 0) ... (dbsl 640 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 WE8DEC                                                    1   044FAB58   045000D4   044FF95C
    C  Attaching to DB Server ABT (con_hdl=0,svchp=044FF8A8,svrhp=04503F14)
    C  Starting user session (con_hdl=0,svchp=044FF8A8,srvhp=04503F14,usrhp=08C48D68)
    C  Now '/@ABT' is connected (con_hdl 0, nls_hdl 0).
    C  Got SAPABT's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Close user session (con_hdl=0,svchp=044FF8A8,usrhp=08C48D68)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPABT/<pwd>@ABT on connection 0 (nls_hdl 0) ... (dbsl 640 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 WE8DEC                                                    1   044FAB58   045000D4   044FF95C
    C  Starting user session (con_hdl=0,svchp=044FF8A8,srvhp=04503F14,usrhp=08C48D68)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    [dboci.c      4473]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dbsloci.c    11297]
    B  ***LOG BY2=> sql error 1017   performing CON [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 1017   performing CON [dblink#2 @ 419] [dblink  0419 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#2 @ 419] [dblink  0419 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1284]

    SQL> connect / as sysdba
    Connected.
    SQL> SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';
    OWNER
    OPS$CTSINTCOSNW5\ABTADM
    SQL> SELECT OWNER, TABLE_OWNER, TABLE_NAME FROM DBA_SYNONYMS WHERE SYNONYM_NAME
    = 'SAPUSER';
    OWNER                          TABLE_OWNER
    TABLE_NAME
    OPS$CTSINTCOSNW5\SAPSERVICEABT OPS$CTSINTCOSNW5\ABTADM
    SAPUSER
    SQL>
    Followed the note 400241       Problems with ops$ or sapr3 connect to Oracle       
    Problem got solved via the
    Updating BR * Tools
    brconnect -u / -c -f stats -t all -f collect -p 4 in  Oracle Database Guide 4.3.6 BRCONNECT
    Call BRTOOLS, Select Additional Functions --> Change password for database user.
    in my case it is sapabt user
    Thanks for the quick reply

  • [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

  • Invalid username/password.  when trying to connect to oracle discoverer

    Hi All,
    Today when i try to connect to discoverer using oracle apps user and password.
    I am getting an error.
    Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
    I was able to connect previously. Please help me on this.
    discoverer version:11.1.1.4.0
    Apps version : 12.1.3
    db version : 11.2.0.3
    Please suggest.
    Thanks and Regards,

    Was this working before? If yes, any changes been done recently?
    Was the dbc file recreated recently?
    Please see these docs/links.
    After Cloning Oracle Applications And Resetting APPS Password, Discoverer 10g/11g Fails With Error: Unable To Connect To Oracle Applications Database (afscpgcs) [ID 788706.1]
    Apps User Logging Into Discoverer Plus/Viewer Get Error "A connection error has occurred. -Unable to connect to Oracle Applications database: Your password has expired." [ID 871384.1]
    Getting Invalid Username/Password While Running Adupdeul On E-Business Suite R12 [ID 562876.1]
    Attempting to Import Discoverer EUL through adupdeul, returns the error "Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password" [ID 1243866.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%27Unable+to+connect+to+Oracle+Applications+database%27&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Unable to connect to Oracle Applications database invalid username/password

    Hi,
    Ou Requirement is we want to connect to Oracle Applications using discoverer plus and discoverer viewer.
    Application Server used : 10.1.2.0.2
    Oracle Applications : R12 RUP4
    We have installed application server 10g with OID and when we try to connect to oracle applications we are getting
    A connection error has occurred.
    - Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
    Regards
    Ketan

    Hi,
    I think better to check with your sysadmin or DBA on this, I had the same isuse before but Apps 11i with Discoverer, I talked to ERP sysadmin and worked fine.
    Since applications userid cannot talk with Discoverer schema (eul10_us) and it should directly talk with APPS user and then APPS user can talk with Discoverer user.
    To the best of my knowledge I provided.
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Invalid username/password; logon denied

    We are migrating from Oracle 8 to Oracle 11g. Amongst the various tools the client uses is an application written in C++ that uses ODBC. This application is giving us a peculiar problem: From the laptop of one of the main developers, it can connect to the Oracle 11g database just fine. From every other machine (including my own desktop) we cannot connect to the Oracle 11g database using this application.
    On my desktop, I can connect to the database using SQL*Plus. I can use the ODBC connection I created for Excel and import data from the Oracle 11g database into a sheet of mine. Thus, for all intents and purposes it seems to work.
    Ordinarily I'd say that the C++ application is simply broken. The only problem with this explanation is that it apparently works from the main developer's laptop. Does this strange behavior ring a bell? Did he not correctly deinstall his Oracle 8 libraries? Are there configuration options we could have forgotten somewhere? A client setting regarding case-sensitivity of usernames?
    The error message comes with "COM info" and says:
    HRESULT value = -2147217843
    HRESULT message = IDispatch error #3149
    IErrorInfo source = Microsoft OLE DB Provider for ODBC Drivers
    IErrorInfo description = [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    I was hoping I could trace the connection somewhere and figure out what username and password was being sent over the wire. Unfortunately the listener.log file only list the OS username, eg. (CONNECT_DATA=(SID=xxx)(CID=(PROGRAM=xxx.exe)(HOST=xxx)(USER=asc))) with asc being my OS username but not the username used to log into the database.
    Any other ideas?

    someone does have the exact and correct username/password valuesApparently username and password are hard-coded into the application, so if I'm using the same application, I should not have to worry about username/password (both of them lower-case and both of them ASCII-only, no fancy encoding issues). I can use this username/password to connect to the database using SQL*Plus.
    What I'm missing, I think, is proof that the application is in fact always sending the correct username/password to the server, or that the application is triggering an error (except for the developers laptop) which is somehow masked by the "invalid username/password" error message.
    But there are ways to grab login info (i.e. username, client IP address, etc.) and maybe save it to a table or log it some place if figuring out the correct username is part of the issue.How could I grab the login info used by the application as it tries to connect to the Oracle 11g server? Below I have added some (too much?) Tracing info. Can I extract the login info used by the application from it?
    One thing that surprised my is that I see a ns=12630 in the Trace file (ORA-12630: Native service operation not supported) -- I wonder whether that is the real culprit.
    I've set my sqlnet.ora on the client side as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    TRACE_LEVEL_CLIENT = SUPPORT
    TRACE_LEVEL_SERVER = SUPPORT
    ADR_BASE = \app\asc
    I've used trcasst to convert the Trace file into a summary, but didn't find anything to tell me what the problem is. The last function apparently involves TTIOER. That indicates an error somewhere, I think.
    <--- Received 128 bytes - Data packet timestamp=012-04-25 10:42:58.595706
    ORACLE function complete (TTIOER)
    ---> Send 10 bytes - Data packet timestamp=012-04-25 10:42:58.597280
         Data Packet flags:
              End of file
    Looking at the Trace file itself, my main problem is that I don't know what the important parts are. Here is a selection that caught my eye:
    2012-04-25 10:42:58.093417 : nioqrc:entry
    2012-04-25 10:42:58.093440 : nsbasic_bsd:entry
    2012-04-25 10:42:58.093461 : nsbasic_bsd:tot=0, plen=1318.
    2012-04-25 10:42:58.093482 : nttfpwr:entry
    2012-04-25 10:42:58.093567 : nttfpwr:socket 1012 had bytes written=1318
    2012-04-25 10:42:58.093591 : nttfpwr:exit
    2012-04-25 10:42:58.093612 : nsbasic_bsd:packet dump
    2012-04-25 10:42:58.093634 : nsbasic_bsd:05 26 00 00 06 00 00 00 |.&......|
    2012-04-25 10:42:58.093657 : nsbasic_bsd:00 00 03 73 03 01 04 00 |...s....|
    2012-04-25 10:42:58.093679 : nsbasic_bsd:00 00 01 01 00 00 01 12 |........|
    2012-04-25 10:42:58.093701 : nsbasic_bsd:00 00 00 01 01 04 44 65 |......De|
    2012-04-25 10:42:58.093724 : nsbasic_bsd:6D 6F 0C 00 00 00 0C 41 |mo.....A|
    2012-04-25 10:42:58.093746 : nsbasic_bsd:55 54 48 5F 53 45 53 53 |UTH_SESS|
    2012-04-25 10:42:58.093768 : nsbasic_bsd:4B 45 59 60 00 00 00 FE |KEY`... |
    2012-04-25 10:42:58.093790 : nsbasic_bsd:40 43 41 30 34 30 38 36 |@CA04086|
    2012-04-25 10:42:58.093812 : nsbasic_bsd:34 32 34 41 37 38 43 30 |424A78C0|
    2012-04-25 10:42:58.093834 : nsbasic_bsd:38 43 30 38 30 36 30 35 |8C080605|
    2012-04-25 10:42:58.093856 : nsbasic_bsd:37 37 44 43 35 43 45 36 |77DC5CE6|
    2012-04-25 10:42:58.093878 : nsbasic_bsd:34 31 32 31 33 38 42 38 |412138B8|
    2012-04-25 10:42:58.093900 : nsbasic_bsd:37 37 38 33 43 45 37 38 |7783CE78|
    2012-04-25 10:42:58.093922 : nsbasic_bsd:43 30 30 37 34 32 32 33 |C0074223|
    2012-04-25 10:42:58.093944 : nsbasic_bsd:39 33 41 30 43 44 44 30 |93A0CDD0|
    2012-04-25 10:42:58.093966 : nsbasic_bsd:30 20 37 45 36 38 38 45 |0.7E688E|
    2012-04-25 10:42:58.093988 : nsbasic_bsd:36 35 42 33 41 38 39 35 |65B3A895|
    2012-04-25 10:42:58.094010 : nsbasic_bsd:34 32 38 31 41 39 36 41 |4281A96A|
    2012-04-25 10:42:58.094031 : nsbasic_bsd:44 33 37 35 45 46 43 46 |D375EFCF|
    2012-04-25 10:42:58.094054 : nsbasic_bsd:45 39 00 01 00 00 00 0D |E9......|
    2012-04-25 10:42:58.094076 : nsbasic_bsd:00 00 00 0D 41 55 54 48 |....AUTH|
    2012-04-25 10:42:58.094098 : nsbasic_bsd:5F 50 41 53 53 57 4F 52 |_PASSWOR|
    2012-04-25 10:42:58.094120 : nsbasic_bsd:44 40 00 00 00 40 35 39 |D@...@59|
    2012-04-25 10:42:58.094142 : nsbasic_bsd:33 35 43 37 44 33 33 38 |35C7D338|
    2012-04-25 10:42:58.094164 : nsbasic_bsd:36 37 38 34 45 32 33 34 |6784E234|
    2012-04-25 10:42:58.094186 : nsbasic_bsd:30 43 39 30 36 34 36 36 |0C906466|
    2012-04-25 10:42:58.094207 : nsbasic_bsd:46 44 35 46 37 42 34 38 |FD5F7B48|
    2012-04-25 10:42:58.094230 : nsbasic_bsd:33 43 41 43 39 37 43 38 |3CAC97C8|
    2012-04-25 10:42:58.094252 : nsbasic_bsd:42 35 36 31 34 36 33 41 |B561463A|
    2012-04-25 10:42:58.094273 : nsbasic_bsd:39 34 41 45 39 45 46 43 |94AE9EFC|
    2012-04-25 10:42:58.094295 : nsbasic_bsd:31 44 39 43 33 36 00 00 |1D9C36..|
    2012-04-25 10:42:58.094318 : nsbasic_bsd:00 00 08 00 00 00 08 41 |.......A|
    2012-04-25 10:42:58.094339 : nsbasic_bsd:55 54 48 5F 52 54 54 07 |UTH_RTT.|
    2012-04-25 10:42:58.094361 : nsbasic_bsd:00 00 00 07 31 31 30 36 |....1106|
    2012-04-25 10:42:58.094388 : nsbasic_bsd:39 34 39 00 00 00 00 0D |949.....|
    2012-04-25 10:42:58.094410 : nsbasic_bsd:00 00 00 0D 41 55 54 48 |....AUTH|
    2012-04-25 10:42:58.094432 : nsbasic_bsd:5F 43 4C 4E 54 5F 4D 45 |_CLNT_ME|
    2012-04-25 10:42:58.094454 : nsbasic_bsd:4D 04 00 00 00 04 34 30 |M.....40|
    2012-04-25 10:42:58.094476 : nsbasic_bsd:39 36 00 00 00 00 0D 00 |96......|
    2012-04-25 10:42:58.094498 : nsbasic_bsd:00 00 0D 41 55 54 48 5F |...AUTH_|
    2012-04-25 10:42:58.094520 : nsbasic_bsd:54 45 52 4D 49 4E 41 4C |TERMINAL|
    2012-04-25 10:42:58.094542 : nsbasic_bsd:06 00 00 00 06 42 53 49 |.....BSI|
    2012-04-25 10:42:58.094564 : nsbasic_bsd:32 34 32 00 00 00 00 0F |242.....|
    2012-04-25 10:42:58.094586 : nsbasic_bsd:00 00 00 0F 41 55 54 48 |....AUTH|
    2012-04-25 10:42:58.094608 : nsbasic_bsd:5F 50 52 4F 47 52 41 4D |_PROGRAM|
    2012-04-25 10:42:58.094630 : nsbasic_bsd:5F 4E 4D 0A 00 00 00 0A |_NM.....|
    2012-04-25 10:42:58.094652 : nsbasic_bsd:4D 41 50 31 39 30 2E 65 |MAP190.e|
    2012-04-25 10:42:58.094674 : nsbasic_bsd:78 65 00 00 00 00 0C 00 |xe......|
    2012-04-25 10:42:58.094696 : nsbasic_bsd:00 00 0C 41 55 54 48 5F |...AUTH_|
    2012-04-25 10:42:58.094718 : nsbasic_bsd:4D 41 43 48 49 4E 45 0C |MACHINE.|
    2012-04-25 10:42:58.094740 : nsbasic_bsd:00 00 00 0C 42 53 49 41 |....BSIA|
    2012-04-25 10:42:58.094762 : nsbasic_bsd:47 5C 42 53 49 32 34 32 |G\BSI242|
    2012-04-25 10:42:58.094783 : nsbasic_bsd:00 00 00 00 08 00 00 00 |........|
    2012-04-25 10:42:58.094806 : nsbasic_bsd:08 41 55 54 48 5F 50 49 |.AUTH_PI|
    2012-04-25 10:42:58.094827 : nsbasic_bsd:44 09 00 00 00 09 35 36 |D.....56|
    2012-04-25 10:42:58.094849 : nsbasic_bsd:36 30 3A 35 34 33 32 00 |60:5432.|
    2012-04-25 10:42:58.094871 : nsbasic_bsd:00 00 00 08 00 00 00 08 |........|
    2012-04-25 10:42:58.094893 : nsbasic_bsd:41 55 54 48 5F 53 49 44 |AUTH_SID|
    2012-04-25 10:42:58.094915 : nsbasic_bsd:03 00 00 00 03 61 73 63 |.....asc|
    2012-04-25 10:42:58.094937 : nsbasic_bsd:00 00 00 00 16 00 00 00 |........|
    2012-04-25 10:42:58.094959 : nsbasic_bsd:16 53 45 53 53 49 4F 4E |.SESSION|
    2012-04-25 10:42:58.094981 : nsbasic_bsd:5F 43 4C 49 45 4E 54 5F |_CLIENT_|
    2012-04-25 10:42:58.095003 : nsbasic_bsd:43 48 41 52 53 45 54 04 |CHARSET.|
    2012-04-25 10:42:58.095025 : nsbasic_bsd:00 00 00 04 31 30 30 30 |....1000|
    2012-04-25 10:42:58.095046 : nsbasic_bsd:00 00 00 00 17 00 00 00 |........|
    2012-04-25 10:42:58.095068 : nsbasic_bsd:17 53 45 53 53 49 4F 4E |.SESSION|
    2012-04-25 10:42:58.095090 : nsbasic_bsd:5F 43 4C 49 45 4E 54 5F |_CLIENT_|
    2012-04-25 10:42:58.095112 : nsbasic_bsd:4C 49 42 5F 54 59 50 45 |LIB_TYPE|
    2012-04-25 10:42:58.095134 : nsbasic_bsd:01 00 00 00 01 31 00 00 |.....1..|
    2012-04-25 10:42:58.095156 : nsbasic_bsd:00 00 1A 00 00 00 1A 53 |.......S|
    2012-04-25 10:42:58.095178 : nsbasic_bsd:45 53 53 49 4F 4E 5F 43 |ESSION_C|
    2012-04-25 10:42:58.095200 : nsbasic_bsd:4C 49 45 4E 54 5F 44 52 |LIENT_DR|
    2012-04-25 10:42:58.095222 : nsbasic_bsd:49 56 45 52 5F 4E 41 4D |IVER_NAM|
    2012-04-25 10:42:58.095244 : nsbasic_bsd:45 00 00 00 00 00 00 00 |E.......|
    2012-04-25 10:42:58.095265 : nsbasic_bsd:00 16 00 00 00 16 53 45 |......SE|
    2012-04-25 10:42:58.095287 : nsbasic_bsd:53 53 49 4F 4E 5F 43 4C |SSION_CL|
    2012-04-25 10:42:58.095309 : nsbasic_bsd:49 45 4E 54 5F 56 45 52 |IENT_VER|
    2012-04-25 10:42:58.095331 : nsbasic_bsd:53 49 4F 4E 09 00 00 00 |SION....|
    2012-04-25 10:42:58.095353 : nsbasic_bsd:09 31 38 36 36 34 37 32 |.1866472|
    2012-04-25 10:42:58.095375 : nsbasic_bsd:39 36 00 00 00 00 16 00 |96......|
    2012-04-25 10:42:58.095396 : nsbasic_bsd:00 00 16 53 45 53 53 49 |...SESSI|
    2012-04-25 10:42:58.095418 : nsbasic_bsd:4F 4E 5F 43 4C 49 45 4E |ON_CLIEN|
    2012-04-25 10:42:58.095441 : nsbasic_bsd:54 5F 4C 4F 42 41 54 54 |T_LOBATT|
    2012-04-25 10:42:58.095463 : nsbasic_bsd:52 01 00 00 00 01 31 00 |R.....1.|
    2012-04-25 10:42:58.095484 : nsbasic_bsd:00 00 00 08 00 00 00 08 |........|
    2012-04-25 10:42:58.095506 : nsbasic_bsd:41 55 54 48 5F 41 43 4C |AUTH_ACL|
    2012-04-25 10:42:58.095528 : nsbasic_bsd:04 00 00 00 04 34 34 30 |.....440|
    2012-04-25 10:42:58.095553 : nsbasic_bsd:30 00 00 00 00 12 00 00 |0.......|
    2012-04-25 10:42:58.095576 : nsbasic_bsd:00 12 41 55 54 48 5F 41 |..AUTH_A|
    2012-04-25 10:42:58.095598 : nsbasic_bsd:4C 54 45 52 5F 53 45 53 |LTER_SES|
    2012-04-25 10:42:58.095620 : nsbasic_bsd:53 49 4F 4E E2 01 00 00 |SION ...|
    2012-04-25 10:42:58.095642 : nsbasic_bsd:FE 40 41 4C 54 45 52 20 | @ALTER.|
    2012-04-25 10:42:58.095664 : nsbasic_bsd:53 45 53 53 49 4F 4E 20 |SESSION.|
    2012-04-25 10:42:58.095686 : nsbasic_bsd:53 45 54 20 4E 4C 53 5F |SET.NLS_|
    2012-04-25 10:42:58.095708 : nsbasic_bsd:4C 41 4E 47 55 41 47 45 |LANGUAGE|
    2012-04-25 10:42:58.095730 : nsbasic_bsd:3D 20 27 47 45 52 4D 41 |=.'GERMA|
    2012-04-25 10:42:58.095752 : nsbasic_bsd:4E 27 20 4E 4C 53 5F 54 |N'.NLS_T|
    2012-04-25 10:42:58.095774 : nsbasic_bsd:45 52 52 49 54 4F 52 59 |ERRITORY|
    2012-04-25 10:42:58.095796 : nsbasic_bsd:3D 20 27 47 45 52 4D 41 |=.'GERMA|
    2012-04-25 10:42:58.095818 : nsbasic_bsd:4E 59 40 27 20 4E 4C 53 |NY@'.NLS|
    2012-04-25 10:42:58.095840 : nsbasic_bsd:5F 43 55 52 52 45 4E 43 |_CURRENC|
    2012-04-25 10:42:58.095862 : nsbasic_bsd:59 3D 20 27 BF 27 20 4E |Y=.' '.N|
    2012-04-25 10:42:58.095884 : nsbasic_bsd:4C 53 5F 49 53 4F 5F 43 |LS_ISO_C|
    2012-04-25 10:42:58.095906 : nsbasic_bsd:55 52 52 45 4E 43 59 3D |URRENCY=|
    2012-04-25 10:42:58.095928 : nsbasic_bsd:20 27 47 45 52 4D 41 4E |.'GERMAN|
    2012-04-25 10:42:58.095950 : nsbasic_bsd:59 27 20 4E 4C 53 5F 4E |Y'.NLS_N|
    2012-04-25 10:42:58.095972 : nsbasic_bsd:55 4D 45 52 49 43 5F 43 |UMERIC_C|
    2012-04-25 10:42:58.095994 : nsbasic_bsd:48 41 52 40 41 43 54 45 |HAR@ACTE|
    2012-04-25 10:42:58.096016 : nsbasic_bsd:52 53 3D 20 27 2C 2E 27 |RS=.',.'|
    2012-04-25 10:42:58.096038 : nsbasic_bsd:20 4E 4C 53 5F 43 41 4C |.NLS_CAL|
    2012-04-25 10:42:58.096060 : nsbasic_bsd:45 4E 44 41 52 3D 20 27 |ENDAR=.'|
    2012-04-25 10:42:58.096082 : nsbasic_bsd:47 52 45 47 4F 52 49 41 |GREGORIA|
    2012-04-25 10:42:58.096104 : nsbasic_bsd:4E 27 20 4E 4C 53 5F 44 |N'.NLS_D|
    2012-04-25 10:42:58.096126 : nsbasic_bsd:41 54 45 5F 46 4F 52 4D |ATE_FORM|
    2012-04-25 10:42:58.096148 : nsbasic_bsd:41 54 3D 20 27 44 44 2E |AT=.'DD.|
    2012-04-25 10:42:58.096170 : nsbasic_bsd:4D 4D 2E 52 40 52 27 20 |MM.R@R'.|
    2012-04-25 10:42:58.096192 : nsbasic_bsd:4E 4C 53 5F 44 41 54 45 |NLS_DATE|
    2012-04-25 10:42:58.096214 : nsbasic_bsd:5F 4C 41 4E 47 55 41 47 |_LANGUAG|
    2012-04-25 10:42:58.096236 : nsbasic_bsd:45 3D 20 27 47 45 52 4D |E=.'GERM|
    2012-04-25 10:42:58.096258 : nsbasic_bsd:41 4E 27 20 4E 4C 53 5F |AN'.NLS_|
    2012-04-25 10:42:58.096280 : nsbasic_bsd:53 4F 52 54 3D 20 27 47 |SORT=.'G|
    2012-04-25 10:42:58.096302 : nsbasic_bsd:45 52 4D 41 4E 27 20 54 |ERMAN'.T|
    2012-04-25 10:42:58.096324 : nsbasic_bsd:49 4D 45 5F 5A 4F 4E 45 |IME_ZONE|
    2012-04-25 10:42:58.096346 : nsbasic_bsd:3D 20 27 2B 30 40 32 3A |=.'+0@2:|
    2012-04-25 10:42:58.096368 : nsbasic_bsd:30 30 27 20 4E 4C 53 5F |00'.NLS_|
    2012-04-25 10:42:58.096390 : nsbasic_bsd:43 4F 4D 50 3D 20 27 42 |COMP=.'B|
    2012-04-25 10:42:58.096412 : nsbasic_bsd:49 4E 41 52 59 27 20 4E |INARY'.N|
    2012-04-25 10:42:58.096435 : nsbasic_bsd:4C 53 5F 44 55 41 4C 5F |LS_DUAL_|
    2012-04-25 10:42:58.096457 : nsbasic_bsd:43 55 52 52 45 4E 43 59 |CURRENCY|
    2012-04-25 10:42:58.096479 : nsbasic_bsd:3D 20 27 BF 27 20 4E 4C |=.' '.NL|
    2012-04-25 10:42:58.096501 : nsbasic_bsd:53 5F 54 49 4D 45 5F 46 |S_TIME_F|
    2012-04-25 10:42:58.096523 : nsbasic_bsd:4F 52 4D 41 54 3D 40 20 |ORMAT=@.|
    2012-04-25 10:42:58.096545 : nsbasic_bsd:27 48 48 32 34 3A 4D 49 |'HH24:MI|
    2012-04-25 10:42:58.096567 : nsbasic_bsd:3A 53 53 58 46 46 27 20 |:SSXFF'.|
    2012-04-25 10:42:58.096589 : nsbasic_bsd:4E 4C 53 5F 54 49 4D 45 |NLS_TIME|
    2012-04-25 10:42:58.096611 : nsbasic_bsd:53 54 41 4D 50 5F 46 4F |STAMP_FO|
    2012-04-25 10:42:58.096633 : nsbasic_bsd:52 4D 41 54 3D 20 27 44 |RMAT=.'D|
    2012-04-25 10:42:58.096655 : nsbasic_bsd:44 2E 4D 4D 2E 52 52 20 |D.MM.RR.|
    2012-04-25 10:42:58.096676 : nsbasic_bsd:48 48 32 34 3A 4D 49 3A |HH24:MI:|
    2012-04-25 10:42:58.096742 : nsbasic_bsd:53 53 58 46 46 27 20 40 |SSXFF'.@|
    2012-04-25 10:42:58.096765 : nsbasic_bsd:4E 4C 53 5F 54 49 4D 45 |NLS_TIME|
    2012-04-25 10:42:58.096788 : nsbasic_bsd:5F 54 5A 5F 46 4F 52 4D |_TZ_FORM|
    2012-04-25 10:42:58.096810 : nsbasic_bsd:41 54 3D 20 27 48 48 32 |AT=.'HH2|
    2012-04-25 10:42:58.096832 : nsbasic_bsd:34 3A 4D 49 3A 53 53 58 |4:MI:SSX|
    2012-04-25 10:42:58.096854 : nsbasic_bsd:46 46 20 54 5A 52 27 20 |FF.TZR'.|
    2012-04-25 10:42:58.096876 : nsbasic_bsd:4E 4C 53 5F 54 49 4D 45 |NLS_TIME|
    2012-04-25 10:42:58.096898 : nsbasic_bsd:53 54 41 4D 50 5F 54 5A |STAMP_TZ|
    2012-04-25 10:42:58.096920 : nsbasic_bsd:5F 46 4F 52 4D 41 54 3D |_FORMAT=|
    2012-04-25 10:42:58.096942 : nsbasic_bsd:1E 20 27 44 44 2E 4D 4D |..'DD.MM|
    2012-04-25 10:42:58.096964 : nsbasic_bsd:2E 52 52 20 48 48 32 34 |.RR.HH24|
    2012-04-25 10:42:58.096986 : nsbasic_bsd:3A 4D 49 3A 53 53 58 46 |:MI:SSXF|
    2012-04-25 10:42:58.097008 : nsbasic_bsd:46 20 54 5A 52 27 00 00 |F.TZR'..|
    2012-04-25 10:42:58.097029 : nsbasic_bsd:00 00 00 00 17 00 00 00 |........|
    2012-04-25 10:42:58.097051 : nsbasic_bsd:17 41 55 54 48 5F 4C 4F |.AUTH_LO|
    2012-04-25 10:42:58.097073 : nsbasic_bsd:47 49 43 41 4C 5F 53 45 |GICAL_SE|
    2012-04-25 10:42:58.097095 : nsbasic_bsd:53 53 49 4F 4E 5F 49 44 |SSION_ID|
    2012-04-25 10:42:58.097117 : nsbasic_bsd:20 00 00 00 20 41 44 44 |.....ADD|
    2012-04-25 10:42:58.097139 : nsbasic_bsd:39 44 37 43 42 42 42 39 |9D7CBBB9|
    2012-04-25 10:42:58.097161 : nsbasic_bsd:42 34 38 38 37 42 38 35 |B4887B85|
    2012-04-25 10:42:58.097183 : nsbasic_bsd:38 38 35 42 38 33 32 30 |885B8320|
    2012-04-25 10:42:58.097205 : nsbasic_bsd:42 32 39 43 42 00 00 00 |B29CB...|
    2012-04-25 10:42:58.097227 : nsbasic_bsd:00 10 00 00 00 10 41 55 |......AU|
    2012-04-25 10:42:58.097249 : nsbasic_bsd:54 48 5F 46 41 49 4C 4F |TH_FAILO|
    2012-04-25 10:42:58.097271 : nsbasic_bsd:56 45 52 5F 49 44 00 00 |VER_ID..|
    2012-04-25 10:42:58.097292 : nsbasic_bsd:00 00 00 00 00 00 |...... |
    2012-04-25 10:42:58.097313 : nsbasic_bsd:exit (0)
    2012-04-25 10:42:58.097334 : nsbasic_brc:entry: oln/tot=0
    2012-04-25 10:42:58.097355 : nttfprd:entry
    2012-04-25 10:42:58.353896 : nttfprd:socket 1012 had bytes read=22
    2012-04-25 10:42:58.353943 : nttfprd:exit
    2012-04-25 10:42:58.353965 : nsbasic_brc:type=12, plen=11
    2012-04-25 10:42:58.353987 : nsbasic_brc:what=17, tot =22
    2012-04-25 10:42:58.354008 : nsbasic_brc:packet dump
    2012-04-25 10:42:58.354031 : nsbasic_brc:00 0B 00 00 0C 00 00 00 |........|
    2012-04-25 10:42:58.354053 : nsbasic_brc:01 00 01 |... |
    2012-04-25 10:42:58.354074 : nsbasic_brc:exit: oln=11, dln=1, tot=22, rc=0
    2012-04-25 10:42:58.354096 : nioqrc: found a break marker...
    2012-04-25 10:42:58.354117 : nioqrc: Recieve: returning error: 3111
    2012-04-25 10:42:58.354137 : nioqrc:exit
    2012-04-25 10:42:58.355752 : nserror:entry
    2012-04-25 10:42:58.355774 : nserror:nsres: id=0, op=77, ns=12630, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    2012-04-25 10:42:58.355797 : nioqer:entry
    2012-04-25 10:42:58.355817 : nioqer: incoming err = 0
    2012-04-25 10:42:58.355837 : nioqce:entry
    2012-04-25 10:42:58.355857 : nioqce:exit
    2012-04-25 10:42:58.355877 : nioqer: returning err = 0
    2012-04-25 10:42:58.355897 : nioqer:exit
    2012-04-25 10:42:58.355917 : nioqrs:exit
    2012-04-25 10:42:58.355937 : nioqrc:entry
    2012-04-25 10:42:58.355958 : nsbasic_brc:entry: oln/tot=0
    2012-04-25 10:42:58.355979 : nttfprd:entry
    2012-04-25 10:42:58.595569 : nttfprd:socket 1012 had bytes read=128
    2012-04-25 10:42:58.595617 : nttfprd:exit
    2012-04-25 10:42:58.595640 : nsbasic_brc:type=6, plen=128
    2012-04-25 10:42:58.595662 : nsbasic_brc:what=1, tot =128
    2012-04-25 10:42:58.595683 : nsbasic_brc:packet dump
    2012-04-25 10:42:58.595706 : nsbasic_brc:00 80 00 00 06 00 00 00 |........|
    2012-04-25 10:42:58.595728 : nsbasic_brc:00 00 04 01 00 00 00 00 |........|
    2012-04-25 10:42:58.595751 : nsbasic_brc:00 00 00 00 00 F9 03 00 |..... ..|
    2012-04-25 10:42:58.595772 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595794 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595816 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595845 : nsbasic_brc:00 00 00 00 00 00 00 03 |........|
    2012-04-25 10:42:58.595867 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595889 : nsbasic_brc:00 00 00 00 00 00 00 00 |........|
    2012-04-25 10:42:58.595911 : nsbasic_brc:00 00 00 00 33 4F 52 41 |....3ORA|
    2012-04-25 10:42:58.595933 : nsbasic_brc:2D 30 31 30 31 37 3A 20 |-01017:.|
    2012-04-25 10:42:58.595955 : nsbasic_brc:69 6E 76 61 6C 69 64 20 |invalid.|
    2012-04-25 10:42:58.595977 : nsbasic_brc:75 73 65 72 6E 61 6D 65 |username|
    2012-04-25 10:42:58.595999 : nsbasic_brc:2F 70 61 73 73 77 6F 72 |/passwor|
    2012-04-25 10:42:58.596021 : nsbasic_brc:64 3B 20 6C 6F 67 6F 6E |d;.logon|
    2012-04-25 10:42:58.596043 : nsbasic_brc:20 64 65 6E 69 65 64 0A |.denied.|
    2012-04-25 10:42:58.596065 : nsbasic_brc:exit: oln=0, dln=118, tot=128, rc=0
    2012-04-25 10:42:58.596087 : nioqrc:exit
    2012-04-25 10:42:58.596521 : nioqds:entry
    2012-04-25 10:42:58.596545 : nioqds: disconnecting...
    2012-04-25 10:42:58.596567 : nsclose:entry
    The ns=12630 leads me to the following:
    ORA-12630: Native service operation not supported
    Cause: An operation requested by a user is not supported by the native services component.
    Action: This may be an internal error if the operation should have been supported.

  • 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

  • SEVERE: java.sql.SQLException: ORA-01017: invalid username/password; logon

    I installed Java-Addin for an existing ECC ABAP instance.
    I install this Java Add-in in a seperate machine.
    This machine again already have another ECC instance (ABAP) so I don't need to install Oracle during my process.
    However, at the step of java dump load, I encounter error as bellow:
    Please let me know how to do with it
    Thanks
    05.04.08 09:26:49 com.sap.inst.jload.Jload main
    INFO: Jload -sec X11,jdbc/pool/X11,
    HunXDD/sapmnt/X11/SYS/global/security/data/SecStore.properties,
    HungTT/sapmnt/X11/SYS/global/security/data/SecStore.key -dataDir K:/Setup/Netweaver 2004s/NW 2004s Java Application server\JAVA_EXPORT\JDMP -job C:\Program Files\sapinst_instdir\ERP\LM\AS-JAVA\ADDIN\ORA\CENTRAL\DB\IMPORT.XML -log jload.log
    05.04.08 09:26:51 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    05.04.08 09:26:51 com.sap.inst.jload.Jload logStackTrace
    SEVERE: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

    Am i understanding it right?
    You are trying to Install Java Add-in on  Box-A  for an existing ABAP Instance which is installed in Box-B. 
    I see both unix and window directories in the log, can u explain your installation procedure.
    a) Have you inserted the "IP Addreas  & Hostname" in /etc/host file on either boxes. ?
    b) Are you able to ping Box-A from Box-B and vice versa. ?
    c) Have you mounted /sapmnt/<SID>  of Box-B on Box-A?
    d) Are you installing as user 'root' (unix) or administrator (windows)
    e) On the ABAP Instance check if the users J2EE_ADMIN, J2EE_GUEST, SAPJSF are created and not locked.  Check if the roles exisiting.
    f) Check if you have enough space in your TMP & SAPINST directories
    g) Check the file permission for SecStore.properties and SecStore.key.
    h) Check if the JAVA db user is lockec egSAPSR3DB
       1)login '/as sqlplus'
       2) select username, account_status from dba_users;
    i) passwords are case sensitive, hope you are using the right comibination.
    j) It prompts for DDIC password of the client in use.  Is the password enter for DDIC right ?
    Prior to this installation did you try installing JAVA Addin in Box B, if so, you have to uninstall the previous installation and then install this. 
    Let me know
    Cheers
    Shaji
    Edited by: Shaji Jacob on Apr 5, 2008 4:55 PM

  • Initial load failed on invalid username/password

    Hi,
    Source oracle 1024 on HPUX
    Target oracle 11203 RAC on Oracle linux
    Goldengate version : Version 11.2.1.0.3
    On source and target , The golden gate database user named : ggs_admin with the same password.
    While trying to do an initila load for the first time i am getting :
    ERROR OGG-00664 OCI Error beginning session (status = 1017-ORA-01017: invalid username/password; logon denied).
    Please advise
    on SOURCE:
    GGSCI (pulse) 3> view report load1
    2012-10-12 23:09:39  INFO    OGG-01017  Wildcard resolution set to IMMEDIATE because SOURCEISTABLE is used.
                     Oracle GoldenGate Capture for Oracle
          Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230
    **            Running with the following parameters                  **
    2012-10-12 23:09:39  INFO    OGG-03035  Operating system character set identified as hp-roman8. Locale: en_US_POSIX, LC_ALL:.
    EXTRACT  load1
    USERID  ggs_manager, PASSWORD ***********
    Source Context :
      SourceModule            : [ggdb.ora.sess]
      SourceID                : [/scratch/aime1/adestore/views/aime1_staoi06/oggcore/OpenSys/src/gglib/ggdbora/ocisess.c]
      SourceFunction          : [oci_try]
      SourceLine              : [642]
    2012-10-12 23:09:39  ERROR   OGG-00664  OCI Error beginning session (status = 1017-ORA-01017: invalid username/password; logon denie
    d).
    2012-10-12 23:09:39  ERROR   OGG-01668  PROCESS ABENDING.Themanager parametr file is:
    GGSCI (pulse) 2> view PARAMS MGR
    PORT 7809
    USERID ggs_admin, PASSWORD ggs_admin
    PURGEOLDEXTRACTS /software/oracle/PRODBCV10gR2/ggs/dirdat/ex, USECHECKPOINTS
    --AUTOSTART EXTRACT ext_gg_bezeq
    --AUTORESTART EXTRACT ext_gg_bezeq, RETRIES 3, WAITMINUTES 1, RESETMINUTES 60Checking on source connection using ggsci + sqlplus in lower case and upper case : SUCCESSFULL:
    GGSCI (pulse) 4> DBLOGIN USERID ggs_admin, PASSWORD ggs_admin
    Successfully logged into database.
    GGSCI (pulse) 5> DBLOGIN USERID GGS_ADMIN , PASSWORD GGS_ADMIN
    Successfully logged into database.
    GGSCI (pulse) 6> exit
    [pulse:oracle@bcv /software/oracle/PRODBCV10gR2/ggs]$ sqlplus ggs_admin/ggs_admin
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    WELCOME TO PULSE GGS_ADMIN@BCV
    GGS_ADMIN@bcv> exit
    [pulse:oracle@bcv /software/oracle/PRODBCV10gR2/ggs]$ sqlplus GGS_ADMIN/GGS_ADMIN
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    WELCOME TO PULSE GGS_ADMIN@BCV
    ************************************The same SUCCESSFULL connection results are happen on TARGET :
    GGSCI (dm01db02.bezeqint.co.il) 1> DBLOGIN USERID ggs_admin, PASSWORD ggs_admin
    Successfully logged into database.
    GGSCI (dm01db02.bezeqint.co.il) 2> DBLOGIN USERID GGS_ADMIN,PASSWORD GGS_ADMIN
    Successfully logged into database.Also SQLPLUS connection with lowercase and upper case are OK :
    [dm01db02:oracle@psdwh2 /home/oracle]$ sqlplus GGS_ADMIN/GGS_ADMIN
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> exit
    [dm01db02:oracle@psdwh2 /home/oracle]$ sqlplus ggs_admin/ggs_admin
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> exit

    What is the ORACLE_SID in your GoldenGate environment? If you can't resolve it at the OS level, then set it in your parameter files.

Maybe you are looking for