Can't replicate session. ClassNotFoundException TransientHolder(trinidad)

I'm using :
Using JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
Weblogic WLS10_11.1.1.5.0_GENERIC_RELEASE
I have a clustered setup:
One cluster, two servers running in the same cluster
cluster1 - mserver1, mserver2
I'm performing HA Testing
I have deployed
adf.oracle.domain.webapp library and targeted to the while cluster1
My application has a reference to adf.oracle.domain.webapp.
The application works fine while working on a single managed server.
While server1 and server2 are running,
I shutdown the active server, let's say server1 and the session has to be replicated to server2
I get this error:
<Sep 28, 2012 5:31:57 PM PDT> <Error> <HTTP> <BEA-101002> <[ServletContext@371749280[app:oracle.paas.idm.console module:identity path:/identity spec-version:2.5]] Could not deserialize the context attribute.
java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.util.TransientHolder: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that cluster
at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:218)
at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:85)
at weblogic.common.internal.WLObjectInputStream.resolveClass(WLObjectInputStream.java:61)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
Truncated. see log file for complete stacktrace
org.apache.myfaces.trinidad.util.TransientHolder comes from trinidad jar, which is part of adf.oracle.domain.webapp
Why is this happening if my adf.oracle.domain.webapp iibrary is targeted to the whole cluster?
Is there any special config required to configure the context?
My weblogic session descriptor
<session-descriptor>
<persistent-store-type>replicated_if_clustered</persistent-store-type>
<cookie-http-only>false</cookie-http-only>
<cookie-name>oimjsessionid</cookie-name>
<cookie-path>/identity</cookie-path>
<url-rewriting-enabled>false</url-rewriting-enabled>
</session-descriptor>
My adf-config.xml
<?xml version="1.0" encoding="US-ASCII" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
xmlns:config="http://xmlns.oracle.com/bc4j/configuration"
xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
xmlns:adfc="http://xmlns.oracle.com/adf/controller/config">
<adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<JaasSecurityContext initialContextFactoryClass="oracle.adf.share.security.JAASInitialContextFactory"
jaasProviderClass="oracle.adf.share.security.providers.jps.JpsSecurityContext"
authorizationEnforce="false"
authenticationRequire="true"/>
</adf-security-child>
<adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config">
<defaults useBindVarsForViewCriteriaLiterals="true"/>
<startup>
<amconfig-overrides>
<config:Database jbo.locking.mode="optimistic"/>
</amconfig-overrides>
</startup>
</adf-adfm-config>
<adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
<adf-property name="adfAppUID" value="idm-console.oracle.paas.idm"/>
</adf:adf-properties-child>
<adf-desktopintegration-servlet-config xmlns="http://xmlns.oracle.com/adf/desktopintegration/servlet/config">
<controller-state-manager-class>
oracle.adf.desktopintegration.controller.impl.ADFcControllerStateManager
</controller-state-manager-class>
</adf-desktopintegration-servlet-config>
<adfc:adf-controller-config xmlns="http://xmlns.oracle.com/adf/controller/config">
<adfc:adf-scope-ha-support>true</adfc:adf-scope-ha-support>
</adfc:adf-controller-config>
</adf-config>
Thanks
Rafael

The WebServer plug-in uses session binding (or sticky sessions).
How the choice of the server proceeds is explained in the figure presented here: http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html#wp113659
Here you can see if a sessionid is presented it routes the request to the primairy server. A primairy and secondairy server is chosen in the cluster on a first request.
The format of the session ID is: JSESSIONID=SESSION_ID!PRIMARY_JVMID_HASH!SECONDARY_JVM_HASH!CREATION_TIME. The first portion is used by the
session tracking implementation in WebLogic Server to look up the client's HttpSession object in the web application context. Subsequent portions of the session ID
are used to identify primary and secondary servers for this client in a WebLogic Server cluster and to track the creation time for this session.
When you bring down a server - this is when the failover occurs - the secondairy server takes over the request. Now you would probably see that a session is created on the other server.

Similar Messages

  • Can anyone replicate this JSTL problem?

    The following code fails in tomcat 6:
    <c:if test="${not empty requestScope.form && not empty requestScope.form.result}">
    </c:if>but this one works fine:
    <c:if test="${not empty requestScope['form'] && not empty requestScope['form.result']}">
    </c:if>

    I can't replicate the problem easily.
    The tiles exception is potentially hiding the real exception. Check your logs for a root cause.
    I presume "result" is actually an attribute of your "form" object which is an attribute in request scope?
    Here is a test page that I threw together. It should compile and run as is.
    All three scenarios work - where both form and result are present, when just form is present and result is null, and when both are null.
    I would probably go looking into your Form and Result objects.
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Eclipse Java Test Page</title>
    </head>
    <body>
    <h1>Test page</h1>
    <h2> Server Info </h2>
    Server info = <%= application.getServerInfo() %> <br>
    Servlet engine version = <%=  application.getMajorVersion() %>.<%= application.getMinorVersion() %><br>
    JSP version = <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion()  %> <br>
    Java version = <%= System.getProperty("java.vm.version") %><br>
    Java home = <%= System.getProperty("java.home") %><br>
    Session id = <%= session.getId() %><br>
    <%!
      public class Wrapper{
        String result = null;;
        public String getResult(){
          return result;
        public void setResult(String result) {
          this.result = result;
    %>
    <%
        Wrapper form = new Wrapper();
        form.setResult("Hello!");
        Wrapper form2 = new Wrapper();
        request.setAttribute("form", form);
        request.setAttribute("form2", form2);
    %>
        <h2>form</h2>
        <c:out value="${not empty requestScope.form }"/><br>
        <c:out value="${not empty requestScope.form.result }"/><br>
        <c:if test="${not empty requestScope.form && not empty requestScope.form.result }">And == true</c:if><br>
        <h2>form2</h2>   
        <c:out value="${not empty requestScope.form2 }"/><br>
        <c:out value="${not empty requestScope.form2.result }"/><br>
        <c:if test="${not empty requestScope.form2 && not empty requestScope.form2.result }">And == true</c:if><br>
        <h2>form3</h2>
        <c:out value="${not empty requestScope.form3 }"/><br>
        <c:out value="${not empty requestScope.form3.result }"/><br>
        <c:if test="${not empty requestScope.form3 && not empty requestScope.form3.result }">And == true</c:if><br>   
    </body>
    </html>

  • JMStudio Error  "Can not create session manager"

    Hi,
    I'm trying to transmit an mpg file through a simple pc to pc network, using the transmission wizard in the JMStudio, and everytime it causes a "can not create session manager" error, even when I try to transmit .mp3 file
    I'm using an ip like 100.100.0.1 for the sender machine, and 100.100.0.2 for the receiver machine, and I don't know where is the problem
    thanks in advance

    Um,maybe the port that you use for transmission is already occupied.
    Make sure that you are not using JMStudio to transmit streams while trying to receive streams from the same port.

  • Can I replicate to a off-site DR Hyper-V site and ASR?

    Hi,
    I've had a troll around the various sites but I can find a definitive answer. 
    Am I correct in saying that I can only replicate to one location i.e. offsite DR Hyper-V server OR Azure Site Recovery?
    Rob

    Thanks for the replies.  To confirm that I am using Windows Server 2012R2 and I am using the Hyper-V Manager to manage the replication.  I've set up replication to a DR site and that is working perfectly.  The bit I seem to be missing is the
    next step.  If I try and extend the replica I don't get any Azure options? I just get the option to browse the network. Do I have to do something here or am I not seeing the right screen? if someone has a screenshot of the screen I should be seeing that
    would be very useful.
    Cheers
    Rob

  • How can we use Session Variable in Answers or Analysis?

    How can we use Session Variable in Answers or Analysis?

    Again, duplicate cross-posting!
    See rukbat 's post here: Re: BI Apps 7.9.6.3(Agent Issue)

  • How can i use ADF code in Trinidad

    Hi,
    I'm having an small Application which is Implemented to some extent using oracle ADF faces components But now, as the Trinidad is an open source i would like to do it in trinidad.
    If i replace the libraries to trinidad does my implement code in ADF Faces components needs to be Change,
    Please Suggest me how can use my ADF code in Trinidad.
    Thanks.

    Hi,
    Thanks for the Information a lot,it will helps me a lot.
    i am unable to navigate to down load the libraries given in oracle site in "How-to configure Apache Trinidad components in Oracle JDeveloper " can u help me,
    how can i get libraries to use in Oracle Jdeveloper for Trinidad.
    Can i use the libraries given on the Apache MyFaces Trinidad site (http://myfaces.apache.org/trinidad/download.html) but the libraries are different than the oracle given.
    Please Help me what libraries to used in Oracle jdeveloper 10g for trinidad.
    Thank You.

  • How can i use session to save properties?

    How can i use session to save properties?

    Hi,
    Session Tracking is one of the most powerful features of Servlets and JSP. Basically, the servlet engine takes care of using Cookies in the right way to preserve state across successive requests by the same user. Your servlet just needs to call a single method (getSession) and it has access to a persistent hashtable of data that's unique to the current user.
    Otherwise Visit Servlet Essentials tutorial
    http://www.novocode.com/doc/servlet-essentials/

  • PDF Render Garbles Text, but I can't replicate

    An acquaintance contacted me and told me that PDFs on my job market website aren't displaying correct. He sent a screenshot, so I know what he is looking at:
    http://bensresearch.com/downloads/FF.png
    (The PDF he is viewing is http://bensresearch.com/downloads/CV.pdf )
    This is my job market site, so I want to make sure anyone can read the PDFs. However, I can't replicate it. I've tried to replicate it on Windows 7 & 8, Mac, with no joy. The built in PDF render in version 24 seems to read the pdf file fine. (I asked him what version he is running and he said version 24 on Windows 7 Enterprise).
    Any ideas?
    Thanks!

    Here is some troubleshooting information about my computer system.

  • How can I enable session(using url)  tracking in home page

    i am developing bidding application. How can I enable session(using url) tracking in home page ?
    for example :
    http://mydomine.com/index.jsp;jsessionid=4A38A4496F6862681DFD09CD6D648485.tomcat75
    please help me.

    Doubleposted. Please continue here: [http://forum.java.sun.com/thread.jspa?threadID=5308686&tstart=0]
    In the future, do not use the back button to edit the message, but use the edit button instead. Otherwise you're reposting the form again. You should know that better as being a web developer.

  • How Can I Release sessions if these are idle long time Automatically.

    Dear Experts,
    How Can I Release sessions if these are idle long time Automatically based on some time frame..
    So that session memory will be free and when i go to reconnect the session then we will have enough memory for our transaction processing.
    I am asking this question because, In my case (Web Load Testing) after completion the processing this parameter still showing 86% Usage.
    so How Can I release it.

    Change value of IDLE_TIME in profile or better create new profile with less IDLE_TIME and assign to users.
    IDLE_TIME Allowed idle time before user is disconnected (minutes)
    Below is example if user is idle for 20 min , he/she will disconnect
    ALTER PROFILE developer LIMIT idle_time 20;
    Cheer,
    Virag Sharma

  • How can we replicate UOM from ECC to SRM.

    Hi ,
    In ECC I have assign ISO code against the UOM.
    I have replicate ISO code from ECC to SRM. But unable replicate UOM.
    How can we replicate UOM from ECC to SRM?
    Thanks with regards
    Sachin

    Hi Sachin,
    UOM are uploaded in SRM through object DNL_CUST_BASIS3. It's part of master data replication.
    You should refer following link, it will give you idea how to load mentioned object in SRM:
    MASTER DATA REPLICATION: SETTINGS
    I hope it helps.
    Regards,

  • Can't replicate vendors from ECC

    Hi,
    We are setting up a new EBP environment where I can't replicate vendors from ECC to SRM via BBPGETVD. In the application log I get the error message no BBP_VENR005. It says that there is an error in the PD-org structure; only one organizational unit permitted per beckend - purchase org.
    I have of course specified the backend system as well as the purchase organization.
    We have created a root and one node in the org structure of the vendors.
    Can anybody help with this issue?
    Best Regards
    Ulf Gewers

    Hi
    Did you influence any error message there BBP_VENR ?
    or Are now the vendor is available in PPOSV_BBP ?
    red or yellow in slg1.Did you select internal no range or r/3 number range.
    Are you transfering from multiple backend sytem with srm.
    Hope that your organisation is consistent with green.
    regards
    Muthu
    Edited by: Muthuraman Govindasamy on Sep 29, 2008 11:59 AM

  • [svn:fx-trunk] 21141: Bug: 2780176 - Logging and logging out multiple times in LCDS can cause duplicate session detected errors .

    Revision: 21141
    Revision: 21141
    Author:   [email protected]
    Date:     2011-04-26 06:40:39 -0700 (Tue, 26 Apr 2011)
    Log Message:
    Bug: 2780176 - Logging and logging out multiple times in LCDS can cause duplicate session detected errors.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: When a logout was followed by an immediate login, sometimes the server would throw duplicate session detected errors. This was because when logout happened, a fire-and-forget disconnect message was sent to the server that established a new session, and if the subsequent login happened before disconnect ACK returned from the server, that would establish another session and hence the error. The fix is to insert a slight delay between disconnect and ResultEvent dispatching. This way, disconnect has a chance to return before a login is performed.
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as

    You've got an  incompatible Logitech driver and java was incompletely uninstalled.
    You may have a problem with the Wacom driver.
    I don't know if fixing those things will help.
    There also a few window server errors, but I don't know if they are causal.
    If you can note the time of the hangs, that might help narrow it down in the logs.

  • Can't kill session with "Alter system kill session"?

    I'm using 9iR2.
    After I check the v$session table:
    SQL> select sid, serial# from v$session where username='XMLDEMO';
    SID SERIAL#
    18 19155
    I issue the command:
    SQL> alter system kill session '18,19155' immediate;
    System altered.
    But after this, I still can find this session:
    SQL> select sid, serial# from v$session where username='XMLDEMO';
    SID SERIAL#
    18 19155
    Can anyone tell me why? Did I miss something?
    Any help will be appreciated.
    Jinyu

    keep issuing that query and notice if the serial number starts to change..if it does it is reflecting pmon cleaning up the sessions, when pmon finishes his work
    the sesison will disappear from v$session.
    steve
    I'm using 9iR2.
    After I check the v$session table:
    SQL> select sid, serial# from v$session where username='XMLDEMO';
    SID SERIAL#
    18 19155
    I issue the command:
    SQL> alter system kill session '18,19155' immediate;
    System altered.
    But after this, I still can find this session:
    SQL> select sid, serial# from v$session where username='XMLDEMO';
    SID SERIAL#
    18 19155
    Can anyone tell me why? Did I miss something?
    Any help will be appreciated.
    Jinyu

  • Can we replicate table data from R/3 to BI

    Hi All
        I have a tablke called JEST which captures status(OBJNR) from VBAP table. We have same table available in BW also. My question is can we replicate data from R/3 to BW for this table. Since this table in BW is not being loaded.
    My requirement is to display the status OBJNR in BW
    Can anyone advice.

    Hello Vani,
    Replication of data in some tables from ECC to BW is possiable. Data in tables like T00* (Currency conversion, unit etc ) is replicated into BW from ECC. I think we could also replicate data in table JEST. Please consult your BASIS team, they could do it for you.
    If your requirement is to display the status OBJNR in BW, one good way is to create InfoObject Object Number, with attributes Object Status, Indicator & Change number. Data can then be loaded in BW using a Generic master datasource based on DataBase table JEST. Or enhance a Datasource to include OBJNR.
    Please let me know if you need any more information.
    Regards,
    Pankaj

Maybe you are looking for