Passivation/activation trouble when using proxy DB authentication

Hello,
I have an application module which uses database proxy authentication. A user authenticates with his own login/password and AppModuleImpl.java implements following methods: https://blogs.oracle.com/imc/entry/how_to_use_database_proxy .
It works fine, but there's a trouble with passivation/activation.
When passivation/activation happens, a user recieves another application module instance from server pool, which was authenticated by another user - and so an application shows another user data.
Could someone please advise me how to cope with this trouble?
Thanks.
ADF 11.1.2.1

Yes see the second comment in the blog.
"(jbo.doconnectionpooling=false and release mode=Stateful)" is not the default setting for a fusion web application... so override the prepareSession-method and set the proxyuser in this method.
Martin

Similar Messages

  • Using Proxy User Authentication in Sql Developer

    Hi!
    Is it possible to use proxy user authentication in SQL Developer? I'm thinking that if I'm clever enough, I can craft a custom jdbc URL that will allow my users to proxy authenticate into my Oracle 10gR2 database while using SQL Developer.
    Unfortunately, I'm not feeling all that clever. ;)
    Can anybody help me out here? Is it even in the realm of possibility?
    Thanks!
    Kevin Ferlazzo
    DBA
    VA Department of Juvenile Justice

    I found the possibility that proxy authentication of both accounts can be enforced:
    SQL> alter user appuser grant connect through personaluser AUTHENTICATION REQUIRED;
    I guess that this is the motivation for implementing the 2-session proxy connection method in SQL Developer.
    Regards,
    Martin

  • OWA isue when using proxy

    Hi all,
    First kindly informed that i used Exchange 2010 sp3 ( i did,'t find my version in the list )
    when the internal users try to access owa by using proxy , thet succeed to login but after about 1 min they probt again to enter credential
    if they disabled proxy everything is working fine
    we use isa 2006 as proxy for internal users
    owa is hosted on 2 cas servers ( DNS round Robin used )

     Hi,
    According to your description, credential is prompted after internal users login OWA with proxy enabled. And as far as I know, the credential issue is most likely caused by the improper authentication method.
    Could you please check your authentication method for OWA? Based on my research, Integrated Authentication is not suitable for people who are connecting via proxy servers:
    http://exchangeserverpro.com/exchange-server-2010-outlook-web-app-authentication-settings/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Performance degradation when using proxy.pac file with FF ESR 31

    With Bug 923458 many people complained about a performance issue compared to other browsers when a proxy.pac file is used.
    The issue initially reported with the bug was resolved for ESR25 according to the statistics, but the general performance issue remained.
    I had the same issue with ESR24 and ESR31.3 .
    I was testing with www.bild.de.
    It took about 40 seconds to load the content completely. Without the proxy.pac file it took about 10 seconds.
    I added a few alerts to the pac-File in order to get logs within the console for some analyses.
    I found the following:
    1. the pac.file is executed for every request, no matter if the host changed or not.
    With us the pac-File checks for IP-Adresses and host-names only.
    It is not necessary to execute the pac file for each and every request to the same remote host.
    So the question is, if we are able to disable this behaviour via about:config?
    2. the content referenced by www.bild.de seems to be loaded sequentially and with a delay
    The overall time consumed by the proxy.pac file executions was about 4 Seconds compared to the 40 seconds of overall load time.
    So I checked the delay between executions of the pac-file and found an overall delay of 40 seconds. I expect that the delay between the calls to the pac-file is caused by the retrieval of contents from the remote host.
    So why are the requests executed sequentially?
    Hint: Due to the times necessary for executing the pac-file and downloading the contents from the remote host, I would expect the logs generated by my alerts to be mixed (especially if myIpAddress took 1 Second). But the log is cleanly ordered by URL. (see attachment)

    Hi guigs2,
    thanks for your response. As we only use myIpAddress once within our pac-File and only rely on dnsDomainIs(), ==-Comparisons and shExpMatch() and the sum of all pac-Executions was about 4 seconds compared to 40 seconds overall load time, I do not think that dns resolving is our issue.
    I checked the seetings of the configuration you mentioned above. It is set to "false", so the client would try the resolve the dns names. Our admin told, that we do not use socks-Proxies, only http-Proxies.
    Regarding sequential load of the contents included on www.bild.de from other web sites, I attached a screenthot.
    Please note the red highlights. These show the start time in milliseconds of the pac-execution. I added this as a kind of id which represents a unique identifier together with the URL if the log items are mixed. But they are not, instead they are cleanly ordered by URL (for all 360 pac-file calls).
    Moreover in the picture you can see the delay between the end of the last pac-file execution and the next one (blue timestamp in millisonds compared to the red timestamp of the next row saying "entered proxy.pac"). The delay sum up exactly to the 40 seconds the FF took to load the page completely.
    Alone the fragment shown represents a delay of 630ms between the pac-file executions. If the contents would be loaded in parallel, there should be no such delay.

  • Specific changes are left undetected when using proxy indirection

    Hello!
    Recently, the following issue have been identified:
    ObjectReferenceMapping together with ProxyIndirectionPolicy and *UnitOfWorkValueHolder fails to identify specific changes - setting a reference to 'null' when the attribute's value was not instantiated previously.
    Detailed description:
    Consider we have 2 objects: A and B, and A has OneToOneMapping to B and uses ProxyIndirection.
    In initial moment we have A1 that references B1 in DB.
    Then we register A1 for modification. What we have in memory in UnitOfWork? Something like the following:
    A1(Clone) with attribute for B reference uninstantiated;
    A1(Backup) with <null> reference for B, as the attribute is expected to be retrieved when we access B from A1(Clone).
    Then we set reference in A1(Clone) for B to <null>.
    This change then will not be identified during commit phase, because of the result of getAttributeValueFromObject both for B reference in A1(Clone) and A1(Backup) is <null>. This part is clearly visible from the ObjectReferenceMapping.compareForChange method code:
    if ( !owner.isNew() ) {
    backUpAttribute = getAttributeValueFromObject(backUp);
    if ( (backUpAttribute == null) && (cloneAttribute == null) ) {
    return null;
    Accessing the B field in A1(Clone) fixes the problem, because in this case backUpAttribute value is initialized through *UnitOfWorkValueHolder.
    So it seems the part should be reworked to handle such cases, it seems reasonable that fields in backup clones that are using proxy indirection should be initialized even if not accessed to contain all required information to allow correct comparision in such cases.
    Can somebody from TopLink team comment this?
    Thanks,
    Sergey

    This does appear to be an issue. I will log this problem internally, you may want to follow it up with support.
    A work around is to instantiate the proxy in your set methods.
    i.e.
    public void setAddress(Address newAddress) {
    if (this.address != null) {
    this.address.hashCode();
    this.address = newAddress;
    }

  • VM Activation problem when using Internal Virtual Switch mode

    Hello,
    I have setup Windows 2012 R2 Standard Version host machine.  Hyper-V setup successful. Host machine already activate license.
    I have got a problem is when VM connecting with Internal virtual Switch.  It will not able to process Windows activation.  If it connected using External Virtual Switch, it can successful do windows activation.  However, using External Virtual
    Switch, one more WAN IP will be used.
    I am using ICS method to share the network interface to Internal Virtual Switch.
    Is it what problem and how to resolve it?
    Thanks!

    Hi Gyorgy,
    What is the version of your guest operating system? Why not we create an External Virtual switch to access Internet when using Hyper-V guest system? (Some reference if needed:Hyper-V Virtual Switch
    Overview )
    The network connection seems to be fine, if you mean the webpage can't be displayed through Internet Explorer, please take a look at the article below:
    "Internet Explorer cannot display the webpage" error
    For more information, please check:
    Fixing "Page cannot be displayed"
    Best regards
    Michael Shao
    TechNet Community Support

  • MSI Gforce4 MX 4000 troubles when using XP SP2

    Hi,
    i just got a new MSI Gforce4 MX 4000 card, and I have troubles when I try to use it under XP SP2. The card works fine under 98SE, but crashes and reboots system when used under XP SP2. I tried everything, updated drivers, updated card BIOS, still problems, when I use XP SP2, it starts and after a very short while it freezes and reboots, changing resolutions didn't solve the problem.
    Thank you,

    I have the same problem with a gfrorce4 mx 440 8x.
    atholon xp 2400
    gforce4 mx 440 8x
    psu350 watts
    256 ddr mb ram
    mobo pcchipps 825

  • How to set username and password when using Proxy class for SOCKS5?

    Hi all,
    I use the proxy class for SOCKS5, so need to set username and password, I don't find where can I set the value. whether the API support it.
    Thanks in advance!

    System.getProperties().put("proxySet", "true");That does nothing. Remove.
    System.getProperties().put("proxyHost", getProxyHost());
    System.getProperties().put("proxyPort", getProxyPort());You should be setting socks.proxyHost and socks.proxyPort here.
    System.setProperty("java.net.socks.username", getSOCKSUsername());
    System.setProperty("java.net.socks.password", getSOCKSPassword());
    Authenticator.setDefault(new ProxyAuth(getSOCKSUsername(), getSOCKSPassword()));You either need the first two lines or the third, not both. See the last link posted above.
    1. After I set the value, I connect internet by proxy, how the proxy server knows the values?Because Java tells it during the SOCKS handshake.
    2. In my app, I just set the values in the system properties, then JVM does remaining work? Remaining work is not concerned?Should be OK unless you have to connect to a different SOCKS proxy from the same JVM, but that kind of thing is problematic anyway due to the curious Authenticator design which is set globally, not per connection as you might expect.

  • Java applet error when using proxy

    I'm new with my project. I came in towards the end of R2.0 development and inherited an ongoing issue wherein the java applet throws a login exception error when proxy is used to connect. There's no issue when we do not use a proxy.
    Per my knowledge, R2.0 involves an upgrade from an older weblogic v(8.1?) to 10.3. We did not have this problem with the old version.
    Based on the java logs, the error below appears after the "set-cookie" step, which i noticed creates a new JSESSIONID
    java.io.IOException: Server returned HTTP response code: 400 for URL: .....
    +....+
    +....+
    +....+
    Login Exception. Please see your System Administrator.
    I have already checked our proxy configurations and they do not have anything whitelisted (which would somehow explain why the old version worked, although nothing in the IP changed which should prevent the new app from working today) nor blacklisted (which would prevent the application from working today).
    I am suspecting it's from the cookie, or from the upgrade. Unfortunately, I don't have access to the code because it's being developed by a third-party vendor.
    Can someone suggest what to check to resolve this issue?
    In case the information I've provided is insufficient, please let me know what else is needed that will help shed some light on this matter.

    wrong forum. your question has nothing to do with WebLogic JDBC

  • Bad audio when using proxy media

    I'm using FCPX on my MBP 15" late 2008. To get some reasonable speed I transcode all the clips to proxy media.
    Doing this degrades audio quality to a point where the audio makes a clicking noise all the time.
    Also when I add a sound effect and edit it in surround with keyframe animation the sound makes clicking noise all the time.
    This noise is present when I export the movie.
    What to do?

    Trying that now
    The odd thing is that the audio is fine when I play using optimized/original media. The audio gets crappy when I switch to proxy media.
    I also get sort of the same problem when I'm using sound effects and choose "Create Space" or "Circle" under Audio inspector. These sound effects should be in the correct format since they came with FCPX.

  • No application registered for the message - when using Proxy !

    I am using ABAP Proxy to sent my messages from legacy to SAP R3. All my settings seem to be okie. But I get this message and the error log says
    'The application that implements the inbound interface could not be called. The error is not specific to the configuration.
    The error ID DYNAMIC_CALL_FAILURE can refer to an error in the application. The error may be due to conversion errors that have not be caught in the application.'
    Any clues on what could be wrong.
    I have tried Debugging the Proxy but the breakpoint thta I set does not seem to get executed. I know how to Debugg the proxy and have done it before. But I have no clue on what is happening !

    Hi Manish,
    Check the inbound interface you have specified in Configuration.Is the same interface is specified in inbound proxy i.e have you genrated your proxy for the same interface.
    Hope it helps
    Thanx.
    Rekha

  • How to maintain messageId when using proxy services and mq??

    Hi
    I am a novice to oracle service bus and trying few transformations by configuring proxy services.
    Let me explain the problem I'm facing:
    I have created a business service and a proxy service and configured them in a synchronous way.
    I'm using MQ as a transport protocol....and message I'm passing and transforming is in xml format.
    these proxy and business services are functioning properly.....but at the another end i have created another pair of busines and proxy service which will be taking request message from earlier business service and putting it into another queue which is reference as a response queue by earlier proxy service.
    my second pair is also working properly. now the problem is that it is not maintaining message Id during all the routing.
    and that's why im not able to read the response message from the response queue because of message ID mismatch.
    Please help!!
    tell me if i have to do change any particular configuration settings to maintain the message id for my request message throughout the flow.
    Thanks
    Edited by: ChetakCs on Jun 14, 2010 7:19 AM

    Post this in OSB forum:
    SOA Suite

  • Color gamma trouble when using external acer 223w monitor

    I have an MBP and I am connecting my Acer 223ww external monitor to it while I am at my desk. For some reason, I have noticed, the displays (both the MBP and Acer) will periodically, at what seems to be random intervals, give the appearance of a the gamma being changed to something lighter. Suddenly the colors will look washed out and more bluish on both the Acer and the MBP LCD screens. I have been able to get it to promptly revert back by simply opening the Display Preferences, but it will inevitably happen again.
    This does not seem to happen when the external monitor is not attached.
    Has anyone seen this with any other monitor? Any solutions out there?

    On waking from display sleep, many MBP users are noticing their monitor profiles to revert to default (or none):
    http://discussions.apple.com/thread.jspa?messageID=9559672#9559672
    Opening the Display Preference Pane solves the issue, until the next time you sleep your display.

  • Can AD object attributes be modified on Azure Active Directory when using DirSync for one way synchronization?

    An organization with on premise AD is deploying Office 365. We plan to use DirSync to replicate (no passwords) internal users
    with Azure AD for users to login and will use a third party FIM solution.
    What I'm wondering is though this synchronization is one way (except a couple of fields - no passwords):
    Can an authorized user change attributes of a synched AD object directly on Azure AD?
    If yes, how would such a change be handled during the next synchronization operation?
    Would the value be overwritten to the one in source of truth on premise AD
    Would the value be ignored since there was no ‘change’ in the value at the source of truth on premise AD system?
    Prompt responses would be much appreciated!
    Thanks

    Hi Mike, 
    Thank you for your response. I understand that the master is the on-premise AD. Let me rephrase my question.
    As part of object synchronization, An object X with its 50 attributes is synchronized to Azure AD. 
    Is there any way for an administrator/other role to access and modify any attribute of the synchronized object on Azure AD directly. I understand
    that re-synchronization schedule
    is every 4 hours and at the time of such a synchronization the modified values (if any) will be overwritten restoring 'order'.

  • How can you provide datalevel security on perticular user when using

    hi all
    how can we proved data level security for the single user when using external table authentication,
    again we have crated one more group in rpd and we have assigned user to that group,
    so ,is there any other way to do it????
    Thanks
    sreedhar

    Hi,
    If its is to restrict that user to view some data,then no need to place him in a separate group.Can achieve this...
    High priority is for restriction.
    Lets take group-Test with two users-test1,test2.These two users are under Test group.
    I applied data level security for only one user test1(restricted him to view market not equal to Central Region) but didn't apply data level security for test2.
    Now i added the group to presentation catalog and gave permission to dashboard showing Market report.
    When test1 logs in he can see all markets except Central Region,where as test2 logs in he can view all regions including Central Region.
    Here Test group is having full access so,test2 can view all regions but test1 user is restricted for some value and its working fine.
    If you want apply data level security to user to not view some data,then you can maintain that user in a group with many other users and achieve it.Above example shows it.
    If its is to restrict the whole group to view dashboard and make a single user in the group to view some data in the dashboard then its not possible(priority is for restriction) in this way,in this case its better to create that a new group to that user and assign him.
    Regards,
    Srikanth

Maybe you are looking for

  • Text Box issue - displays XML tag instead of the value in EBS

    I need to use a textbox (or a autoshape with text) to place a data element in a specific position on the page in an RTF template. I tried using tables and it didn't help. This layout needs some elements to be placed at specific location and using an

  • An error has occurred during the execution of the JSPM_MAIN phase.

    Hi, When I run the go.bat for running SLD, I am getting the following exception. An error has occurred during the execution of the JSPM_MAIN phase. Cannot initialize application data. Could not determine profile parameters. Error while retrieving val

  • Group by clause based on condition

    tblScore contains score for each problem id     problemID      score 1          1             10 2          2             30 tblSubmission contains problem submissions for each user id     user         problemID      accepted 1     UserA            

  • Photoshop CS 6 Sluggish, non-responsive sometimes, very slow

    Quite often, PS CS6 becomes unresponsive to mouse clicks, i.e., I'll be masking, retouching, painting, etc. and it will just go into a 'pause' mode; I'll have to wait, sometimes a few moments, sometimes several seconds before I can go on with another

  • Itunes stops before backup is complete

    hey, when ever i plug my ipod touch into my computer, itunes begins to sync my ipod touch. it then begins to backup my ipod but before it finishes, itunes stops..  then closes. i cant put  new music, videos,apps, books or anything on my ipod. i also