ORA-28000 in Java program while account is not actually locked
Hi all,
we got error ORA-28000: the account is locked in Java program which connects to Oracle.
But account is not locked, 'cause we can log in using Oracle SQL Developer.
What can be wrong?
I would bet my bottom dollar that you are not logging in to the same account in the same database when you connect via SQL Developer that the Java application is connecting to. Perhaps there is a difference in the TNS configuration the two tools are using that makes it look like they should be connecting to the same database. Perhaps the Java application is not using the username that you expect, etc.
Have you enabled auditing of both successful and failed connections to this database to see whether you see both connections and whether they are using the same account?
I suppose it is possible that you've found a bug that needs to be reported to Oracle Support where an incorrect error message is returned. But it is vastly more likely that Oracle is right and you've made a mistake.
Justin
Similar Messages
-
Event 4776 Error Code: 0xC0000234 but account not actually locked out
I am coming across several instances where a user will get the error code 0xC0000234 for event 4776 and Failure Reason: Account Locked Out for event 4625 but the account never actually locks out. I cannot find a corresponding event 644 (windows 2003) or
4740 (Server 2008 and up) on any of our AD servers.
Any idea why this would register as an account being locked out, but not actually lock the account out?
Thanks!Hi,
Sounds a little weird to me.
Would you please check the account lockout policy, and post out the configured value for
Account lockout duration,
Account lockout threshold and Reset account lockout counter after?
More information for you:
Account Policy Settings
http://technet.microsoft.com/en-us/library/cc757692(v=WS.10).aspx
If the Account lockout duration and Reset account lockout counter after settings are set too low, the account will be unlocked very quickly after it’s locked.
Best Regards,
Amy -
This is the program I wrote LineRect just to draw a line a rectangle etc...... Y it is not working How can i used the same program to run without using applet that is by using awt and swing.........Pls Help me.............
import java.awt.*;
import java.io.*;
public class LineRect
{public void paint(Graphics g)
{g.drawLine(10,10, 50,50);
g.drawRect(10, 60, 40,30);
g.fillRect(60,10,30,80);
g.drawRoundRect(10,100,80,50,10,10);
g.fillRoundRect(20,110,60,30,5,5);
g.drawLine(100,10,230,140);
g.drawLine(100,140,230,10);
<APPLET
CODE =LineRect.class
WIDTH=250
HEIGHT=200>
</APPLET>There are many significant errors here for instance you are using a class file as if it were an applet yet you do not subclass applet. Your code has no init method (if it is to be an applet). Your best bet is to go through the tutorials one step at a time. One thing to consider is to subclass a JPanel and draw on the jpanel overriding the paintComponent method. This can then be added to a JFrame or a JApplet's contentPane and would allow the same graphics in both. But again, please study the tutorials on all of this, otherwise you will be doing hit-or-miss programming, and that is no way to learn.
Much luck!
Addendum: Also, if you are just beginning in Java programming, I suggest you start with the basics and not with Swing / AWT / graphics programming. Otherwise you will just end up bruised and disappointed. You have to learn to walk before you can run.
Edited by: Encephalopathic on Dec 26, 2007 5:09 AM -
First let me say I am totally new to Oracle. I did a new installation of 8.1.7 and created the user and tablespace as follows:
-- Create a new tablespace - AT 14 Jan 2000
DROP TABLESPACE gis INCLUDING CONTENTS;
CREATE TABLESPACE gis DATAFILE 'c:\oracle\oradata\dev\gis.dbf'
SIZE 1000M REUSE
DEFAULT STORAGE ( INITIAL 20K NEXT 10K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0 );
-- Create the user
DROP USER gis cascade;
CREATE USER gis IDENTIFIED BY tutorial1 DEFAULT TABLESPACE tutorial1 TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK;
GRANT DBA TO gis;
GRANT EXP_FULL_DATABASE TO gis;
GRANT IMP_FULL_DATABASE TO gis;
GRANT CONNECT TO gis;
GRANT UNLIMITED TABLESPACE TO gis;
ALTER USER gis DEFAULT ROLE ALL;
A Java script is then run that worked when it was run against our 8.1.6 version.
The SQL statement works until it hits the 581st geometry. This particular geometry contains 17 line segments.
The java bombs with the following output:
UPDATE mtrtemp2 set GEOMETRY = (SELECT SDO_GEOM.SDO_UNION(a.geometry, b.geometry, .00000001) FROM mtrtemp2 a, mtrbuffer b WHE
b.sdo_gid = 580)
hhhhh
c is: 57
581
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
582
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
583
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
584
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
585
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
586
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
587
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
588
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
589
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
590
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
591
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
592
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
593
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
594
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
595
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
596
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
597
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
598
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
599
java.sql.SQLException: Io exception: End of TNS data channel
hhhhh
c is: 57
600
IR111
Exception in thread "main" java.sql.SQLException: Io exception: End of TNS data channel
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java)
at mtroutline.loaddb(mtroutline.java:72)
at mtroutline.main(mtroutline.java:107)
Can anyone please help me resolve?Can you explain this some more?
One of the problems when using bfiles is that you must keep the filesystem files in sync with the database yourself.
Are you sure the file information in the bfiles don't contain images?
I wonder what you mean by "stran machine symbols"?
Are these machine image icons? -
Account does not get locked in all Repositories
Hello all,
i have have a strange behavior in an IDM 7.2 SP9 system. When i check the 'Account is disabled' box in standard UI task 'Change Identity' the user is only locked in one ABAP system, in all other ABAP systems it keeps unlocked. Other tasks such as role provisioning are working for all repositories. There are no pending tasks in the provisioning queue.
I already reimported the provisioning framework, without success.
Can anyone help me to find a solution for this?
Regards
ChristianHello Tero,
There is no error in the Job Log, the jobs are executed without error, but only for two of five repositories. I thought it could maybe depend on the user, but also with a newly created one i have the same behavior.
It seems as if the IDM does not recognize all repositories the user is existing in. The user has the ACCOUNT<REPOSITORY> Attribute set for all five repositories.
I have checked all tasks on all repositories, they seem to be correct.
Also with changes for telephone, room, ... are not provisioned all repositories. Privileges are provisioned correct.
So the question is what is the trigger for the execution of the provisioning on a repository?
Regards
Christian -
I need someone to tell me how to reach a live person at iTunes
If you explain your problem clearly and politely you should get a satisfactory response using the process that is in place. Providing live telephone support would greatly increase the costs, putting up prices.
If you have a problem with a product that you bought then it should get resolved either with a replacement, or a refund. Occasionally both if you've been inconvenienced. If your issue is related to suspect charges with your account then contact your credit card company to recall the charges and change your passwords. The matter will require investigating so don't expect instant results.
tt2 -
Run java program in background
I want to run a java program in background in windowsXP...can anyone help please......can anyone suggest an easy software for running java program as windows service...i tried one but without any success
How many of the links here have you tried while you were waiting for an answer?
http://www.google.com/search?q=running+java+program+as+windows+service
(Note that the query is a direct copy/paste from your post.) -
How to pass arguments to a java program.
I want to pass a file name to java program while it is going to execute.
ex: c:\>java <.class> <filename>
so that i have to take that filename into a string. Is it possible? If it is possible please help me.
and how can i check whether the filename argument is given or not through command line argument?public class Program{
public static void main(String[] args){
filename = args[0];
static String filename;
this code is working. But if I did not give filename, and I only give like this
java Program
Then how can i now whether the argument (args[0]) is passed or not? -
Hey,
I left my office yesterday evening leaving my macbook on
while it was running a java program that it's supposed to requires between 2 and 3 hrs.
This morning not only the program was still running (hard to believe it takes more than 12 hrs!)
but when I typed in the shell the 'ps -all' command
it says the program has been running for around 30 mins, and now it's still running!
Is it possible that with certain settings the mac stops its processes after a while?
What should I check?
Thanks for helping, I'm actually a newbie in the mac world:)
gHow many of the links here have you tried while you were waiting for an answer?
http://www.google.com/search?q=running+java+program+as+windows+service
(Note that the query is a direct copy/paste from your post.) -
My first java programming - Need some help please!!!
I have to create a simple java program which i am not good at i am ok in C but my java is quite bad. The program need to define a class called Student and with a string called StudentNAme, a integer StudentID(key), An array of 8 integers called Marks that holds the students marks for 8 modules. It also says Include appropriate accessors, mutators and constructor(s) as well as a method to update the student�s marks. Anybody please help me in this question. I prefer an simple example of this program so I can learn faster, I dont even know how to declare a class.. So sorry but please help me out and thanks in advance
I would also suggest you try using an IDE like
eclipse (free)
www.eclipse.org
This will help you get a working program much faster.But please do also tell them that if they have troubles using it, they're supposed to read the IDE manual instead of posting here. -
Communication between servlet(client behavior) and stand alone java program
Hello all:
I need to send a message (ascii characters sequence) from a servlet to a java program, but I'm not sure what is the best way to get it: socket, JMS or other mechanism that I don't know.
Is the servlet who is operating how client behavior.
Please, any comment will be appreciated, regards,
Ulises.You can always start a ServerSocket on the client (kinda sounds funny, doesn't it) which will accept connections. You then open a plain old Socket on the server to connect to the client's listener. (Note, this is the reverse of a normal set-up). Once you have the connection established, you will call getOutputStream() to get a stream to write to. Likewise, you will call getInputStream() to read the data sent. You will want to investigate the java.net.* and java.io.* libraries.
- Saish -
How to find cd rom drive in windows and unix platform using java program
Hi,
I am having the requirement of finding the cd rom drive
using java program. I do not know the label and which
one is the cd rom drive. also I want to know how many
cd rom drives are there on my system. I want the solution
for windows and unix platforms.
If have any suggestions please mail to [email protected]
DeepakUghhh.. I had the same problem with multi platform file-system detection
First off - Unix.
Do you know for sure you have all your drives mounted?? This could be a big problem because java will not see unmounted drives... So you can scour thru your /etc/fstab to find out which drives are available... or you can mount all and show roots... (Yuck!)... You've got timeouts and all sorts of things to worry about...
I would then shy away from the java.io.File.listRoots() on unix and rely on parsing your fs file. If a user would like to see the medium in the drive. Do a Runtime.exec and mount the drive, then you can grab the filesystem by wrapping it in the java.io.File object. ( NOTE - this will hold well for your NFS mounts as well which might be buried under other FS. So you now have detection for that as well. ) Labels are also noted in this file. Let me know if you don't know the difference between mtab and fstab....
Second - Winders.... Corney but I love saying that.
The listRoots is a good solution. As others have said CD-ROMS will not be writable. Use a combination of getName and getPath to decipher the label and mount point.
Hope this helps! -
Compile correct but not run java programs
I have problem. Java program copile correctly but not run. I can't understand this one.
**this is the error**
Exception in thread "main" java.lang.NoClassDefFoundError: suminda
Caused by: java.lang.ClassNotFoundException: suminda
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: suminda. Program will exit.The error is telling you that the jvm could not find a class named suminda. Are you aware that class names are case sensitive? Suminda is not the same as suminda for example.
This error usually happens when you haven't specified the classpath correctly. A simple thing to try isjava -cp . sumindaHere's some links that may help.
[http://www.kevinboone.com/classpath.html]
[http://java.sun.com/javase/6/docs/technotes/tools/findingclasses.html] -
How to convert a Java Program into a Service?
Hello Experts,
We want to convert a java program into a Service (not WebService).
then we want to consume this service through SAP PI.
Can any1 please give details as to how can we convert a java program into a service.
Thanks in advance,
~ SurajHi Suraj,
Unfortunately this information is still not enough. Probably I cannot understand right what you are trying to do.
To work with tables and databases SAP uses several specifications, for example JPA API, Java Dictionary and so on. But I am not sure if this is what you need.
Best regards,
Ekaterina -
Want to access floppy using java program
===> is it possible to access the floppy and format it using java program. (if, it is not possible to format it then plz. tell me how to access the floppy using java program).
if possible plz. send me code of that programs on following address..
[email protected]
waiting for reply.
prasad.
(faculty of ssi)Hi prasad
I did a search for you and here are the results
http://search.java.sun.com/Search/java?qt=%22format+disk%22+%22format+a+disk%22+%22format+a+floppy%22+%22format+the+floppy%22&col=jsun1&col=javafrm&rf=0
Maybe you are looking for
-
I have an odd acer monitor that gets detected as a TV. Makes sense since it connects via hdmi In the display settings, 1080i(PAL television) 1080i(television) and 1080p(television) are available options. I have no issue with running my monitor in 108
-
Server 2012R2 -- RDS Farm with XP and Windows Vista Clients
Hi There, My team has been having some fun in getting our Server 2012R2 farm operational, annoyingly MS documentation is severely lacking on how to correctly configure a 2012R2 Farm correctly. We have an RDG1-TCC server, which is the RDGateway, RDCon
-
I got error (1x80070001) during the installation Windows Vista or Windows 7. I format "C" drive and try to install Windows Vista but on 4%, I got said error and cancel copy. What I do? Is this partition problem (FAT / NTFS) or other problem. Please e
-
Catching one page element...
Hello! My jsp page has 2 components: a combo box and a text field. When the user chooses one element on the combo, i have to make a query to full fill the text field with the result of the query. My problem is: how do i get the selected element, to s
-
when i go to facebook on firefox it will only let me go to the home page it will not let me play any of my games that i play when i go through enternet exployer what do i need to do so i can play them on firefox or what am i doing wrong