Different sessions for multiple jobs?

Will different jobs run with different sessions or one session?

Ravi,
I am seeing different jobs cycling through the same set of session ids. For example, if a single job is running, it usually has 258 but then a subsequent job typically has 310. These are different jobs executed at different times.
Is this due to some sort of connection pooling? I am just trying to understand it because I am considering using the session id to distinguish job runs but if the same session could be reused, I might have a problem.
Thanks,
Dianna

Similar Messages

  • Different currencies for multiple line items in a AP invoice?

    Hi, Expert,
    Is it possible to assign different currencies for multiple line items in a AP invoice?
    Eg:
    One vendor is supplying raw materials from different regions, and we have to raise one invoice with different currency rate  to each items 
    regards,
    Sanju

    Hi Sanju,
    It is not possible to assign different currencies for multiple line items in a AP invoice.
    Try to book the different documents(different correncies for a single vendor in a A/P Invoice).
    Regards,
    Madhan.

  • Can you establish different sounds for multiple emails?

    Can you establish different sounds for multiple email accounts? 

    Sorry no, sound/alerts is universal for different email accounts.

  • Distributed sessions for multiple web-apps in a single App. Server (v.8.1)

    I have 3 applications on App. Server 8.1 (running on JDK 1.5)
    App-A handles login
    App-B and App-C are functions that are accessible after login is validated.
    It works fine with App. Server 6.5 (JDK 1.3)
    But the distributed session cannot be shared in App. Server 8.1 (JDK 1.5)
    So App-A handles sign on and stores the user's Login Name on the session.
    App-B and App-C read the user's login name from the session object and grant access to different modules.
    1. Starting App-A and perform login
    2. Starting App-B from App-A (it is linked there)
    3. Starting App-C from App-A (it is linked there)
    In step 1, a new session is created for the user, an attribute ("LoginName") is put in the session - ie. using HttpSession.setAttribute()
    In step 2, the program checks for attribute "LoginName" from the session object - ie. using HttpSession.getAttribute()
    If not found, redirect to login; if found, then continue with App-B
    In step 3, same as in step 2 above.
    It works fine with App. Server 6.5 but problem occurs in step 2 and 3.
    web.xml of App-A, App-B and App-C:
    <i>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>App-A</display-name>
         <distributable/>
    </i>
    sun-web.xml of App-A, App-B and App-C
    <i>
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd">
    <sun-web-app>
    <session-config>
    <session-manager persistence-type="memory">
    <manager-properties>
    <property name="persistenceFrequency" value="web-method"/>
    </manager-properties>
    <store-properties>
    <property name="persistenceScope" value="session"/>
    </store-properties>
    </session-manager>
    </session-config>
    </i>

    Distributed sessions has nothing to do with different web applications. The concept is about distributing load for the same application between several appserver instances running on the same box(different jvm) or on some other box in the network.
    What you used with iAS 6.5 is not available in 8.1 because sharing sessions between web apps is forbidden by the servlet spec. You should consider repackaging your apps. into a single web app. or using other way of signing/verifying user identity(check Sun Access Manager for example).
    Have a look at this thread as well: http://swforum.sun.com/jive/thread.jspa?threadID=100931

  • Lightroom will not accept caches on different drives for multiple catalogs on different drives

    I have three catalogs:  one for my work files, one for botanical pictures (>200,000 pictures on a network drive) and one for everything else (about 90,000 pics). (i have been forced into this because the keyword files for each set are very large and interfere with the keyword files for the other files.)   Lightroom has become very slow, so  I keep the catalogs on different drives, some ssd, some not.  I read that you should keep the cache with the catalog.  so i changed my preferences to do this.  but lightroom insists on using the last cache.  so if i switch to my work catalog from my botanical catalog, Lightroom still uses the botanical cache.  is there any way to fix this?
    (I believe i am using lightroom 64 bit but the title bar only shows lightroom.)
    system info
    Lightroom version: 5.4 [955652]
    Operating system: Windows 7 Ultimate Edition
    Version: 6.1 [7601]
    Application architecture: x64
    System architecture: x64
    Logical processor count: 32
    Processor speed: 2.2 GHz
    Built-in memory: 32751.1 MB
    Real memory available to Lightroom: 32751.1 MB
    Real memory used by Lightroom: 774.7 MB (2.3%)
    Virtual memory used by Lightroom: 732.9 MB
    Memory cache size: 117.9 MB
    Maximum thread count used by Camera Raw: 32
    System DPI setting: 120 DPI
    Desktop composition enabled: Yes
    Displays: 1) 1920x1200, 2) 1920x1200
    Application folder: C:\Program Files\Adobe\Adobe Photoshop Lightroom 5.4
    Library Path: D:\LRcat not plants\Lightroom 5 Catalog.lrcat
    Settings Folder: I:\Users\rchannon\AppData\Roaming\Adobe\Lightroom
    Installed Plugins:
    1) Canon Tether Plugin
    2) Facebook
    3) Flickr
    4) rc Reportamus
    Config.lua flags: None
    Adapter #1: Vendor : 1002
        Device : 6718
        Subsystem : e182174b
        Revision : 0
        Video Memory : 2006

    nahcr wrote:
    I read that you should keep the cache with the catalog.  so i changed my preferences to do this.  but lightroom insists on using the last cache.
    What cache are you talking about? which preference?
    I mean, the only "true" caches I know of are:
    ACR cache, whose location is fixed, and
    Preview cache, which is *always* with the catalog (unless you go out of your way to link to another drive).
    (there is also a "negative" cache, but it's not really exposed to the normal user..).
    So, I'm assuming you are talking about the preference to keep presets with catalog, no? But then it still isn't clear what the problem/issue is, or what is the observation about cache usage: "lightroom insists on using the last cache" - what does that mean, how have you concluded it, what did you see?...
    You're not confusing presets with a cache are you?
    Is this the preference you're talking about?

  • How to get ACS3.2 to assign different attributes for multiples NAS's

    We are running ACS3.2 and have 3 different types of NAS for each group of users (two managed dial solutions and 1 home grown VPN concentrator solution).
    The problem is that the two dialup NAS's require different RADIUS attributes for the IP address assignment: one NAS uses a named pool, the other NAS assigns the pool based on an IP entry in attribute 8 (framed IP address). Users mapped to one ACS group must be able to use both dial services.
    Is it possible to configure ACS so that one type of attribute is used for one NAS and another type of attribute for the other for users belonging to the same group?
    Thanks,
    Matt

    Hmm, I thought you might say that:(
    I've done a bit of jiggery pokery and will be doing some testing tomorrow.
    I'll post back to this forum to let you know how it goes.
    Matt

  • How to avoid multiple session for the same username

    I need suggestions on implementing single user login , like My system has a user with a username jdavid and my application should not allow two different sessions for the same username jdavid , can one session peep into all other session
    to see if the any has a usernaem jdavid, I am basically looking for some pattern if any available for restricting multiple session for the same username . like jaas or any other security api provides this ?

    Store a Map<User, HttpSession> in application scope and let your application intercept on that. On login, just check if the User is already there, then get the associated HttpSession, invalidate it and replace it by the current HttpSession, else just store the current User-HttpSession pair in the map. On logout obviously remove the User-HttpSession pair from the map.

  • Use case for multiple crosstabs under one datasource

    I'm trying to understand why one would have multiple crosstabs for one datasource.  When I change one crosstab, it changes the other crosstab.  I was could have a different layout for multiple crosstabs.
    Thanks.
    Regards,
    Mel Calucin

    Hi Mel,
    I am not following this question; would it be possible to rephrase it?
    You could have multiple tabs for a data source - such as a one tab showing the result set in a cross tab and the other for a chart.
    Tammy

  • How to open multiple sessions for one user?

    Sorry for the silly question but I couldn't find it googling or searching through this forum, so I started wondering whether it's possible in SQL Developer to open multiple sessions for one user. I'm fairly new to SQL Developer and databases in general.
    When I open SQL Developer and connect to a schema, a worksheet opens named MYSCHEMA. If I disconnect then connect, another worksheet opens, named MYSCHEMA~1. I assumed these were different sessions, but if I enter into one worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 1
    update my_table set col1 = 0 where row_id = 1
    select col1 from my_table where row_id = 1
    -- shows result is 0and then enter into the second worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 0I would have expected the second worksheet to report 1 because the first worksheet did not issue a COMMIT. Thus, I'd guess both worksheets are the same session? Is that right? If so, how do I have two sessions open simultaneously (opened by same user)?
    I'm trying to implement the code at the bottom of this post, for which testing requires at least two sessions:
    Re: Help with Procedure
    Edited by: tem on Apr 18, 2012 6:44 AM

    Thanks Jim,
    Ctrl-Shift-N doesn't do anything for me. I'm on a mac -- by experimenting it looks like command-N does what you're looking for. This appears to be the same as left-clicking on the "New" icon in the top left corner of SQL Developer, or selecting from the pull-down menu, File > New.
    This opens "Create a New" window that appears to be a wizard. What would I select at this point? Options are: Database Connection, Table, View, Package, ...
    I don't see an option for "Worksheet".
    UPDATE:
    OK, I found that if I select "SQL File", a worksheet becomes available. Perhaps this is what you intended. However, when I issue the command
    select col1 from my_table where row_id = 1;it still returns 0 instead of 1. Hmm, maybe my initial assumption was wrong -- if this is a second (e.g. different) session, should I expect the changes made in the first session in SQL Developer (the UPDATE command) WITHOUT a commit, to be observed in this second session? I thought that changes made in one session were not viewable in a different session until these changes are committed in the first session? If so, how to show this in SQL Developer? I must be missing something basic here.
    Or, is SQL Developer issuing some sort of "auto-commit" without my knowledge?
    Edited by: tem on Apr 18, 2012 8:00 AM

  • Job not getting triggered for Multiple Scheduler Events

    hi,
    I would like a job to be triggered for multiple scheduler events, subscribing to a single event works fine. But, when I set multiple event condition, nothing works.
    My objective is to run a job, whenever job starts or restarts or exceeds max run duration.
    Note : Is it possible to trigger a job, when a job RESTARTS by subscribing to JOB_START ????????
    procedure sniffer_proc(p_message in sys.scheduler$_event_info)
    is
    --Code
    end sniffer_proc
    dbms_scheduler.create_program(program_name => 'PROG',
    program_action => 'sniffer_proc',
    program_type => 'stored_procedure',
    number_of_arguments => 1,
    enabled => false);
    -- Define the meta data on scheduler event to be passed.
    dbms_scheduler.define_metadata_argument('PROG',
    'event_message',1);
    dbms_scheduler.enable('PROG');
    dbms_scheduler.create_job
    ('JOB',
    program_name => 'PROG',
    * event_condition => 'tab.user_data.event_type = ''JOB_OVER_MAX_DUR''' ||*
    *' or tab.user_data.event_type = ''JOB_START''',*
    queue_spec => 'sys.scheduler$_event_queue,auagent',
    enabled => true);
    I tried this too...
    dbms_scheduler.create_job
    ('JOB',
    program_name => 'PROG',
    * event_condition => 'tab.user_data.event_type = ''JOB_OVER_MAX_DUR''' ||*
    *' and tab.user_data.event_type = ''JOB_START''',*
    queue_spec => 'sys.scheduler$_event_queue,auagent',
    enabled => true);
    Need help
    Thanks...
    Edited by: user602200 on Dec 28, 2009 3:00 AM
    Edited by: user602200 on Dec 28, 2009 3:03 AM

    Hi,
    Here is complete code which I tested on 10.2.0.4 which shows a second job that runs after a first job starts and also when it has exceeded its max run duration. It doesn't have the condition but just runs on every event raised, but the job only raises the 2 events.
    Hope this helps,
    Ravi.
    -- run a job when another starts and exceeds its max_run_duration
    set pagesize 200
    -- create a user just for this test
    drop user test_user cascade;
    grant connect, create job, create session, resource,
      create table to test_user identified by test_user ;
    connect test_user/test_user
    -- create a table for output
    create table job_output (log_date timestamp with time zone,
            output varchar2(4000));
    -- add an event queue subscriber for this user's messages
    exec dbms_scheduler.add_event_queue_subscriber('myagent')
    -- create the first job and have it raise an event whenever it completes
    -- (succeeds, fails or stops)
    begin
    dbms_scheduler.create_job
       ( 'first_job', job_action =>
         'insert into job_output values(systimestamp, ''first job runs'');'||
         'commit; dbms_lock.sleep(70);',
        job_type => 'plsql_block',
        enabled => false, repeat_interval=>'freq=secondly;interval=90' ) ;
    dbms_scheduler.set_attribute ( 'first_job' , 'max_runs' , 2);
    dbms_scheduler.set_attribute
        ( 'first_job' , 'raise_events' , dbms_scheduler.job_started);
    dbms_scheduler.set_attribute ( 'first_job' , 'max_run_duration' ,
        interval '60' second);
    end;
    -- create a simple second job that runs when the first starts and after
    -- it has exceeded its max_run_duration
    begin
      dbms_scheduler.create_job('second_job',
                                job_type=>'plsql_block',
                                job_action=>
        'insert into job_output values(systimestamp, ''second job runs'');',
                                event_condition =>
       'tab.user_data.object_name = ''FIRST_JOB''',
                                queue_spec =>'sys.scheduler$_event_queue,myagent',
                                enabled=>true);
    end;
    -- this allows multiple simultaneous runs of the second job on 11g and up
    begin
      $IF DBMS_DB_VERSION.VER_LE_10 $THEN
        null;
      $ELSE
        dbms_scheduler.set_attribute('second_job', 'parallel_instances',true);
      $END
    end;
    -- enable the first job so it starts running
    exec dbms_scheduler.enable('first_job')
    -- wait until the first job has run twice
    exec dbms_lock.sleep(180)
    select * from job_output;

  • Multiple IT1005 for one job

    Can we have multiple planned compensation (IT1005) records for one job within the same country? The standard SAP has the time constraint as "3" for IT1005 and that means that it can have multiple records with the same dates. We want to use different pay structures for various positions attached to the same job. How is it going to affect the sub-modules in ECM like Job Pricing where the Job Evaluation/Survey are going to be used based on the same jobs/planned comp records.
    What is the best practice in this regard, generally in US and other countries?

    Hi,
    Yes you can use.
    Regards,
    Kapil

  • How to get session id for background job

    Hi,
    I have a function call like
    CALL FUNCTION 'ZTEST_SK' STARTING NEW TASK 'TEST1'.
    I want to know any unique identifier for the different session in which this function has been called.
    Best Regards

    Hi,
    TBTCO and TBTCP tables stores job detials..
    TSP01 table stores spool details
    "the relation ship between the spool number and job name is stored in TBTCP and TSP01 table
    TSP01-RQIDENT   = TBTCP-LISTIDENT    
    select LISTIDENT   "spool number
              from TBTCP
              where JOBNAME = your job name
              and JOBCOUNT  =  your job count..
    Prabhudas

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • Single invoice for multiple orders with different divisions

    Dear All,
    while I am trying to do single invoice for muliple orders with different divisons invoice is gettting splitted..In copy control vbrk routine I  tried with 003 and 007 etc..but result is same..what configuration need to be done for getting the single invoice
    Thanks In advance
    Regards
    CNRNAIR

    Hello
    single invoice for multiple orders with "different divisions" invoice is getting split
    FYI - Different Division means different Sales Area.
    So, sales doc (whether sales order, Delivery & Billing) is applicable to EXACTLY one sales area.
    Thus, combining docs with different sales area is practically impossible.
    Provided, you are using common division.
    Hope this assist you,
    Thanks & REgards
    JP

Maybe you are looking for

  • Using HR data in R/3 to create business partners in Solution Manager

    Is it OK for me to setup Solution Manager to automatically download HR data from R/3 to create the Business Partners (employee role) in Solution Manager? We have setup SAP CRM 4.0 to automatically download the HR data and create Business Partners (em

  • Bluetooth Network and Internet sharing issue

    I'm trying to set up a network through Bluetooth between two computers having the latest Toshiba Stack installed, and to share the Internet connection with the second computer. On the firs computer I've set the Internet Connection Sharing, and becaus

  • Instead of delete trigger rows deleted

    Hi All. Im using a few instead of triggers over a view. The view selects data from other tables and merges them together. This view essentially forms the parent of a few one2one relationships with other tables. However my application doesnt know its

  • DVD menu without a scene selection option?

    Hi all, I'm new to Premiere Elements 12, and I just finished a video. I want to add a menu with my own photograph that has an option to play movie, but no option for scene selection. When I use Premiere's templates, I can't get rid of scene selection

  • Display: White on black without inverted pictures?

    I have changed my display to white on black as I find it a lot easier to read webpages and word documents. Only all of the pictures are inverted too. I only want the background and text inverted without it affecting pictures on the web, my wallpaper