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) { }

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • 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

  • Unable to Start the Weblogic Console, "The domain edit lock error persists"

    Hi, I have read a post regarding "The domain edit lock is owned by another session in exclusive mode" error in Weblogic server Using JDeveloper, I am also getting the same error when I ran the JDeveloper, But to change the settings I am Unable to open the Console for WebLogic Server Administration in My System(PC).
    "http://127.0.0.1:7001/console" or "http://localhost:7001/console" both are not opening. I have not Installed Weblogic Server separately but I configured My application using JDeveloper. I am getting the above error in JDev Console. I am using the JDeveloper 11g version.
    Your Help will be greatly helpful to me.
    Thanks,
    Srinivas Reddy.

    Problem is solved in opening the WebLogic Admin Console... But When I try to deploy the application Some errors Like Validation Failed for Schemas..
    this type of messages are coming in red color in admin console.
    can any one help on this..?

Maybe you are looking for

  • ``I would like to find the good 'driver ' to install it on my computer`` (BB pearl 8130)

    somebody can give me a link or something to find the good 'driver ' to be able to make work my ' RIM mass storage device ' on my old  computer please! tnx a lot  [email protected]

  • Is Oracle dead?

    1. Is oracle dead, everybody in irc mention oracle is dead, they stop answering, long live postgre, gets lots of feedback, mysql sucks and dont give any answers etc etc. - oracle doesnt welcome new comers? Its all about 40's!! - what does it mean? -

  • WPF: Could we simplify path definitions?

    We have defined two paths for apply to two different styles. The only difference between two paths is one path rotates 180 degree of first path. So far we have to duplicate Path definition code and two paths difference in bold line section. <Path x:N

  • How to install NW developer studio (JIDE18_0-10002804.SAR)

    Hi all! I want to install Sap Netweaver Developer Studio, so i was advised to download the file "JIDE18_0-10002804.SAR" from SAP Service Market Place. The problem is that this file is a ".SAR", and i don't know how to launch the installation. So, pie

  • Accessing Shared Photostreams  in Photos

    IN the original Photos library I imported from iPhoto I can turn on Photostreams and Share Photostreams in Preferences and access them. But if switch libraries (to another library imported from from iPhoto), Preferences does not let me turn these on,