URLConnection.getOutputStream() hang when applet displayed a second time

This is happening on Linux using the 1.31_02 plugin.
My applet uses a URLConnection object to get information from a servlet. This method is in it's own thread, and is periodically called to keep the display of the applet up to date.
The second time the applet is displayed (navigate away from the page and then return), the applet hangs in the method URLConnection.getOutputStream().
Note that this only happens on Linux browsers, it's fine on Windows.
Is there any way to programatically force a reset on the URL? The only way I have been able to recover is to restart the browser.
Thanks.

I am having similar problem with URLConnection.getOutputStream() that hangs in Mozilla 1.2.1 browser when it tries to write to linux server. It never creates this object outputStream = new BufferedWriter( new OutputStreamWriter(connect.getOutputStream())); System.out.println before this line shows but the one after does not show at all. Can you help? I am using Java plug-in 1.3.1_02. I would appreciate any help.

Similar Messages

  • Scroller not appearing in the popup when opened for the second time

    Hi,
    I have a popup window which has three tabs A, B, and C. My tab A has BorderContainer > Scroller > Vgroup
    When opened for the first time, I can see the scroller. But , when opened for the second time, the scroller does not appear and the content in th Border container seems truncated.
    Please help.

    No answers, but I may be seeing something similar.
    I'm converting a project from Flex 3 to 4. In a popup (Spark TitleWindow) I have a some TabNavigators. On subsequent openings of the popup, the contents of the navigator children don't always render. After some changing of various Halo components to their Spark equivalents, I thought the problem had gone away. But the problem seems to have come back.
    In my case, I'm not sure if the "subsequent opening" is the key issue. Sometimes, the contents of nested TabNaviagtor children don't render on the first opening. although the first child content always renders. But the problem seems to increase in subsequent openings. (I.e. more children of TabNavigators don't render.)
    Perhaps not connected, but I notice when this happens, the outside borders of dataGrid components don't render in components outside of TabNavigators. I suspect there's a simple thing I need to to do to fix this, but I haven't found it. Any hints or insights would be welcomed.

  • HT2341 When I first attempt to power on my MacBook Pro, the LED blinks but the MBP doesnt turn on. However when I try a second time the LED blinks but my Mac turns on. Is this a problem with the hardware and can it be fixed?

    When I first attempt to power on my MacBook Pro, the LED blinks but the MBP doesnt turn on. However when I try a second time the LED blinks but my Mac turns on. Is this a problem with the hardware and can it be fixed?
    Also, I apparently have to replace my battery. Could the problem have any relevance to a dead battery?

    Have you held the power button down for 10+ seconds?  That should turn it off.
    Ciao.

  • URLConnection getOutputStream hangs

    Hi,
    I have an application using applet to servlet communication,the https communication is established by URLConnection.However after certain time of communication the applet just hangs at getOutputStream .without any error or exception.
    The environment is JRE 1.4.2_07 and Tomcat with SSL enabled.I spent lot of time tracking this bug but could not find any answer.Any help or ideas are appreciated.
    Thanks.

    I want to bring to your notice that getOutputStream() hangs or blocks only for https but works fine with http,also not during start of applet but after changing the applet state.I assume it may not be the problem from URLConnection may be the applet looses the https authentication during state change and hangs in connect or getOutputStream().we are considering to move to HttpClient but not sure if its going to resolve this problem.Any ideas ar appreciated.
    many thanks.

  • IE hangs when applet closed - need to use taskman

    I am fairly new to java and have been working on an application that interfaces a commercially available webserver with a 8 bit microcontroller. The micro communicates with the webserver via RS-232 but the applet gets the info through ethernet.
    My problem is that when the applet is waiting for data using the following code, if the browser is closed(IE) IE hangs and requires using the taskman to terminate the program. If the browser is closed in any other condition it shuts down normally. What can I do to get this process to terminate correctly?
    Thanks in advance.
    while ( (gtp != null) && (count <= 42) ) {     
          if (gtp.available() > 0){
         in = gtp.receive();
         // store received board disc status bytes
              for (i = 0; i < in.length; i++) {
                   if (board[count] != in[i]-48)
                        iMove_loc = count;     
                   board[count] = in[i]-48;
                   count = count +1;          
    }

    That's a very tight loop, hogging the CPU all the while. Time for a redesign, to be sure, to get it to be 'notified' when data is available rather than polling like that. Or at least throttle down the polling quite a bit by introducing sleeps.
    Also, I hope that loop is in a separate thread from the applet's main thread.
    When you shut down IE, the applet's stop/destroy methods will be called - at which point you should 'notify' the code being executed in that loop that it's time to get out.

  • WLS hanger when calling EJB in second WLS

    Hello,
    I have a very strange problem I need to track down. The scenario is as follows:
    WLS6.1 SP3/Solaris 2.8
    One WLS containing an EJB A (stateless session) that has Trx=Required on method_A,
    the second WLS that has an EJB B deployed (stateless session) that has Trx=NotSupported
    on method_B. Now I call in a client method_A of EJB A, which calls method_B of
    EJB B. This works fine.
    Now I install the second WLS on an different machine (same OS=solaris), and repeat
    above scenario. The result is that I am able to call method_A of EJB A, which
    calls method_B of EJB B. But after I return from method_B/EJB in EJB A, I hang
    in EJB A/postInvoke.
    From the thread dump I see the following:
    "ExecuteThread: '46' for queue: 'default'" daemon prio=5 tid=0x7c20c0 nid=0x35d
    waiting on monitor [0xdb0f000..0xdb0fdc0]
    at java.lang.Object.wait(Native Method)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:1970)
    at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:1899)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:220)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:272)
    at com.csg.pb.tit.tdc.cptypay.ejb.CounterpartyPayPathBean_43jp4t_EOImpl.routeCif(CounterpartyPayPathBean_43jp4t_EOImpl.java
    at com.csg.pb.tit.tdc.cptypay.ejb.CounterpartyPayPathBean_43jp4t_EOImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    How canI find out what is going on?
    Thanks
    Juerg

    I am getting the same exception about an assertion failed at weblogic.t3.srvr.T3Srvr.checkServerLock. Any ideas?

  • When downloading Firefox, the second time I click run I do not get the set up wizard and Firefox won't install on my PC. Why?

    When I first click download and run, It takes about 2.5 minutes to download the program. It then prompts me to click run again, but this time instead of taking me to the Wizard as it says it will, it processes for about 2 seconds and all prompts go away without installing Firefox.

    Hi sahgin,
    The issue eventually resolved itself, I still don't really know why. I kept up with Windows update, and attempted downloading iTunes again from the Apple website, and it just... worked. It now works fine. I don't know why it took approximately 4 months to work, though.
    I'm sorry I don't have any more helpful information. Posting here was my last resort, and clearly Apple never bothered to reply.

  • SPIMport is throwing error when import .aspx file second time onwards

    Hi,
    when I am trying to import already existing file (second import) the import is throwing error  -
    Error: Value does not fall within the expected range.
     [ListItem]   Debug:    at Microsoft.SharePoint.SPFieldMap.GetColumnNumber(String strFieldName, Boolean bThrow)
       at Microsoft.SharePoint.SPListItemCollection.GetRawValue(String fieldname, Int32 iIndex, Boolean bThrow)
       at Microsoft.SharePoint.SPListItem.GetValue(SPField fld, Int32 columnNumber, Boolean bRaw, Boolean bThrowException)
       at Microsoft.SharePoint.SPListItem.GetValue(SPField fld, Int32 columnNumber, Boolean bRaw)
       at Microsoft.SharePoint.SPListItem.get_Item(Guid fieldId)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, ISurrogateSelector selector)
     Verbose: Performing final fixups.
     Progress: Import completed.
     Finish Time: 2/5/2015 4:37:25 PM.
     Duration: 00:18:41
     Total Objects: 5
     Finished with 0 warnings.
     Finished with 1 errors.
    I am unable to debug also. Though import is happening successfully. Thanks in advance

    Hi
    Use another forum for Webdynpro questions: Web Dynpro ABAP
    BR, Sergei

  • A ERROR when I run VL01N second times, why?

    when I click "post goods issue" in vl01n, the order saved success, but when I re-enter vl01n and re-input this order number, the system display "No devivery-relevant items in order 0000000008, order type OR, message no.VL455, why?  why system display this error message

    hi
    once you PGI was done after that you cannot create the delivery again
    if you want to delivery partially you need to maintain changes in the copying control from sales doc to delivery doc and in item category also you need to maintain corresponding settings for exces delivery and under delivery
    if the system is giving message take the help of ABAPer
    regards
    srini

  • Report priview not responding when I click refresh second time.

    Post Author: Ranjit
    CA Forum: Publishing
    Hi All
    I've replaced a file created in crystal report 9 which was using XML as data source with a crystal report 10 file without using XML.
    Report is previed through a .net application. When I run the report first time it comes up properly. But if I click refresh button in the same window, report hangs and processes show  2 processes for this report.
    Does crystal report previewer open a separate process for each preview?
    Can any one please direct my investigation?
    Ranjit

    Post Author: Ranjit
    CA Forum: Publishing
    Problem narrowed down.
    Now when I launch the report for first time and click refresh without scrolling preview or clicking preview, it hangs up.
    If I click on the preview or scroll before clicking refresh, report comes up properly every time I click refresh.
    Please share your experiences to help me out.
    Ranjit

  • Sequence of inputText boxes getting misaligned when page is rendered second

    Hi All,
    I'm facing an issue where the inputText boxes on my page get's misaligned when the page is rendered second time.In my application i'm selecting a product and adding it to my cart.Then on doing checkout, for the guest users, registartion page(jspx) is rendered.When i click "cancel" button on registration page then i'm redirected to select another product and follow the same flow.But when registration page is rendered second time the sequence of inputText boxes gets changed.For example
    Sequence when Page is rendered First time
    FirstName
    Middle Name
    LastName
    MobileNo
    When page is rendered second time
    First NAme
    LastName
    Mobile No
    Middletname
    All these textBoxes are in a <af:panelForm .
    Please suggest a solution.I'm using 10g.

    <af:regionDef var="contacts">
    <af:panelForm labelWidth="16%" maxColumns="2" rows="4" width="100%"
    partialTriggers="compId335 tdnothercheckbox compId333 compId328 compId349 compId334 compId355">
    <af:selectOneChoice id="compId351" value="#{bindings.MM.inputValue}"
    inlineStyle="width: 125px"
    binding="#{typeChange.mr_msSelecOneChoice}"
    rendered="true" immediate="true"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    label="#{messageBean['REG_MM']}">
    <f:selectItems value="#{bindings.MM.items}"/>
    </af:selectOneChoice>
    <af:inputText id="compId335F"
    label="#{messageBean['FIRST_NAME']}"
    immediate="true"
    inlineStyle="width: 125px" maximumLength="50"
    required="#{!IdtypeChange.tdnRegPprFlag}"
    value="#{bindings.FirstName.inputValue}"
    validator="#{ValidationsBean.FirstNameValidator}"
    binding="#{IdtypeChange.firstNameInputText}"/>
    <af:inputText id="tdncompId336"
    label="#{messageBean['MIDDLE_NAME']}"
    inlineStyle="width: 125px" maximumLength="50"
    value="#{bindings.MiddleName.inputValue}"
    validator="#{umValidationsBean.MiddleNameValidator}"/>
    <af:inputText id="compId337"
    label="#{messageBean['LAST_NAME']}"
    inlineStyle="width: 125px" maximumLength="50"
    immediate="true"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    value="#{bindings.LastName.inputValue}"
    validator="#{umValidationsBean.LastNameValidator}"
    binding="#{RegistrationIdtypeChange.lastNameInputText}"/>
    <af:inputText id="compId338"
    label="#{messageBean['EMAIL_ADDRESS']}"
    immediate="true"
    inlineStyle="width: 125px" maximumLength="100"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    validator="#{umValidationsBean.emailValidator}"
    value="#{bindings.EmailAddress.inputValue}"
    binding="#{RegistrationIdtypeChange.emailInputText}"/>
    <af:inputText id="compId339"
    label="#{messageBean['ALTERNATE_EMAIL']}"
    maximumLength="100"
    validator="#{umValidationsBean.emailValidator}"
    value="#{bindings.AlternateEmail.inputValue}"/>
    <af:inputText id="compId343"
    label="#{messageBean['MOBILE_PHONE']}"
    immediate="true"
    inlineStyle="width: 125px" maximumLength="10"
    value="#{bindings.CellPhone.inputValue}"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    validator="#{ValidationsBean.MobileNoValidator}"
    shortDesc="Enter 10 digit mobile number."
    binding="#{RegistrationIdtypeChange.mobNoInputText}"/>
    <af:inputText id="compId342"
    label="#{messageBean['UM_HOME_PHONE']}"
    inlineStyle="width: 125px" maximumLength="10"
    value="#{bindings.HomePhone.inputValue}"
    shortDesc="Enter 10 digit phone number.for e.g. 0224283738."/>
    <af:inputText id="compId344"
    label="#{messageBean['UM_WORK_PHONE']}"
    inlineStyle="width: 125px" maximumLength="10"
    value="#{bindings.WorkPhone.inputValue}"
    shortDesc="Enter 10 digit phone number.for e.g. 224283738."/>
    <af:selectOneChoice id="compId349"
    value="#{bindings.IDType.inputValue}"
    inlineStyle="width: 125px"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    immediate="true" autoSubmit="true"
    label="#{messageBean['UM_REG_IDTYPE']}"
    valueChangeListener="#{RegistrationIdtypeChange.ChangeIdType}"
    binding="#{RegistrationIdtypeChange.idTypeSelecOneChoice}">
    <f:selectItems value="#{bindings.IDType.items}"/>
    </af:selectOneChoice>
    <af:inputText id="compId3499" inlineStyle="width: 125px"
    immediate="true"
    binding="#{RegistrationIdtypeChange.other_Id_Type_InputText}"
    value="#{bindings.OtherDocType.inputValue}"
    label="#{messageBean['REG_OTHER_IDTYPE']}"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    partialTriggers="compId349"
    rendered="#{processScope.OtherId=='true'}"></af:inputText>
    <af:inputText id="compId350" immediate="true"
    value="#{bindings.IDInformation.inputValue}"
    inlineStyle="width: 125px"
    label="#{messageBean['REG_IDINFO']}"
    binding="#{RegistrationIdtypeChange.idInfoInputText}"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}">
    <af:validator binding="#{bindings.IDInformation.validator}"/>
    </af:inputText>
    <af:selectInputDate id="compId352"
    inlineStyle="width: 125px"
    value="#{bindings.BirthDate.inputValue}"
    label="#{messageBean['REG_BIRTHDATE']}"
    required="#{!IdtypeChange.tdnRegPprFlag}"
    immediate="true"
    validator="#{ValidationsBean.DateofBirthValidator}"
    binding="#{RegistrationIdtypeChange.dobSelectInputdate}">
    <!-- <af:validator binding="#{bindings.BirthDate.validator}"/> -->
    <f:convertDateTime pattern="#{bindings.BirthDate.format}"/>
    </af:selectInputDate>
    </af:panelForm>
    <af:inputHidden id="compId348"
    value="#{bindings.ContactVO1ModId.inputValue}"/>
    </af:regionDef>
    </jsp:root>
    this is a region included in my main page Registration.jspx

  • Recently my ipad started doing an odd thing.  When I go to Google the keyboard pops up, but then pops down again, when I touch the google bar the second time it comes up and stays up.  Why would it do that, anything to do about it?

    Recently my iPad started doing an odd thing.  When I go to Google and touch to type something the keyboard appears, but immediately disappears.  When I touch the second time the keyboard comes up and stays up.  Any idea why it is doing that and anything to do about it?

    Did you try rebooting the iPad? It can cure a lot of really simple little hinky issues.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • First time orignal print , second time Duplicate print

    Dear All ,
    my requirment is whenever i am printing (F.62) customer invoice first time then it must show Orignal print.
    and when i am printing second time and onwords it should print Duplicate Invoice.
    What should be logic ?
    Point is assured **************

    Check NAST table. It will store the print details... reading NAST table you can display ORIGINAL or DUPLICATE Invoice.
    Regards,
    SaiRam

  • Photoshop Touch crashes after selecting "Wrap" tool for the second time

    As title says, when selecting "wrap" tool for the second time, Photoshop Touch crashes. It doesn't matter which images and even after reboot and clearing all the RAM, it constantly crashes only when selected for the second time. I'm using this on Galaxy Note 2 so it really shouldn't have issues with RAM or Processing power. I'm not quite sure about other tools but it should be looked into and hopefully more stable version will be release soon!
    Thank you
    Device: SGH-T889 T-Mobile Galaxy Note 2

    Hi,
    We just released an update that should take care of that issue.
    thanks,
    Ignacio

  • How to start LSMW second time

    Hi
    i have created a lsmw with periodic processing option and it working fine.
    if i want to upload the data second time where do i need to start.
    ddo i need to open the project and object and create the session one more time and then process the session..
    what is the procedure to start when we are doing second time
    Thanks in advance
    Kiran

    Hi Kiran,
    If You are using the same project,SP,Object. No issues. Run the LSMW from the first step, save all the steps. 7th step dont forget to give the new flat file for uploading. There will be a new BI session created and run the BI.
    All the Best
    Reward Points if Useful
    Regards
    Gokul

Maybe you are looking for