ORA-28000: the account is locked  Connection : false

Now if I chnage my java code a little bit I am getting this error.
ORA-28000: the account is locked
Connection : false
Connection is not established.
Please can someone explain what is wrong here?

ORA-28000
Error: ORA-28000: the account is locked
Cause: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the database administrator has locked the account.
Action: Wait for PASSWORD_LOCK_TIME or contact the database administrator
To unlock an user manually:
ALTER USER username ACCOUNT UNLOCK;
to change his password:
alter user username identified by new_password;
Edited by: Fran on 26-nov-2012 3:22

Similar Messages

  • ORA-28000: the account is locked Error

    Hello ---
    I'm trying to set up a data source to an 11g DB from WLS 11gR1. When I go to test it I get the following error even though the account is definitely not locked :
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: ORA-28000: the account is locked
    at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:479)
    at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:173)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1117)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:244)
    Truncated. see log file for complete stacktrace
    Any ideas? Thanks!

    Hi. Please add your details to this program and run it in that environment.
    Thanks,
    Joe
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import java.lang.reflect.Method;
    public class thinXACon {
    public static void main (String argv[]) {
    String UserName = "myUser";
    String Password = "myPassword";
    String SID = "mySID";
    String ServerName = "myDBMSBox";
    String PortNumber = "1588";
    String URL = "jdbc:oracle:thin:@" + ServerName + ":" + PortNumber + ":" + SID;
    try {
    // load XA driver and get connection
    oracle.jdbc.xa.client.OracleXADataSource ods = new oracle.jdbc.xa.client.OracleXADataSource();
    initProp(ods, "User", UserName);
    initProp(ods, "Password", Password);
    initProp(ods, "SID", SID);
    initProp(ods, "PortNumber", PortNumber);
    initProp(ods, "ServerName", ServerName);
    initProp(ods, "URL", URL);
    XAConnection xaConn = ods.getXAConnection();
    } catch (Exception e) {
    e.printStackTrace ();
    private static void initProp(Object ds, String propName, Object value) {
    try {
    Method[] meths = ds.getClass().getMethods();
    Method meth = null;
    String setterName = "set" + propName;
    Class paramType = null;
    for (int i = 0; i < meths.length; i++) {
    if (meths.getName().equalsIgnoreCase(setterName) &&
    meths[i].getParameterTypes().length == 1) {
    meth = meths[i];
    paramType = (meths[i].getParameterTypes())[0];
    break;
    if (meth != null) {
    Object val = value;
    if (value instanceof String) {
    if (paramType == int.class) {
    val = Integer.valueOf((String)value);
    } else if (paramType == boolean.class) {
    val = Boolean.valueOf((String)value);
    meth.invoke(ds, new Object[]{val});
    } else {
    meth = ds.getClass().getMethod(
    "setProperty", new Class[]{String.class, Object.class});
    meth.invoke(ds, new Object[]{propName, value});
    } catch (Exception ignore) { }

  • ORA-28000: the account is locked error getting frequently

    Hi Team,
    We are getting ORA-28000: the account is locked while login.We unlocked the user and we tried to change the password as well but no luck.Can anyone please suggest on this..
    My db version is 10.2.0.3.0
    Thanks
    Edited by: Nabin on Nov 26, 2012 3:20 AM

    ORA-28000
    Error: ORA-28000: the account is locked
    Cause: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the database administrator has locked the account.
    Action: Wait for PASSWORD_LOCK_TIME or contact the database administrator
    To unlock an user manually:
    ALTER USER username ACCOUNT UNLOCK;
    to change his password:
    alter user username identified by new_password;
    Edited by: Fran on 26-nov-2012 3:22

  • OEM 10G and ORA-28000: the account is locked

    windows xp 2; 10G base
    Get ORA-28000: the account is locked when starting database from the browser?
    TIA

    first open the account and change password
    in sql plus conn / as sysdba
    SQL> alter user scott indentified by tiger account unlock;
    then try to login

  • SQL*Loader-128: unable to begin a session ORA-28000: the account is locked

    Hi everyone,
    I am migrating from a SQL Server 2000 DB to Oracle 10g. I followed the migration tutorial and got all the way till the data migration process. The DB data capture scripts capture the data from the SQL Server successfully but i encounter the following error while i run the oracle_ctl.bat file on the Oracle side:
    SQL*Loader: Release 10.2.0.1.0 - Production on Tue Jun 9 14:08:27 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-128: unable to begin a session
    ORA-28000: the account is locked
    I checked the account and its unlocked and the user name/password combination is the correct one. All the log files have the same error messages. The user has all the required privileges.
    Any ideas why this might be happening ?
    Thanks,
    Amo.

    Hello,
    there may be several causes for this:
    1) account in grace period, it can login to sqlplus but could not logn with sqlldr
    2) kind of user being specified (sys as sysdba for example)
    Could you please paste first lines of modified batch file and
    output from select user and status in dba_users ?
    Try anyway to run the unlock command
    ALTER USER username ACCOUNT UNLOCK;
    Thanks
    Regards,
    Marcello
    Edited by: MGILIBER on Jun 12, 2009 3:02 AM

  • ERROR - ORA-28000: the account is locked

    I've successfully installed Oracle 10g standard edition in my PC...And when i tried to log in into isql plus environment with user name scott and password tiger it flashes ORA-2800 error and shows that the account is locked...pls tell me what to do to unlock that account and so that i can work in ISqlplus environment....

    Hello,
    there is a space after /
    sqlplus / as sysdba will work since 9i before you it should sqlplus "/ as sysdba"
    look on the spaces.
    I will also suggest to alter user <username> identified by <password> account unlock;
    The reason is why ? Id like default passwords on systems.
    regards
    Peter

  • ORA-28000 The account is locked periodically

    Hello,
    First all i would like to say that i'm really new in the oracle world..
    In our infraestructure(OHS/OAS/ODB) we have periodically lock of the account used to integrate the most important datas in the databases, after put a trigger in the database we can only get source ip and process user who locked, is posible to obtain more information about the lock like process name pid, etc..?
    Where can i get detailed information about pool connections from the OAS servers?
    After analyse our last lock, i see that first logon deny come from an OAS server and nexts from the database with local user oracle.. any idea?
    thanks in advance

    Hi;
    As Werner mention best approach is enable aduting
    User login audit
    Number to user login during a period
    Regard
    Helios

  • Could not create pool connection.  ORA-28000: the account is locked

    hi
    here what i did
    i was running my ADF page on 11g weblog normally and i tried to deploy it, and this error occured when deploying it
    and also now i cannot run my page from JDeveloper and the same error occure too
    please so so so urgent
    thanks

    This can happen on the first launch of the application on a reel weblogic server.
    This code will solve your problem. As SYSDBA :
    ALTER USER yourUserName ACCOUNT UNLOCK;
    regards
    Luc-

  • ORA-28000: The account is locked

    hi, all I've tried to connect to db as sys more then 10 times and now I am banned^).
    But I tried this to know how much time it will take:
    SELECT * FROM DBA_PROFILES
    WHERE profile = 'DEFAULT' AND resource_name = 'PASSWORD_LOCK_TIME'
    UNLIMITED
    What should I do? Now I am working as SYS with sysdba privileges.

    Hi,
    Use
    SQL> alter user "USER" account unlock.
    Regards
    Jafar

  • Thread: ERROR - ORA-28000: the account is locked

    i installed oracle 10g. but it shows this error

    suresh.m2015 wrote:
    i installed oracle 10g. 10g?
    Really?
    Why?
    Why not 11g (which you were trying to install in your previous thread: Re: Error in instaling oracle 11g in win7
    And where did you get a copy of 10g, seeing as it is not publicly available.
    but it shows this error

  • Help required with Ora-28000 Error, Account is Locked

    Hello all,
    I have an user who is getting ORA - 28000, Account is Locked Error, while connecting to an instance, she has connected to this instance successfully several times earlier. Myself and several other users are able to connect to the same instance.
    How to resolve this issue and help the user to get connected to that instance successfully, please advise me.
    Thanks a lot for cooperation in advance.
    Regards,
    Suranjita

    You can run the following in sql plus
    alter user username account unlock;
    to unclock the account
    Regards

  • ORA-28011: the account will expire soon; change your password now

    ORA-28011: the account will expire soon; change your password now
    i am facing this error at the the time of form compilation as per forum solution i tried but same error lands.
    In my form Dblink is used when i comment that query in which the dblink is used the form run successfully.
    But i want dblink query also when i have been fired this query or includind dblink query and compiling the form the errors came
    What is the solution for that error[ORA-28011]?
    In my form, code is as follow-
    BEGIN
    update pf.pf_master_personal_dtl
    set emp_pan_no = (select pan_num
    from sapsr3.zhrupdate@vhp_link
    where pan_num is not null
    and to_number(emp_num) = pf_num)
    where emp_pan_no is null
    and pf_num in (select to_number(emp_num) from sapsr3.zhrupdate@vhp_link);
    COMMIT;
    END;
    Thanks & Regards,
    Sachin Wagh

    Hi i am using oracle 9i database for sapsr3 user
    SELECT RESOURCE_NAME,LIMIT
    FROM dba_profiles
    WHERE PROFILE='DEFAULT'
    AND RESOURCE_NAME='PASSWORD_LIFE_TIME';
    I cheked this query i got here output as - LIMIT = 180
    how i will change LIMIT to 'UNLIMITED' IN Oracle 9i database for user sapsr3
    Because when i executed below ALTER query for sapsr3 user for oracle 9i database
    ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
    It's gives error as "ORA-01031: insufficient privileges"
    kindly suggest
    Regards,
    Sachin Wagh

  • Hello I have a problem with the iPhone 5 does not know the account activation lock

    Hello I have a problem with the iPhone 5 does not know the account activation lock 

    You will not be able to access the device without the account activate lock password. IF you have the receipt and other proof of purchase you may have sucess with contacting apple and asking them for assistance. Depending gretaly on how much proof of purchase you have.
    Good luck Friend.

  • The account is locked

    Hi
    who can me help to unlocked my account for Orcacle application Express ?
    Thanks in advance
    Walt

    unfortunatly the problem is the same
    I can't to login in admin ... and when i reset my password the system say The account is locked
    Do you know an Email address form contacting the support ?
    BR,
    Walt

  • Hi, every body, I got ORA-28000 error account locked.

    Hi, team and fellow(s);
    I got an error that my account is locked, i try my best but do not understand what to do to upon my account to connect database I mean to Oracle SQL Developer.
    Would some body help me please.
    I.A.Bangash
    ([email protected])

    I got an error that my account is locked, i try my best but do not understand what to do to upon my account to connect database I mean to Oracle SQL Developer.
    Sql Developer doesn't 'lock' accounts, the database does.
    Connect as a user with DBA privileges and issue an ALTER statement to unlock the account. For example for HR use:
    alter user hr account unlock;

Maybe you are looking for

  • Error(20,22): PL/SQL: ORA-00942: table or view does not exist

    I am getting currently getting an error when I try and insert into a table from a different schema from my Stored Procedure: Error(20,22): PL/SQL: ORA-00942: table or view does not exist I am explicitly calling the table with the schema name infront

  • The specified store provider cannot be found in the configuration?

    I got the error "The specified store provider cannot be found in the configuration, or is not valid" while excuting the following command: E:\Windows\Microsoft.NET\Framework\v4.0.30319\EdmGen.exe /nologo /language:CSharp /mode:ViewGeneration /inssdl:

  • [AS CS3] setting fill color opacity

    I want to change the fill opacity of a text box. So far I have only been able to set the opacity of the entire text box thru the blending settings of the transparency settings. The code I have below will set the entire text box to the opacity I want

  • How to use Http test Client  for Java Client Proxy Scenario

    Hi, I build a scenario using Java Client Proxy where JSP as my FrontHand. Can I know that whether i can use Http Test Client in place of JSP for sending data and getting response back. If yes than how can i implement this ? Regards, Abhi

  • Streaming slow on my mac

    When streaming videos and audio on my new macbook pro retina, I experience very long buffering times, especially when viewing HD video on sites like Vimeo or YouTube. Flash Player stops, then more buffering occurs. Is there anything I can do to fix t