Invalidate session before timeout after HTTP client died

Does anybody know, how can i invalidate a HTTP session ( make
          session.invalidate() ) after web browser died.
          I mean, that the users don't click the logout button, but just exit the web
          browser. And my servlet must immediately
          invalidate the session without waiting for the session to time out (1 hour).
          It's not a T3 or HTTP tunelled connection, just usual HTTP connection
          between the WL5.1 server and a web browser.
          Is there any way to tracking this events? Maybe with HTTP request
          properties ?
          Thanks.
          Eugen Reimchen.
          

Or see pushlets ... JavaWorld article a few months back.
          Cameron Purdy, LiveWater
          "Anshum Sharda" <[email protected]> wrote in message
          news:[email protected]...
          > There is no way to detect a browser exit on the user side unless the
          > exit happens while the HTTPRequest is getting processed i.e. while the
          > socket connection is there.
          >
          > If this is critical, I can suggest a devious technique which is wasteful
          > and inelegant:
          >
          > Use frames in your UI. In one of the frames (keep it hidden if you
          > want) put the meta-tag for refresh. This will ensure that a refresh
          > request is sent by browser to the server every few seconds. Your app on
          > the server side can listen to this "heartbeat" and when the user closes
          > the browser, the heartbeat is gone and so you can safely invalidate the
          > session.
          >
          > - Anshum
          >
          > Eugen Reimchen wrote:
          > >
          > > Does anybody know, how can i invalidate a HTTP session ( make
          > > session.invalidate() ) after web browser died.
          > > I mean, that the users don't click the logout button, but just exit the
          web
          > > browser. And my servlet must immediately
          > > invalidate the session without waiting for the session to time out (1
          hour).
          > > It's not a T3 or HTTP tunelled connection, just usual HTTP connection
          > > between the WL5.1 server and a web browser.
          > >
          > > Is there any way to tracking this events? Maybe with HTTP request
          > > properties ?
          > >
          > > Thanks.
          > > Eugen Reimchen.
          

Similar Messages

  • HTTP/RFC Session was deleted after timeout

    Hi all,
    several of my colleagues are working in CRM Web UI.
    Sometimes they just got logged of from the system.
    The only hint I can see in sm21 is "HTTP/RFC Session was deleted after timeout" (translated from german) with no additional info.
    Has someone faced similar issues?
    regards
    Davor

    Hi Rishi,
    thank you for the answer. Sorry, I forgot to mention, that I already checked ICM parameters. The timeout is set to 2700 seconds and proc-timeout is set to -1.
    Here is some confusing info I found in sm21 (also translated from german):
    Usualy there is no timeout for RFC-Server... An explicit timeout for a RFC-Session can be set with the function module TH_SET_AUTO_LOGOUT. If for a defined time no funcion-calls arrive, the RFC-Server will be deleted. If the client calls the server after deletion, the client will be rejected with an error-code.
    Hope, this helps. I have no clue!

  • Message proccessed after http timeout

    Hello,
    We have the next scenario:
    External aplication -
    >XI----
    >R3
          send info via http post to
    In XI we have set 60 seconds as timeout for service http in transaction SMICM. Here XI works as receiver of a http call from the external system. If XI can't finish to process the info before 60 seconds a http timeout is returned to client (external aplication). That's fine. But, We have realized that the message created in XI is proccesed succesfully after by example 2 minutes. So, the client system thinks that the call was not processed but XI has processed it.
    is it a problem with the configuration of service http of XI?
    is there any way to be sure that a http post from external system are not processed after http timeout response?
    Thank you very much.
    Alberto

    Thank you all for your helpful responses, I have now found the solution (my own statement about the Java dispatcher not existing in PI 7.1 is what caused me to realize it):
    The ICM parameter I set above was set with RZ10 in the INTEGRATION SERVER, but I did not try to set it in the non-central ADAPTER ENGINE. Because the ICM controls HTTP communication in the non-central AE for 7.1 systems, the same parameter applies (icm/server_port_0=...)
    It is difficult to check the value of this parameter on a stand-alone engine like the non-central AE, but this is how I did it:
    I opened the SAP Microsoft Management Console (sapmmc) instead of the SAP Management Console (sapmc) which I usually use. In the MMC when I clicked on the Instance -> ICM, it opened an administrative web interface. Logged in as webadm and then I could see the parameters just like in a WebDispatcher web admin. I saw there that the icm/server_port_0... parameter was set with default TIMEOUT and PROCTIMEOUT values.
    To fix it, I had to manually alter the instance profile (/sapmnt/<SID>/SYS/profile/...) and add the above parameter. Then the 600s timeout finally ended.
    my problem was that I forgot that TWO ICMs were involved in this scenario, and both had to have the parameter changed.
    I hope this helps someone else who sees the same situation. I'm awarding helpful points to everyone who responded, thanks for your ideas!
    Regards,
    Peter

  • Phonefactor with RRAS(Windows Server 2003) - VPN client timeout after 20 seconds -- too fast!

    [Note that I have previously posted this question on Experts Exchange... but have not found a solution yet].
    We are a small business and would like to switch to two-factor authentication for VPN connections. We spent nearly a year helping Barracuda debug their small business VPN appliance and finally they took their boxes back and gave us back our money - they
    just couldn't get file sharing to work consistently with some new firmware they had to install due to a patent case.
    So... now we are trying Phonefactor.
    Our VPN setup is RRAS on a Windows Server 2003 domain controller.
    We have installed Phonefactor, enabled it as a Radius server, and configured RRAS to point to Phonefactor for Radius authentication. We configured phonefactor to send text messages for authentication, as we figured that would be less disruptive than a phone
    call.
    It all works except... the timeout for VPN clients is only 20 seconds! By the time we receive the text message on a cell phone, sometimes there is only 5 or 6 seconds to get the six digit code typed into a reply on the cell phone... and unless we are really
    nimble, that is frequently not enough time!
    When the VPN client times out, it gives an Error 718 "The connection was terminated because the remote computer did not respond in a timely manner."
    How can we increase the timeout on the VPN clients, so we can more reliably enter the authentication code in a reply back to phonefactor?
    Things we have tried:
    1) Connecting (PPTP) from different Windows clients to see if we get different timeout limits. So far we have tried several Windows 7 boxes and a Windows Server 2003 as the client, but in all cases the timeout is 20 seconds.
    2) On the windows clients: Searching through the PPTP client settings to see if there is one labeled "connection timeout". So far we have found nothing.
    3) On the windows 2003 server: Modifying the RRAS Radius Server time-out to be 30 seconds, 60 seconds, 300 seconds. We've tried restarting RRAS after these changes, but the client connection timeout is still 20 seconds.
    4) In the phonefactor configuration: Searching through the radius server settings to see if there is one labeled "connection timeout". So far we have found nothing.
    5) Using NTRadPing to connect directly to the phonefactor radius server. With NTRadPing we were able to wait more than 60 seconds without a timeout from phonefactor. So we don't *think* at this point that the issue is within phonefactor.
    6) We have asked phonefactor support, but their response is "hmmm... good question, we don't know, that sounds like a problem with your vpn client". And they could well be correct.
    7) Search the web for how to increase either the stock windows VPN client timeout, or the RRAS radius authentication timeout. No luck so far.
    8) Try this registry hack:
    http://windowsitpro.com/networking/solving-ras-718-error. Didn't help.
    Any ideas?
    thanks!

    Hi fdc2005,
    Thanks for the post.
    However, generally, we first type User Name, Password, then click connect to establish the VPN connection. Such as:
    Therefore, I have a little confusion about the timeout you mentioned. Would you please provide us more details.
    Regarding error 718, please check if the following could help:
    If you have a third-party VPN server which does not support MS-CHAPv2 as an authentication method and supports only MS-CHAPv1, you will need to use either CHAP or PAP to connect from the Windows Vista VPN client until the server you use starts supporting MS-CHAPv2.
    Steps to follow for resolution:
    (1) Check if the Routing and Remote Access Server (RRAS) is configured to allow connections with MS-CHAPv2
    (2) Check if the RADIUS server policy supports MSCHAPv2 (This step is needed if you control access to clients using Remote Access Policies on the IAS/NPS server)
    Quote from:
    Troubleshooting Vista VPN problems.
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Create client vpn package before or after upload root certificate

    Hi everyone,
    I am building funtion create client vpn package base on os bit (64 or 32) to connect point to site of azure virtual network
    I want to ask somebody 
    Create client vpn package before or after upload root certificate?
    If i upload root certificate, funtion return error 404
    if i do not upload root certificate and run funtion generate
    funtion return status code is accept
    correct resuft follows msdn is created
    althought request body is correct
    ResponseUri = {https://management.core.windows.net/29976d9e-898b-46ab-9f80-6238b4f1725e/services/networking/quyen_network/gateway/vpnclientpackage}
    <VpnClientParameters>
    <ProcessorArchitecture>Amd64</ProcessorArchitecture>
    </VpnClientParameters>Thanks for you supports,Hoa Nguyen

    Hi Hoa Nguyen,
    I'm assuming you are creating a Point-to-Site VPN Connection, for which the steps would be:
    Configure a Virtual Network and a Dynamic Routing Gateway.
    Create your Certificates.
    Configure your VPN Clients.
    So to answer your question, you would upload the root certificate before you create the client VPN Package.
    You could refer the following link for details:
    https://msdn.microsoft.com/en-us/library/azure/dn133792.aspx
    Would you be able to provide us the complete error message you get when you upload the root certificate?
    Regards,
    Malar.

  • Is there a way to detect a bad http client handle before it locks up LabVIEW?

    The attached VI demonstrates a simple way to hang LabVIEW such that the only way to recover full use of it is to kill the LabVIEW process. LabVIEW version is 11.0.1f2 and this problem will occur in both WinXP and Win7.
    Is there a way to detect when an HTTP Client Handle refnum is stale and should not be used?
    Is this a known bug?
    Attachments:
    Hang after Bad HTTP Client Handle.vi ‏15 KB

    Have you tried the bad reference comparator?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Invalidate session in BlazeDS

    Hi!
    I need to integrate BlazeDS security with an external security mechanism so I have implemented custom authentication as described in http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=services_security_1 .html. Now I need to invalidate user authentication on server upon certain circunstances. When this happens, I invalidate Session contained in Request parameter of invoke method of TomcatValve. This seems to work but I get a nasty "Duplicated Http Session" in Flex client telling that cookies where removed in server. Is there any clear way to invalidate current user login from BlazeDS?
    I've also tried invalidating FlexSession but then Flex clients hangs.
    Thank you very much.
    Daniel.

    Ummm - isn't that exactly what a session timeout specifies?
    ie how long should it stick around before it "expires" and should be invalidated?
    You don't need to call session.invalidate() - it will do that all by itself.

  • Logout from an "https client authentication (public key certificate)"

    Hi ,
    I am using an https client authentication (public key certificate) to login to my ADF faces website
    How can I logout form the application? It seems the session.invalidate() is not working because my login information is still displayed after running the logout method (below)
    Note that this logout method was working well with the Form-Based Authentication.
    Thank you
    Jamil
    public String logout() {
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpServletRequest request = (HttpServletRequest)ectx.getRequest();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    HttpSession session = (HttpSession)ectx.getSession(false);
    session.invalidate();
    String temp = request.getContextPath() + "/adfAuthentication?logout=true&end_url=/faces/logout";
    try {
    ectx.redirect(temp);
    FacesContext.getCurrentInstance().responseComplete();
    } catch (Exception ex) {
    System.out.println("Exception in logout()");
    return null;
    }

    Can you try with the null chk.. as this piece of code is working fine for us
    public void logout(ActionEvent evt) {> FacesContext fc = FacesContext.getCurrentInstance();
    > HttpSession session =
    > (HttpSession)fc.getExternalContext().getSession(false);
    > HttpServletRequest request =
    > (HttpServletRequest)fc.getExternalContext().getRequest();
    > HttpServletResponse response =
    > (HttpServletResponse)fc.getExternalContext().getResponse();
    > try {
    > if (session != null) {
    > session.invalidate();
    > }
    > fc.getExternalContext().redirect(request.getContextPath() +
    > "/faces/index");
    > } catch (Exception exp) {
    > try {
    > fc.getExternalContext().redirect("/faces/Error");
    > } catch (Exception ex) {
    }> }
    > }

  • Is it possible to invalidate session when I click my browsers back button

    Hai
    I have a question.
    I am building a jsp page with multiple forms.As of now,
    no login system has been implemented.
    I need my session to time out when the client click on the back
    button on the browser to prevent data corruption.
    Is there a possible way to do this in Java/ Script
    I know the use of session.invalidate() but how to tie it up to the
    browser's back button
    A second problem
    If I use session.invalidate() on Tomcat 3.2
    I find that it is not invalidated.But this same function on tomcat 4
    doesn't have any problem
    Could anyone help on these issues
    Thanks

    You don't mean you want to invalidate session every time you move to a new page, do you? If you do, after implementation of login system the users will be asked for passwords at each page. If you don't, it's better to use headers for your response.
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Expires", "-1");

  • How to change number of retries and delay before retrying after software install failure

    I deploy a software to client, but the installation is fail, so it will retry. but How to change the number of retries and delay before retrying after software install failure?
    I find "Retry Settings" in "Software Distribution Component Properties". But I think it work for Distribution, not the installation. am I right?

    First, are you referring to packages or applications because the behavior is different.
    Also, why do you want it to retry a failure? It failed for a reason so you need to fix the cause of the failure first. If it failed the first, it will likely fail the next time for the same reason. In general, ConfigMgr will only retry on transient type
    errors.
    Jason | http://blog.configmgrftw.com

  • SAP Portal - Service Timeout after 30min from ERP Backend

    Hello SCN Members,
    actually i have a problem with our Enterprise Portal. We have some Employee Self Services running in SAP Portal with connection to a SAP ERP ABAP Backend. After 30 minutes of inactivity, the User click to a Service, he became a http/500, connection timeout.
    i found the errormessage in SM21 in ABAP Backend "HTTP/RFC-Session wurde nach Timeout gelöscht" (HTTP Session deleted after timeout)
    at the ABAP Backend i set the ICF Parameters to and restart the whole system (QS):
    icm/server_port[0] = PROT=HTTP, PORT=8080,TIMEOUT=28800
    icm/server_port[1] = PROT=SMTP, PORT=8025
    icm/server_port[2] = PROT=HTTPS,PORT=8083,TIMEOUT=28800
    rdisp/plugin_auto_logout       = 28800
    But the error occurs after 30min, now i have no more idea, which parameters i need to change.
    Can you help me?
    best regards,
    Stefan

    Hi Lawrence,
    thank's for your answer, at the webdispatcher are the settings as follow, but there is still a timeout after 1800 seconds of inactivity
    rdisp/plugin_auto_logout = 0
    and
    icm/server_port_0
    PROT=HTTP,HOST=sapwddev01,PORT=80,TIMEOUT=-1,PROCTIMEOUT=-1
    icm/server_port_1
    PROT=HTTPS,HOST=sapwddev01,PORT=443,TIMEOUT=-1,PROCTIMEOUT=-1

  • XI - Call Adapter Error - HTTP client. Code 402 reason ICM_HTTP_TIMEOUT

    I am using HTTP adapter to post XML PO to vendor's site. We are having this problem with one of our vendor when PO's has more than 15 line items. XI server is getting error-"Call Adapter Error - HTTP client. Code 402 reason ICM_HTTP_TIMEOUT". Actually PO is posted good for the first time on vendor's site but XI is getting above error message and it keeps posting it again. Is there anyway to stop it otherthan manually stopping the XI message? Is there anyway to increase the wait time of the XI server to get the message.
    Thanks in advance.
    Mrudula Patel

    I'm getting the same issue "500 TIMEOUT error" in runtime work bench-->IE--->Test Message. When i manually trigger the file.
    The issue is basically from 01-01-2015 02:00 pm to 02-01-2015 01:am , File is picked from source ftp folder and places in archive but xml messages are not reflecting in SXMB_MONI.
    Today suddenly after 01:00 am messages are successfully processing.
    Please help on this issue. Many Thanks.

  • Xl reporter shows different result before and after Period-End Closing.

    Hi SAP experts,
    We have an issue with XL Reporter. When we ran Period-End closing and ran XL - PL Period & YTD (with the same parameters), XLR shows nil in the Actual YTD column and the monthly figures are out by a big difference (example pre-rollover it was $110K after rollover it shows negative $12M).
    This happens on 2 different clients running 2 different SAP B1 (2007A PL 42 and 8.8 PL 13) on the same XL Reporter which is possibly the default XL report that comes with the installation.
    I don't have any idea why the XLR is running 2 different figures altogether when running the same XLR using the same parameter before and after rolling the year over. The default SAP B1 P&L report stays the same before and after the rollover, I would have expect that the same would happen with the XLR.
    Please advise.
    Regards,
    Didy Arfiono

    Hi Julie,
    Thanks for the reply. I'm not entirely sure what you mean by excluding a certain transaction for closing entries as this would defeat the whole purpose of PEC which as you stated was to transfer P&L balances to retained earnings account to be carried forward.
    I've check at some guides including one from Orchestra Team (http://www.youtube.com/watch?v=e4tUo774eXg) and so far the process that I've done is exactly what it is.
    Regards,
    Didy

  • 451 4.7.0 Timeout waiting for client input

    My organization is running Small Business Server 2008 with Exchange.  After installing Exchange users reported not reciveing emails from Comcast and a few other domains.  Looking at the logs, domains including gmail and comcast are unable to deliver email to our Exchange mailboxes.  They receive an error message like the following.
    Technical details of temporary failure:
    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 451 451 4.7.0 Timeout waiting for client input (state 18).
    Other domains send just fine. Any ideas what is causing the 451 4.7.0 connection timeout error message?  The following is an example SMTPReceive log.
    2009-06-08T23:15:11.964Z,,+,,
    2009-06-08T23:15:11.964Z,,SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions
    2009-06-08T23:15:11.964Z,,"220 remote.domain.com Microsoft ESMTP MAIL Service ready at Mon, 8 Jun 2009 16:15:11 -0700",
    2009-06-08T23:15:12.027Z,,<,EHLO smtp3.mail.com,
    2009-06-08T23:15:12.027Z,,250-remote.domain.com Hello [123.12.123.123],
    2009-06-08T23:15:12.027Z,,250-SIZE 10485760,
    2009-06-08T23:15:12.027Z,,250-PIPELINING,
    2009-06-08T23:15:12.027Z,,>,250-DSN,
    2009-06-08T23:15:12.027Z,,>,250-ENHANCEDSTATUSCODES,
    2009-06-08T23:15:12.027Z,,>,250-STARTTLS,
    2009-06-08T23:15:12.027Z,,>,250-AUTH,
    2009-06-08T23:15:12.027Z,,>,250-8BITMIME,
    2009-06-08T23:15:12.027Z,,>,250-BINARYMIME,
    2009-06-08T23:15:12.027Z,,>,250 CHUNKING,
    2009-06-08T23:15:12.105Z,,<,STARTTLS,
    2009-06-08T23:15:12.105Z,,>,220 2.0.0 SMTP server ready,
    2009-06-08T23:15:12.105Z,,*,,Sending certificate
    2009-06-08T23:15:12.105Z,,*,CN=remote.domain.com,Certificate subject
    2009-06-08T23:15:12.105Z,,*,CN=ecf-DOMAINSERVER-CA,Certificate issuer name
    2009-06-08T23:15:12.105Z,,*,,Certificate serial number
    2009-06-08T23:15:12.105Z,DOMAIN\Windows SBS Internet Receive DOMAIN,,20,,*,,Certificate thumbprint
    2009-06-08T23:15:12.105Z,DOMAIN\Windows SBS Internet Receive DOMAIN,,21,,,*,remote.domain.com;domain.com;DOMAIN.local,Certificate alternate names
    2009-06-08T23:15:12.355Z,,EHLO smtp3.mail.com,
    2009-06-08T23:15:12.355Z,,250-remote.domain.com Hello [123.12.123.123],
    2009-06-08T23:15:12.355Z,,250-SIZE 10485760,
    2009-06-08T23:15:12.355Z,,250-PIPELINING,
    2009-06-08T23:15:12.355Z,,250-DSN,
    2009-06-08T23:15:12.355Z,,250-ENHANCEDSTATUSCODES,
    2009-06-08T23:15:12.355Z,,250-AUTH,
    2009-06-08T23:15:12.355Z,,250-8BITMIME,
    2009-06-08T23:15:12.355Z,,>,250-BINARYMIME,
    2009-06-08T23:15:12.355Z,,>,250 CHUNKING,
    2009-06-08T23:15:12.433Z,,<,MAIL From:<[email protected]> SIZE=52018,
    2009-06-08T23:15:12.433Z,DOMAIN\Windows SBS Internet Receive DOMAIN,,,,,,,receiving message
    2009-06-08T23:15:12.433Z,,250 2.1.0 Sender OK,
    2009-06-08T23:15:12.496Z,,RCPT To:<[email protected]>,
    2009-06-08T23:15:12.496Z,,250 2.1.5 Recipient OK,
    2009-06-08T23:15:12.496Z,,DATA,
    2009-06-08T23:15:12.496Z,,354 Start mail input; end with <CRLF>.<CRLF>,
    2009-06-08T23:15:20.277Z,,451 4.7.0 Timeout waiting for client input,
    2009-06-08T23:15:20.277Z,,,Local
    2009-06-08T23:16:03.276Z,,451 4.7.0 Timeout waiting for client input,
    2009-06-08T23:16:03.276Z,,,Local

    I had a similar issue with fortigate firewall. I could not able to resolve this issue with fortigate. Fortunately I had a Cisco PIX firewall in my stock. Eventhough it is not a best practise I have replaced the fortigate firewall with Cisco PIX mail flow
    started perfectly without any issues.
    If any fortigate experts are seeing this forum please suggest what has to be done for solving this issue.
    I have escalated this case to fortigate and they resolved the issue by executing the following commands on the fortigate firewall.
    set tcp-mss-sender1452
    set tcp-mss-receiver1452
    Santhosh Sivaraman MCITP: Microsoft Exchange Server 2007/2010 | MCSE/MCSA

  • SecurityException after making client request

    Hi,
    I have a web application that makes an HTTPS client request to another server
    using SSL/certificates. I'm using WebLogic classes for the client calls and modelled
    my code off the WebLogic examples. After making the request (successfully), I
    get a SecurityException when instantiating an InitialContext (see stack trace
    below).
    The exception indicates that the user is "null", but if I call Security.getCurrentUser()
    just before and after the exception occurs, it reports my user correctly. If
    I remove the HTTPS call, I no longer get the exception.
    Is there a known problem, or is there something I could be doing wrong to cause
    this?
    Regards,
    Paul
    javax.naming.AuthenticationException. Root exception is java.lang.SecurityException:
    Authentication for user null denied in realm weblogic
    at weblogic.security.acl.Realm.authenticate(Realm.java:212)
    at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:125)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushUser(WLInitialContextFactoryDelegate.java:522)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:366)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:338)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:211)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:178)
    at com.asa.pcss.business.BeanDataUtility.getResources(BeanDataUtility.java:265)

    Hi Paul,
    I've just encountered exactly the same problem. Did you find a solution?
    Regards,
    Fran
    "Paul Canavese" <[email protected]> wrote:
    >
    Hi,
    I have a web application that makes an HTTPS client request to another server
    using SSL/certificates. I'm using WebLogic classes for the client calls
    and modelled
    my code off the WebLogic examples. After making the request (successfully),
    I
    get a SecurityException when instantiating an InitialContext (see stack
    trace
    below).
    The exception indicates that the user is "null", but if I call Security.getCurrentUser()
    just before and after the exception occurs, it reports my user correctly.
    If
    I remove the HTTPS call, I no longer get the exception.
    Is there a known problem, or is there something I could be doing wrong to
    cause
    this?
    Regards,
    Paul
    javax.naming.AuthenticationException. Root exception is java.lang.SecurityException:
    Authentication for user null denied in realm weblogic
    at weblogic.security.acl.Realm.authenticate(Realm.java:212)
    at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:125)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushUser(WLInitialContextFactoryDelegate.java:522)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:366)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:338)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:211)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:178)
    at com.asa.pcss.business.BeanDataUtility.getResources(BeanDataUtility.java:265)

Maybe you are looking for