PL/SQL web service--all users share the same database session

Hi, Is anyone else running into this? If I set a package variable in a pl/sql package through the web service from one client and then connect with another client, I can see the value of the package variable set by the first client. So it appears that instead of being 'stateless', as the documentation claims, that all users are actually connecting to the very same session--and sharing the same memory and variable values.
When I test my application by myself, I don't run into any problems. But the application I'm working on allows over 1000 students to select dorm rooms concurrently. The timing for that large a group is fine enough that I do have more than one person executing the same section of code simultaneously. This is a serious problem! I'm going to try using pragma serially reuseable on my packages to see if that will take care of it.
Has anyone else run into this problem? What do you do about it? Is this an issue with the web service? Or the application server?

Hello!
I have a question. You seem to be getting somewhere. In the reference (in your post) there is no mention of web.xml Is it a generated file or a file created by you? I am getting IOException error when generating EAR file. What could be wrong? Please help
TAI
habeeb

Similar Messages

  • All users share the same iCal

    I want all the users on my iMac to share the same Calendar. How do I do it?

    Here's how to share iCal calendars among multiple users on a single Mac.
    What you need to do is to move the iCal folder to a shared folder that is accessible to all users and then replace the iCal folder in each user's library folder with a "symbolic link' to the shared iCal folder. The symbolic link looks like an "alias", but if you try this using "aliases" to the shared iCal folder it will not work (trust me). You can create symbolic links using the Terminal, but I have no idea how, and the idea of using the Terminal scares me. The easiest way that I know of to create a symbolic link is with a shareware application called Cocktail. It allows you to do a number of different things including System Maintenance, Network Optimization, etc. It took me a while to remember how to do this; I originally found the information in the Discussions when iCal was first released, but apparently none of those original postings are listed in the forums anymore.
    Here's how to do it (you must have Administrator privileges):
    First locate your iCal folder (your user name > Library > Application Support > iCal) and make a copy of it (Finder > File > Duplicate). Drag the copy to your Desktop until you're sure iCal is being shared between users.
    Next move the original iCal folder into a Shared folder in the Users folder (Hard Disk > Users > Shared > iCal). To make sure all users can access the information, select the Shared folder, choose File > Get Info, click the little Lock icon, then under "Ownership & Permissions -> Details" make sure that the "Owner" is "System", "Group" is "Wheel" and "Access" for Owner, Group and Others is "Read & Write". Do the same with the iCal folder within the Shared folder, but this time, under "Ownership & Permissions -> Details" make sure that the "Owner" is "your user name", "Group" is "Staff" and "Access" for Owner, Group and Others is "Read & Write" and click the "Apply to Enclosed Items" button. I basing this information on what the Ownership & Permissions are for each of the folders in my system.
    Open Cocktail (I'm using version 3.6.5). Once the app is open (you must enter an administrator's user name and password) click on the "Files" button, then click on the "Links" button. Where it says "Create Symbolic Link" click on the "Choose" button. Navigate to the iCal folder (Hard Disk > Users > Shared > iCal) and click "Choose" again. In the "Save As" box that appears enter "iCal", then navigate to the Application Support folder in your Home folder (your user name > Library > Application Support) and click "Save". Quit Cocktail and open iCal. You should see all of your calendars as you did before.
    Log in under each additional User, move that User's iCal folder (user name > Library > Application Support > iCal) onto the Desktop, then create another Symbolic Link to replace it, using Cocktail as described above. In each case you should see the same calendar information as when you were logged in under your user name. As a test, add a New Event or To Do in iCal under one user, log out and back in under another user and you should see the changes when you open iCal.
    Once everything appears to be working, you can delete the iCal folders from each User's Desktop.
    As an additional maintenance measure, use Disk Utility to repair Disk Permissions.
    Unfortunately, if each User has his/her own calendars in iCal they will not be in the shared calendars. Only the calendars in the first iCal folder used to set up the shared folder will be available and I don't know of any way to merge or combine the other user's calendars into one.
    Hope this helps and good luck!

  • Adobe Captivate 7 - distributing settings to all users on the same computer?

    Is there a way to share preference to all users on the same computer?
    Perference->General settings:
    [ ] show welcome screen
    Publish at: c:\newpublishdir\
    Project cache: c:\projectcachedir\
    Perference-> Recording->video demo:
    Working folder: c:\testdir\
    The dirs I listed is just for example

    Hi there
    If what you are asking is if there is a way to configure all users so they have identical preferences, you might try this:
    From any account on the computer, open Captivate. Click Edit > Preferences and ensure the settings are pointing to a common location shared by all accounts on the computer. Dismiss preferences.
    Now click File > Export > Preferences... and save them to a file in a known location that is also shared by all accounts.
    Now open each of the other accounts on the computer, start Captivate and click File > Import > Preferences... and see if things are configured accordingly. If so, repeat the process for all accounts on the computer.
    Cheers... Rick

  • We have multiple devices in the family, including now 4 iphones, all who share the same Apple ID. I want to stop this, but need thoughts on multiple IDs as Findmyphone works well as same ID?!

    We have multiple devices in the family, including now 4 iphones, all who share the same Apple ID. I want to stop this, but need thoughts on multiple IDs as Findmyphone works well as same ID?!

    I don't know if I'm asking this all in a way that can be understood? Thanks ED3K, however that part I do understand (in the link you provided!)
    What I need to know is "how" I can separate or rather create another Apple ID for my son-who is currently using "my Apple ID?" If there is a way to let him keep "all" his info on his phone (eg-contacts, music, app's, etc.) without doing a "reset?') Somehow I need to go into his phone's setting-create a new Apple ID and possibly a new password so he can still use our combined iCloud & Itunes account?
    Also then letting me take back my Apple ID & password, but again allowing us (my son and I) to use the same iCloud & Itunes account? Does that make more sense??? I'm sincerely trying to get this cleared up once and for all----just need guidance from someone who has a true understanding of the whole Apple iCloud/Itunes system!
    Thanks again for "anyone" that can help me!!!

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • How to share the same Database Connection when using several Task Flows ?

    Hi All,
    I’m using JDev 11.1.1.3.0.
    I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
    These applications are deployed on a Weblogic server.
    Each application has only one Application Module.
    All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
    It is working fine.
    I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
    Each Task Flow Application has also one Application Module with the same connections type as main applications.
    All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
    There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
    Everything is working perfectly.
    All my main applications are using more and more task flows. Which is nice for the reusability etc…?
    Only ONE PROBLEM: DATABASE CONNECTIONS.
    Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
    How to share the same database connections for the main applications and all task flows which are used in the main application?
    Best Regards
    Nicolas

    Hi John,
    When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
    I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
    + bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
    bc4j.xcfg details are
    +<?xml version = '1.0' encoding = 'UTF-8'?>+
    +<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
    +<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +<Custom JDBCDataSource="jdbc/GCCDS"/>+
    +</AppModuleConfig>+
    +<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
    +<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +</AppModuleConfig>+
    +</AppModuleConfigBag>+
    +</BC4JConfig>+
    So, it seems that the Application Module is packaged with the task flow....
    Is it normal ?
    Regards
    Nicolas

  • How to create many user in the same database

    hi
    my question is "How to create many user in the same database(application)?"
    for example, i have students, teachers, and staffs user using my application.
    i can create many users to use the same application right?, how ^^''' ???
    (right now i can only create application and then it shows every data in my DB
    but i want it to show only the data for the user who login to that application)
    Thanks.
    ps. i'm newbie, please help T^T

    You need to create a user table within your application that maintains their privileges. If you have LDAP you could use this for authorisation otherwise the table would handle that as well (store passwords etc). Your reports etc would then be filtered on information from this table.
    Check out some of the sample applications to see how authorisation and access is implemented (Online store is one). The how-to on the issue tracking system should also have some useful pointers.
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/issue_track.htm#BABBGBJG
    cheers,
    Ron

  • Sharing itunes library with all users on the same computer

    I am trying to share the itunes library with 4 users on the same computer. Please tell me how.

    I've been trying to find a way to do this easily as well. It would be good if you could set iTunes to use the "All User" documents folder instead of the My Documents folder for the storing the main library and just use the My Documents Folder for individual playlists.
    Follow the instructions in the link provided by Mimico Kid.
    ** It is not important that the shared folder is C:\Documents and Settings\All Users\Documents\My Music. It can be any shared folder on the PC. On mine it's H:\iTunes as I don't have the space on the C: drive.
    When you've done that make sure that your Adminstrator account's copy of iTunes shows the Library, Playlists and Album art as you want the all the users to see them.
    Then copy all of the remaining files from the Administrator Accounts iTunes folder into every other users iTunes folder.
    ** C:\Documents and Settings\USERNAME\Documents\My Music\iTunes
    If any user adds songs or modifies playlists the administrator will need to log on and copy the files from that users iTunes folder to everyone elses.
    This might be a slightly cumbersome way around the problem but it works for me. It has the disadvantage or advantage whichever way you look at it that every User will see an identical view with identical playlists.

  • Web service and servlets in the same project...web.xml?

    Hello, I have a problem with my web service.
    I have a server, which displays a web service. I programmed this service with JAXRPC.
    I have a client, in another directory. I succeded in compiling, deploying and running the web service.
    The problem is that after I tried to integrate this service in an existing project. This project contains servlets. In these servlets, I'm using sessions.
    These servlets are on the same side as the server of the web service. Because of the implementation of my code, I'd like to use in the class that represents the server of the service, the same session as the one I'm using in the servlets.
    But of course, it's not working by itself. I know there's something to do with the web.xml files.
    The thing is that I created a web.xml file for the service, and another for the servlets.
    I was thinking of joining both of them in one xml file, but everything crashes then...
    Could someone tell me how to create a project with a web service and servlets, and mostly how to configure the xml file??
    Thanks for any help
    Philippe

    Hello, I have a problem with my web service.
    I have a server, which displays a web service. I programmed this service with JAXRPC.
    I have a client, in another directory. I succeded in compiling, deploying and running the web service.
    The problem is that after I tried to integrate this service in an existing project. This project contains servlets. In these servlets, I'm using sessions.
    These servlets are on the same side as the server of the web service. Because of the implementation of my code, I'd like to use in the class that represents the server of the service, the same session as the one I'm using in the servlets.
    But of course, it's not working by itself. I know there's something to do with the web.xml files.
    The thing is that I created a web.xml file for the service, and another for the servlets.
    I was thinking of joining both of them in one xml file, but everything crashes then...
    Could someone tell me how to create a project with a web service and servlets, and mostly how to configure the xml file??
    Thanks for any help
    Philippe

  • How to personalize reading panes in Outlook 2013, where 2 different users share the same mail account in O365

    A company is using O365, with Outlook 2013 on their clients. Two people added a general account to their accountlist in Outlook 2013, which is used for "sales". For example, customers can send questions to this "sales" mail account and
    both employees can read the mail and answer the customer from that acoount.
    My question is the following.
    Both employees would like to have a different reading pane/lay-out. At this moment, if the first user change his view (in his Outlook client) to the view he likes, the second user see a change of his view too. The first person like to see the preview
    pane, the second don't... If the second change the view again to the one he likes, the first person will lose his prefered view.
    I can't see any options to personalize the views at this account in Outlook or elsewhere in O365 for both people seperately. Is it possible anyway? If yes, how?

    Hi,
    I am not familiar with Office 365 account. But in Exchange On-premise server, the Outlook view would be synced to the Exchange mailbox.
    If two users open the same Exchange mailbox in Outlook, the synced view for the mailbox would be also be updated to the local Cached Outlook profile. Therefore, two users can't always view the mailbox in their customized views respectively.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Can two separate Game Center users share the same Apple ID?

    Two people share the same Apple ID on their separate iPads. Now want to start getting into games and compete with Achivements. Can they have separate Game Center accounts using the same Apple ID?
    (similar to how they use the same Apple ID with FaceTime, but are able to use different email addresses for video calls)

    Creating a new iTunes account does not remove any purchases made on a different account.
    If you want to create a new account : iTunes: How to set up an Apple ID within iTunes
    Or if you will want to use it in the stores and don't want to give credit card details : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method
    Or if you are not currently logged into an account in game centre then you should have a 'create a new Apple id' link at the bottom of the login screen in it.

  • Creating a new user in the same database

    I have a user in my database who owns all the objects of application.This user has sysdba privilege.
    I want to create a user(schema) in the same database which should also contain exactly the same objects.
    But at the same time the newly created user should not have sysdba privilege.
    What would be the best possible way to do this?
    Can I use expdp/impdp?If yes which options should I use for expdp and impdp?

    Hello,
    Can I use expdp/impdp?If yes which options should I use for expdp and impdp?After exporting the source Schema (with Datapump), you may create a User on the Database with specific Tablespace and Roles / Privileges (without the DBA role).
    Then, with the Parameter REMAP_SCHEMA=source_schema:target_schema, you may Import with Datapump the exported Objects into the User/Schema newly created:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/dp_import.htm#SUTIL927
    Hope this help.
    Best regards,
    Jean-Valentin

  • Can ias1020, ias1022 share the same database ?

    I am wondering if multiple iAS versions can be installed in the same database ? I have iAS1022 with portal 3.0.9.8 installed. Now I need to install a lower version of iAS containing portal 3.0.6 in order to upgrade portal to 3.0.8. Can this be also installed in the same database ?
    Thanks for any replies
    null

    You're correct if you use broker id then this id is appended to the schema name. So each table name in each schema will have the following format table_name+brokerid. This way you can use the same database for different brokers.
    Tom

  • Can mutliple users share the same library (windows xp)?

    I hope the answer to this questions is not completely obvious:
    I have set up Windows XP with at least two different accounts.
    If I run itunes from one of the accounts, I will get a "itl"- and "xml"-file with the library information in the "~/my music/itunes"-folder related to the account.
    If the user adds music to "his" library, the mp3-files show up at the location specified under edit/preferences/advanced (please excuse me if this path is not exactly right, I am using the German version and try to translate) and in "his" library (i.e. the "itl"- and "xml"-files).
    I would now like the other user not only to share the mp3-files but also the information in the "itl"- and "xml"-files. In other words: I would like to have a shared set of mp3-files and ONE library for all users which have an account on the system ...
    I tried to use links in the ~/my music/itunes-folders which pointed to common "itl"- and "xml"-files, but itunes did not recognise the links but created fresh, empty files.
    Any suggestions of how this might work?
    Olaf

    Great, I can now answer the question myself. b noirs's reply
    On 10:14am Nov 1, 2005 CDT, b noir wrote:
    Subject: RE: ITunes 6 Installation, How do I select the directory?
    to John Dennis1's question
    On 10:58am Nov 1, 2005 CDT, John Dennis1 wrote:
    Subject: ITunes 6 Installation, How do I select the directory?
    held the answer:
    Buegie, "How do I control location of iTunes Music Library.xml" #2, 11:06pm Oct 25, 2005 CDT
    I.e. use TWEAKUI to redirect the "My Music" folder of each participating user to a common folder which holds the common itunes library files.
    Thanks for listening.

  • How can I configure FireFox security setting globally for all users on a PC? Is there something I can do in group policies or throught the registry to insure all users have the same settings?

    Our Bank's core processor has rewritten their product to run in a web browser. Their browser of choice is Firefox 3.6. The specifications from our core processor specify specific security and settings parameters that must be adhered to by all users for their product to run properly. Is there a way to globally configure these settings via the registry or group policies to insure everyone who logs in to a given workstation opens Firefox with the same settings? Thank you for any assistance you can provide - Steve Gish, First Bank Kansas.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    You can try:
    *http://kb.mozillazine.org/Locking_preferences

Maybe you are looking for