Multithreaded client issues

I have a multithreaded client that maintains a pool of connections to the Oracle server. Each thread grabs a connection to issue selects, updates and inserts to the DBMS. Under Win 2000, an access violation occurs in msvcrt.dll when the second or third thread exits (during the OS call to _endthreadex). This problem does not occur under WIn NT 4.0.
Are there any multithreaded issues related to development on 2000 vs NT? Where can I read more about writing multithreaded OCI clients in general?
The Win 2000 box is current on Windows 2000 service packs, Visual Studio SPs, and the MS SDK. I'm using OCI V8.
Thanks,
Ben

if your question is the same as another post up in this thread, you just need a single environment handle. OCI will automatically manage the thread safety across multiple threads.

Similar Messages

  • Sync error: Uploading records failed: "client issue: request body too large"

    1328917629619 Sync.Engine.AdblockPlus DEBUG Uploading records failed: "client issue: request body too large"
    This happens from 2 Win 7 computer and 1 Win XP computer sync'd. Without the Add Block Plus being sync'd everything works.

    Hi!
    That's a problem with the Add Block Plus sync engine. It seems that they have issues on their servers.
    Try to ask the same question in their forum: https://adblockplus.org/forum/
    Good luck!

  • Design Pattern for multithreaded client server program

    I asked this question in another post, but with other stuff, so I'll distill this one.
    I am creating a multi-threaded client server program (just for learning - a chat program at this point). I built the server and client in swing, and I'm wondering what the best design pattern is for this setup. Right now all the swing stuff is in the MyServer class. In that class I have a loop accepting client connections to the serverSocket and creating a new MyServerThread (threaded client connection).
    The problem is that all the work of creating input streams, interacting with the server, all that stuff is done in the MyServerThread class, but I want that text to be written up to the Swing objects - which is in the MyServer class. So right now in the MyServerThread class I pass the MyServer object into it, but I'm not sure if that is really the most robust thing to do. Does anybody have any suggestions as to how this should be done. If somebody has an article they'd like to point to I'll check it out too. But if it's just the run-of-the-mill multithreaded client-server article, I've read alot and most don't specifically address my question.

    Thanks for the reply Kaj, and I think I'll keep my design for now, since it's just quick and dirty. I've read the MVC concept a while ago and I'll revisit it again when I get more serious. But I have a question, why should I be using a callback interface, why an interface at all? And then make MyServer implement that interface...why not just pass MyServer to the thread object? Or is there something down the line that I did not forsee?

  • Historical Reporting Client issues

    Hi,
    Cisco Unified CCX Administration  - HA Setup
    System version: 8.0.2.11002-3
    Supervisor PC:
    Windows XP SP3
    I've client facing some issue with HRC. He seems duplicate entries for few of the agents. He can recall those entries were earlier added/deleted from UCCX but still sees it in HRC.
    For example: Agent1 has two entries in HRC. AGENT1 and Agent1. The valid entry is Agent1 as configured in CUCM. The other entry (AGENT1) is not visible anywhere in CUCM or UCCX (Active/Inactive agents).
    There are 4 HRC users and they all see the duplicate agent entries.
    Another issue is that while running Agent summary or some other report for one of those duplicate agents, HRC throws following error. We've tried putting Agent1 and AGENT1 both entries in HRC but same issue. We know the Agent1 is taking regular calls and there should be reports for that agent. The error is:
    "There were no report data to view in the data range selected. Please select a different date/time and try again"
    Same agent, when trying to pull in the Agent Summary or some other report for March 2011, HRC throws the follwoing error:
      "A runtime error occurred while executing the query. Please check log for more details"
    I was suspecting Bug CSCtc79010 but as per the release notes for UCCX version client is running this bug is fixed in that version.
    Not sure if Bug CSCtj88620 is causing some issue. The problem description in the bug doesn't match exactly.
    I've already done the following but all the above mentioned issues remain there:
    1) I've verified the configuration in CUCM and UCCX. The Agent1 is only visible, there is no entry for AGENT1.
    2) Disabled/Enabled the UCCX DB Synchronization.
    3) Un-installed the HRC on a PC, deleted the HRC folder in Program files and re-installed by downloading the file from UCCX Server directly.
    FYI, all other agent reports are being run fine, not suspecting any admin rights/services issue in Supervisor PC.
    Would appreciate if anyone can give some more pointers what else can I check?
    Thanks in advance,
    inner_silence

    My issue is on UCCX v7.0.
    HRC shows duplicate entries for few agents.
    There are duplicate agents, due to changes made ​​in its number or its name. (view image).
    There is some file in the server UCCX to save the information to agents after being modified or deleted?
    Thanks a lot.
    ErnestoG

  • Windows 8.1 pro and vpn client issue

    dear support community ,
    Am using windows 8.1 pro and cisco vpn client version 5.0.0.7.0410
    .my issue is that am able to connect to the VPN succesfully but  when connected i cant ping nodes inside the VPN
    whereas when i do the same test with a windows 7 and xp PCs , am able to ping and even remote desktop nodes.
    someone help please ??

    funniest thing is , after using my PC for two weeks and doing regular updates , am now able to ping and RDP to nodes
    inside the VPN..:-)

  • Cisco vpn client issue on windows 8.1 pro

    I am using Cisco RV325-k9 router, I am configure "Easy vpn" in this router.
    Our some users use Windows 7 pro and others users use Windows 8.1 pro with Cisco vpn client version 5.0.070290.
    Issue is VPN client connected but not access remote machine and ping on windows 8.1 pro machines. but Working fine on windows 7 pro.
    But When i am using wifi through MTS wifi usb device then working fine.
    Please find the attached screenshot of VPN Client Statistics.
    Please give me a solution.
    Regards
    Sanjib

    Hi Sanjib,
    Cisco VPN clinet is not supported for the windows version 8.1. And also it is EOL announced. Might be the below mentioned work around might help you. Try this.
    http://www.vmwareandme.com/2013/12/solved-windows-8-and-windows-81-cisco.html#.U9tCdxCrOxo
    Regards
    Karthik

  • Outlook Client Issues following Exchange 2010 Rollup 8

    Update Rollup 8 For Exchange 2010 SP3 (KB2986475) was applied to our Exchange server last night.
    All appears to be fine, but users are having all kind of trouble using the Outlook Client to connect to their mailboxes.
    Randomly they can't view certain folders (Inbox/Sent Items). Can no longer save to their Calendars. Errors relating to permissions and Outlook notifications?!?!?!?!
    This is ONLY when using the Outlook Client - webmail works fine.
    There are also no issues when running Outlook in safe mode.
    Any advice would be very much appreciated.
    Thanks
    David

    The following has been posted onto the Exchange team site:
    http://blogs.technet.com/b/exchange/archive/2014/12/09/exchange-releases-december-2014.aspx
    Update 12/10/2014:
    An issue has been identified in the Exchange Server 2010 SP3 Update Rollup 8. The update has been recalled and is no longer available on the download center pending a new RU8 release. Customers should not proceed with deployments of this update until the
    new RU8 version is made available. Customers who have already started deployment of RU8 should rollback this update. 
    The issue impacts the ability of Outlook to connect to Exchange, thus we are taking the action to recall the RU8 to resolve this problem. We will deliver a revised RU8 package as soon as the issue can be isolated, corrected, and validated. We will publish
    further updates to this blog post regarding RU8. 
    This issue only impacts the Exchange Server 2010 SP3 RU8 update, the other updates remain valid and customers can continue with deployment of these packages.
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Client issues from behind firewall (login delays)

    I have a Novell 6.0 server outside the firewall and am beginning to set
    up clients on the inside of the firewall. There appears to be no
    issues with the outside clients connecting to the outside server.
    However I am having strange issues with the inside clients
    authenticating to the outside server. (all clients are WinXP)
    If I do not sit for at least 10 seconds at the novell login screen on
    the client at first boot-up before attempting to login, the client will
    fail. If I try again after that, it goes right in. If I do wait for
    the 10 seconds, the client authenticates the first time.
    If I put an IP address in the server name field of the login dialog
    box (instead of the servers FQDN) the client authenticates the first
    time.
    Has anyone seen this before or know where to begin looking? There does
    not appear to be a delay issue with the DNS server, as once the desktop
    is up all web browsing and pings respond quickly.
    Thank you for any help you can provide.

    Thanmad,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • SCCM 2012 Client issues

    Hi,
    I am having issues with not all the SCCM client actions appearing in my clients.
    So it might start at 11 actions - then drop down the 5 actions then go back up to 6 and then after a day go to 11. So this happens
    after an OSD build. So I might build 12 machines at a site and get 4 with this issue. As well some machines will take an extended
    time to install the same app from the same collection. Some will quickly others will take a few hours. (We have
    machine policy set to 1 hour). And the machines are pre-populated in the SCCM collection.
    BTW the task sequence to build the OS does complete successfully - so what you are seeing below is after the osd task sequence
    ends.
    However they do seem to share the following error in the location services.log
    Unable to retrieve AD forest + domain membership
    So things seem to go south from this point onwards.
    Unable to retrieve AD forest + domain membership LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    Retrieved lookup MP [Server1.acme.com] from Registry LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    Attempting to retrieve lookup MP(s) from AD LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    No lookup MP(s) from AD LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    Attempting to retrieve lookup MP(s) from DNS LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    Using default DNS suffix acme.com LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    Attempting to retrieve default management points from DNS LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    Failed to retrieve DNS service record using _mssms_mp_b03._tcp.acme.com lookup. DNS returned error 10051 LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    No lookup MP(s) from DNS LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    Attempting to retrieve site information from lookup MP(s) via HTTP LocationServices 18/06/2014 12:19:20 PM 2904 (0x0B58)
    Failed to send site information Location Request Message to Server1.acme.com LocationServices 18/06/2014 12:19:21 PM 2904 (0x0B58)
    Failed to refresh security settings over MP with error 0x80004005. LocationServices 18/06/2014 12:19:21 PM 2904 (0x0B58)
    If the client actions are removed I see things like:
    I can then see in the PolicyAgentProvider.log things like this:
    --- [1] __InstanceDeletionEvent settings change on object CCM_ClientActions.ActionID="{00000000-0000-0000-0000-000000000106}". PolicyAgentProvider 18/06/2014 12:28:36 PM 3984 (0x0F90)
    --- [1] __InstanceDeletionEvent settings change on object CCM_ClientActions.ActionID="{00000000-0000-0000-0000-000000000113}". PolicyAgentProvider 18/06/2014 12:28:36 PM 3984 (0x0F90)
    --- [2] __InstanceDeletionEvent settings change on object CCM_ClientActions.ActionID="{00000000-0000-0000-0000-000000000102}". PolicyAgentProvider 18/06/2014 12:28:36 PM 3984 (0x0F90)
    --- [3] __InstanceDeletionEvent settings change on object CCM_ClientActions.ActionID="{00000000-0000-0000-0000-000000000108}". PolicyAgentProvider 18/06/2014 12:28:36 PM 3984 (0x0F90)
    --- [4] __InstanceDeletionEvent settings change on object CCM_ClientActions.ActionID="{00000000-0000-0000-0000-000000000107}". PolicyAgentProvider 18/06/2014 12:28:36 PM 3984 (0x0F90)
    --- [5] __InstanceDeletionEvent settings change on object CCM_ClientActions.ActionID="{00000000-0000-0000-0000-000000000104}". PolicyAgentProvider 18/06/2014 12:28:36 PM 3984 (0x0F90)
    So we have extended the AD schema, and we don't see to have this issue at other sites.
    So any suggestions?
    Thanks,
    Ward

    This might be a known (but unsolved issue):
    http://social.technet.microsoft.com/Forums/de-DE/5a82bcb3-4cde-4eb0-a016-5d4f2a60f2d7/pki-client-starts-to-intialize-then-7-minutes-later-client-agents-go-back-to-disabled-for-upwards?forum=configmanagerdeployment
    Torsten Meringer | http://www.mssccmfaq.de

  • Strange behaviour accessing cache via TCPExtend in multithreaded client

    I have set up a test where 10 threads issue a cache.invoke against the cache service, and the EntryProcessor simply sleeps for 4 seconds. The key being used for each thread is different.
    The single cluster node which I am using for the test is configured using a Pool of 10 Proxy service threads and default settings for the distributed cache service (zero thread pool size so just use the service thread).
    I see the EPs being executed one at a time on the server as expected (because they are all being called from the single service thread) - so it takes 40 seconds for all 10 calls finish - the first finishing after 4s, the second after 8s and so on.
    I'd expect each of the client threads to finish running after the server has finished processing the invoke, but they often dont. What seems to happen is that a number of the threads end up completing the EP call at the same time.
    For example, 4 threads completed after 16 seconds instead of the 1st finishing at 4s and the second at 8s and so on.
    When the Proxy thread pool size is 1, I get my expected behaviour. However, when it is set to 10 this batching occurs so many of my client-side tasks are delayed.
    Can anyone shed any light on why this is happening?
    Many thanks,
    Simon

    Simon,
    Could you please send the complete test case (including the configuration files) to Coherence support at Oracle Metalink?
    Regards,
    Gene

  • "Submit Email" client issues

    I am using adobe Designer in Acrobat 9 Pro to create forms to be distributed to members our our department. We need the forms to be returned to us by email in filled out PDF form. I have created a working Submit by e-mail button and made the submit format PDF and extended the "reading options" so that users only using Reader can submit the form in filled out PDF format. This all works fine while using Outlook or the Mail application on Macs, but it will not work with computed that have Thunderbird set as their default client. I understand that users can save the form to their computer and manually attach it to an email if needed, but is there any workaround that would allow Thunderbird to cooperate? I have ensured that Thunderbird is the default mail application on the computer so I know that is not the problem.
    Thanks for any help.

    There seems to be some issues getting Thunderbird to behave properly - make sure it is setup as the MAPI client and that may help.
    I remember mucking around with it a while ago and never could get it to work, but haven't tried since the latest version of Thunderbird.
    I think it's a problem with Thunderbird's MAPI support - if you google "thunderbird mapi" you'll find a lot of info.

  • CUA sync with child client issue for indirect role assignment.

    Hello Security experts,
    we have a indirect role assignment set up in our ECC environment. there is a syncronization issue from the parent CUA to the chlild client. The role assignments have been made to role although they are not always reaching target system without having to sync up either the role or the IDu2019s position # manually.   This has been an ongoing issue CUA has on any role or user from time to time.   any hint on fixing this issue. please help..

    Whole idea of CUA is to manage your roles and users centrally, on the contrary you can manage the roles/profiles by setting up the attributes for the CUA thorugh Central user Management console - SCUM Transaction.
    CUA has its own pros -
    Central rep,Users Sync,Role Provisioning statergy - Global composites(consists of individual child roles) Distibuted model -Provisioing at individual child systems for roles, etc.Central user store,easy maintenance.
    on the contrary - change documents is always a concern ( because cua uses - interface Ids or the RFC ids to push the idocs from cua to child system), CUA maintenance while system refresh - Copied distribution models have to be deleted and re-created, system backups has to be defined per you distribution model, password maintenance if defined global then Child systems act as inactive nodes, reading the roles into cua which are created in childs so as to establish a pointer to that system.
    It also depends on the number of systems you have in your landscape so that you can calculate the overhead and then have a Go -no-Go decison on CUA.
    Overall, I consider CUA as a good approach provided we streamline the process of provisioning, de-provisioning per the cua standards.
    Rakesh

  • Can anyone help me troubleshoot my VPN client issue, DART log attached

    Hi all
    I am having issues connecting with my anyconnect client, version 2.5 running Windows 7 64 bit
    It keeps saying repairing vpn adapter, then encountered an error, there is no AV running, and I have reinstalled it many times
    here is the log files
    Can anyone help ?
    cheers

    Hello, there won't be a specific answer because so many things can cause that error.
    You can try cleaning it...
    http://www.discountofficeitems.com/technology/computer-accessories/cleaning-main tenance/cleaner-maintenance/fellowes-lens-cleaner/p28997.html
    Occasionally a PRAM reset, CMD+Option+p+r will cure it...
    http://docs.info.apple.com/article.html?artnum=2238
    Media is likely the biggest cause, might try burning at a slower speed.
    http://burn-osx.sourceforge.net/Pages/English/home.html

  • Client issue

    I'm wondering if there is any way to resolve this issue I'm having with
    the GW2014sp1hp1 (happened also with the sp1 client).
    I prefer to use the keyboard more than the mouse for a lot of my daily
    functions.
    Since moving to the GW2014 client, if I click an email, then press
    enter to open it, after closing it, deleting it, etc, I have to click
    back into my emails to be able to select more than one email.
    Example, I have a rule that moves the emails from the nightly backups
    to their own folder. In the morning, I glance at them and only need to
    look at the emails where the backup did not finish normally.
    So, I click in there, hold shift and scroll down through the normal
    emails, stop and delete them if I get to an abnormal one. I then open
    that one to see what happened, and delete it afterwards.
    Now, instead of just scrolling down, shift selecting the rest of the
    emails as I go, I have to click back into this folder, *then* start my
    shift selecting.
    Ideas? Suggestions? This a bug, or just the way the client was
    'enhanced' for this version? If it's an 'enhancement', I say boo and
    get rid of that 'enhancement'.
    Stevo

    Not a solution but if you hold the shift key and press PgDn it will highlight the rest of the list, then the arrow keys seem to work to bring the selected rows back up. Only seems to work going down first - weird.
    Herbert

  • Database issue? Client issue?

    very similar sql statements. if it returns less than 100 rows, it takes 1 second, which is acceptable. But when it returns 1000+ rows, it takes 10+ seconds, which is not acceptable.
    My question is, is it the database issue? or because of the network/ client memory that taking too long to show the data on the sql plus?
    Since the execution of the sql is fast, I think the bottleneck is on showing the results....how to improve it?
    Thanks for your help!
    Ken
    =======
    1099 rows selected.
    Elapsed: 00:00:21.12
    SQL>
    10 rows selected.
    Elapsed: 00:00:00.31
    SQL>
    Edited by: user9511515 on May 2, 2013 8:55 AM

    user9511515 wrote:
    very similar sql statements. if it returns less than 100 rows, it takes 1 second, which is acceptable. But when it returns 1000+ rows, it takes 10+ seconds, which is not acceptable.Very similar? Not good enough.
    As this means that you cannot simply isolate one aspect (number of rows returned), and use that as a comparative benchmark. You have not provided any evidence that the number of rows returned, is the reason for the difference in performance.
    Assuming your sql1 and sql2 are on the same data - another contributing factor to the performance difference could be that sql1 hit the disk (and cached data), and that sql2 conveniently hit the cache and not the disk.
    A word from he-who-waves-lead-pipe-and-foams-at-the-mouth - the type of comparison you are attempting is almost always fundamentally flawed. Even an identical SQL executed within seconds of one another, will have different elapsed execution times.
    Performance tuning is not about comparing process 1 with process 2 and trying to figure out why one is slow and the other fast. Performance tuning is about examining, in detail, the workload of a process. Because if you have no idea WHAT the process is doing, how can determine which parts are slow and which parts can be optimised?

Maybe you are looking for