How to specify server type (shared/dedicated/pooled) through a datasource

Hi, subject says all, I could not find such info in the JDBC users guide.
I would need to select the server type - e.g shared/dedicated/pooled - on a per-connection base.
This would imply to set this type to the datasource, likely through some property. No info, though.
Thanks for any help.

Hi,
Don't think you can. This is server side process architecture, not something you set up per connection?
Edit:
Sorry, maybe you can
http://download.oracle.com/docs/cd/E11882_01/network.112/e10835/tnsnames.htm#i454847
Maybe an Oracle Net key-value pair in jdbc oci?
http://download.oracle.com/docs/cd/E11882_01/java.112/e16548/instclnt.htm#CHDDGJDJ
Regards
Peter
Edited by: Peter on May 3, 2011 3:04 PM

Similar Messages

  • How to specify a type of COM-object activation

    How to specify a type of COM-object activation: in-proc, local server etc - in C# client? I want to use a .NET analog of CLSCTX_INPROC_SERVER constant. Documentation for used COM component insist that all types of activation are possible.

    When you create an instance of a COM object using COM Interop, it is the equivalent of calling CoCreateInstance with CLSCTX_ALL.
    (See COM Interop Part 1: C# Client Tutorial.)
    If you don't like the automatic behavior, then Create the object manually (PInvoke CoCreateInstance) and just marshal the interface pointer to get a runtime callable wrapper by specifying
    MarshalAs(UnmanagedType.Interface) on the result.  (The DllImport signature provided at the pinvoke.net link above marshals it this way.)

  • How to specify the type of table in the form parameters

    How to specify the type of table in the form parameters. for example, how to specify the type of table "vacancies".
    FORM getcertainday
                       USING
                       vacancies TYPE STANDARD TABLE
                       efirstday LIKE hrp9200-zfirst_day
                       lfristday LIKE hrp9200-zfirst_day.

    Hi
    Are you asking about subroutine program to declare a variable for perform statement etc
    if it so check this coding
    DATA: NUM1 TYPE I,
    NUM2 TYPE I,
    SUM TYPE I.
    NUM1 = 2. NUM2 = 4.
    PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
    NUM1 = 7. NUM2 = 11.
    PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
    FORM ADDIT
           USING ADD_NUM1
                 ADD_NUM2
           CHANGING ADD_SUM.
      ADD_SUM = ADD_NUM1 + ADD_NUM2.
      PERFORM OUT USING ADD_NUM1 ADD_NUM2 ADD_SUM.
    ENDFORM.
    FORM OUT
           USING OUT_NUM1
                 OUT_NUM2
                 OUT_SUM.
      WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
    ENDFORM.
    If your issue is some other can u explain me clearly
    Regards
    Pavan

  • How to specify Complex Type Parameter

    Hi,
    Can anyone tell me how to specify a complex type parameter using the AddServiceDefinition command in the fnscript? Thanks
    Pao Wang
    NMR

    The only types supported are those listed in the Process Development Guide.
    Stephen

  • How to stop server from sharing home directories ?

    I have ML Server.
    Extra Folders are shared via SMB.
    The user folders should NOT be shared.
    When i connect from Win7 Client to server via Windows Explorer, everthing is ok.
    When i connect from Win7 Client to server via Paragon Backup and Recovery, i get the user folder via SMB.
    That is wrong. OSX is supposed to server the shared folder, not the home folder.
    What do i wrong ?
    Thank you very much for your efforts. Best regards, volker dölling

    From iPhoto, go to iPhoto>Preferences>Sharing. Turn off sharing. Or go to System Preferences>Sharing>Firewall. If the iPhoto sharing is on, turn it off.

  • How does presentation server cache shared by users and roles in OBIEE 11.1.1.6.7

    We are running through a scenario where user1 is assigned to role1 and run a report and after couple minutes user1 is assigned to role2 and run the same report, in 2nd run i see an error in saw log, even though there is presentation server cache that was generated by user1 is previous run it s not shared to the same user if his roles is chnaged, Is this expected behaviour ? by the way we dont have any row level security jut object level
    [2014-01-20T08:11:54.000-07:00] [OBIPS] [ERROR:31] [] [saw.views.dashboard] [ecid: 2f571434fbbd5490:72a3494e:14398c832ad:-8000-0000000000daa36e,0:1] [tid: 1545778944] Invalid request ID (ml75inai8rfs23tn9ih04bh236).  The request you are attempting to access has either expired or is from a previous logon.[[
    File:reportquerycache.cpp
    Line:68
    Location:
    saw.views.dashboard
    saw.httpserver.processrequest
    saw.rpc.server.responder
            saw.rpc.server
    saw.rpc.server.handleConnection
    saw.rpc.server.dispatch
    saw.threadpool.socketrpcserver
            saw.threads
    SessionID: hjhbcvfak396tc89uuu550g8bgv75v2rshv2oeq
    Thanks for your help
    Srix

    The variable DISABLE_CACHE_HIT is used to enable or disable Oracle BI Server result cache hits and not the presentation server cache. So the behavior seems to be correct. You can manage the presentation server cache settings in hte instanceconfig.xml file. Refer to the documentation below to understand the parameters you can configure: ( http://docs.oracle.com/cd/E21764_01/bi.1111/e10541/querycaching.htm#i1218900 )

  • How to specify MIME type handlers in Safari?

    In the old days, it was possible to specify the MIME type handler in web browsers like Netscape, etc. I can't seem to find this functionality in Safari. Is it possible to do this?
    Specific intended use case: I use a website that includes document attachments that are of MIME type message/rfc822. They're just the text source of email messages (with a .eml extension). When I click on a link to one of these attachments, Safari wants to download it to a file, warns me that a ".eml" file might be dangerous (that's another thing I'd like to fix), and so forth. It's just a text file. I'd like to make Safari just display the text, as if it were of MIME type text/plain.
    Any hints or is not not possible?
    Thanks,
    Scott

    Maybe this is something that RCDefaultApp could do?

  • How to specify Associated Type ?

    Hi,
       In the Form Interface in the tables section. i've mentioned the parameter name as itab and type as table and Associated type as spfli. But, it's giving an error saying - SPFLI Flat types may only be referenced using LIKE for table parameters. How can i correct this error. My requirement is to print the spfli table using smart forms..
    Thanks in Advance..

    Hi
    Use LIKE instead of TYPE.
    If you want to use TYPE, you need to create a TABLE TYPE based on SPFLI by SE11
    Max

  • How to specify attachment type in Tiger Mail?

    I recently updated to MS Office 11.2. Since then, when I click on Word attachments in emails that I receive, they open by default in another application (Nisus Writer Express) rather than in Word. How is this preference set? Is there a way I can reset it so that Word attachments will open by default in Word?

    Drag one of the those attachments to your Desktop. Select it with the mouse and press COMMAND-I to open the Get Info window. In the section labeled Open With click on the little down arrow to expand the pane. Select Word from the dropdown menu as the default app, then click on the Change All button. Hopefully, that should do the trick.

  • How can I configure Home Sharing to work through a consumer VPN service?

    I recently purchased a year subscription to a VPN service know as Private Intenet Access (PIA). With this VPN executable program connected to it's servers, my data is "filtered" through it behind the router. The router IS NOT configure with the vpn so I can controll which devices use the VPN. Addiotionally, if I want I can configure the VPN as a proxy instead of just running the program ( i would use the proxy for mobile devices).
    My question is this: Is there an efficient way to configure iTunes and/or Apple TV3 in order to be able to use PIA while home sharing. I notice, often times that home sharing on the Apple TV will not read the Windows maching that has home sharing enabled through iTunes. But other machines work fine. Sometimes, depending on the "order" of the networks I connect to home sharing will work from the particular machine.
    for example:
    I can connect to the internet if I connect to my wifi and then enable the VPN (PIA) but cannot home share. However, if I connect to PIA then connect to the Wifi, it will work witout an issue.
    The real issue is that when the Apple TV and pr PC go to sleep these connecting can wake up connecting in a different order.
    I can only think to perhaps manually enter in the proxy info supplied by PIA to Apple TV. But there are not real instructions on how to do so.
    I know this question is broad and scattered, but I am hoping that someone out there has had or having the same issue with some kind of resolution.
    I've chatted online with PIA reps and they aren't entirely Apple savy. So here I am.
    Any help in the right direction is greatly appreciated!!
    -Cheers

    check out these links:
    Troubleshooting security software issues
    Troubleshooting Home Sharing
    and, last but not least, see this discussion concerning bonjour being the culprit.

  • ORA-12519...shared/dedicated

    Hi,
    I installed oracle 10g express edition. I need to access the database from two machines using different users. However, the second user can not access the database and get the following error:
    Caused by: java.sql.SQLException: [tibcosoftwareinc][Oracle JDBC Driver][Oracle]
    ORA-12519 The listener could not find any available service handlers that are ap
    propriate for the client connection. One possible cause for this error is that t
    he server was not configured for the specified server type (shared/dedicated).
    I have read the documentation on http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10739/manproc.htm.
    I have tried the following:
    1. Change (SERVER = DEDICATED) to (SERVER = SHARED) in tnsnames.ora.
    2. Change
    dispatchers="(PROTOCOL=TCP) (SERVICE=XE)(DISPATCHERS=50)"
    shared_servers=50
    in
    SPFILE='C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora' (This line is in initXE.ora).
    But I still get the same error. What could be the issue?
    Thank you for your help in advance.
    Shuwen

    This should work with dedicated servers, you don't need to setup shared servers. Check that the XE instance has registered against the listener, and it allows incoming connections. This could be due to another reason different from the connectivity issue. Check the alertXE.log and find out if there are other error messages listed there.
    ~ Madrid

  • Dedicated server or shared server ?

    Hai ALl
    What is the criteria for a Database set in dedicated server or shared server. This is users dependent or processes dependent?.How to change the mode(dedicated or shared) after database creation.
    Please help...
    Shiju

    If you're not sure, use the default, which is dedicated server. You generally want to use shared server when you want to have more simultaneous sessions than your hardware could support without swapping and there aren't a lot of applications that really require this sort of thing. In the "olden days", one might also consider using shared server when the overhead of creating and destroying physical connections was a significant concern, but modern architectures (i.e. 3-tier development rather than client-server applications) generally makes that irrelevant because the middle tier can just use a connection pool.
    Instructions on enabling shared server are in the documentation.
    Note that just because shared server is enabled does not mean that all connections will use shared server. The client can always request a dedicated server connection.
    Justin

  • How to config the server in shared server mode?

    SQL> alter system set dispatchers='(protocol=tcp)(dispatchers=10)' ;
    System altered.
    SQL> alter system set shared_servers=5;
    System altered.
    then config the client connection to shared server mode thru` net manager
    and try the qq user on another pc in lan.
    but it failed to use shared sever mode
    SQL> col username for a10
    SQL> col machine for a30
    SQL> col server for a10
    SQL> set linesize 120
    SQL> select username,server,machine from v$session where username is not null;
    USERNAME SERVER MACHINE
    QQ NONE WORKGROUP\HYC-PC
    SYS DEDICATED rhel5
    QQ user server type is NONE
    RED HAT linux or windows platform are the same result

    938261 wrote:
    SQL> alter system set dispatchers='(protocol=tcp)(dispatchers=10)' ;
    System altered.
    SQL> alter system set shared_servers=5;
    System altered.
    then config the client connection to shared server mode thru` net manager
    and try the qq user on another pc in lan.
    but it failed to use shared sever mode
    SQL> col username for a10
    SQL> col machine for a30
    SQL> col server for a10
    SQL> set linesize 120
    SQL> select username,server,machine from v$session where username is not null;
    USERNAME SERVER MACHINE
    QQ NONE WORKGROUP\HYC-PC
    SYS DEDICATED rhel5
    QQ user server type is NONE
    RED HAT linux or windows platform are the same resultDEDICATED vs. SHARED is controlled by the client; not by DB Server

  • How to specify Host Server for Replicated Virtual Desktops within RDVH Collection

    My question about how to specify Host Server for Replicated Virtual Desktops within Collection.
    I know there is a aswered thread on this, but that solution (wait a week) didn't work for me.
    So i have 2 servers, RDS01 and RDS02 with both 15 Hyper-V VM's and replicating to eachother. That part works fine.
    Now I wanted to make it easy for my users I build a Connection Broker: RDCB
    All went fine in that setup, but when I want to add the existing VM's from RDS01 and RDS02 to the collection it just radomly adds running ones and replicated ones.
    So both RDS01 and RDS02 have 15 VM's running and 15 replica's in stopped state, but when I look in my collection, it says RDS01 has 23 and RDS02 has 7 VM's. When I add them all, I see he wants to add a lot of stopped states replica's from RDS01 instead of
    the running ones from RDS02.
    How can I specify which one he should use? Or need I disable replication first, setup the whole RDCB collection thing, and then turn replication back on? Or does Hyper-V replication not work at all when used in a collection?
    I hope someone can help out here. I'm googling and trying for 1,5 week now, but i can;t get it right.
    Thanks in advance.

    Hi Robin,
    Thanks for your patience.
    After you removed Replication from 1 machine on both RDS01 and RDS02, please restart that machine. After that, please add this machine to the RD collection again to test how the issue goes.
    As we know, Hyper-V Replica provides asynchronous replication of Hyper-V virtual machines between two hosting servers. It is simple to configure and does not require either shared storage or any particular storage hardware. Any server workload that can be
    virtualized in Hyper-V can be replicated. Replication works over any ordinary IP-based network, and the replicated data can be encrypted during transmission. Hyper-V Replica works with standalone servers, failover clusters, or a mixture of both. The servers
    can be physically co-located or widely separated geographically. The physical servers do not need to be in the same domain, or even joined to any domain at all.
    Currently, would you please add only running state VMs to the RD CB collection? And would you please capture some screenshots of the error message? Thanks very much for your cooperation.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Dedicated server vs multi threaded server archcitechture ( shared servers)

    http://www.dba-oracle.com/t_mts_multithreaded_servers_shared.htm
    1. I read the above for dedicated server vs multi threaded server archcitechture ( shared servers), please make it easy for a novice like me to understand in brief. Is the difference between the two only that MTS spawn multiple virtual servers which share and same memor ?
    2. How does the dedicated server work right from a db user logs in to when the user logs out ?
    Thanks in advance.
    Gony

    Posting it in [General Forum|http://forums.oracle.com/forums/forum.jspa?forumID=61] is more appropriate.
    SS

Maybe you are looking for