Invalidating HttpSession in portlet

Hi
I have a requirement to use dynamic JDBC credentials with an ADF portlet. However, to use dynamic credentials, the HttpSession has to be invalidated to signal ADF to use new credentials. When I invalidate the session, I get errors in the app log about "No Provider Sesssion".
Is there any way to achieve this, as this functionality is absolutely required.

<quote>some_context <quote>
..will be the pageContext
which is the implicit object for a JSP.
or
use config object to get this context and then use
<jsp:include> or <@include file>
rgds
http://lokeshpant.blogspot.com

Similar Messages

  • JSTL, HttpSession and Portlet Session

    Here's a mysterious problem.
    I am trying to use portlet with JSP together. Inside the portlet, I populate some data, put the data into portlet session and dispatch (include) to a jsp. On the jsp, if I use JSTL to access the http session data:
    <c:out value="{sessionScope.test}"/> I got the following excepiton:
    14:27:08,880 ERROR StandardWrapper[portlet:jsp]:727 - Servlet.service() for se
    vlet jsp threw exception
    java.lang.IllegalStateException: Cannot access session scope in page that does
    ot participate in any session
    at org.apache.jasper.runtime.PageContextImpl.doGetAttribute(PageContext
    mpl.java:264)
    at org.apache.jasper.runtime.PageContextImpl.getAttribute(PageContextIm
    l.java:249)
    at org.apache.taglibs.standard.lang.jstl.ImplicitObjects$3.getValue(Imp
    icitObjects.java:633)
    If I use jsp scriptlet to access the http session, everything is fine:
    <%= request.getSession("test") %>
    Has anyone seen this exception? I posted the question on portlet forum already and no one is able to answer it so far.
    What's the different between JSTL sessionScope and jsp scriptlet?
    thanks!

    Try the calls
    <%= session.getAttribute("test") %>
    and
    <%= request.getSession().getAttribute("test") %>
    Make sure do not have on your page anywhere:
    <%@ page session="false" %>

  • How do I connect to the backend database?

    I have both the infrastructure and the mid-tier installed on the same machine. I have created an omniportlet with specific connection information (username/password/connection info) to connect to a back-end (customer) database. Is this the correct methodology to use for connecting to the back-end database? I am concerned that when the portlet is moved to a production system then the connection information will be invalid and the portlet will not work.
    Also, I have created a dblink to the backend database in the PORTAL schema, which exists in the iasdb (also sometimes referred to as the infrastructure repository, infrastructure instance). The iasdb obviously also holds the metadata repository. I can use this link within a DAD to connect to the backend database. My intention was to use this link to get round the problem of invalid connection info when the development system is moved to production, but the link does not work with omniportlets.
    I am confused as to how the backend database is connected to by OAS. Can someone please explain to me how this is done in a system which has separate machines for client, infrastructure, middle (portal) tier and backend database?

    Managed to figure out that I just have to let tnsnames resolve this issue.

  • LogOut a user who loggin with Using j_security_check

    Hi, I try to log out a user that log in with j_security_check. I use ADF Faces technology, and I need help to log out a user. I try to access to LoginContext from call logout() metod, but it´s imposible, I don´t know how do this.
    Please, anyone can HELP ME???
    Regards.

    Did you try creating a logout.jsp to handle your logout, or something similar via session invalidation:
    HttpSession session = request.getSession(true);
    if (session != null)session.closeSessions();
    session.invalidate();

  • Using Callback handelr to get Username

    For my JSF project I have a httpSessionListener which works fine on session Timeout.
    In the sessionDestroyed() method I have to get the User name of the user that was timed out.
    I have to use Call back handler for that. The problem is that i am always getting the username as null and also the callback handler is null.
    My listener class is as follows :
    public class myHttpSessionListener  extends DBTableOraDataSourceLoginModule implements HttpSessionListener
    // callback handler settings
      static final int NUM_CALLBACKS = 2;
      static final int USERNAME_CALLBACK_INDEX = 0;
      static final int PASSWORD_CALLBACK_INDEX = 1;
      String username = null; protected CallbackHandler callbackHandler = super._callbackHandler;
    public void sessionDestroyed(HttpSessionEvent sessionEvent)
    // Get the session that was invalidated
    HttpSession session = sessionEvent.getSession();
    if (callbackHandler == null)
    Utility.logMessage(Constants.SEVERITY_INFO,
    "******* CallBack Handler is NULL ********", this);
    Callback[] callbacks = new Callback[NUM_CALLBACKS];
    callbacks[USERNAME_CALLBACK_INDEX] = new NameCallback("Username");
    callbacks[PASSWORD_CALLBACK_INDEX] = new PasswordCallback("Password:",false);
    try
    callbackHandler.handle(callbacks);
    username =
    ((NameCallback) callbacks[USERNAME_CALLBACK_INDEX]).getName();
    catch (UnsupportedCallbackException e)
    Utility.logMessage(Constants.SEVERITY_INFO,
    "^^^^^^^^^ UnsupportedCallbackException() ********" + e , this);
    catch (IOException ie)
    Utility.logMessage(Constants.SEVERITY_INFO,
    "^^^^^^^^^ IOException() ********" + ie , this);
    Utility.logMessage(Constants.SEVERITY_INFO,
    "SessionDestroyed() ******** UserName = " + username , this);
    }Thanks in advance .....                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    In java we have one method of System class to get the properties of system.
    System.getProperty(String propName)
    To get the user name , we can use the property name : user.name
    System.getProperty("user.name")
    which returns the current working user name of the system..
    try it out.
    Regards

  • Obtains a list of session ID

    Hello,
    I would like obtains a list of active session (session id) on weblogic.
    Is it possible?
    Thanks!

    Hi,
    There is no way to list all the sessionIds present in weblogic server.
    But you need to implement your own mechanism where you can retrieve all the session IDs. For this you need to implement HttpSessionListener where when ever you create a session store the session id in ArrayList and when ever the session is destroyed remove from the ArrayList and this ArrayList will have the sessionids present in weblogic server. Please find the implementation below.
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Map;
    import java.util.HashMap;
    public class ListenerSession
    implements HttpSessionListener {
    public List sessionIDList = new ArrayList();
    public ListenerSession() {
    public void sessionCreated(HttpSessionEvent sessionEvent) {
    // Get the session that was created
    HttpSession session = sessionEvent.getSession();
    sessionIDList.add(session.getId);
    public void sessionDestroyed(HttpSessionEvent sessionEvent) {
    // Get the session that was invalidated
    HttpSession session = sessionEvent.getSession();
    sessionIDList.remove(session.getId);
    Please let me know if you face any issues in implemention Listeners.
    Thanks & Regards,
    Murali.
    ===========

  • Help needed in Invalidating jpdk portlets

    I have a simple JSP page that is deployed as a portlet with Invalidation caching enabled.
    When it is run,the following is the entry in webcache/logs/events_log that shows indicates that the cache has taken place.
    08/Jan/2003:15:12:14 +0000 -- cache inserted one file '/incq222bd.idc.oracle.com:7777/jpdk/providers/ POST;;_about=1&_action=showPortlet&_auth_level=10&_back_url=null&_backurl=http%3A%2F%2Fincq222bd.idc.oracle.com%3A7777%2Fportal%2Fpage%3F_pageid%3D33%2C31611%26_dad%3Dportal%26_schema%3DPORTAL&_border=1&_collapse=1&_collapsed=0&_company_name=idc&_dad=portal&_dad=portal&_debug=1&_design_url=http://incq222bd.idc.oracle.com:7777/portal/page?_dad=portal&_details=1&_edit=1&_eurl=http://incq222bd.idc.oracle.com:7777/portal/event?_pageid=33,31611&_has_title=1&_help=1&_instance_name=1947_MYEMPJSPPORTLET_3933781&_login_url=http://incq223bd.idc.oracle.com:7777/pls/orasso/orasso.wwsso_app_admin.fapp_process_login?p_app_id=&_page_url=http://incq222bd.idc.oracle.com:7777/portal/page?_pageid=33,31611&_portal_config=1&_portal_id=39337&_portlet_id=1&_portlet_ref=33_31612_33_31611&_portletid=1&_pref=33_31612_33_31611&_pref=33_31612_33_31611&_provider_id=3933781&_provider_name=EMP_222[i]Long postings are being truncated to ~1 kB at this time.

    Your posting seems to have been truncated by the Forums software.
    Anyway, I suggest that you repost your question in shorter form.
    Just so you know, there is a discussion forum on OTN dedicated solely to Portal Caching issues (Portal's use of Web Cache.) From what I can see from your first posting attempt, your question might be more suited to the Portal Caching forum.

  • Java.lang.IllegalStateException: HttpSession is invalid problem

    Hi,
    I get randomly in my application "java.lang.IllegalStateException: HttpSession
    is invalid" exception thrown when I call getAttribute() method on a HttpSession
    instance.
    weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:410)
    Any feedback to avoid this problem is greately appreciated

    Hi Eddy,
    "Eddy Vina" <[email protected]> wrote in message news:3fbc46c2$[email protected]..
    I get randomly in my application "java.lang.IllegalStateException: HttpSession
    is invalid" exception thrown when I call getAttribute() method on a HttpSession
    instance.
    weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:410)
    Any feedback to avoid this problem is greately appreciatedThis happens because getAttribute(...) is called on an invalidated
    session. The session could have timed out or been invalidated
    explicitly by the moment the call was made.
    That may happen if you "cache" session objects.
    Hope this helps.
    Regards,
    Slava Imeshev

  • Portlet Invalid handle exception -- URGENT PLEASE HELP

    I am deploying our Portal application and portlets in a clustered environment. We have three machines and following weblogic servers are started in each machine:
    Machine1 - Admin Server
    Machine2 - Portal1, Portlet1
    Machine3 - Portal2, Portlet2
    Portlets are deployed on portlet servers (portlet 1 and portlet 2). When I deployed the Portal application I intentionally registered portlet producer pointing to 127.0.0.1:8889, thinking that it will work for both portals since the portlet server is in same machine as well..
    So my assumption is :
    Portal1 will always load portlet from Portlet1 server and
    Portal2 will always load portlet from Portlet2 server
    but I am getting following error now... don;t have a clue what to do.. This is very urgent, I am working over the weekend over this.. any help would be highly appreciated..
    Line: -----
    <Apr 23, 2011 6:17:07 PM EDT> <Error> <oracle.portlet.client.connection.wsrp.HTTPClientTransport> <WCS-40152> <A request to the producer URL "http://127.0.0.1:8889/ApplicationAccess/portlets/WSRP_v2_Markup_Service" resulted in a status 500 response with fault string "Invalid handle "C:f5163bc7-4caa-4d4f-b031-cf475ecd099f".; nested exception is:
         oracle.portlet.producer.container.ContainerObjectNotFoundException: Object named "registration" could not be found in the persistent store.". The fault code given was "{urn:oasis:names:tc:wsrp:v2:types}InvalidRegistration". The producer generated a timestamp of 2011-04-23T18:17:06.217-04:00 and associated the following stack trace with the fault message: com.bea.wsrp.faults.InvalidRegistrationException: Invalid handle "C:f5163bc7-4caa-4d4f-b031-cf475ecd099f".; nested exception is:
         oracle.portlet.producer.container.ContainerObjectNotFoundException: Object named "registration" could not be found in the persistent store.
         at com.bea.wsrp.producer.handlers.management.ProducerDataStoreManager$ConfigurationContext.createWsrpFaultException(ProducerDataStoreManager.java:1481)
         at oracle.portlet.producer.container.persistence.WsrpFaultExceptionFactory.createWsrpFaultException(WsrpFaultExceptionFactory.java:43)
         at oracle.portlet.producer.container.persistence.PersistentProducerDataStore.getRegistrationDataContext(PersistentProducerDataStore.java:205)
         at oracle.portlet.producer.container.persistence.ProducerDataStoreImpl.getRegistrationDataContext(ProducerDataStoreImpl.java:225)
         at com.bea.wsrp.producer.handlers.management.ProducerDataStoreManager.initializeRequestContext(ProducerDataStoreManager.java:242)
         at com.bea.wsrp.producer.handlers.management.ProducerDataStoreManager.initializeRegistration(ProducerDataStoreManager.java:210)
         at com.bea.wsrp.producer.handlers.RegistrationHandleFilter.doFilter(RegistrationHandleFilter.java:56)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.preprocess(AbstractServiceHandler.java:108)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:65)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
         at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.initCookie(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:281)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_initCookie(WSRP_v2_Markup_Binding_SOAP_Tie.java:295)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1448)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
    Line: -----
    Regards,
    sak007
    Edited by: user469829 on Apr 23, 2011 4:23 PM

    Sak007,
    Did u get the solution for this issue? I am also facing the similar kind of issue.
    I have a portal server, that consumes the remote portlet which is deployed on a cluster environment (Server1 and Server2). When i register my remote portlet, sometimes the registration handle holds info about server1 and sometimes it is server2. When the registration handle holds info about Server1, my application is working fine in the portal. Whereas when the registration handle holds the info about Server2. It throws the exception as:
    Invalid handle "C:10.10.0.42:-a3eb70c:130d71f8067:-7ff9".[[
    oracle.portlet.server.containerimpl.ContainerObjectNotFoundException: Object named "registration" could not be found in the persistent store.
    at oracle.portlet.server.containerimpl.persistence.SimplePersistentStorage.get(SimplePersistentStorage.java:47)
    Any pointers will be helpful.
    Note: I have visited the URl posted in above thread and it doesn't solve the issue.
    Thanks.

  • HttpSession is invalid error on weblogic server 12.1.2

    Hello,
    We are using weblogic server 12.1.2. We have 6 J2EE applications are installed on that weblogic server. we are seeing "HttpSession is invalid". Here is the stack trace.
    <BEA-100025> <An unexpected error occurred in the HTTP session timeout callback while deleting sessions.
    java.lang.IllegalStateException: HttpSession is invalid
      at weblogic.servlet.internal.session.SessionData.getInternalAttribute(SessionData.java:650)
      at weblogic.servlet.internal.session.SessionData.getInternalAttribute(SessionData.java:645)
      at weblogic.servlet.internal.session.SessionData.hasSavedPostData(SessionData.java:865)
      at weblogic.servlet.internal.session.SessionContext$SavePostSessionInvalidator.shouldIgnoreChecking(SessionContext.java:767)
      at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.cleanupExpiredSessions(SessionContext.java:699)
      at weblogic.servlet.internal.session.SessionContext$SessionInvalidator$1.run(SessionContext.java:620)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.timerExpired(SessionContext.java:615)
      at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:304)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Any Idea why we are getting this error?

    subscribed.

  • Weblogic.servlet.security.ServletAuthentication.week() throws 'HttpSession in invalid'

    +In our web app, we supply a form to accept the user info and login the
              user. The following is the program.
              String uid = (String )request.getParameter( "username" ) ;
              String pwd = (String )request.getParameter( "password" ) ;
              ServletAuthentication.logout( request ) ;
              request.getSession().invalidate();
              HttpSession session = request.getSession( true ) ;
              session.setAttribute( ..... ) ;
              int auth = ServletAuthentication.weak( uid, pwd, request ) ;
              +But an exception of "java.lang.IllegalStateException: HttpSession is
              invalid" is thrown by the last statement. What's wrong with the above
              program?
              Thanks for any help!
              

    +In our web app, we supply a form to accept the user info and login the
              user. The following is the program.
              String uid = (String )request.getParameter( "username" ) ;
              String pwd = (String )request.getParameter( "password" ) ;
              ServletAuthentication.logout( request ) ;
              request.getSession().invalidate();
              HttpSession session = request.getSession( true ) ;
              session.setAttribute( ..... ) ;
              int auth = ServletAuthentication.weak( uid, pwd, request ) ;
              +But an exception of "java.lang.IllegalStateException: HttpSession is
              invalid" is thrown by the last statement. What's wrong with the above
              program?
              Thanks for any help!
              

  • HttpSession Invalid error

    I am getting the following error in weblogic. please any one can give solution for this
    thaking you
    Rajesh.J
    java.lang.Exception: Problem with X509 certificate: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Tue May 30 17:38:01 EDT 2000, not after = Thu May 13 17:38:01 EDT 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority [email protected] , key = modulus length=65 exponent length=3, java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Tue May 30 17:38:01 EDT 2000, not after = Thu May 13 17:38:01 EDT 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority [email protected] , key = modulus length=65 exponent length=3
         at weblogic.t3.srvr.SSLListenThread.insertIntoCAChain(SSLListenThread.java:291)
         at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:415)
         at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:301)
         at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1064)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:492)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
         at weblogic.Server.main(Server.java:35)
    Country Code = CL
    Language Code = es
    Website Id = GMCGBP
    java.lang.IllegalStateException: HttpSession is invalid
         at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:376)
         at com.gm.fusion.process.action.VCStartAction.fusionPerform(VCStartAction.java:237)
         at com.gm.process.framework.FusionBaseAction.perform(FusionBaseAction.java:267)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at com.gm.process.framework.FusionMainServlet.service(FusionMainServlet.java:103)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
         at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at com.gm.process.framework.FusionMainServlet.service(FusionMainServlet.java:103)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi Rajesh,
    seeing that the exception is "Certificate expired or not yet valid", the certification expiration
    date is "Thu May 13 17:38:01 EDT 2004" and your posting was made on June 2nd, I would
    venture that you tried to use the certificate after its expiration date.
    Best regards,
    Gerd Hillebrand

  • Invalid Handle Error for WSRP Struts Portlet

    Hi,
    I am in process of modifying our existing struts application so that I can access it as remote portlet. I followed the Integrating Existing Struts Application guide and created a portlet. When I tried to use this portlet, I started getting following error. Does anyone know where I might be going wrong? Thanks.
    Fault: {urn:oasis:names:tc:wsrp:v1:types}InvalidHandle
    The given portletHandle [portlet_1] is invalid or none of the supported portlet containers can handle this portlet.
    2005-04-22T16:32:08.282+01:00com.bea.wsrp.faults.InvalidHandleException: The given portletHandle [portlet_1] is invalid or none of the supported portlet containers can handle this portlet. at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:407) at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:306) at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:282) at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:78) at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.service(MarkupServiceHandler.java:262) at com.bea.wsrp.producer.WsrpServer.processServiceRequest(WsrpServer.java:299) at com.bea.wsrp.producer.WsrpServer.service(WsrpServer.java:198) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.wsrp.producer.adapter.pageflow.WsrpPageflowFilter.doFilter(WsrpPageflowFilter.java:73) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Hi Shanta,
    I have started writing a struts 1.1 based module and expose it as a wsrp portlet. Can you pls help me where and how to start on this?
    Thanks,
    Ravi

  • How to enable invalidation cache in struts portlet?

    Dear Friends,
    I am in need of implementing invalidation based caching in my pdk struts portlet application. The sample in the jpdk is for normal pdk portlets (not struts.) and the code did not work for my application. Plz help.
    Many thanks,
    Alvi

    In the [Licensing document|http://download.oracle.com/docs/cd/E11882_01/license.112/e10594/editions.htm#CJACGHEB] , in the 'performance' section of the table, the result cache is only available on Enterprise and not Standard, so I wouldn't expect it to work in Express Edition

  • WLS  hang after java.lang.IllegalStateException: HttpSession is invalid occured

    Hi, all:
    I often got messages like below and server going to hang after got these message.
    ####<2004/6/15 PM time > <Error> <Kernel> <xxx.xxx.com.tw> <myserver> <ExecuteThread:
    '18' for queue: 'default'> <> <> <000000> <ExecuteRequest failed>
    java.lang.IllegalStateException: HttpSession is invalid
    at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:162)
    at weblogic.servlet.internal.session.SessionData.getValue(SessionData.java:134)
    at weblogic.servlet.internal.ServletRequestImpl.getRemoteUser(ServletRequestImpl.java:814)
    at weblogic.servlet.logging.CLFLogger.log(CLFLogger.java:60)
    at weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:293)
    at weblogic.servlet.internal.HttpServer.log(HttpServer.java:670)
    at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:851)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1636)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    I know 6.0 SP2 is stop-continued, but it's still production server before we upgrade
    it.
    did any one can told me what should I modify or set ?
    Thanks for any response.

    Hi Eddy,
    "Eddy Vina" <[email protected]> wrote in message news:3fbc46c2$[email protected]..
    I get randomly in my application "java.lang.IllegalStateException: HttpSession
    is invalid" exception thrown when I call getAttribute() method on a HttpSession
    instance.
    weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:410)
    Any feedback to avoid this problem is greately appreciatedThis happens because getAttribute(...) is called on an invalidated
    session. The session could have timed out or been invalidated
    explicitly by the moment the call was made.
    That may happen if you "cache" session objects.
    Hope this helps.
    Regards,
    Slava Imeshev

Maybe you are looking for

  • Why does my Left Shift +Num Keys produce Euro characters and Right Shift + Num Keys produce American?

    I am running Lion (10.7.4) on my 2010 13" MBP. When I press my Left Shift and various Num Keys (1-9), I get Euro characters (⁄ € ‹ › fi fl ‡ ° · ‚). When I use my Right Shift, I get the standard American characters (! @ # $ % ^ & * ( )). I have already

  • Account inaccessible after restore (Filevault)

    I'd been having problems increasing the size of my boot camp partition, so, following advice from this forum, I backed up, formatted and restored the hard drive of my Snow Leopard Intel Macbook Pro. After restoring, I immediately tried to login, but

  • License Agreements not displayed during Install

    I created and installer in LabVIEW 2011 (64-bit OS with Windows 7).  I added a custom license agreement (rtf) file to my installer and included it as shown below.  The setup.ini includes a reference to the file and I confirmed that the file exists in

  • Redirect iWeb Pages To External Sites?

    I have a persona domain that I have linked to my .mac account. I have a previous blog that I am trying to substitute on my site instead of having to create a whole new one using the iWeb blog feature. How do I do this? Currently, I have tried to chan

  • Presenter 7 with Windows 8

    I can not install my version of Presenter 7 on my PC which now uses window 8 The message is "Power Point can not be detected..." Can someone explain how to solve this problem please.