Dynamic JDBC: account blocked after the single connection attempt

Our database is set up so that user accounts are locked after 3 bad connection attempts, but they're getting locked after only 1 attempt. I would like that it so that any attempt to connect ADF would be only created an Oracle connection attempt.
I use JDeveloper 10.1.3.4.0 and by default, right click and then run.

Code of the not yet documented Steve Muench ADF application examples at http://blogs.oracle.com/smuenchadf/examples/#14
which is also described in http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html

Looking at the audit trail, I see the database tries to connect 5 times than the user.
Trying to debug, I see that the doFilter in ADFBindingFilter is also called 5 times.

In my research, I read the proposals that it might be the framework that tries to connect several times. It depends on the connection pooling and application module pooling settings you have.
But I tried searchign in JDeveloper and don't see not where I set or change anything on reunification.

Thank you

Jeff

Oracle has finally acknowledged it is a defect of jdeveloper and entered
Bug 9153659: JDBC DYNAMICS IDENTIFICATION ACCOUNT LOCKS AFTER 1 FAILED CONNECTION information
And I have no idea how oracle reactive is subject of fixed bugs, but since the last version of jdeveloper 10 numbered fixed iin bugs 5 millions, I guess that this will never be corrected.

Tags: Java

Similar Questions

  • URGENT::opening multiple files - i have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    bbmChatDB of public database;

    public static FileConnection fconnRead = null;
    public static String fileReadData = "";
    public static InputStream is = null;
    data Byte [] = null;
    DataInputStream is = null;

    Here is my code...

    I have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    try {}

    FileConnection fc = Connector.open("file:///store/home/user/documents/BSM/") (FileConnection); "

    If (fc.exists ()) {}

    Enumeration e = fc.list ();

    While (e.hasMoreElements ()) {}

    System.out.println ("files are:" + (String) e.nextElement ());

    play this file
    StringBuffer stringBuff = new StringBuffer();
    try {}
    System.out.println ("opening file")-;
    System.out.println ("file name is:" + (String) e.nextElement ());
    fconnRead = Connector.open("file:///store/home/user/documents/BSM/(String)e.nextElement(),Connector.READ_WRITE) (FileConnection);
    System.out.println ("data length")-;
    If (fconnRead.exists ()) {}
    is = fconnRead.openDataInputStream ();
    data = IOUtilities.streamToBytes (is);
    Ddd = new String string (data);
    fileReadData = ddd.toString ();
    System.out.println ("length of data:" + fileReadData.length ());
    System.out.println ("read data :" + fileReadData);

    }

    } catch (IOException ee) {}
    ee.printStackTrace ();
    System.out.println ("Exception in the read data :")
    + ee.getMessage ());
    }

    }
    }

    } catch (IOException e) {}

    e.printStackTrace ();
    }

    {Finally

    try {}
    If (is! = null) {}
    is. Close();
    }
    System.out.println ("is closed...");
    } catch (IOException e1) {}

    E1. PrintStackTrace();
    }

    If (fconnRead! = null) {}
    try {}
    fconnRead.close ();
    } catch (Exception e) {}
    System.out.println (try ());
    }

    }

    }

    You can recode this treatment so that it uses only:

    e.nextElement ())

    Once a loop iteration.

    Directly at the start saying something like:

    String fileName = e.nextElement ());

    and use fileName everywhere in your loop.

    Also be aware that printStackTrace() will do nothing in your situation, it only works if you catch Throwable.  So make sure you something output all your catches exception and also have a catch (Throwable t) to catch the things you miss, as follows:

    {} catch (Throwable t)

    t.printStackTrace ();

    System.out.println ("Eception exception:" + t.toString ());

    }

    I think your code is thrown an exception and you don't see it.

  • Will system restore remove e-mail accounts created after the date of the restore point?

    Original title: System restore

    Will system restore remove e-mail accounts created after the date of the restore point

    Hello Nick,

    The emails and your gmail account settings would not be affected. But, if you have configured your user account in Windows 8 with the newly created Gmail account, these configurations too after the restore point then only, would be affected not the main account to the Gmail server.

    I hope this helps. Otherwise, feel free to write us again for more assistance, and we will be happy to help you come.

    Thank you

  • How to find the failed connection attempts at 'check' session is enabled

    How to find the unsuccessful connection attempt to dba_audit_trail when the "audit logon" is enabled.

    Filter your query against dba_audit_trail action_name = 'CONNECTION' with returncode! = 0 (returncode = 0 means that there are no errors - successful connection attempts)

  • RTMPS connection delayed due to the direct connection attempt

    Hello world

    I have a big problem with the way the RTMPS connections are initiated in flash player.

    One of my customer network infrastructure does not allow direct connections to my server via port 443, but allows connections proxified (using the CONNECT method).

    The problem is that flash player expects the direct connection attempt to fail before trying the proxified... connection and on this direct infrastructure network connection timeout is 20 s (I can't change that).

    Users must wait for this time to connect to the server...

    Is there a way to tell the flash player do not attempt direct connection, or do not wait for this connection Timeout?

    Perhaps a directive in the automatic proxy configuration (.pac) file?

    I already tried every NetConnection proxyType values of parameter without success.

    Any help would be appreciated!

    You mentioned the 'CONNECT' method Have you tried "CONNECTOnly" that requires to initially use the default CONNECTION method and it is not always obey?

    Documentation on NetConnection.proxyType:

    Set the proxyType property before calling the NetConnection.connect() method.

    ...

    If the property is set to "CONNECTOnly", the player first attempts to use the CONNECT method. If this fails, there is no relief.

  • Replace the cookies all blocked after the installation of new

    When Firefox recently stopped working (would not not connect to the Internet), I first uninstalled Firefox. Then, I downloaded a new copy from the Internet (same version) and reinstalled from scratch. However, all my "blocked" cookies are now missing.
    I have the complete list (blocked cookies) in MSWord, in case something like this happened, but I don't know how reasonably the entire list again enter the new copy of Firefox, at one time other than very tedious.
    Any help will be appreciated.

    It seems that at some point in the process, you used the reset button.

    Your old blocks of cookie in-situ are in a database file named permissions.sqlite the folder on your desktop. It contains a range of other specific permissions and settings (I don't remember all the details off the top of my head), so if you allowed plugins for specific sites, which would also be there.

    You can replace your new database (usually white) with the old and see how it goes. If the transplant fails, you can remove the database and Firefox will start to build a new one.

    If you want to try it, you can open your currently active profile folder using

    Help > troubleshooting information > in the first table file display button

    After the release of Firefox, you can rename your current permissions.sqlite to something like permissions.old.

    Then copy the permissions.sqlite from your old profile to your desktop folder in your new.

    After Firefox starts again, check your Exceptions dialog box. Success?

  • Satellite A205 freeze after the power connection

    My computer has this strange problem. It stops completely after that I have plug in the power supply.
    What I do now, it is let it recharge when it is off and use it without food.

    There is a chance that it works with the power connected, but generally, it stops again in the trunk.
    If the battery is low and I connect the power usually, it stops right after that I do, sometimes not.

    I also tried to install Linux. But the same thing happens (except by the fact Linux only stops in the trunk)
    I'm now using Windows Vista.

    Thanks for the time and sorry for the English.

    > any suspicion?
    As suggested above; It looks like an electrical problem on the motherboard power supply. Maybe the motherboard must be changed.

  • Windows 7 will not reconnect to the network wireless after the first connection.

    Hi, we have computers portable windows 7 on a corporate domain which primarily use a desktop lan connection. We have a user based certificate that is registered automatically through Group Policy, to allow wireless access, and another group strategy that puts in place the wireless itself.

    The question we have is: LAN/WLAN switch is enabled in the BIOS.

    User can start and open a session with or without the LAN cable and wireless connections automatically connects them (if no LAN cable not inserted) wireless access point

    Once connected (if started with inserted LAN cable), when the LAN cable is removed, the wireless connection will automatically connect AP (specified by Group Policy).

    If the user then taken LAN cable back in, (after returning from meetings etc...), it connects to the wired LAN fine.

    If the user removes the LAN cable once again, (another meeting etc.) the wireless connection is not automatically connect again.

    The user can open the connections wireless at this point and manually connect to the access point.

    The opposite occurs if the user starts with no LAN cable it inserts after the start and then he removes, the wireless connection does it not connect automatically.

    "Connect automatically when this network is in range" is enabled in group policy

    IPv6 is disabled on the wireless card

    I tried to delete the contents of the Interfaces file in the program data\microsoft\WLANSvc\profiles

    WLAN/LAN switching works fine every time.

    Anyone have any ideas?

    Thank you!!

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand that you have problems with the wireless connection that isn't automatically. That this computer is connected to a domain network, I would like to advice post you your query in the TechNet Forums.

    Forums TechNet for Windows 7
    http://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itpronetworking

    Hope this information helps. Feel free to write us again for other queries.

  • 8900 comm http hangs after the second connection (do not view with the 83XX devices or 8900 Simulator)?

    Hello

    I currently have a j2me application that is deployed in production on different devices of BB. The application is pretty simple and mainly collects the data of the user (via text fields, drop-down list boxes etc.) and send these data to our server via an http connection

    The application was deployed in production for more than 6 months and work with end users using various BB devices, like the 8310, 8320 and 9000.

    Our end users now upgrade to the 8900 and we assumed that our application would work in the same way as the 8320-I even tested my app on the Simulator to 8900 and everything works fine.

    However, using the app on a real 8900 device connected to the network Vodafone here in the United Kingdom has cast some weird problems. The app installs fine OTA, communicates initially very well (as we connect via an http post), but then any attempt further communication over http hang everything simply no error thrown?

    Closing the application does not have any change, and blocking any attempt at communication. If I restart the device (battery etc) and start the application then I can connect once more, and then the app just crashes again.

    I can't find the cause, and the fact that other physical devices and even the Simulator to 8900 work very well is weird!

    Any help or pointer to start looking in my code/settings would be appreciated?

    Daniel

    Please make sure you close your connection. or check if the current connection is close before opening another.

  • Upgrade Windows 8 Pro blocked after the first reboot

    I have a HP Media Center PC m7470n. When I upgraded with Windows 8 Pro disc, after the first reboot, it gets stuck on the Windows form with turning points. He's not going back to XP and when I stop and restart, he goes right back to the same screen. I tried to boot from a hard drive and CD ROM with the disc in. I also tried to do a system restore, but it still maintains just that goes back to the same screen. , I even contacted Microsoft Support and after 1 1/2 hours, I had to let go because I had to go to work and they do not have a solution for me. I am not able to go in Mode safe either. Can someone help me with this update or at least get back to XP so that I can at least use my computer? At the moment I feel that Windows 8 Pro comes to have my computer in an oversize weight.

    Hello

    Thanks for posting the question in the Microsoft Community. If I understand correctly, you can not connect to the computer. I understand that it must be frustrating, but don't worry, we are here to help solve the problem and guide you in the right direction.

    I suggest you follow the steps:

    (a) starting from the DVD of Windows 8.

    (b) click on repair your computer.

    (c) click on troubleshoot.

    (d) click on Advanced options , and then click auto repair.

    (e) follow the on-screen instructions and complete the repair.

    If you are always faced with the question, please respond with more information, and we will be happy to help you.

    Thank you.

  • Continue the block after the exception management

    The guys in the slot block.

    create or replace procedure proc_case
    (p_in IN number)
    is
    begin
    case p_in
    when 1 then
    dbms_output.put_line('its one'); 
    when 2 then
    dbms_output.put_line('its two'); 
    end case;
    dbms_output.put_line('after the exception handler'); 
    exception when case_not_found then
    dbms_output.put_line('its not found'); 
    end;
    

    When the procedure is executed as follows.

    begin
    proc_case(3);
    end;
    

    It shows the statement in the block of exception, but after that it does not run the statement following the exception handler and the outputs of the block, how can I execute the statement after the end case statement. I do not use the Else statement in case because I wanted to understand the logic of this block.

    CREATE OR REPLACE

    PROCEDURE proc_case

    (

    p_in in NUMBER)

    IS

    BEGIN

    BEGIN

    P_in CASE

    WHEN 1 THEN

    dbms_output.put_line ('the one');

    WHEN 2 THEN

    dbms_output.put_line ('two');

    END CASE;

    EXCEPTION

    WHEN case_not_found THEN

    dbms_output.put_line ("' its not found");

    END;

    dbms_output.put_line ("' after the exception handler");

    END;

  • force password reset after the first connection

    Hi all! I am facing a few problems that I hope you can help me with. I am the authentication of the APEX for my application - and I try to get my request to the user to reset their password after the first use of force. I thought that this should automatically - but is not (even if I use the integrated login page). So, I turn to you to see if you can help understand me what I miss. Thank you for reading!

    Authentication scheme: The authentication of the APEX, with a procedure of login after called check_pwd_reset. The procedure looks like this:

    /*

    PROCEDURE check_pwd_reset IS

    l_host_url varchar2 (1000): = apex_util.host_url ('SCRIPT') | ' f ? p = 53140:500:' | : APP_SESSION.

    BEGIN

    IF (apex_util.change_password_on_first_use (: APP_USER) = TRUE AND apex_util.password_first_use_occurred (: APP_USER) = FALSE) THEN
    apex_util.set_session_state ('FSP_AFTER_LOGIN_URL', l_host_url);

    END IF;

    END;

    */

    Login page: Default 101 - no change

    After (pg 102) login page: 2 password fields and a button "submit". The validation checks to see if the passwords match. If they do,
    then it executes the following process: apex_util.change_current_user_pw(:P500_NEW_PASSWORD);

    At the end of this process, he headed a branch of pl/sql: apex_authentication.logout(:SESSION,:APP_ID);

    Everything seems to work well - BUT my user (configured to change the password at the first login) is ALWAYS prompted to change their password after the first login. It seems as if the call to password_first_use_occurred never is true.

    To observe this behavior, please use customer user and password
    lisaf1: https://apex.oracle.com/pls/apex/f?p=53140:LOGIN_DESKTOP:104844892394198

    I still don't understand why the procedure did not indicate the flag correctly, but support for Oracle has been able to give me a solution. For those who are interested in the future - the solution was to set the workspace setting "require the user account Expiration and locking" to Yes.

    I didn't realize that this setting would influence the requirement for a user to change their password on first use.

  • Use of high by FORMS (9000 port) when you first login after the CPU connection network

    Hi all

    Oracle E - biz: 12.1.3

    Database: 11.2.0.3

    OPERATING SYSTEM: AIX 6.1

    We applied the last week we have applied CPU July 13 for the first time in our environment Ebiz.

    Patches applied:

    11.2.0.3 SPU database Patch 16742095

    Apps: R12.1 16772121

    10.1.3 home: 9173038

    10.1.2 home: 12837860

    After the application of the hotfix, when the user is connected for the first time, FORMS cmdlet takes too long to open, and during this time network use was very high.

    This happened for the first connection, we have more than 300 + users and recording everything at the same time, created a failure almost because of the high network utilization.


    Guys, any reason for this behavior. This will happen for the future application of CPU?


    Moreover, we're on the DECISION-MAKING of FORMS mode.

    Thanks in advance

    Hello

    I'm not sure whether the cache can be copied from one machine to another and the same process, a lag in time should be tolerated in this case that it is reasonable.

    But anyway, you can also lift an SR to check whether the technical support engineers can provide a workaround solution.

    Thank you &

    Best regards

  • Settings for the account blocked in the United States

    I encounter this problem by which I am unable to update my account settings that the 'Billing address' section I have to choose a 'State' even if I'm not from the USA. I noticed that the format of mobile phone number is too different. I'm from Singapore (Asia) and I can't seem to change the location of origin of my phone on my background.

    For this reason, I am stuck without being able to install anything new on my phone, and regardless if it's a paid or free app, because I have to "Check payment information" before I can install anything. I have no idea how this change in the USA even happened, didn't know it until I got the notification update settings. I use the phone for more than 6 months now.

    Would be very happy for any help I can get, or if this has been asked before. I tried Googling on this issue and explore the settings on my phone, nothing helps...

    Thank you!

    -Chance

    What are your settings under the tongue and the region?

  • Sansa View does not synchronize with the computer after the first connection

    Hey guys,.

    I just bought a refurbished Sansa View which has the latest firmware on it. I logged on to the computer and selected "view in the folder. I downloaded some stuff and disconnected.

    Now, whenever I try to connect it again, the computer or the Sansa Connect. The Sansa start loading, but the 'Sync' screen does not appear on it. The computer shows nothing and the device does not appear in Device Manager or my computer as it did the first time. If I look through the USB devices in Device Manager I see a device using the power, but that's all.

    I tried the "MSC Mode" setting in the Sansa View settings, but it is not always connect. Don't hold.<" while="">

    I use Windows XP, SP3.

    Any help would be really appreciated,

    Thank you

    Nevermind, apparently, you need to do to reset once changed the settings in MSC mode on the player. It works fine now!

Maybe you are looking for

  • I recently had to refresh my W-10 PC.

    Once the update has been completed, a list of the applications that you removed was left on my desk. A very long list. And applications Apple in my PC has been deleted.  The Apple application support 32 and 64-bit support of mobile devices and all ab

  • Bing as default search

    Using bing as search for it the default url, however on the topic: config under "keyword.url", I set it to 'http://www.google.com/search?ie=UTF-8 & sourceid = navclient & gfns = 1 & q =' (without the quotes). I have tried to reset it to the default v

  • I'm looking for an image compatible Windows Server 2003 vmware study the operating system. Anyone know where I can find an image file?

    Original title: Windows Server I don't know where to put this question, so here goes I am looking for a picture compatible Windows Server 2003 vmware study the operating system. Anyone know where I can find an image file?

  • HP G62 - 454EP notebook PC: replacing the fan HP G62

    Greetings, I need help, that the internal of my laptop HP G62-454EP notebook PC cooling fan stopped workingN. XF522EA Produte #AB9I need to know what is the exact number of the replacement part, I need.I get the message of the problem and its been ov

  • E4310 does not recognize the DVD after installed WIN7 drive

    My wife has an E4310 who was no longer necessary to his office. She knows that I like to tinker with computers and the machine seems to be a decent unit. The hard disk has been removed for commercial reasons, so I installed an SSD without any hitch.