Use of session files?

Hello,
I am building a web application where the users can create an account which is stored on a database. And the site allows them to login and upload science based images and text.
When the user logs in rather than them having later re-enter there user-name, password. Should be storing these in a details session file on the server or clients computer.
Could anyone advise how normally keeping the user logged-in to the user is achieved ?
Thank you

add stuff to the session for the user.
HttpSession session = HttpServletRequest.getSession();

Similar Messages

  • Using Auditon 3 Session Files in Audition 1.5

    Am using version 3 and I want to re-install my 1.5 version again.
    My question is : can I use the session files I have made in Audition 3 when I re-enstall version 1.5.
    When I installed ver.3 it automaticlly changed all my version 1.5 session file over to 3.
    If any one knows how I can go back to ver.1 without loosing the session files I would really appreciate the info.

    Thanks for the link I will give it a try.
    The problem I have is when I try to open a session file in AA1.5 it opens a window that reads: Some waveform clips were not loaded in the session because they were higher track numbers not supported by this version of audition.
    Really hope I can get these loaded or get them transformed back to a file that will open again. Really don't like AA3 at all.
    Date: Tue, 4 May 2010 09:24:23 -0600
    From: [email protected]
    To: [email protected]
    Subject: Using Auditon 3 Session Files in Audition 1.5
    Installing version 3 won't automatically change your AA1.5 sessions to v3.  The only way they will change is if you open your AA1.5 sessions in AA3 and then save them again.
    Most applications will not allow earlier versions to open later versions as things will have changed that the earlier version is unaware of.
    Audition is the same and AA1.5 cannot successfully open AA3 sessions.  The only product which may be of assistance is http://www.aatranslator.com.au
    Download the demo and see if it suits your needs but be aware that many things such as fx, plug-ins, midi, eq etc are not candidates for conversion.
    >

  • Firefox crashed before I could load my previous session - how may I restore it? I have backed up relevant session files, but have no idea how to use them.

    I was using Firefox shortly before deciding to restore my previous session (100+ tabs!), but the browser froze and went blank with the "Not Responding" label on top. This happened to me before, and I decided to just quit the session. I knew that I would lose the session I wanted, but I backed up the important session files found in the Mozilla directory (or at least whatever has "session" and "restore" in its name) while the browser was stuck (before quitting).
    What I'd like to understand is HOW TO USE these files to get my session back. I've tried replacing the session files with the back-up copies to no avail. Once long ago I managed to recover a session successfully, but with Firefox constantly changing, I may have lost touch with this.
    I use Firefox 34 and Windows 8.1, but I'll need others' help in identifying the session backup/restore files I need to use from the ones I backed up.
    I believe that the "recovery.bak" is vital, because it contains the tab/page names I was viewing.
    I would greatly appreciate whoever would help me in this, especially if they can teach me the proper methods to follow if this ever happens again (which most likely will!)

    You can look at this post in this MozillaZine forum thread about inspecting a sessionstore file and possibly extract URLs.
    *http://forums.mozillazine.org/viewtopic.php?f=38&p=12098147&start=60#p12098147
    You can open the Browser Console (Firefox/Tools > Web Developer).
    Paste the JavaScript code in the command line and press the Enter key to run the code.
    *Toggle the devtools.chrome.enabled pref on the <b>about:config</b> page to true to enable the command line
    *https://developer.mozilla.org/Tools/Browser_Console#Browser_Console_command_line

  • How to consolidate files used in session?

    Hi.
    Ive got a session which I'm only using certain audio files within. In the audio bin i have about 9GB of extra files I'm not using within the session.
    Is there a way to consolidate so I'm only storing the files I'm using in the session, rather than carrying round a huge load of extra files i no longer need?
    Thanks

    Go to your Audio Bin, choose Select Unused, then delete the selected files.
    Next, choose Clean Up.
    Make sure that the files to be deleted are not used in any other project
    http://help.apple.com/logicpro/mac/10.1/#/lgcp44abbe56.

  • Can't restore a previous session (or two ago) using a backup.session file?

    I'm trying to recover a session, but it is not my last previous session (it's from a few sessions ago now I suppose). I started Firefox today and it didn't load the session from the previous night and instead loaded a couple of update pages that I closed. I then reopened Firefox realizing that it didn't reopen to my session and now restoring the previous session doesn't help because it opened to the updates (and I've now opened and closed it a few times trying to solve the issue). I've found a file in the session folder called "backup.session" that was modified last night and says it is a SESSION File, but can't seem to open it (web search for a program does no good and I don't see Firefox in the Browse for a Program section.
    Is there anyway to open a session from a few sessions ago and is it through this backup.session file?

    Are you using any session managing extensions like Tab Mix Plus or Session Manager?
    You can try to restore a previous version of the sessionstore.js file.
    *Right-click: Properties > Previous Versions
    *http://windows.microsoft.com/en-US/windows7/Previous-versions-of-files-frequently-asked-questions

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

  • How to use a WSDL file to call webservice? Help!

    Hi Experts,
         I have exposed a SAP function module as webservice using the
         Utilities -> More Utilities -> Create Web Service -> From Function module
         What does this step actually does? Does it create some kind of web application like BSP for the function module in the background?
         After creating the web service I have released the service definition for the SOAP runtime using the transaction WSCONFIG.
        Finally I have generated the WDSL file ofr the webservice using WSADMIN transaction.
        After this how will my third party application like Java will use the WSDL? Will I need any connector software to be installed in Java side.
        How exactly will java call my webservice using WSDL?
        What actually happens or what is the message flow when java application calls by webservice?
        Kindly help.
    Thanks
    Gopal

    Hi, Your solution should be correct and it's a quite common approach for Login authentication.Informatica's webservice provider also need 2 steps for calling its webservice1. Getting the session ID using username and password 2. Use the session ID to call any active operation 3. Use the session ID to log out if webservice do not have any time out settings for each session. SOAP standard is listed in the WSDL of saleforce webservice. It affects if you cannot find/call any operation in PowerCenter level. My lastest information is for PWC 9.1 version only, I don't know if they have enhanced this function in 9.5. If you can call the operation, you can just put it (SOAP standard) way first. Regards,Felix

  • How to open a .session file?

    I have a .session file. Basically I had many tabs open and then saved them in a .session file for later use. I now can't open it with the version 26 or even 22. When I open it, it just shows them in text form. Is there a way to open this .session file so that all pages are opened in different tabs?

    Go to the
    '''''[https://addons.mozilla.org/en-US/firefox/ Mozilla Add-ons Web Page]'''''.
    There is lots of good stuff here. Check out an add-on called
    [https://addons.mozilla.org/en-US/firefox/addon/send-tab-urls/?src=external-Add-ons_Manager_Context_Menu-extension Send Tab URL].

  • Logic Crashes trying to open a session file. Save copies often

    I am having an unfortunate unique issue here. For whatever reason, Logic X has corrupted/infected several session files within my project. I have not been able to open my main or many backup session files within a project. Every time I open, crash and then this error bellow. I have tried every trick in the book. Crashes when i try to import the session in a new session, even tried tricking an older file that works with the new session files backup's inserted. Crashes + infects the working session file. This has been very frustrating. I don't feel I did anything to make the file corrupt. Lost a lot of time here and was wondering if anyone knows a solution.. Can one of you Apple people help me recover this file somehow? It's for a bigger client of mine so I would like to get the progress back. There seems to be no way of getting in so far
    Thanks
    P
    Process:         Logic Pro X [1728]
    Path:            /Applications/Logic Pro X.app/Contents/MacOS/Logic Pro X
    Identifier:      com.apple.logic10
    Version:         10.0.4 (2911.63)
    Build Info:      MALogic-2911063000000000~16
    App Item ID:     634148309
    App External ID: 73352631
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [211]
    Responsible:     Logic Pro X [1728]
    User ID:         502
    Date/Time:       2013-12-07 11:11:12.932 -0800
    OS Version:      Mac OS X 10.9 (13A603)
    Report Version:  11
    Anonymous UUID: 
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    abort() called
    *** error for object 0x7fd1a3816c08: incorrect checksum for freed object - object was probably modified after being freed.

    There are no Apple employees here but....
    Have you tried using the Selective Track Import (STI) feature to recover the tracks one by one from your corrupted project to a new one?
    This video is for LP9 but STI works much the same way in LPX and is one of the most useful little 'gadgets' in LP's toobox...
    http://support.apple.com/kb/VI255
    and a detailed outline with screenshots can be found here...
    http://music.tutsplus.com/tutorials/how-to-use-selective-track-import-in-logic-p ro-9--audio-3181
    Just create a new project.. and then import one track at a time from your old project into the new one, testing after each to help you identify the problem causing parts of your old project...

  • I cannot open a session file sent from another computer?

    Hey all!  I just purchased AA 3.0 for home.  Thing is, when I send myself a session file from work (through email), when I open the file at home, there is nothing.  It shows the track, but there is no signal (on edit view).  It is flat as if nothing were recorded.  Any ideas?  I'm extremely new to AA 3.0 and appreciate any help whatsoever.  BTW, are there any tutorials out there that could help me get started?  I use AA primarily for voiceover recordings.  I really just need to learn (correctly) how to record, edit, enhance, and covert to mp3 my recordings.  Thanks so very much!  -matt c.

    The session files only contain information on editing and no actual audio data.  The tracks you've recorded are in files (probably .wav) somewhere in the project folder or wherever you told AA to save them when you hit the record button...  So if you ever need to copy a session make sure to gather up all the files ascociated with it.
    This little utility program might help when you need to gather those files... http://www.mediasweeper.com.au/sesbackup.htm
    As for tuturials... Check out the audiomasters forum at www.audiomastersforum.net and do a quick search.  Your sure to find everything you need.

  • Detailed use of Sessions

    An SDK user recently sent me this query:
    So I wrote this parser:
    instance.PARSER.assemble = function() {
    var idx = 0; // table index
    ---SNIP---
    return true;
    I still don't understand when to use "this.PARSER.xxx" and
    "instance.PARSER.xxx" or "Record.prototype.xxx".
    I guess that's my main problem at the moment (understanding the laxness
    of ECMA script - I'm used to use JAVA, C++ and all that stuff)
    Also I don't get it which info to put into the newEvt and which one
    into sessRec[0]...
    And I also don't get when to use the "legacy" attributes and when the
    "new ones" (like evt vs EventName) ...
    DCorlette
    DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
    View this thread: http://forums.novell.com/showthread.php?t=449867

    And here was my (long-winded) response, which has some details that
    folks might find interesting:
    1) When the Collector initializes, it creates a few global objects to
    keep track of, well, global things.
    - One such object is 'instance', which is of class 'Collector' and
    represents the actual running Collector instance. We put lots of other
    stuff, like the state of parameters, caches, and other "in-memory"
    objects into 'instance' as a convenient place to store them (so
    'instance.MAPS' holds our maps, for instance).
    - In the main Collector loop, we also create (and delete) a couple
    other global objects, one of which is 'rec', which represents the next
    inbound log record (class 'Record') from the event source.
    - Also we create 'e' which represents that output Sentinel event
    (class 'Event') that is currently being constructed.
    2) In 'normal' Collector flow, the basic idea is that you take the
    input record ('rec'), chop it up into pieces (and typically we store
    that parsed data back as new attributes of 'rec') and normalize the
    data, and then call a conversion routine to "convert" the 'rec' into
    'e'. In other words, with rare exceptions you really shouldn't modify
    'e' directly, instead you do all your partial parsing on and in 'rec',
    and then the conversion to 'e' is dictated by the Rec2Evt DataMap.
    3) Also just to make sure this is clear, methods that are declared as
    prototypes on a class are members of that class, essentially, sort of
    like normal member methods on a Java class. So if you have 'rec', and a
    method Record.prototype.foo(), you can call rec.foo() and you'll end up
    in a member method (and 'this' will refer to 'rec'). So in general if
    you call the method from 'rec' it's a Record class member, from
    'instance' it's a Collector member method (and 'this' will be
    'instance', and from a Session object (like 'sess' in my example) it's a
    Session member method (and 'this' will be the Session).
    So you made a comment: "And I also don't get when to use the "legacy"
    attributes and when the "new ones" (like evt vs EventName) ..."
    The answer here is that the "long" variable aliases are recognized
    attributes of the Event class. In most cases, you will NOT access them
    directly so it would be somewhat unusual for you to actually write them
    in your code. The 'short' tags you're talking about are probably
    attributes of the 'rec' object, and those are just temporary variables
    you create to hold the partial results from your parsing - they can
    actually be anything you want, can be nested into deep structures if you
    wish, etc etc. We happen to use the Sentinel internal field names for
    convenience and because it helps to indicate (sometimes) the purpose for
    which we intend to use that parsed data later on. Ultimately, the only
    place you need to care about those 'rec' variables is when you construct
    your Rec2Evt.map file that describes how a Record can be converted into
    an Event - you'll see those Sentinel long field names on the left (the
    *target* Event fields) and you put whatever Record attributes (again,
    array references and deep structures in the Record are supported) on the
    RHS.
    When you're dealing with a Session, however, things get a little wonky.
    First of all, you don't have the "simple" logic of 1-1 map from Record
    to Event, so in general you don't end up using the global 'e' object as
    your output Event (the main loop is typically short-circuited before
    e.send() is called). Second, we play some tricks to allow you to
    construct Sessions in re-usable ways. Let me explain this second point
    first:
    A) So, as you know we have a defined Session class. A Session will hold
    some number of input Record objects (N+1, since Record [0] is an empty
    Record), which then will need to be re-assembled, or parsed, or
    summarized, or something. We don't know in advance. As a result, there's
    no way we can pre-define a method by which the Session will be parsed -
    that's up to you, the developer. So how do you do that?
    Well, the first option would be for you to define a *prototype* method
    on the Session object. Then when you create a Session in your code, that
    method will be available as a prototype. But that can be a little tricky
    - we have some scenarios where there are different Session types that
    require different parsers, or that the parser may need to be modified
    mid-stream. Our solution therefore is to have you create some number of
    generic "Session" parsers, essentially as anonymous methods that aren't
    attached to anything in particular. For convenience (so we can find them
    later), we recommend you put them in the instance.PARSERS bucket, where
    there could in fact be other parsers (like SQLOffset parsers). But at
    that point the parsers are kind of disembodies parsers that can't really
    be used to do anything yet.
    At runtime, when you create a Session object, you then determine which
    Session parser makes sense for the type of Session you are creating, and
    you use the addParser() method to attach one of your stored Session
    parsers to the Session. That parser then becomes the canonical parser
    for that Session (although you could swap it out later if you wanted
    to), and will automatically be called when the Session expires.
    B) The second wrinkle is that since you don't have the simple 1-1
    Record to Event logic, you have to re-create some of that basic logic
    yourself. Your Session parser actually runs in the Session namespace,
    and hence 'this' is the Session itself - underneath that you have
    sessRecs[0] (a blank record) and sessRecs[1] - [N] which represent the
    stored input Records. The general idea is that you would take the bits
    and pieces you need from sessRecs[1]-[N] and copy that data into
    sessRecs[0] (so it becomes your staging area for parsed data), but
    that's optional - you could do it other ways if you really want. For
    example, if you know that most of the data you need is already parsed
    and in sessRecs[1], then you can just say sessRecs[0] = sessRecs[1], and
    you have a copy of the starting record.
    The Session object itself has a special send() method that essentially
    takes sessRecs[0] and converts it into an Event, but again you don't
    have to use that logic if you don't want to. In fact, you could create
    multiple custom Rec2Evt DataMaps, multiple output Events from a single
    Session, any sort of manipulation is possible. But if you want the
    simplest approach, just make sessRecs[0] look like a complete input
    Record, and use Rec2Evt.map to define the conversion, then use the
    Session.send() method to send it (you need to pass in an Event that has
    things like the DeviceEventTime preset, however).
    Hope this helps!
    DCorlette
    DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
    View this thread: http://forums.novell.com/showthread.php?t=449867

  • Dataguard setup using hot backup files

    Hello,
    I am planning to setup dataguard using Hot backup (Not RMAN) files from the primary instance. I have a few doubt as, How shall I recover the Standby database using the archive files generated while taking hot backup of primary? Shall I directly execute the "alter database recover managed standby database" command? Will this command take care of the archives generated durring hot backup also?
    Appreciate any help on the above.
    DB Version:10.2.0.4
    Regards.

    Guys by using below procedure you can rebuild your data gurad by using manual hot backup.
    1) On the primary database, defer the archival of redo data .
    ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=DEFER;
    2)
    put primary database in backup mode
    copy all the datafiles from primary database to Standby database (you can copy to other location in primary server and tar&zip it and send it to stand by and unzip and untar there)
    Once you copy the datafiles to another location on primary server,you can use below command for tar and zip
    go to the copied datafiles location and issue below command
    tar cvf - .|gzip -c > /dump/backup/drdb_backup.tar.gz
    put primary database in end backup.
    3) create stabdby controlfile by using below command and send it to standby server
    alter database create standby controlfile as '/dump/drbackup/2standby.ctl'
    4) copy all generated archive logs (from the time of database begin abckup) from primary database server to standby database log_archive_dest location.
    5) on standby database once we placed all datafiles and controlfiles in place use below commands
    export ORACLE_SID=standbydb
    SQL> starup nomount;
    SQL> alter database mount standby database;
    SQL> recover standby database;
    --AUTO
    SQL> alter database open read only;
    SQL> shut immediate
    SQL> startup nomount;
    SQL> alter database mount standby database;
    SQL> alter database open read only;
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    6) On the primary database, issue the following statement to reenable archiving to the physical standby database:
    SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ENABLE;
    Thanks & Regards,
    Satish Kumar Sadhu.
    Edited by: Satish Kumar Sadhu on Apr 10, 2013 11:05 PM

  • OK to keep Final Cut session files on startup disk?

    I have all my media on external hard drives. Is it best to also best keep the Final Cut session files on an external drive? I'd like to keep them on the startup disk so that I can use Time Machine to back them up for me. Is that ok?
    Thanks,
    John Link

    The system drive has a lot to do. It is accessing OSX including managing the virtual RAM that OSX always has open, accessing the FCP program as well as any widgets, apps, and a multitude of background process. If I can throw the FCP project on another disk, it relieves the drive one more thing. And since FCP is very drive intensive, anything I can do to help may be useful.
    x

  • Code using advisor session bean..returning of a list

    Hi,
    I am using Advisor Session Bean for classifying users instead of using pz:div
    tags. The steps are given in documentation. I wanted to know what advice.getResult()
    returns? It has been given in the API as an Object. Even in pz:div java file they
    have used this code to check if the getresult returns something ...
    Object nestedResult = advice.getResult();
    if((nestedResult instanceof List) && ((List)nestedResult).size() > 0)
    {  //belongs to segment
    My code works perfectly but I am curious to know about this code. Can anyone please
    tell me about the above given code?
    Thanx

    Assuming you are using v7.0
    This might help
    http://edocs.bea.com/wlp/docs70/dev/p13n.htm#1000231
    i dont know if this has changed in v8.1
    hth
    deepak
    "Madhu" <[email protected]> wrote:
    >
    Hi,
    I want to use the Advisor session bean directly in place of the tags
    to return
    content based on a static query and match the content to users based
    on rules
    that execute a content query. Where can I find more information on this?
    Thanx.
    Madhu

  • Editing Session Manager session files

    I am using session manager. Is there a way to edit a session file (xxx.session) to add or delete webpages? I want to edit the session file without using session manager. I am aware that I can deselect webpages when I want to load a session. Session manager does not let you add webpages to a session file unless you load the session and add webpages and then save that session.

    Hello alphy, see if the next is helpful : http://sessionmanager.mozdev.org/documentation.html
    thank you

Maybe you are looking for