Web container session setting and AM session setting

We have access manager deployed on a sun appserver 9.1. Just wondering if Access Manager making use of the session properties setting on the instance/domain web container configuration? How is the session timeout at the web container level going to impact the Access Manager in performance?
Thanks,
Mo

Brenden,
what about the prepare session method on the AM. If you override this then after the call to super class you should be in an after connect. In my VPD examples I use this method to set the VPD application context getting the username from getUserPrincipal on teh Am
Frank

Similar Messages

  • RPC web service session beans and local interfaces

    I am wondering if it is possible to use EJB 2.0's local
    interface (vs remote interface) with 6.1's RPC web service
    session beans. Since WLS generates the SOAP servlet that
    invokes the RPC session bean and I do not find
    a way to some how tell SOAP servlet to use local interface to
    get the session bean's local home interface, I am not sure
    this can be done.
    Any comments would be appreciated.
    Thanks.
    Peter

    Ta. Thanks for the info.
    Any idea when Local I/F support is due?
    -Nick
    "Neal Yin" <[email protected]> wrote:
    >
    "Nick Minutello" <[email protected]>
    wrote
    in message news:3d4413a4$[email protected]..
    I was just about to post the very same question - but for WLS 7.0.0.1.
    There are essentially two questions:
    1) (from a functional perspective)
    Can I expose Local Interfaces as SOAP using the auto-generation(servicegen ant
    tasks)?Local Interfaces support is coming.
    2) (from a performance perspective)
    Does the generated SOAP implementation go via the (expensive) RemoteInterface
    (ie marshalling) - or is the RMI marshalling optimised out (by setting<enable-call-by-reference>true</>)?
    You can set this option by yourself on your EJB. Web service runtime
    doesn't
    do any magic in this area.
    Regards,
    Nick
    "Peter" <[email protected]> wrote:
    I am wondering if it is possible to use EJB 2.0's local
    interface (vs remote interface) with 6.1's RPC web service
    session beans. Since WLS generates the SOAP servlet that
    invokes the RPC session bean and I do not find
    a way to some how tell SOAP servlet to use local interface to
    get the session bean's local home interface, I am not sure
    this can be done.
    Any comments would be appreciated.
    Thanks.
    Peter

  • How to view the session in the web container

    hi, Folks,
    is there any way to view the sessions in J2EE web container? I need to know how many living session currently in the web container.
    Thanks

    You did not indicate the Web Server version that you are using for web container. Assuming its Sun Java System Web Server 6.1, per Servlet 2.3 specification, you should be able to use of session creation and destruction events. This can be done using HttpSessionListener to count active sessions. Here's the docs for reference:
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html
    Thanks
    Manish

  • How can I set my WebI filters to Null and not Null

    Folks,
    I have created a report in WebI and now I am to set up some filters as Null and some Not Null.
    How can I set my WebI filters to Null and not Null?
    Regards,
    Bashir Awan

    Hi,
    As you said you could do it at the report level and also at the universe level.
    One more way is to create the filters in the universe levele and add them in thequery filter.
    Ex: in the filter you need to write :
    Column1 is null and and column 2 is not null etc.
    Hope this will help.
    If this did't  solve your problem then please explain it in detail.
    Cheers,
    Ravichandra K

  • Using local session bean interface from web container using EJB 3.0

    Hi,
    How can you use a local session bean interface from Java (rather than data controls) in a web container using EJB 3.0?
    I can use a remote interface by looking up InitialContext, but I can't find a local interface this way (even from another session EJB). I can use a local interface from an EJB using annotation "EJB", but as I understand, this is not available in the web container.
    If I try to add an ejb-jar.xml file, these seems to mess up by project...
    Hope you can help.
    Roger

    The portable way to retrieve an EJB reference in Java EE is to either inject it or look it up via the
    component's private naming environment. The simplest way is :
    @EJB
    private DocumentManager dm;
    The global JNDI name is only used as an implementation specific way to uniquely assign an
    identifier to a specific Remote EJB. It's best for this not to appear directly in the source code.
    There's more on global JNDI names in our EJB FAQ :
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
    The alternative to annotations is to use an ejb-ref to declare the ejb dependency. The ejb-ref
    is declared in the standard deployment descriptor corresponding to the component doing the
    lookup. Each ejb-ref has an ejb-ref-name, e.g. <ejb-ref-name>DM_ref</ejb-ref-name>
    The code looks up the ejb-ref-name relative to the java:comp/env namespace to retrieve the
    EJB reference.
    DocumentManager dm = (DocumentManager)
    new InitialContext().lookup("java:comp/env/DM_ref");

  • My web pages are dark and out of focus. I have tried all the setting on my computer. Help!

    The web pages are dark and the contrast is off. It is not the computer as when I shut down frefox it does not seem to effect the computer.

    See:
    * http://kb.mozillazine.org/Website_colors_are_wrong
    * http://kb.mozillazine.org/Websites_look_wrong

  • WEB Client session maximizes automatically

    Dear Frds,
    does anyone know how to solve below probelm?WEB IC session is being maximised automatically.
    1. I log in in and Minimises WEB IC session and keep working with something else.
    2. After some time (30 mins!!) Web IC session Maximises (opens to the work area) on itself.
    Does anyone know how can i stop this from happening?
    Thanks and regards,
    Dinesh.

    Hello,
    First of all I would not call this a real "problem", correct me if I'm wrong but when the page maximizes your webclient also times out, correct?
    Well, this behaviour is controlled by javascripts, these javascripts are located in the page fragment "root_content.htm" of the BSP application "IC_BASE". I did not take a close look but I see a javascript function called  function timeoutHandler()
                /* close session(s) */
                try{
                  getContextAreaWnd().focus();
                  contextArea.focus();
                  contextArea.document.getElementById("End").onclick();
                  parentWndNav.parent.exitBSPApplicat
    Maybe try to take a look there.
    You cannot control this behaviour without changing the SAP standard!!!!!
    You could set a breakpoint (a javascript breakpoint that is, not a ABAP/session breakpoint!) to see what piece of javascript is called at what time.
    Hope this helps,
    Kind regards,
    Joost

  • Web services sessions

    Can WebLogic 6.x maintain web services sessions between the client and the
    server?
    I need to implement a set of web services which share some session data.
    SOAP itself does allow for maintaining a session, so it is possible to have
    a SOAP header that will handle the passing of a session ID. Does WebLogic
    provide an API to implement this feature?
    Thanks in advance
    Regards

    We've spent a lot of time thinking about conversations between Web Services
    clients and WebLogic Servers where session data and ids are maintained. I
    don't think we can provide much detail yet on the newsgroups, but it's
    definitely an area that we're very much looking into.
    Currently, you would have to role your own service. If you just wanted to
    maintain a session id between client and server, the easiest (but most
    intrusive) thing to do would be to pass an extra 'id' parameter on every method
    call between client and server.
    -- Rob
    David Solis wrote:
    Almost all of the sample code for Web Services that we are seeing today is
    simple stateless method calls like "requesting a key or password",
    "validations", "calculations", etc.
    Has anybody experimented into the next logical step of a Stateful Web
    Service i.e a set of interaction request/responses for example a teller bank
    application or a shopping cart like example. Something on the lines of a
    Stateful Session Bean in EJB.
    It would be useful to all followers of this forum if either WebLogic
    Engineers or developers of web services throw some light on their
    experiences, suggestions.
    Regards
    "Rob Woollen" <rob@trebor_nelloow.moc> wrote in message
    news:3BFE9675.EE4AB56@trebor_nelloow.moc...
    WLS 6.1 does not currently provide a means to automatically propogate asession
    ID in the SOAP header. I'd be interested in hearing more about what youwould
    want for this feature. It's something that we are working on for a future
    release.
    -- Rob
    David Solis wrote:
    Can WebLogic 6.x maintain web services sessions between the client and
    the
    server?
    I need to implement a set of web services which share some session data.
    SOAP itself does allow for maintaining a session, so it is possible tohave
    a SOAP header that will handle the passing of a session ID. DoesWebLogic
    provide an API to implement this feature?
    Thanks in advance
    Regards
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnWebLogic.com
    [att1.html]

  • WEB Service Session - Login

    Hello Experts,
    I have to consume a BOBJ Web Service Session in SAP Netweawer.
    Hello,
    We have SAP NetWeaver 2004s and BusinessObjects Enterprise 12.0.
    I've created an proxy object on the SAP Netweaver side in the following way :
    se80->Create->Enterprice Service->Service-Consumer->URL/HTTP Destination-> URL = http://<host>:8080/dswsbobje/services/Session?wsdl
    Then I've created an Port using soamanager.
    I't seems to be working, becouse methods like : getServerInfo, getServerInfoDetails are working ok.
    Now I have a problem with the method Login. As parameter for this method I see only structure CREDENTIAL, which have only one field CONTROLLER (PRXCTRLTAB).
    I've expected to have in the Parameters for this method a structure EnterpriceCredential with fields like username, password and so on - but its not.
    Could You help me ?
    Greetings
    Wojciech
    Here my coding :
    REPORT  ztest.
    DATA text TYPE string.
    DATA : lr_proxy TYPE REF TO zsco_session_port.  " its my session proxy object
    DATA : oref   TYPE REF TO cx_root.
    TRY.
        CREATE OBJECT lr_proxy
          EXPORTING
            logical_port_name = 'LP1'.
      CATCH cx_ai_system_fault INTO oref.
        text = oref->get_text( ).
    ENDTRY.
    DATA get_server_info_in TYPE zsget_server_info_soap_in.
    DATA get_server_info_out TYPE zsget_server_info_soap_out.
    THIS IS WORKING WELL
    TRY.
        CALL METHOD lr_proxy->get_server_info
          EXPORTING
            input  = get_server_info_in
          IMPORTING
            output = get_server_info_out.
      CATCH cx_ai_system_fault  INTO oref..
      CATCH zscx_dswsexception  INTO oref..
      CATCH cx_ai_application_fault  INTO oref..
    ENDTRY.
    break-point.
    AND THIS IS ENDINNG WITH EXCEPTION
    TRY.
        CALL METHOD lr_proxy->login
          EXPORTING
            input  = login_in
          IMPORTING
            output = login_out.
      CATCH cx_ai_system_fault INTO oref.
        text = oref->get_text( ).
    _ CATCH zscx_dswsexception INTO oref.   this exeption is being called_
        text = oref->get_text( ).
      CATCH cx_ai_application_fault INTO oref.
        text = oref->get_text( ).
    ENDTRY.

    Hello,
    I struggle with exactly the same problem accessing the login webservice of the BOE server. Unfortunately the previous answer did not help me since I don't understand it
    Anyone able to enlighten me?
    Edit: Nevermind, I just found out by myself.
    Thanks,
    Sebastian
    Edited by: Sebastian Solzbacher on Nov 25, 2011 9:43 AM

  • Is complex type request supported by web service data set?

    I just installed OBIEE 11g and tried to create data models with web services. It works fine for web services that takes simple data types and returns complex data types. But if the request to the web service is a complex type, it doesn't work. On the Edit Data Set page, I selected "true" for Complex Type. After I entered WSDL url, it populated the Web Service dropdown, but not the Method dropdown. Any ideas?
    The other problem I am having with web service data set is that it seems to ignore the attributes in the xml response. Only xml element is recognized.
    e.g. in <trigger priority="0" font_size="0"/>, priority and font_size are ignored in the data set. Please advise. Thanks.

    Hi,
    In this usecase , you can DnD the <serviceOperationName>_parameters as an ADF from. Then DnD the operation as a method. The methods input arg value is automatically set to the parameterIterator.currentRow.DataProvider. This works fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Web Service session manager not found.

    I'm trying to understand how to use the HTTP utilities, and I'm having trouble just creating a session.  I get a Web Service session manager not found error.  I've read where the client has to support cookies.  My eventual client will be a labview VI that talks to a web server.  I llooked at the Toolsptions, but don't see anything related to cookies.  Not sure if that's what's causing this anyway, but I'm just digging.  Also, I want to eventually send http messages across TCP/IP.  Do I need to use the TCP/IP VIs (i.e. open connection, etc) or do I use the http utilities alone.  If both are needed, how does the httpRequestID and the TCP/IP connection ID correlate.
    Attachments:
    htttGetSession.vi ‏9 KB
    WebServerError.PNG ‏13 KB

    Hi can you please let me know how you resolved this issue?

  • BOBJ WEB Service Session - Login

    Hello Experts,
    I have to consume a BOBJ Web Service Session in SAP Netweawer.
    Hello,
    We have SAP NetWeaver 2004s and BusinessObjects Enterprise 12.0.
    I've created an proxy object on the SAP Netweaver side in the following way :
    se80->Create->Enterprice Service->Service-Consumer->URL/HTTP Destination-> URL = http://<host>:8080/dswsbobje/services/Session?wsdl
    Then I've created an Port using soamanager.
    I't seems to be working, becouse methods like : getServerInfo, getServerInfoDetails are working ok.
    Now I have a problem with the method Login. As parameter for this method I see only structure CREDENTIAL, which have only one field CONTROLLER (PRXCTRLTAB).
    I've expected to have in the Parameters for this method a structure EnterpriceCredential with fields like username, password and so on - but its not.
    Could You help me ?
    Greetings
    Wojciech
    Here my coding :
    REPORT ztest.
    DATA text TYPE string.
    DATA : lr_proxy TYPE REF TO zsco_session_port. " its my session proxy object
    DATA : oref TYPE REF TO cx_root.
    TRY.
    CREATE OBJECT lr_proxy
    EXPORTING
    logical_port_name = 'LP1'.
    CATCH cx_ai_system_fault INTO oref.
    text = oref->get_text( ).
    ENDTRY.
    DATA get_server_info_in TYPE zsget_server_info_soap_in.
    DATA get_server_info_out TYPE zsget_server_info_soap_out.
    THIS IS WORKING WELL
    TRY.
    CALL METHOD lr_proxy->get_server_info
    EXPORTING
    input = get_server_info_in
    IMPORTING
    output = get_server_info_out.
    CATCH cx_ai_system_fault INTO oref..
    CATCH zscx_dswsexception INTO oref..
    CATCH cx_ai_application_fault INTO oref..
    ENDTRY.
    break-point.
    AND THIS IS ENDINNG WITH EXCEPTION
    TRY.
    CALL METHOD lr_proxy->login
    EXPORTING
    input = login_in
    IMPORTING
    output = login_out.
    CATCH cx_ai_system_fault INTO oref.
    text = oref->get_text( ).
    _ CATCH zscx_dswsexception INTO oref. this exeption is being called_
    text = oref->get_text( ).
    CATCH cx_ai_application_fault INTO oref.
    text = oref->get_text( ).
    ENDTRY.

    Hello,
    I struggle with exactly the same problem accessing the login webservice of the BOE server. Unfortunately the previous answer did not help me since I don't understand it
    Anyone able to enlighten me?
    Edit: Nevermind, I just found out by myself.
    Thanks,
    Sebastian
    Edited by: Sebastian Solzbacher on Nov 25, 2011 9:43 AM

  • Keeping "CS Web Service session" alive while uploading big files.

    Hi.
    I have a problem when I'm uploading big files, which takes longer than the session timeout value, causing the upload to fail.
    As you all know uploading a file is a three step process:
    1). Create a new DocumentDefinition Item on the server as a placeholder.
    2). Open an HTTP connection to the created placeholder and transfer the data using the HTTPConnection.put() method.
    3). Create the final document using the FileManager by passing in the destination folder and the document definition.
    The problem is that step 2 take so long that the "CS Web Service Session" times out and thus step 3 can not be completed. The Developer guide gives a utility method for creating an HTTP connection for step 2 and it states the folllowing "..you must create a cookie for the given domain and path in order to keep the session alive while transferring data." But this only keeps the session of the HTTP Connection alive and not the "CS Web Service Session". As in my case step 2 completes succesfully and the moment I peform step 3 it throws an ORACLE.FDK.SessionError:ORACLE.FDK.SessionNotConnected exception.
    How does one keep the "CS Web Service Session" alive?
    Thanks in advance
    Regards.

    Okay, even a thread that pushes dummy stuff through once in a while doesn't help. I'm getting the following when the keep alive thread kicks in while uploading a big file.
    "AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (409)Conflict
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 409
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;409 Conflict&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;409 Conflict&lt;/H1&gt;Concurrent Requests On The Same Session Not Supported&lt;/BODY&gt;&lt;/HTML&gt;
    {http://xml.apache.org/axis/}HttpErrorCode:409
    (409)Conflict
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:732)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
         at org.apache.axis.client.Call.invoke(Call.java:2748)
         at org.apache.axis.client.Call.invoke(Call.java:2424)
         at org.apache.axis.client.Call.invoke(Call.java:2347)
         at org.apache.axis.client.Call.invoke(Call.java:1804)
         at oracle.ifs.fdk.FileManagerSoapBindingStub.existsRelative(FileManagerSoapBindingStub.java:1138)"
    I don't understand this, as the exception talks about "Concurrent Requests On The Same Session", but if their is already a request going on why is the session timing out in the first place?!
    I must be doing something really stupid somewhere. Aia ajay jay what a unproductive day...
    Any help? It will be greatly appreciated...

  • How to disconnect a web BEx session encapsulated into a BSP ?

    Hello,
    I have built a statefull BSP application aimed at displaying BW queries results.
    This BSP is composed of many frames. Into one frame, I have to display a web BEx session (like the BEx displays query results through an internet browser).
    Into this frame, the following type of URL is called :
    http://server:port/sap/bw/BEx?sap-language=EN?cmd=ldoc?infocube=<my info cube name>?query=<my query name>?<variables handling ...>
    It works. From a user session point of view, I have 2 'Plugin HTTP' sessions for the user :
    - one for my BSP
    - one for this Web BEx session
    When I leave my BSP (by closing the browser for instance), my BSP session is well ended (thanks to session.htm and session_default.htm) but not my Web BEx session.
    My objective is to end this Web BEx session
    - either when I trigger an action changing the frame content
    - or when I leave my BSP application
    I have already thought about switching to stateless mode the call to the Web BEx. But I consequently loose my data when I navigate through the tabstrips from Web BEx window.
    How could I do to end properly the statefull Web BEx session in any case ?
    Thank you very much for your help.
    Regards.
    Fabrice

    Hi Fabrice,
    I  am developing an Bsp application with multiple Frames for BW LIKE YOUR'S, of which the BW developers can up date the  results table weekly/monthly & the End users can view the results through web. I appreciate, if u mail me some suggestions regarding my following queries.
    1.The internal table of results table could be created/inserted in BSP or in BW ODS/INFOCUBE ?? Or incase of this how to do it ?? How to connect that ODS/ODS Table with BSP Pages??
    2.PLS Mail me how to publish through web Bex query as I am not trained in this aspect??
    I really appreciate your cooperation, as My BSP Application is similar to your application,as you have better Idea of same concept and pls mail me some sample code.
    Kind regards,
    CSM REDDY

  • WEBI Sample Result Set Query Property Question

    Wnen I set the WEBI Sample Result Set query property my retrievals took longer than I thought they should especially with a limited result set.  When I hit the View SQL button and look at SQL I notice that the following order by is added to the query:
    Order by dbms_random.value
    I copied the query and ran it against our Oracle database with and without the order by.  Without the order by the query ran significantly faster.   Is there any way to stop the order by from being generated when the Sample Result Set property is set?
    Thanks,
    Bob

    Thanks for your reply.
    I tried to locate the parameter you mentioned in the parameters for my universe and did not find anything referencing not enforcing order bys.  I checked the documentation and did not see anything there either.   Please respond with the exact name of the parameter or if it is a custom parameter the settings you used to create it.
    Thanks,
    Bob

Maybe you are looking for