Application hangs while trying to create a socket

Hello,
We have a third party application that makes HTTP connections using a old version of HTTPClient. Recently we have run into problems where the application hangs as one thread seems to hang while trying to create a socket (thread dumps show the hang occurs in native code) and other threads end up waiting for this thread as they need to obtain a lock on HTTPClient.HTTPConnection. We found out that HTTPClient was not setting a timeout on the underlying socket (SO_TIMEOUT) and the relevant patch has been implemented in the hope that if the condition arises again the offending thread will be timed out and allow other threads to try and continue.
We will not be able to see if the patch works until Monday and I would like to understand the problem a little better if it fails. My question at what point will the socket timeout starting ticking? As our offending thread is waiting in native code is there a chance that the timeout will not be "active".
Also can anyone provide reasons for an application hanging while trying to create a socket and any suggestions for monitoring or mitigating this problem?
Thanks a lot.
Sun Solaris 5.8
JDK 1.4.1 b02

It looks like our version of the JDK offer a connect method with a timeout value, I think this will do the trick.

Similar Messages

  • Jdev hangs while trying to create deployment profile for EJB from ADF BC.

    Hi,
    I created some ADF BC and try to create the deplyment profile as EJB session Beans
    however it is not saving and while trying to deploy it to satandalone OCJ I got some errors
    atht classes EJB are missing.
    Please advise.
    Thanks
    JO

    Hello JO,
    Is the version of your stand alone OC4J compatibile with JDeveloper you are using?
    e.g.: JDev 10.1.3 is certified with OC4J 10.1.3
    Did you install the ADF runtime ?
    e.g.: from the menu, Tools -> ADF runtime installer -> stand alone OC4J
    What is the exact error which is displayed ?
    Stephan

  • JMS Client hangs while trying to create a TopicSession

    We have a thick client which connects to a WLS 8.1 Sp3 server. At client startup, it subscribes to a distributed topic. Today morning, we noticed that most of the clients started hanging at the point where they try to subcribe to the distributed topic. We had to restart the servers to resolve this issue. I've pasted a part of the thread dump at the end of this message, and would appreciate any feedback on this.
              <br><br>
              This happened on our test servers which run in a cluster, and which have a limited scale license. <br><br>
              Here's the thread dump - <br><br>
              "AWT-EventQueue-1" prio=7 tid=0x009e85d0 nid=0x7f8 in Object.wait() [190ef000..190efd88]<br>
              at java.lang.Object.wait(Native Method)<br>
              - waiting on <0x20217400> (a weblogic.rjvm.ResponseImpl)<br>
              at weblogic.rjvm.ResponseImpl.waitForData(ResponseImpl.java:74)<br>
              - locked <0x20217400> (a weblogic.rjvm.ResponseImpl)<br>
              at weblogic.rjvm.ResponseImpl.getTxContext(ResponseImpl.java:99)<br>
              at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:104)<br>
              at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)<br>
              at weblogic.jms.dispatcher.DispatcherImpl_813_WLStub.dispatchSyncFuture(Unknown Source)<br>
              at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSync(DispatcherWrapperState.java:339)<br>
              <b>at weblogic.jms.client.JMSConnection.createSessionInternal(JMSConnection.java:400)<br>
              at weblogic.jms.client.JMSConnection.createTopicSession(JMSConnection.java:359)<br>
              at com.wellmanage.trading.shared.util.PmwMessageService.subscribe(PmwMessageService.java:373)<br>
              at com.wellmanage.fipmt.client.notification.NotificationListener.subscribeToNotificationMessages(NotificationListener.java:173)<br></b>
              at com.wellmanage.fipmt.client.Main$11.run(Main.java:1174)<br>
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)<br>
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)<br>
              at com.wellmanage.common.pcsf.client.exception.ExceptionHandlerEventQueue.dispatchEvent(ExceptionHandlerEventQueue.java:26)<br>
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)<br>
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)<br>
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)<br>
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)<br>
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)<br>

    Hello,
              Were you able to resolve your problem? How did you resolve it? I am having the same problem.
              Any help will be greatly appreciated!
              Thanks,
              Mamta

  • Getting error while trying to create the push certificate...

    I am getting the following error while trying to create a push certificate for the mdm from the apple site.
    Certificate Signature Verification failed because the signature  is invalid.
    I am mdm vendor as well as the customer. I did the following steps.
    openssl x509 -inform der -in mdm_identity.cer -out mdm.pem
    openssl x509 -inform der -in AppleWWDRCA.cer -out intermediate.pem
    openssl x509 -inform der -in AppleIncRootCertificate.cer -out root.pem
    openssl req -inform pem -outform der -in customer.csr -out customer.der
    created the plist_encoded file using a java program which uses the "SHA1WthRSA"
    When i tried to upload the plist_encoded file to the apple site (https://identity.apple.com/pushcert/), it creates a file with the following error
    {"ErrorCode":-80018,"ErrorMessage":"Certificate Signature Verification failed","ErrorDescription":"Certificate Signature Verification failed because the <a href=\"http://www.apple.com/business/mdm\" target=\"_blank\">signature<\/a> is invalid."}
    Any help would be greatly appreciated....

    Please see the solution in (The Descriptive Flexfield With Application Name Receivables (AR) and Name Party Site Information (HZ_PARTY_SITES) Is Not Frozen [ID 743262.1]).
    Thanks,
    Hussein

  • Error while trying to create tree using same EMP how to tutorial

    Hi,
    I get the following error while trying to create a sample tree similar to the one
    posted in the how-tos web page.
    The final query that creates the tree is also as follows
    The Current Query shown in my apex window and the one on the howtos tutorial is as follows
    select "EMPNO" id,
    "MGR" pid,
    "ENAME" name,
    null link,
    null a1,
    null a2
    from "RJOSEEMPCLUB"."EMP"
    where DEPTNO = 1
    The error is as follows
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Debug:
    1: begin
    2: wwv_flow_wiz_confirm.create_tree (
    3: p_flow_id => :FB_FLOW_ID,
    4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
    5: p_start_option => :F4000_P112_START_OPTION,
    6: p_owner => :F4000_P112_OWNER,
    7: p_table_name => :F4000_P112_TABLE,
    8: p_id => :F4000_P112_ID,
    9: p_pid => :F4000_P112_PID,
    10: p_name => :F4000_P112_NAME,
    11: p_link_option => :F4000_P112_LINK_OPTION,
    12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
    13: p_link_item => :F4000_P112_LINK_ITEM,
    14: p_where => :F4000_P112_WHERE,
    15: p_order_by => :F4000_P112_ORDER_BY,
    16: p_page_id => :F4000_P112_PAGE_ID,
    17: p_page_name => :F4000_P112_PAGE_NAME,
    18: p_tab_set => :F4000_P112_TAB_SET,
    19: p_tab_text => :F4000_P112_TAB_TEXT,
    20: p_region_name => :F4000_P112_REGION_NAME,
    21: p_tree_name => :F4000_P112_TREE_NAME,
    22: p_tree_type => :F4000_P112_TREE_TYPE,
    23: p_max_levels => :F4000_P112_MAX_LEVELS);
    24: end;

    Hi Kart,
    If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
    Did you specify a root value for the tree?
    Regards
    Andy

  • Error while trying to create a new company

    Hey All
    I found an error while trying to create a new company.
    the Error like - No matching Records Found - [ODBC -2028]
    This can generate only database but not any tables in that database.
    Please help me.
    Thanking you
    Hepil Doshi

    Hello,
    I would prefer local language instead of US english.....
    My tips.
    1. DID you tried to Not apply the UDO/UDF things?
    2. Do not log in to the database, start from
    3. Please post the error message itself....
    4. If you are running on MS SQL 2005 server (not express) , You can start SQL profiler, and monitor the New Database creation.... you will see in profielr where is the error message and which tables / data is missing.
    If i know well,
    When you create a new company, the SBO-COMMON database is used to deploy the new database....
    If you get stock, reinstall your sbo-common from the last applyied patch..... (Detach SBO-common, move the files another directory, and start upgarder.exe).
    Regards,
    J.

  • Issue while trying to create Sales Order from Inbound Idoc ORDER05

    Hi All,
    I am trying to create a sales order through an Inbound idoc ORDERS05 created out of a Purchase order. The header pricing conditions from the Purchase orders gets populated in E1EDK05 segment and this needs to go to the Sales order header conditions while trying to create the Sales order.
    But when the fields are getting incorrectly mapped to the Sales order. Issue  being, the segment E1EDK05-BETRG contains the condition value. But this fields gets populated to the KOMV-KWERT (condition value) screen field on the Sales order header conditions. But this should have got mapped to field KOMV-KBETR (Rate). If I look at the Purchase order, E1EDK05-BETRG is the field getting fetched from field KOMV-KBETR on the Purchase order. So this should have correspondingly got mapped to KOMV-KBETR on the Sales order as well.
    This looks like a standard behavior. But if any of you have encountered this issue before please let me know if any Correction instructions are available for the same. If this some issue in Pricing conditions configuration, do let me know.

    Hi Paaavan
    You can set a break-point include "FV45PFAP_VBAP_BEARBEITEN_VORBE" that is called by both the SAP Standard and BAPI where the data is prepared and checked in the internal table XVBAP. Compare both SAP standard VA01 and your 'Z' program for what may be different in XVBAP.
    I think the problem my be with regards to the business_object number that is hardcoded in the standard function module. It has given me issues before and hence I tend to use the function module  SD_SALESDOCUMENT_CREATE to create sales documents with.
    Regards,
    Marius

  • Connect Mobile for RIM Blackberry Playbook hangs while trying to connect to server

    We have Adobe Connect 8 (Multilanguage - Portuguese) installed on a server. Connect Mobile for RIM Blackberry Playbook hangs while trying to connect to the server. Hayward Drummond has posted a notice about Adobe Connect 8.1.2 that seems to solve this problem, known as BUG 2886745. I sucessfuly downloaded this update but I´m not sure if it is compatible with Adobe Connect 8 Multilanguage - Portuguese.  Does anyone know something about it? I also need to first install version 8.1.1 in order to upgrade to 8.1.2, as remarked by Hayward. Does anyone know where can I download version 8.1.1 (Multlanguage - Portuguese)?

    try to install Firefox 8 on top of Firefox 7, or
    Profile is a folder which store all your personal data in a safe place
    * https://support.mozilla.com/en-US/kb/Profiles
    here explain how to backup profile
    * https://support.mozilla.com/en-US/kb/Backing%20up%20your%20information
    here explain how to restore it
    * https://support.mozilla.com/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile

  • Bar Code entry while trying to create one through FB03

    Hi Guru
    We recently had techical upgrade to ECC6.0. While trying to create a barcode entry for a document through FB03 I am getting the following error message
    oa280 - Bar code not active -system administration .
    All the configuration are in place in OAC5,OBD2 . I couldnt able to find any relevant notes regarding to this issue . Can some one help me out in fixing this issue
    Thanks
    Auroar

    Hi
    I raised the question to SAP and they provided me the notes 173521 as suggested by  you . But  following this note will open bar code entry access for all user and for all accounting document which will be an issue .  After few trial and error I was able to get an solution for this issue .  I created an entry in oac5  with barcode active  for object type and user specified and an another entry with barcode inactive for object type ,document type FIIInvoice and user .  This enabled only the authorized user for bar code entry to make changes . One drawback is that it does allow permitted user for all document type
    Thanks all for your suggestion
    Regards
    auroar

  • Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Are you behind a firewall or double NAT??
    What is the device that is immediately plugged into the main modem or router? Has that one been able to update?
    It is plugged in of course isn't it.. no nasty join wireless anywhere??
    The best way to work around these sort of problems is to simplify the network.. Plug each device directly into the main router.. by ethernet. You can trigger the firmware upgrade by wireless but use ipad or iphone version of airport utility and see what happens.

  • ORA-01422: while trying to create a job

    Hi all,
    WE need a help from you, group of experts
    we are getting the following error
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYS.DBMS_ISCHED", while trying to create a job using the following code
    BEGIN
    DBMS_SCHEDULER.create_program
    (program_name => 'FAILURE_MONITOR_PRG',
    program_action => 'JOB_MGR.SPR_FAILURE_MONITOR',
    program_type => 'STORED_PROCEDURE',
    number_of_arguments => 1,
    enabled => FALSE
    DBMS_SCHEDULER.define_metadata_argument
    (program_name => 'FAILURE_MONITOR_PRG',
    argument_position => 1,
    metadata_attribute => 'EVENT_MESSAGE'
    DBMS_SCHEDULER.create_job
    (job_name => 'FAILURE_MONITOR_JOB',
    program_name => 'FAILURE_MONITOR_PRG',
    enabled => TRUE,
    auto_drop => FALSE,
    start_date => SYSDATE,
    event_condition => 'tab.user_data.event = ''FAILED''',
    queue_spec => 'event_queue'
    END;
    Oracle allows us to create the job if the parameter values for enabled is "false" in the DBMS_SCHEDULER.create_job call. But we got the same error
    when tried to enable the job using exec DBMS_SCHEDULER.ENABLE ('FAILURE_MONITOR_JOB');
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYS.DBMS_ISCHED", line 2751
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 1794
    ORA-06512: at line 1
    Please help us to solve this issue
    Thanks,
    Reghu
    null

    Hi Ravi,
    Thank you for your kind support
    That issue has been solved. Problem was with the event queue and only for that particular job i mentioned in the first post (I was able to create other jobs with different Events using the same queue) . After recreating the event queue i am able to create the same job. I got the same error when I tired to drop the queue, and then I dropped the queue table itself. Do you have any idea about what might had caused the issue?
    Thanks
    Reghu

  • HT201289 Aperture keeps 3.6 on Yosemite keeps going "non responsive" while trying to create a new vault or back up to an existing vault. Any help would be great.

    Aperture keeps 3.6 on Yosemite keeps going "non responsive" while trying to create a new vault or back up to an existing vault.
    Any help would be great.

    Where is your vault stored? Is it on a drive with the correct formatting - MacOS Extended (Journaled)?

  • TS3297 the 'none' payment option is not displayed in the preferred payment method while trying to create an apple id?

    While trying to create a new apple ID, I do not see the option of 'NONE' payment.  Only the VISA and MASTERCARD options are displayed.  What is the reason?

    Welcome to the Apple Support Communities, Joseph
    http://support.apple.com/kb/ht2534

  • Getting an exception while trying to create a territory

    Hi All,
    I got a dump while trying to create a territory using tcode crmm_terrman. The dump was in program CRM_TERRMAN_READ_EMP_OF_POS saying NO_ACTIVE_PLVAR Found Exception. Request you all to please guide me in finding the reason behind this dump.
    Regards
    Mandeep

    Hi All,
    The dump was coming because there were empty postitions created in the org structure.
    Regards
    Mandeep

  • Game room doesn't work, as it tries to save nickname and hangs while trying to save nickname info

    Game room doesn't work, as it tries to save nickname and hangs while trying to save nickname info

    From my understanding, trying to save apple server specific attributes on Active Directory users in the WGM will not work unless the AD schema has been extended to include these attributes.
    What you can do in leopard server is to export the list of AD users in WGM and then import them into open directory in WGM.
    From my testing the open directory will automatically authenticate with AD for those imported users. You can save Apple server attributes on those imported users.
    Message was edited by: Kwong Kian Tew

Maybe you are looking for

  • SQL developer 100% CPU utilization

    SQL dev: ver 1.5.1 - 5440 Win xp SP3 on a Dell dual core laptop, 2Gs ram All options in Code insight disabled. This is sporadic. I open sql dev up and don't open any connections or workbook or files. And it just sits there, 100% on one of the CPU's,

  • Catch the process id number in unix

    With my java program I run command in Unix. This application I start in background (nohup start.sh &). How can I catch the process ID number of my application? I use next string for code: String command[] = {"/bin/sh", "-c", "/bin/" + command, "/bin/

  • Solaris 10 NFS client and readdir

    I have a Solaris 10 u5 client that mounts a directory using NFS from a Mac OS X server. The mount works fine and programs and tools such as /bin/ls, etc work ok. However, several programs that I have that use the readdir (or readdir_r) library calls

  • Strange error message in DW CS4

    auto is not one of the standard values for this CSS property. Use it anyway? this appears when I open Page Properties menu. If you click yes 4 or 5 times it goes away. Anyone seen this? I'm also having lots of crashes and general bad behavior. Are ot

  • Satellite A200-TH7 - Windows Explorer is not responding

    On random occasions (normally when I wake up the PC), and I click the volume control in the taskbar, nothing will pop up. Then I'll go to move the physical volume control slider and nothing will happen. However, at that point, I'll try to click anywh