Threading, commits, shared connection

Have an applet with 2 threads sharing a connection, one is high
priority thread(T1), responds to user events, other is low
priority query thread (T2) that populates a display. Here is
sequence of events that causes problem (d1 and d2 are 2 separate
db tables):
Event 1 occurs,
T1 does the following:
select from d1 where account = 5 for update
update d1 set owner = me
commit
send message to T2 to query for more details and display
T2 does the following:
select from d2 where account = 5
process records from result set, write to display
wait for next message from T1
THEN, very soon after event 1 occurs, event 2 occurs,
T1 does the following:
select from d1 where account = 22 for update
update d2 set owner = me
commit
update d1 set owner = noone where account = 5
commit
Problem is this: the final commit hangs. And when I query the
db outside the applet, the d1 record associated with account 5 is
indeed locked (sqlplus hangs too on select for update!). It
looks like the original commit did not release the d1 record.
Possibilities:
1. Commit messes up other query statements on same connection.
2. Other query statements on same connection mess up commit.
3. Something else.
I am not using auto commit.
Any ideas?
null

I'm not 100% sure what you mean, but I do know posting the same question within a few hours of each other is going to make people not want to respond.
- Anyhow, if you're saying a computer is connected to your files that you don't want you can simply unshare any files. (System Preferences>Sharing>uncheck "File Sharing")
If there is simply another computer listed under teh "Shared" section of finder, that isn't a big deal. They cannot access anything without you having shared the files, and vice versa. You may be able to click on that computer and look at their shared files, but odds are it'll come up "connection failed".
Is this at your home network? The office? A public wifi spot?
If it's your home network that means someone is connected to your wireless network. You should start by setting a password to access your wireless router. That is done differently depending on who manufactures your router. Consult their manual for advice there.
If you're on a public WiFi other computers will pop up, there really isn't anything you can do to "remove" them per-se. But I can assure you they cannot access anything on your computer unless you have shared the files under your "shared folder" (see the first point i made)
If you're at work/office/school it's the same deal. I'm looking at "shared" in Finder and there are 8-12 computers, none of which I know who they are. I cannot connect to any of them, if i try to it just says "Connection Failed". I'm not the most techy guy, but i believe you'll see any computer that is connect to the same network you are and has sharing activated (even if it's password protected).
If i'm missing what you're concerned about, let me know. Your question was worded pretty vaguely.

Similar Messages

  • Personal File Sharing Connection Timing Out

    I'm having trouble personal file sharing connecting to one computer in my office. All the others work just fine and I can retrieve files and all. Oddly the computer that I can't read can connect to me.
    When I try and connect, I go to the Network, I can see her computer, I double click it and get the following message:
    Contacting xx.xx.xx.xx
    Timeout in 120 seconds
    And then it counts down the seconds and eventually nothing happens. I went into her System settings and checked and everything (that I know to check) is on and the IP address is the same one that is showing in my dialog box.
    Any ideas?

    Several restarts later and it is still doing it. I can connect to others, but this one machine doesn't want to go. Anybody?

  • How to Delete Smartview In Excel Advanced Option Shared Connections URLs

    I searched every forum and every blog for an answer to what I believe is a very simple fix but just havn't find an answer to.
    How do I clear all the old stored Shared Connection URL's in Excel -> Smartview Option -> Advanced -> Shared Connections Drop-Box in Version 11.1.2 ?
    Thank you in advance for your time and reply.

    Please check the image from this link
    http://www.google.com/imgres?q=smartview+advance+option+in+excel&num=10&hl=en&biw=1120&bih=694&tbm=isch&tbnid=coGQG8eoKxEPIM:&imgrefurl=http://appliedbi.blogspot.com/2011/09/smart-view-11121-and-intricacies.html&docid=vcWxoZD3eiXntM&imgurl=http://3.bp.blogspot.com/-LYnum3mQIis/Tmt2HWLX8GI/AAAAAAAACA4/S1kLXtZluQI/s1600/LogFile.png&w=507&h=272&ei=5X5gUKO0Ism2igKC1oDwCQ&zoom=1&iact=hc&vpx=771&vpy=213&dur=1230&hovh=164&hovw=307&tx=246&ty=85&sig=118263283618459905455&page=1&tbnh=114&tbnw=212&start=0&ndsp=15&ved=1t:429,r:4,s:0,i:87
    It is from the top url update connection link in the photo is what I am trying to clear out.
    Thank you

  • How to add another Planning Server to the Shared Connections?

    Hi,
    This is for version 11.1.2.1.103
    Currently all of our users use Planning in Prod environment. I would like to open the UAT environment to a smaller set of users. UAT environment is in our Test environment. I couldn't figure it how to add the UAT environment to the current Prod Shared Connections. I was hoping it would be as easy as right click on the Prod Planning Server > click on Add > Add the UAT server > Click OK.
    Instead I had to follow couple of steps to add the UAT environment to the SV:
    1. SmartView > Options > Advanced > Edit Shared Connections URL with UAT environment URL > Click OK
    2. Connect to Shared Connections > Planning
    3. Right click on the Plan Type > Click on Add to Private Connections
    4. Follow the same steps for the PROD Plan Type.
    Now, I do have two environments under Private Connections and I do not need to follow the first step every time I want to switch between environments.
    Was it a overkill or I did it right?
    Thanks,
    Mehmet
    p.s. I just noticed that in Shared Connections, you can add another Essbase Server, but that's not an option for Planning.
    Edited by: Mehmet Sevinc on May 8, 2012 2:48 PM

    Hi Again,
    following up my previous comment on this, you can create a macro and assign to an event or macro in the excel to change shared connection URL.
    Declare Function HypSetSharedConnectionsURL Lib "HsAddin" (ByVal vtAPSURL As Variant) As Long
    Sub SubHypSetSharedConnectionsURLTest()
    Dim lRet As Long
    lRet = HypSetSharedConnectionsURL("http://UATserver:19000/workspace/SmartViewProviders")
    End Sub
    http://docs.oracle.com/cd/E17236_01/epm.1112/sv_user/ch17s01s08s10.html
    Hope this helps,
    Ahmet

  • Smartview Shared Connections 11.1.2.2

    We have upgraded to 11.1.2.2 from 11.1.1.3 and the shared connection doesn't display essbase servers alone. It displays R&A framework and Planning but not essbase .
    Couple of diagnostics that I ran :
    1. http://server:port/13080/aps/APS returns hyperion provider services
    2. service are up and running (oracle http server, provider web services and everything related)
    3. added provider services server on EAS too
    4. I have changed the Shared connections url to http://server:port/workspace/SmartViewProviders and it doesn't display the essbase servers alone whereas the planning and R&A seem to be fine. Essbase works fine from private connections.
    5.On workspace , I find the enabled products checked for provider services.
    Has anyone faced this problem ?

    Sometimes all it takes is updating the proper URL. I did that and it worked for me

  • Smart View Shared Connections - Oracle Essbase - How is list derived?

    Testing out the new build of Smart view 11.1.2.2.310 on Office Excel 2010.  In Shared connections I show three Essbase servers
    EssbaseCluster-1
    EssbaseCluster-2
    EssbaseCluster-3
    Via EAS there is only EssbaseCluster-3.  What file or lookup is Shared Connections pointing to for 1 and 2?  If I try to open them they give a 'cannot connect to Essbase server' error.
    How can I remove these?  Right-click delete option not available...
    JTS

    It is usually being picked up from the Shared Services Registry, if you run a registry report do you have 3 clusters?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Dedicated or shared connections with tomcat?

    Tomcat does it's own connection pooling. That being the case, should I use dedicated or shared connections in Oracle? If Tomcat can properly maintain a small number of dedicated connections, then I'd prefer to avoid the setup/teardown overhead of using shared connections. I'm not sure if Tomcat (5.5.17) will operate properly in this regard or not, though. Does anyone have any experience with this?

    Using shared server or dedicated server is just a matter of which kind of applications you are planning to use. Shared server architecture is meant as a resource saver, considering the OLTP applications spend most of the CPU and network time idle. There is no reason to allocate private and exclusive resources to a connection. On the other hand, dedicated connections are meant for batch and reporting (Full Table Scans) operation, which are mostly found on DDS and DWH systems.
    If you use shared servers (no matter the client) and the application starts to behave in a DDS fashion, you will find Oracle Server will have to dispatch more processes to perform the operation, causing a raise in the High Water Mark resource usage.
    Shared servers is a more complex architecture than the dedicated server, for a few number of connections it is not worth to use it. But in the long run you'll find a meaningful memory and cpu consumption reduction, which is the main goal of this connection mode.
    ~ Madrid

  • OCI8 - dedicated or shared connection

    Does anyone know what type of connection is created through ruby-OCI8 using database.yml? Is it a dedicated or shared connection?
    Thanks,
    James

    I think it's a shared connection.
    In rails/activerecord/lib/active_record/base.rb, it says:
    Connections are usually created through ActiveRecord::Base.establish_connection and retrieved by ActiveRecord::Base.connection. All classes inheriting from ActiveRecord::Base will use this connection. But you can also set a class-specific connection. For example, if Course is a ActiveRecord::Base, but resides in a different database you can just say Course.establish_connection and Course and all its subclasses will use this connection instead.
    This feature is implemented by keeping a connection pool in ActiveRecord::Base that is a Hash indexed by the class. If a connection is requested, the retrieve_connection method will go up the class-hierarchy until a connection is found in the connection pool.

  • Change SmartView 11.1.2 shared connections default names?

    Is there any way to change the descriptions of the available shared connections descriptions? i.e. if I add a new Planning server connection to my shared connections list it appears in the list as "HP-11.1.2 - Oracle Hyperion Planning, Fusion Edition". I'd like to change it to something more meaningful.
    thx

    From the SV user guide - You cannot add, edit, or rename shared connections, but you save them as private connections, which you can edit and rename.
    HTH-
    Jasmine.

  • Thread number per connection crash 4.16

    We are using a program in a loop, we add 500 entry in 2 minutes. If the
    thread number per connection is set to 5 or 10, the Netscape Directory
    Server 4.16 got disorderly shutdown and dump a core. If we set this as 1,
    the server works fine.
    Could you please tell me what is the problem? Is this version not reliable?
    Thanks,
    Peter

    Peter Pan wrote:
    We are using a program in a loop, we add 500 entry in 2 minutes. If the
    thread number per connection is set to 5 or 10, the Netscape Directory
    Server 4.16 got disorderly shutdown and dump a core. If we set this as 1,
    the server works fine.
    Could you please tell me what is the problem? Is this version not reliable?What does it say in your error log? Is the number of threads per connection times the number of connections greater than the
    threadnumber? Are you sure you have tuned your kernel parameters to allow a large number of threads per process and per kernel?
    >
    >
    Thanks,
    Peter

  • Smartview lost shared connection

    We are using smartview 11.1.2.1.
    All of a sudden, our shared connections list is empty when we connect.
    We had similar problems for a while in 11.1.2.0. But somehow,we got it working.
    Running the following url:
    http://<servername>:19000/workspace/debug/listApps.jsp
    brings up this message:
    Logical Web Applications and their Products:
    No Logical Web Applications available in the Registry!
    Re configuring logical web apps and redeploying doesn't seem to help at all.
    All other web apps are working fine-workspace, planning etc.
    Does anybody have any suggestions?
    Thanks.
    Edited by: 784749 on Nov 7, 2011 8:15 AM

    KVC wrote:
    i thinks IIS is missing try to installing that ..it may helpSorry what it got to do with IIS
    You could try running the configurator again and choosing Foundation > Configure Logical Addresses for Web Applications or Configure Web Server
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Hyperion Strategic Finace are not listed under Smart View Shared Connections (EPMS 11.1.2.3)

    Dears,
    I'm can't access Hyperion Strategic Finance trhough SmartView because are not listed under Smart View Shared Connections.
    But if I try connect trhough Private Connections it's work fine.
    I've tried reconfigure Providers Services, but didn't work.
    Anyone could help me?
    Thanks in advance

    It should be possible using a Shared connection to Strategic Finance as it is documented - Creating a connection using Shared Connections , as far as I am aware it is only OBIEE where you have to use the XML method.
    It might be worth checking in workspace under workspace settings and enabled products to see if Strategic Finance is enabled.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Saving Screen Sharing Connections

    Ok, this is driving me crazy. How do you save a Screen Sharing connection so that you do not have to enter the IP address every time. I am referring to accessing a computer remotely over the Internet done through port 5900. I have the screen sharing set up and working fine, and I even have one of these shortcuts made a year ago, but for the life of me I can't remember how I did it again.
    I think may be it was a trick using TextEdit? I know you can do this for ssh connections, but I can't remember the syntax for doing it for screen sharing. If I remember correctly you can type the right syntax followed by the IP address in TextEdit. Then you highlight the text and drag it to the desktop which results in a .inetloc file. After that you can simply doubleclick on the file and it will automatically launch the Screen Share.app and go to the right IP.

    Open Safari
    Type in "vnc://your.ip.address" in the address bar (I use Bonjour so it's "vnc://computername.local")
    Drag the blue globe in the address bar onto your desktop
    Source: http://www.mail-archive.com/[email protected]/msg46630.html

  • Keeping Internet Sharing connections off Bonjour subnet

    Hi,
    I have my Mac Mini connected to my home lan via ethernet. I have set its Airport for Internet Sharing. Despite connections to the Airport being on a different subnet than my lan, any device using that Internet Sharing connected can "see" and access any Bonjour services (like Screen Sharing or AFP for example) on the lan.
    Now I understand that those Internet Sharing connections connect to the router via NAT provided through my Airport on the Mini. But what I'd like to do is use ipfw or whatever to prevent the Internet Sharing subnet from accessing any IP on the lan with the exception of the router itself. With iptables I could probably figure this out (or get close), but I am not familiar with ipfw. Can anyone help me with setting up ipfw to do this?
    Thanks,
    Doug

    I'm no expert but usually the router lets you share one ip address (assigned by your ISP) between several computers on an internal network and the computers can each connect via the router - they don't need to connect to each other. For example, I've got a set up with two computers (one is mine, one is my parents') and two airport base stations. One of the base stations acts as a router (the other just boosts the range so the signal is stronger upstairs) and it distributes internal ips between the other base station and the two computers. We share the internet connexion but neither computer is set up to share its own internet connexion.
    So if you're asking what I think you're asking, I don't think you need to enable internet connexion sharing at all - you could just have the computers connect via the router. The only reason I can think not to do this would be if maybe the router doesn't allow wireless connexions and you needed to connect one of the computers using this method. Otherwise, I'd think you'd just connect both through the router.
    If that doesn't help, it is probably because I have no idea what I'm talking about - or, rather, very little idea which is worse because it means sometimes I think I understand something a little bit!
    - cfr

  • Iphone won't connect to Macbook's Shared Connection

    Hey all,
    A million apologies - I have searched for a few hours and haven't found a working solution.
    My iPhone 4 (iOS 4.3) "does not" connect to my Macbook's shared connection. I am using my macbook as a wifi hotspot at home and I really cannot figure what is wrong. The iPhone says its connected, but the wifi icon does not appear - EVEN when I am inches away from the macbook. As far as I can tell my macbook's airport is up to date 6.2.1 as is the computer it self (10.6.6).
    Any help in getting my iPhone connected to my macbook's shared wifi would be appreciated.
    PS:
    I have tried:
    on IPhone
    - Forgetting network
    - Shutdown and reboot
    - upgrade/downgrade iOS
    on Computer
    - No WEP password
    - shutdown and reboot
    P.C

    Did you get an answer because I am having the same problem between my Iphone 4 an a Macbook running on 10.5.8. Does that have anything to do with it?

Maybe you are looking for

  • How to prevent the code viewing of jsp files

    hello friends How to prevent the code viewing on directly opening .jsp files at the server side Thanks in advance

  • How to install tools to build a standard kernel module?

    Hello! I am a long time Fedora user trying to switch over to Arch for the ease of customization. I am trying to build the hybrid_wl driver for my broadcom wireless card, and the requirements section says I need to have "the proper tools, packages, he

  • IPhoto geotags not save in EXIF metadata

    Why if I geotag a picture using iPhoto, that geotag won't be saved into the EXIF metadata? Exporting for example that picture in, say, Adobe Lightroom, or uploading it to Flickr won't show the location I picked in iPhoto, simply because that informat

  • All photos I imported in LR4 show as zero  and missing/offline

    I  am new to LR4 . I imorted many pictures into LR. Thought doing correct but not. All folders on left  are as dates which I did not want and show as zero photos contained or those with photos when clicked on show as missing. It shows the total nuber

  • Video coming first frame only

    Hi i create a broadcaster in as3. Broadcast video is OK. NetConnection.Connect.Success is OK NetStream.Publish.Start is OK. But video coming first frame only in Player, not playing total video in player var server = "rtmp://xxxxxx.rtmphost.com/folder