Multiple server sessions

Hi,
Should there be any issue mixing objects between multiple server sessions.
We have multiple services that each have each have their own ServerSession.
There are situations where objects retrieved through one ServerSession are ultimately part of an object that is persisted through another ServerSession.
Note: communication between client and services is via RMI and persistence is performed using the mergeWithReferences method.
Example,
- Person object has an Address object.
- Address is retrieved from ServerSession 1 (RMI)
- Person object is retrieved from ServerSession 2 (RMI)
- Address is added to Person and Person is persisted
thru ServerSession 2. (RMI)
The behavior I've observed is inconsistent but ultimately there seems to be problems.
From the example above, occasionally ServerSession2 will attempt to reinsert the Address object into the table.
In the case where Address is read only the cached version of Person in ServerSession2 will have a null Address attribute after persistence even though the database was updated correctly.
What accounts for this behavior?
Thanks
Mark

Marc,
The problem you are seing is related to TopLink's existence checking. When you go to write an object from session 1 into session2 and it does not exist in the cache TopLink assumes the object is new. This is very similar to when you are running in a cluster and your write request ends up in a JVM where the TopLink session has not read in the object you plan to write.
In order to make this work you can change the existence-checking setting, which I don't recommend, or you can alter your pattern for dealing with the UnitOfWork.
When you serialize the object(s) across RMI to the server that is going to do your writing I recommend the following pattern:
1. Acquire UnitOfWork from session
2. Read objects from database
unitOfWork.read(person);
unitOfWork.read(address);
3. Merge objects (unitOfWork merge APIs)
4. Commit UnitOfWork
Step #2 is important here. If you are writing to a session that has the objects cached then no database call is required. If not, the database version will be read in. The merge will copy the values over to the working copy and the commit will calculate and write any necessary changes.
Other recent threads in this forum and the documentation detail the merge options.
Doug

Similar Messages

  • Similar to multiple x sessions

    I know that on linux you can initiate multiple x sessions so that when you connect to the computer using VNC and use the mouse and keyboard without interfering with what the user on the computer does.
    Is there some way to start a new session on the mac and do that same thing?

    TL;DR version - not really.
    Long winded version...
    Much of the apple magic in making X11 work within the Cocoa on top of Aqua on top of Quartz/OpenGL/QuickTime stack makes this really hard to do.
    Have you looked over Xnest - it's really powerful and can act as a server and a client. If remote boxes are ssh into the mac and using the multiple displays set up under Xnest your local display would be cluttered but one mac could support many remote machines with X11 services.
    See these links for some good reading on the subject:
    [Fun with Xnest HowTo|http://box.matto.nl/xnest.html]
    [X11 for Mac OS X|http://www.scl.utah.edu/computers/mac/help/x11>
    The only time I've seen this actually deployed, xnest was ditched after a few days of pain. Instead, a beefy Mac Pro with RAM/CPU to spare was set up with VMWare fusion and a virtual machine per user with linux/freeBSD installed. Then X11 could roam there free of "the dictator" known as Quartz Compositor.

  • JNDI Lookup for multiple server instances with multiple cluster nodes

    Hi Experts,
    I need help with retreiving log files for multiple server instances with multiple cluster nodes. The system is Netweaver 7.01.
    There are 3 server instances all instances with 3 cluster nodes.
    There are EJB session beans deployed on them to retreive the log information for each server node.
    In the session bean there is a method:
    public List getServers() {
      List servers = new ArrayList();
      ClassLoader saveLoader = Thread.currentThread().getContextClassLoader();
      try {
       Properties prop = new Properties();
       prop.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
       prop.put(Context.SECURITY_AUTHENTICATION, "none");
       Thread.currentThread().setContextClassLoader((com.sap.engine.services.adminadapter.interfaces.RemoteAdminInterface.class).getClassLoader());
       InitialContext mInitialContext = new InitialContext(prop);
       RemoteAdminInterface rai = (RemoteAdminInterface) mInitialContext.lookup("adminadapter");
       ClusterAdministrator cadm = rai.getClusterAdministrator();
       ConvenienceEngineAdministrator cea = rai.getConvenienceEngineAdministrator();
       int nodeId[] = cea.getClusterNodeIds();
       int dispatcherId = 0;
       String dispatcherIP = null;
       String p4Port = null;
       for (int i = 0; i < nodeId.length; i++) {
        if (cea.getClusterNodeType(nodeId[i]) != 1)
         continue;
        Properties dispatcherProp = cadm.getNodeInfo(nodeId[i]);
        dispatcherIP = dispatcherProp.getProperty("Host", "localhost");
        p4Port = cea.getServiceProperty(nodeId[i], "p4", "port");
        String[] loc = new String[3];
        loc[0] = dispatcherIP;
        loc[1] = p4Port;
        loc[2] = null;
        servers.add(loc);
       mInitialContext.close();
      } catch (NamingException e) {
      } catch (RemoteException e) {
      } finally {
       Thread.currentThread().setContextClassLoader(saveLoader);
      return servers;
    and the retreived server information used here in another class:
    public void run() {
      ReadLogsSession readLogsSession;
      int total = servers.size();
      for (Iterator iter = servers.iterator(); iter.hasNext();) {
       if (keepAlive) {
        try {
         Thread.sleep(500);
        } catch (InterruptedException e) {
         status = status + e.getMessage();
         System.err.println("LogReader Thread Exception" + e.toString());
         e.printStackTrace();
        String[] serverLocs = (String[]) iter.next();
        searchFilter.setDetails("[" + serverLocs[1] + "]");
        Properties prop = new Properties();
        prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
        prop.put(Context.PROVIDER_URL, serverLocs[0] + ":" + serverLocs[1]);
        System.err.println("LogReader run [" + serverLocs[0] + ":" + serverLocs[1] + "]");
        status = " Reading :[" + serverLocs[0] + ":" + serverLocs[1] + "] servers :[" + currentIndex + "/" + total + " ] ";
        prop.put("force_remote", "true");
        prop.put(Context.SECURITY_AUTHENTICATION, "none");
        try {
         Context ctx = new InitialContext(prop);
         Object ob = ctx.lookup("com.xom.sia.ReadLogsSession");
         ReadLogsSessionHome readLogsSessionHome = (ReadLogsSessionHome) PortableRemoteObject.narrow(ob, ReadLogsSessionHome.class);
         status = status + "Found ReadLogsSessionHome ["+readLogsSessionHome+"]";
         readLogsSession = readLogsSessionHome.create();
         if(readLogsSession!=null){
          status = status + " Created  ["+readLogsSession+"]";
          List l = readLogsSession.getAuditLogs(searchFilter);
          serverLocs[2] = String.valueOf(l.size());
          status = status + serverLocs[2];
          allRecords.addAll(l);
         }else{
          status = status + " unable to create  readLogsSession ";
         ctx.close();
        } catch (NamingException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (CreateException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (IOException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (Exception e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
       currentIndex++;
      jobComplete = true;
    The application is working for multiple server instances with a single cluster node but not working for multiple cusltered environment.
    Anybody knows what should be changed to handle more cluster nodes?
    Thanks,
    Gergely

    Thanks for the response.
    I was afraid that it would be something like that although
    was hoping for
    something closer to the application pools we use with IIS to
    isolate sites
    and limit the impact one badly behaving one can have on
    another.
    mmr
    "Ian Skinner" <[email protected]> wrote in message
    news:fe5u5v$pue$[email protected]..
    > Run CF with one instance. Look at your processes and see
    how much memory
    > the "JRun" process is using, multiply this by number of
    other CF
    > instances.
    >
    > You are most likely going to end up on implementing a
    "handful" of
    > instances versus "dozens" of instance on all but the
    beefiest of servers.
    >
    > This can be affected by how much memory each instance
    uses. An
    > application that puts major amounts of data into
    persistent scopes such as
    > application and|or session will have a larger foot print
    then a leaner
    > application that does not put much data into memory
    and|or leave it there
    > for a very long time.
    >
    > I know the first time we made use of CF in it's
    multi-home flavor, we went
    > a bit overboard and created way too many. After nearly
    bringing a
    > moderate server to its knees, we consolidated until we
    had three or four
    > or so IIRC. A couple dedicated to to each of our largest
    and most
    > critical applications and a couple general instances
    that ran many smaller
    > applications each.
    >
    >
    >
    >
    >

  • JPA Project, TopLink Server session and ClassLoader issue

    hi,
    I'm working on the project where JPA annotations are used to describe the mapping between POJOs and the database tables. JpaHelper class is used to bridge the gap between toplink-essentials and toplink. The EntityManagerFactory and the oracle.toplink.threetier.Server are obtained as following:
    emf = JpaHelper.getEntityManagerFactory(Persistence.createEntityManagerFactory("myUnit"));
    server = JpaHelper.getServerSession(emf);
    Due to different functional and architectural constraints the same Server session has to be shared across different web applications. Thus the EntityManagerFactory has been bound to Weblogic JNDI tree and used by web applications to obtain Server session. It works very well for the very first client that is trying to query the data, but due to the fact that in the web container different web applications are using different ClassLoaders the QueryException “Missing descriptor for [class ...]” is being thrown for all consecutive call from other web applications. The same behaviour is observer after re-deploying the “first” application.
    Going throughout different threads in the forum I learned that it could be solved for the "pure TopLink" projects where “sessions.xml” is used as following:
    oracle.toplink.internal.helper.ConversionManager.getDefaultManager().setShouldUseClassLoaderFromCurrentThread(true);
    boolean shouldLoginSession = true;
    boolean shouldRefreshSession = true;
    boolean shouldCheckClassloader = true;
    session = SessionManager.getManager().getSession(new XMLSessionConfigLoader(), "mySession",
    Thread.currentThread().getContextClassLoader(), false, true, true);
    Could you please let me know if there is something similar for JPA projects where “sessions.xml” isn’t used or other options have to be considered?
    regards,

    I am not completely sure I understand what product and version you are using. TopLink Essentials and Oracle TopLink are independent products. They share the same heritage and much of the same functionality but typically you would only use one of them in an application.
    If you have multiple web applications (WAR) that need to share the same JPA persistence unit I would package all of the JPA classes in their own JAR file and co-locate all of these WARs with the persistence JAR in a single EAR file. This should give you the capability to share the classes across the web applications.
    Doug

  • How to disable Refresh,Reload in browser and user should not allow to multiple browser sessions ?

    Dear All,
    How to disable Refresh,Reload in browser and end user should not allow to multiple browser sessions in portal.Where we need to configure the settings or any code in masthead or any other component. My server version is 7.4 - SP5 .Please help us.
    Thanks for advance,
    BR,
    Durga Rao.

    Dear all,
    i am able to logoff the click refresh button on keyboard.I am using this code to log off the user into the portal.
    document.onkeydown = function(e)
      var key;
      if (window.event) key = event.keyCode
      else
      var unicode = e.keyCode ? e.keyCode : e.charCode
      key = unicode
      switch (key)
      { //event.keyCode
      case 116: //F5 button
        LSAPI.sessionPlugin.logoff();
      event.returnValue = false;
      key = 0; //event.keyCode = 0;
      return false;
      case 82: //R button
      if (event.ctrlKey)
    LSAPI.sessionPlugin.logoff();
      event.returnValue = false;
      key = 0; //event.keyCode = 0;
      return false;
      case 91: // ctrl + R Button
    LSAPI.sessionPlugin.logoff();
      event.returnValue= false;
      key=0;
      return false;
    Thanks.
    But i am unable to control the multiple windows opening the browser.So any one can tell me the how to block the new window and new tab/duplicate tab option.
    BR,
    Durga Rao.

  • Multiple j-sessions for IOP fail-over?

    Weblogic has the ability to support multiple j-sessions to allow fail-over of the connection.
    My understanding is that this is not currently supported in IOP.
    When will IOP support multiple j-sessions?
    Is it possible to get a patch for this in the current version 11 of IOP?
    Thank you.

    That is part of the product roadmap to support multiple j-sessions for IOP fail over using Weblogic. That way, if the primary IOP server fails, the user can be re-routed to the backup server in a high-availability fashion. However, that is not supported currently, but will be over the next couple of releases.

  • How Can i specify multiple server names in rwservlet.properties  file?

    How Can i specify multiple server names in rwservlet.properties file without clustering?
    I am using oracle 10g Application server. we have 3 servers Repsvr1, RepSvr2 and RepSvr3. Now i need to configure rwservlet.properties file to point to these servers based on any running report. i got 3 keymap files with reports info.
    Sample entry in the key map file is:
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    rwservlet.properties file letting me to enter only one servername. Even though i merged all 3 keymap files into 1, still i have the server name issue. If i leave the server to the default name still i am getting the below error.
    REP-51002: Bind to Reports Server Repsvr1 failed. However, i know the default rep_<servername> would be used incase we dont have SERVER=<value> parameter in the rwservlet.properties file.
    If i specify the servername in the rwservlet.properties file then only Repsvr1 reports are working fine and other 2 server reports are giving the same error like
    REP-51002: Bind to Reports Server <<Server Name>> failed.
    how can i configure the info which will work all 3 reports. 2 Port servers are invoking using oracle forms and report server is invoking using ASP pages.
    If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error, whenever i am trying to integrate all 3 to workable i am getting binding error. if i exclude the server from rwservlet.properties still i am getting the same error.

    My RELOAD_KEYMAP setting is YES only.As i said If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error.
    keymap file entries
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    If i use http://server.domain:port/reports/rwservlet? cmdkey = key1 should bring the report from Repsvr1 and http://server.domain:port/reports/rwservlet? cmdkey = key2 should bring the report from Repsvr2, but i am getting an error from Repsvr2 saying that REP-51002: Bind to Reports Server repsvr2 failed.
    Only Servername Repsvr1 is in rwservlet.properties file. Now what is the best option to by pass the server from rwservlet.properties file and should be from keymap file. if i comment server name in rwservlet.properties file still i am getting REP-51002: Bind to Reports Server <<Server Name>> failed error for both keys.

  • Load Data from a table on one server's database, to the same table structure in multiple server databases

    Hi,
    I have a situation where i have to load data from one server/database table to multiple servers/databases.
    Example:
    I need to load data from dbo.TABLE_A  (on Server: Server_A & Database: Database_A)  to the same table on the list of server databases like
    Server: Server_B , Database: Database_B
    Server: Server_C , Database: Database_C
    Server: Server_D , Database: Database_D
    Server: Server_E , Database: Database_E
    Server: Server_F , Database: Database_F
    Server: Server_G , Database: Database_G
    Server: Server_H , Database: Database_H
    so on and so forth on 250 such server database combinations.
    The table structure is the same on all the servers.
    If i make the source or destination dynamic, it throws an error while mapping ?
    I cannot get Linked server permissions and SQL Server Config thing doesn't work as well.
    Please suggest on how to load data from one source to multiple server/databases.
    Thank you.

    I just need to transfer one table's data. its like i have to use a query to pick data for
    the most recent data. So i use something like, select A, B, C, D from dbo.table where ETL_TIMESTAMP > (the max(etltimestamp) in the destination on different server). There are no foreign key relationships and the data should not be truncated. it just had
    to append the new records.

  • MS SQL DB User Management Connector Unable to Select Multiple Server

    Hi,
    We are trying to connect to multiple server using MS SQL DB user management connector but receive the error below when selecting server.
    <Sep 3, 2012 4:28:59 PM MYT> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcLookupOperationsBean/getLookupValuesForColumnFilteredData encounter some problems: Lookup.PDBUM.MSSQL.DBNamesis not a valid form field>
    Running InitUtil
    Running ExecuteStoredProcForAuthTypeUser
    Running SetProcessFormData
    <Sep 3, 2012 4:30:13 PM MYT> <Error> <XELLERATE.ADAPTERS> <BEA-000000> <Class/Method: tcAdpEvent/verifyServer encounter some problems: IT Resource Type mismatch found for Adapter variable MSSQL_ITRVerify that IT Resource selected on Process Form matches IT Resource type selected for variable>
    Running InitUtil
    Running ExecuteStoredProcForAuthTypeUser
    Running SetProcessFormData
    Running COMBINENAMEWITHSUFFIXPA
    Target Class = com.thortech.xl.util.adapters.tcUtilStringOperations
    Running COMBINENAMEWITHSUFFIXPA
    Target Class = com.thortech.xl.util.adapters.tcUtilStringOperations
    Running InitUtil
    Running ExecuteStoredProcForAuthTypeUser
    Running SetProcessFormData
    <Sep 3, 2012 4:33:13 PM MYT> <Error> <XELLERATE.ADAPTERS> <BEA-000000> <Class/Method: tcAdpEvent/verifyServer encounter some problems: Could not determine IT Resource Key for variable MSSQL_ITR>
    delete mds name:/db/MSSQL DB User Privilege Login Requestrecon.profile
    Unable to delete profile with mds name:/db/MSSQL DB User Privilege Login Requestrecon.profile
    <Sep 3, 2012 4:33:43 PM MYT> <Warning> <Socket> <BEA-000450> <Socket 8 internal data record unavailable (probable closure due idle timeout), event received 17>
    <Sep 3, 2012 4:33:48 PM MYT> <Warning> <Socket> <BEA-000450> <Socket 4 internal data record unavailable (probable closure due idle timeout), event received 17>
    MS SQL DB connector version is 9.1.0.4
    Any ideas on this error above?
    Thank you.
    Edited by: 950985 on Aug 17, 2012 12:21 AM

    verify lookup : Lookup.DBUM.MSSQL.Configuration and provide the required information (eg: provide query property file)
    --nayan                                                                                                                                                                                                                                                                   

  • Application Server Session timed out (-11) (lack of debug in internal ITS)

    Dear Sirs,
    I get the error message below, when I try to run a IAC through internal ITS. The IAC worked for a while (<30 minutes), and then suddenly this error appeared.
    I can see that this error message has been asked about previously, but then in connection with statefull/stateless BSP applications (e.g "Session timed out thread", on this forum May 31 2005).
    In this thread the solution is apparently to alter the 'rdisp/plugin_auto_logout', is this the case for us as well?
    I have read Error handling using the ICM , but not able to actually beeing able to pinpoint the problme.
    All our other IAC are working it is only a problem with one of them. The problem is still valid even if I log on with different user, and the error is still there now even after two hours. The problem transaction is a altered version of the WSTA, and I am able to get the first screen where I enter the store number. 
    Any tips or suggestions to pinpoint the error?
    +400 Session timed out - please log in again
    Application Server Session timed out (-11)
    Error:     -11
    Version:     6040
    Component:     ICM
    Date/Time:     Thu Apr 27 14:13:56 2006
    Module:     icxxthr_mt.c
    Line:     1719
    Server:     xxXXXt_TXX_XX
    Detail:     Session does not exist+
    In SM21 :
    +Transaction Canceled ITS_P 025 ( 0x2103: Interpreter: The input contains errors. )                                                              
    Documentation for system log message D01 :
    The transaction has been terminated.  This may be caused by a termination message from the application (MESSAGE Axxx) or by an error detected by the SAP System due to which it makes no sense to proceed with the transaction.  The actual reason for the termination is indicated by the T200 message and the parameters.                         
    Additional documentation for message ITS_P               025 Template interpretation terminated - internal error &1                        
    No documentation exists for message IT025+                                     
    Best regards,
    Jørgen

    Dear Sirs,
    The error has been solved. It was a matter of an illegal input sendt to the RetailHeaderFunction.
    However, this makes way for another question.
    On the standalone ITS, it was possible to get error messages which indicated where the code contained errors, when it was runned.
    How is it possible to make the internal ITS gives better feedback (errors?), and show where the error is?
    Jørgen

  • [solved] who command doesn't show X server session

    Hi there,
    shouldn't the `who` command show all logged in user sessions, including my X server session?
    However, who only shows my tty1 session:
    [orschiro@thinkpad]$ who
    orschiro tty1 2013-10-25 17:01
    What is the output of who on your system?
    Last edited by orschiro (2013-10-27 20:21:32)

    Alright. The point is, what do I need to do in order that who shows my X session?
    I tried export DISPLAY=:0 but this doesn't add :0 to the who command listing.
    The reason I am asking is that I want to use the following dispatcher script which queries for :0, assuming that who shows the display variable.
    #!/bin/sh
    INTERFACE=$1 # The interface which is brought up or down
    STATUS=$2 # The new state of the interface
    case "$STATUS" in
    up) # $INTERFACE is up
    USERS=$(ps -o user --no-headers -C dropbox)
    killall dropbox
    for user in $USERS; do
    su -c "DISPLAY=$(who | sed -e "/$user/! d;/pts/d;s/^.*[^0-9]\\(:[0-9.]\\+\\).*$/\\1/p;d" | head -n1) dropboxd &" $user
    done
    down) # $INTERFACE is down
    esac
    Last edited by orschiro (2013-10-27 07:04:25)

  • Does GRC AC 5.2 supports multiple server nodes

    Hello Experts,
    Does GRC AC 5.2 is supported with multiple server nodes.
    Thanks
    Davinder

    Thanks once again Harleen,
    For AC 5.2 i will raise an SAP OSS message and share the results with community.
    For AC 5.3, we have configured SAP logger and make neccesary changes in NWA. But log information over here is not as detailed (background job information is missing) as we get in RAR -> Background Jobs ->View Logs.
    I have generated another thread for this issue (GRC AC 5.3 Logging strategy in multi server nodes), would appreciate if you can show some light on this issue
    Thanks
    Davinder

  • Multiple View sessions, same PC?

    View 6.0.1, Client 3.3.0
    Can I have multiple View sessions from the same PC? In other words
    Launch the Horizon View client, login, and access a desktop
    Launch the Horizon View client again, login as a different user, and access a different desktop
    Repeat until I have many session open at once
    The reason I ask is we are migrating from Exchange to Gmail. Google provides a utility called GAMME that in a larger environment can be run from multiple machines with each machine migrating one portion of the alphabet. Rather than using 10 physical machines I would rather use 10 View desktops. This will work slick if from my real PC I can access all 10 view desktops. I will be using a different login account to access each desktop.

    Have not tried yet. I did not want to go through the time setting up a separate non-persistent desktop pool if I could not login to more than one desktop at the same time. Now that I know it will work, I will run with it. Thanks for the help

  • Multiple user sessions for ADF application

    Hi All,
    We have a ADF application with 3-4 pages starting with a login screen.
    Assume we have two users, user1 and user2. In same system but different browser windows, when both users are logging in, only user2 's session is active. Though user1 logged in first and is able to perform transactions, the moment user2 logs in, user1's session is being over-written by user2 (user1's window now displays user2's information). I have observed the URL of user1 window which now changes to user2's URL (_adf.ctrl-state parameter of user2 is displayed in user1 browser)
    How do we overcome this?? We have a requirement to be able to open multiple user sessions.
    We are using JDeveloper 11.1.2.3.0 and browsers being used are IE 8, IE9 and chrome.
    Thanks,
    Deepti

    Hi,
    Continuation to my above question
    I am using these two statements in my code..
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpSession httpSession = (HttpSession)ectx.getSession(true);
    On any event in Window1, I gues it is getting the context and session of window2(this being the latest)..
    Shouldnt it return the context and session of the current window instead of the latest window???
    This problem is well explained here
    internet explorer 8 - How to avoid session sharing provided by IE8 programmatically in Java EE application? - Stack Over…
    I want to know.. what is the best way to handle this in ADF... We are using managed beans with request scope and using HttpSession to store few values like user Id.

  • ORACLE server session terminated by fatal error

    Hi,
    When i try to startup my database(10g), i am getting this error after database monted.
    ORA-00603: ORACLE server session terminated by fatal error.
    (Startup nomount is ok)
    conn /as sysdba
    Total System Global Area 1048576000 bytes
    Fixed Size 1223392 bytes
    Variable Size 343934240 bytes
    Database Buffers 700448768 bytes
    Redo Buffers 2969600 bytes
    Database mounted.
    ORA-00603: ORACLE server session terminated by fatal error
    Alert.log:
    Errors in file /u01/app/oracle/product/10.2.0/db_1/admin/db/udump/db_ora_9917.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-00600: internal error code, arguments: [4194], [24], [14], [], [], [], [], []
    ORA-00600: internal error code, arguments: [4194], [24], [14], [], [], [], [], []
    The trace file is 1,6GB(!)
    Trace file:
    ----- Redo read statistics for thread 1 -----
    Read rate (ASYNC): 26Kb in 0.78s => 0.03 Mb/sec
    Total physical reads: 4096Kb
    Longest record: 0Kb, moves: 0/62 (0%)
    Change moves: 35/122 (28%), moved: 0Mb
    Longest LWN: 14Kb, moves: 0/13 (0%), moved: 0Mb
    Last redo scn: 0x0000.31539752 (827561810)
    NO VALID LOG MEMBER FOR SEQ# 20884 OF THREAD 1!
    NO VALID LOG MEMBER FOR SEQ# 20883 OF THREAD 1!
    *** 2011-01-06 06:18:51.782
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [4194], [56], [49], [], [], [], [], []
    Current SQL statement for this session:
    update service$ set name = :1, name_hash = :2, network_name = :3, creation_date = :4, creation_date_hash = :5, deletion_date = null, goal = :6, flags = :
    ----- Call Stack Trace -----
    Thanks

    Hello,
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u01/app/oracle/product/10.2.0/oradata/db/system01.dbf'The system01.dbf which belongs to the Tablespace SYSTEM is still inconsistent.
    So, I think you'll need to start from a Backup and apply all the Archived Redo logs before the ORA-600 occured.
    More over, try to open a Service Request to My Oracle Support and, send them all the Traces Files and Alert Log so that they can follow all the actions which has occured on this Database. You may need their help.
    Best regards,
    Jean-Valentin

Maybe you are looking for

  • HOW CAN I USE MULTIPLE VIEWS IN ONE BLOCK

    What I need to do is based on a selection, I have a detail block that shows the results. My selection would determine which view to display in the detail block. So for example, my selection is: Source: A Year 2005 I would then display the details by

  • Pattern fill question

    Hi i'm a student and learning how to work with with photoshop, indesign and illustrator. I've only been practesing for a month and a half now but we al had to start somewhere Now my question is: i've been trying to get a pattern fill in illustrator w

  • 2-Dim Array help

    I have some code that is currently working, however it is not dynamic like it will need to be in later revisions of the program. The program interacts with changing XML documents and the 2 constraints of the array is based on the number of elements a

  • How to reinstall Photoshop

    I had a failed install of an update for Photoshop CC from the Creative Cloud desktop app. I was advised by the website to uninstall Photoshop and then reinstall it. I uninstalled it using Control Panel uninstall but now i can't reinstall it. I tried

  • Lost power,,, lost configuration

    I have a newly installed E2400 Linksys wireless router.  About and hour after getting it fully set up,  we had a storm come through and it caused a momentary power outage.  Long enough to reboot everything. When everything came back online,  I found