Can limit my users to one connection or even 2 on the database per username

Our end-users access our database via a Jave based form front end after installing JInitiator on the PC
Does anyone know if there Is anyway i can limit my users to one connection or even 2 on the database per username.
Could i also have timeout on each session on idle time in order that when the connection is idle for say 10 minutes the users session is automatically logged off the db.
Any helpp will be appriciated.
D

Hi,
>>or even 2 on the database per username ...
timeout on each session on idle time in order that when the connection is idle for say
10 minutes ...
Just an example:
C:\>sqlplus system/password
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 16 17:06:50 2007
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SYSTEM@ORACLE10> alter system set resource_limit = true;
System altered.
SYSTEM@ORACLE10> create profile test limit idle_time 10 sessions_per_user 2;
Profile created.
SYSTEM@ORACLE10> alter user legatti profile test;
User altered.
Session 1
C:\>sqlplus LEGATTI/password
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 16 17:07:39 2007
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
LEGATTI@ORACLE10>
Session 2
C:\>sqlplus LEGATTI/password
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 16 17:07:39 2007
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
LEGATTI@ORACLE10>
Session 3
C:\>sqlplus LEGATTI/password
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 16 17:08:24 2007
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
ERROR:
ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
Enter user-name:Cheers

Similar Messages

  • How/where can i find "user" entity from first cup tutorial in the database

    within the first cup java ee tutorial a user entity is crated:
    @Entity
    public class FirstcupUser implements Serializable { ...in some other code the user is created and inserted?:
    @PersistenceContext
        private EntityManager em;
    FirstcupUser user = new FirstcupUser(date);
            em.persist(user);the question is how or where in the database(i don't know the database name, the table name should be user?) i can find the inserted users? within net beans in "services" i can see a db server with a "sample" database - this seems to be a preinstalled example db. but where can i find the db created by the web app i wrote?
    thx in advance

    Press Option key and select Go > Library in the menu bar. To show that folder, open Terminal and copy:
    chflags nohidden ~/Library

  • I need an ethernet cable connection to a non-wireless device that isn't near my current airport express. Can I buy an extra one to plug in near the non wireless device to receive the wireless data and put the signal out in ethernet form?

    I need an ethernet cable connection to a non-wireless device that isn't near my current airport express. Can I buy an extra one to plug in near the non wireless device to receive the wireless data and put the signal out in ethernet form?

    Yes, you can.
    This is a special feature of the AirPort Express 802.11n.  You will have to set it up "manually" to "enable Ethernet clients".
    If  your "main" AirPort Express is an 802.11n version, it is also possible to setup the second Express to "extend a wireless network" to provide additional wireless coverage in addtion to enabling the Ethernet port.
    If you need the steps, post back to let us know what operating system you are using on the Mac or PC that will be used for the setup of the new AirPort Express.

  • HT4314 Can I have more than one Game Center account on the same Apple ID? If so, how do I set it up?

    I am playing Clash of Clans on my iphone and on my iPad. I would like to connect each of my games to a different Game Center ID so I don't lose them if something happens to my device, but I can't figure out how to do that without creating new Apple IDs for each device and I don't want to do that. Any advice? Can I have more than one Game Center account under the same Apple ID? If so, how do I set it up? Thanks!

    If you use the same account see the following to separate Messages and FaceTime between the two iPod see:
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime

  • HT5437 How can I use apple TV to connect my computer to the tv screen as an external monitor?

    How can I use apple TV to connect my computer to the tv screen as an external monitor?

    Morning jotref,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    About AirPlay Mirroring in OS X Mountain Lion
    http://support.apple.com/kb/ht5404
    Best of luck,
    Mario

  • Can I copy clips from one project to another?  The clips are still frames captured within a video event.

    Can I copy clips from one project to another?  The clips are frames saved as stills from a video event.  I try the copy & paste but it does not seem to work.

    The video was converted into MP4 and then I could get it into iMovie events.  I had right clicked and saved farmes as stills.  ABout 50 of them,  When I tried to copy and paste those stills into another project I couldn't. They came up blank.
    I ended up going to a Genius appointment at my APPLE store this afternoon and was told that those "stills" aren't really anything. Not a .jpg or video, so the program doesn't recognize them.  So instead I'm using the Project with the 50 stills and copying other .jpgs and video into it.  (This is for a 1961 Class Reunion, so it's old stuff).  Seems to work so far.
    So bottom line seems to be I can use these stills created from a video in the project in which they were created, but no where else.  Do you know a way around this?

  • Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    As long as the profiles are different (ex. HID vs AD2P) you will not have any issues. But say if you try to use 2 keyboards at once, it won't work. Or 2 headsets at once. Your scenario seems fine.

  • I moved from an old macbook to a new one.  I copied all my files onto a hard drive.  On trying to setup my mail, i went into documents, microsoft user identities, office 2011 and it shows the database but wont let me select it.  Urgent help pls

    I moved from an old macbook to a new one.  I have installed Office for Mac 2011. I copied all my files from my old notebook onto a hard drive.  On trying to setup my mail, i went into my hard drive and accessed microsoft user identities, office 2011 and it shows the database but wont let me select it.  Its almost as if the file is there but not accessable.  I desperately need to access my old mail.  How do I do this?  I am fairly confident that I copied all files off my old notebook.  Is there a way for me to search for the Database file?  Maybe I copied it to a different location?  Urgent help please.

    Hello mafrerichs and welcome to Apple Support Communities,
    Simplest way is to use Target Disk mode:
    How to use and troubleshoot FireWire target disk mode - Apple Support
    and hook to another Mac and use CCC or SuperDuper and clone your HD to another drive.
    You could also pull the drive out of your MBP and use an external USB case or SATA - USB dongle to hook it to another Mac.
    "MacBook Pro (15-inch Late 2011),... have a 15" 2012 Macbook pro with 2gb of ram, i7 processor"
    That's a little confusing?

  • Hi what are the needed documents so that I can avail of Apple's one year warranty? Is the Official Receipt a must? Thanks

    Hi what are the needed documents so that I can avail of Apple's one year warranty? Is the Official Receipt a must? Thanks

    Not necessarily... The Serial Number will allow Apple to ascertain what they need.
    Apple Warranty  >  http://www.apple.com/legal/warranty/
    "Choose a product" and then "Choose a region"

  • I need to deactivate two old computers and reinstall CS3 on two new computers. How can I do this if one is long gone and the other just crashed?

    I need to deactivate two old computers and reinstall CS3 on two new computers. How can I do this if one is long gone and the other just crashed?

    contact adobe support and request an activation count reset, http://helpx.adobe.com/x-productkb/global/service1.html

  • I lost my remote to the Apple TV. Do I have to buy one or can I operate it without one. Ps I hate the remote operation......

    I lost my remote to the Apple TV. Do I have to buy one or can I operate it without one. Ps I hate the remote operation......

    If home sharing is setup and you have an IOS device that is on the same network you can download the remote app. Otherwise, you will need to purchase a new remote.

  • Since upgrading to Lion OS, the wifi connectivity keeps blocking up intermittently and we need to manually keep switching on and off the wifi utility to get the connection back. even locking the preferred wifi network in system preferences does not help.

    Since upgrading to Lion OS 10.7.1, the wifi connectivity keeps blocking up intermittently and we need to manually keep switching on and off the wifi utility to get the connection back. even locking the preferred wifi network in system preferences does not help. This never used to happen with Snow Leopard

    This is a big thank you to Rys Sinnefeldt who posted this fix.
    Rys has made this fix very easy to do and takes literally 2 mins. It involves replacing the Atheros Lion driver 4.0 and replacing it with the snow leopard driver. Don't worry, Rys has made this so simple to do even I could do it and so far I have had no more wifi drops.
    follow this link
    http://rys.pixeltards.com/2011/09/04/osx-lion-wifi.html
    Thanks again to Rys.

  • Cant connect to homepage of the database

    Please help me
    cant connect to homepage of the database under Oracle Database 10g Express Edition

    emctl is the command line utility to start/stop the Enterprise Manager Console Agent.
    The statement:
    emctl status dbconsole
    Displays information (If it is running) on the current state on the Agent, and will tell you that it could not connect to the Agent if it isn't running.

  • Can one connect multiple NetStreams to the same peerID?

    Does it make sense to have two separate netstreams connected to the same remote p2p connection?
    I think I would like to separate the audio and video publishing and playing so that I can fine tune permissions (e.g. publish audio but not video to some users but not others).
    Equally, are there issues with publishing two separate NetStreams on the same p2p connection?
    Initially I thought this would be possible, but I am having problems playing streams when connecting users on different ip addresses.

    You can play or publish as many streams as you wish on the same connection. Just mind the bandwidth.
    However, publishing audio and video on different streams may not be a good idea as they're sure to be out of sync.
    To save bandwidth and play only the audio of an audio/video stream set NetStream's receiveVideo to false.
    Or, in your fine-tuned permissions scenario, you can publish one stream with audio only and one with audio/video. A little redundant but audio datarate is small and may be worth it.

  • Can I update more than one iPad and iPhone from the same MacBook pro?

    Can I update more than one iPad and iPhone to ios 5 from the same MacBook pro? Our family has one MacBook pro and several iphones and ipads.  No one wants to lose their iTunes music or contact list or calendars.

    Yes, but you will want to think it through before you do it.
    The computer will become the "master" device, holding the definitive collection of music, photos, contacts, etc., and each iPad or iPhone will get a copy of what's on the computer. So if  everyone has different collections of music or photos that you all want to keep separate from each other, you'll want to set up different accounts on the MacBook Pro. To do that, go into "System Preferences" and click "Users", then click the "+" to create a new account for each person who needs their own set of files.
    That way you can each log in to your own MacBook account before you sync your iPhone or iPad, and everyone has their own copy of iTunes and their own iPhoto. If you happen to plug in an iPhone while logged into someone else's account, you just click "don't sync" (the 1st time only, it will remember after that). Sharing the same files becomes tricky, so this is only the best method if you want to keep things 100% separate.
    On the other hand, if you all have your music and photos mishmashed together on the MacBook anyway or just don't care about keeping things separate, just go ahead and sync your iPhones and iPads without setting up new accounts. But in this case, you should create playlists and photo albums in iTunes and iPhoto. Then plug in an iPhone, click on it's icon in iTunes, and change the settings for Music, Photos, etc to only sync the playlists that you want on that device. Repeat for each one. They'll all remember their own settings, and continue to sync with their designated playlists or albums.
    What you cannot do is use more than one computer with a single iPhone. That will wipe out the music and photos that were on it already, replacing them with the ones on the second computer.

Maybe you are looking for

  • FM for Material Determination

    Hi, Anybody know if there is a function module that will return material determination information for a material, as defined in transaction VB11? BR, Tony.

  • I cannot take pictures with my webcam anymore on Facebook. It works with Internet Explorer though :|

    In facebook there's the option to take pictures using your webcam directly on their site. It worked perfectly untill April or so when it stopped recognizing the device. Everything is up to date...so what could be the problem? == This happened == Ever

  • ESS/MSS Upgrade from 4.6 to ECC 6.0 Question..

    Hi Gurus, During the upgrade SAP R/3 would be upgraded from 4.6C to ECC 6.0. The HR module on this R/3 has - Org Management, Benefits, Time Administration and Payroll. They use ESS based on ITS. My question is when they go from 4.6c to ECC 6.0 - woul

  • Is ATP for Multiple Plants possible????

    Hi Gurus, I have requirement like this we are having two SAP Systems in one Sales order is raised.. and tha will pass to 2nd system with ALE. in Second system actual Availability Check will run for the plant given in the line item of sale order. but

  • Sun Studio 12EA and Netbeans Profiler 5.5

    I was wondering if anyone was able, or if it is possible to get the Netbeans 5.5 profiler for Java working in Sun Studio 12EA. The installation into netbeans-5.5_mars seems to work fine, yet the profiling menu does not appear in Sun Studio after a re