FormServer Listener Die in HTTP Mode after number of connections

dear otn members
I try the form6i server in Socket mode, the same machine can handle 50+ connections and still work well in both NT and Linux environment.
When turn to HTTP mode. The Server listener die in NT with message "form server can not alocate memory" followed by Dr. Waston. In Linux, the message is "no enough read buffer". I guess this is because of the HTTP port read buffer is not enough in NT also.
Please help.

Make sure you always completely drain and close the http stream after you use it. You may find that some phones won't behave properly if you do not. Maybe something like this...
if (myStream != null){
          try{
               int readInt = myStream.read();
               while (readInt != -1){
                    //do nothing: just keep draining the stream
                    readInt = myStream.read();
          }catch(Exception eDrain){
               //who cares: we're closing it anyway
          try{
               myStream.close();
          }catch(Exception e2){
               //who cares: must have closed itself somehow
}Edited by: hooble on Apr 18, 2008 9:02 AM

Similar Messages

  • FormServer6i Listener Die in HTTP Mode after number of connections

    dear otn members
    I try the form6i server in Socket mode, the same machine can handle 50+ connections and still work well in both NT and Linux environment.
    When turn to HTTP mode. The Server listener die in NT with message "form server can not alocate memory" followed by Dr. Waston. In Linux, the message is "no enough read buffer". I guess this is because of the HTTP port read buffer is not enough in NT also.
    Please help.
    null

    Make sure you always completely drain and close the http stream after you use it. You may find that some phones won't behave properly if you do not. Maybe something like this...
    if (myStream != null){
              try{
                   int readInt = myStream.read();
                   while (readInt != -1){
                        //do nothing: just keep draining the stream
                        readInt = myStream.read();
              }catch(Exception eDrain){
                   //who cares: we're closing it anyway
              try{
                   myStream.close();
              }catch(Exception e2){
                   //who cares: must have closed itself somehow
    }Edited by: hooble on Apr 18, 2008 9:02 AM

  • HT201263 it is in recovery mode. after Recovery carried out it seems it can not be reproduce it says eoror number 1

    it is in recovery mode. after Recovery carried out it seems it can not be reproduce it says eoror number 1

    Try and restore it 2 more times. If you continue to get error 1 (or -1), that indicates a hardware failure. Make an appointment at the genius bar.

  • FRM-92050 error when trying to open form after switching to HTTP mode

    Hi all,
    Yesterday, I installed Oracle Applications 11i on Red Hat Enterprise Linux ES 4 and forms were working correctly in the default mode, which is native (socket). Following steps 4 and 5 in [Doc 201340.1|https://metalink2.oracle.com/metalink/plsql/f?p=130:14:6398415066875997204::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,201340.1,1,1,1,helvetica], I enabled HTTP mode, and now my forms are not working. When I open a form now, I get this error:
    FRM-92050: Failed to connect to the Server: /forms/formservlet:-1
    Details...
    Java Exception:
    java.io.IOException: Negative content-length from http://...
    I've searched MetaLink and the forums for this error and all the results I found deal with HTTP headers or cookies being corrupted, usually by an intermediate networking device (web proxy, web cache, SSL accelerator, etc.). I am not using anything of the sort - the client is connecting directly to the Oracle server.
    I checked the Apache error log and this is what I see:
    [Thu May 14 09:10:28 2009] [error] [client 10.11.1.114] client denied by server configuration: /work/oracle/viscomn/java/java
    [Thu May 14 09:10:28 2009] [error] [client 10.11.1.114] client denied by server configuration: /work/oracle/viscomn/java/java
    [Thu May 14 09:10:33 2009] [error] [client 10.11.1.114] File does not exist: /work/oracle/viscomn/java/oracle/forms/icons/oracle_logo_light.gif
    [Thu May 14 09:10:33 2009] [error] [client 10.11.1.114] File does not exist: /work/oracle/viscomn/java/oracle/forms/icons/oracle_logo_light.gif
    [Thu May 14 09:10:34 2009] [error] [client 10.11.1.114] File does not exist: /work/oracle/viscomn/portal/VIS_gen1-cs49/forms/formservlet
    [Thu May 14 09:10:34 2009] [error] [client 10.11.1.114] client denied by server configuration: /work/oracle/viscomn/java/oracle/ewt
    [Thu May 14 09:10:34 2009] [error] [client 10.11.1.114] client denied by server configuration: /work/oracle/viscomn/java/oracle/ewt
    [Thu May 14 09:10:34 2009] [error] [client 10.11.1.114] File does not exist: /work/oracle/viscomn/java/oracle/ewt/alert/resource/AlertBundle_en_US.properties
    I don't like the look of those "client denied by server configuration" messages. What's also odd is that the two files referenced by those messages do not exist on the file system:
    [oracle@gen1-cs49 logs]$ cat /work/oracle/viscomn/java/java
    cat: /work/oracle/viscomn/java/java: No such file or directory
    [oracle@gen1-cs49 logs]$ cat /work/oracle/viscomn/java/oracle/ewt
    cat: /work/oracle/viscomn/java/oracle/ewt: No such file or directory
    Any ideas? Are there any other logfiles I should be checking?

    First, login to System Administrator responsibility, then navigate to Concurrent > Manager > Administer > Processes > Internal Manager LogAh, OK - I was able to open the form and I see a table of managers and services and whatnot, and I see an entry for "Internal Manager", but I don't see any way to view the log. I even tried opening the details of the "Internal Manager" entry and the only button there is "Diagnostics".
    Search for VIS_*.mgr -- Sorry for the typo!Ah, that would explain it. Here are the contents of the correct logfile:
    [oracle@gen1-cs49 VIS_gen1-cs49]$ cat VIS_0514.mgr
    ========================================================================
    Starting VIS_0514@VIS Internal Concurrent Manager -- shell process ID 4314
    logfile=/work/oracle/viscomn/admin/log/VIS_gen1-cs49/VIS_0514.mgr
    PRINTER=noprint
    mailto=oracle
    restart=N
    diag=N
    sleep=60 (default)
    pmon=20 (default)
    quesiz=1 (default)
    Routine &ROUTINE has attempted to start the internal concurrent manager. The ICM is already running. Contact you system administrator for further assistance.afpdlrq received an unsuccessful result from PL/SQL procedure or function FND_DCP.Request_Session_Lock.
    Routine FND_DCP.REQUEST_SESSION_LOCK received a result code of 1 from the call to DBMS_LOCK.Request.
    Possible DBMS_LOCK.Request resultCall to establish_icm failed
    The Internal Concurrent Manager has encountered an error.
    Review concurrent manager log file for more detailed information. : 14-MAY-2009 11:06:48 -
    Shutting down Internal Concurrent Manager : 14-MAY-2009 11:06:48
    List of errors encountered:
    _ 1 _
    Routine AFPCSQ encountered an ORACLE error. .
    Review your error messages for the cause of the error. (=<POINTER>)
    List of errors encountered:
    _ 1 _
    Routine AFPCAL received failure code while parsing or running your
    concurrent program CPMGR
    Review your concurrent request log file for more detailed information.
    Make sure you are passing arguments in the correct format.
    The VIS_0514@VIS internal concurrent manager has terminated with status 1 - giving up.

  • Iphone 6 plus struck in recovery mode after update to 8.1

    iphone 6 plus struck in recovery mode after update to 8.1
    i updated my iphone 6 plus to 8.1 from 8.0.1 and its struck in recovery mode.  inspite of restoring it again and again i get error 53.. im struck in the recovery loo. kindly help me..

    Hello arunmuthuvel,
    The article linked below details a whole host of information and a number of troubleshooting steps that can help get your iPhone restored.
    Resolve iOS update and restore errors in iTunes
    http://support.apple.com/en-us/HT201210
    Cheers,
    Allen

  • Plz Help, i downloaded ios8 on my 5s and it went to recovery mode after clicking installation.then downloaded by itunes and loaded but cant find my apple ID as i forgot everything. the phone is useless and cant be activated. wot can i do????plz help

    Plz Help,
    the last night  i downloaded ios8 on my 5s and it went to recovery mode after clicking installation.
    then downloaded the ios8 using itunes and loaded but cant find my apple ID as i forgot everything.
    the phone is useless and cant be activated. wot can i do????plz help

    Apple has a number of ways to help you find your Apple ID and password:
    https://iforgot.apple.com/appleid
    If you forgot your Apple ID password
    Apple ID: Contacting Apple for help with Apple ID account security

  • My iphone 5 is stuck in recovery mode after battery change?

    my iphone 5 is stuck in recovery mode after battery change, I decided to change my faulty iphone 5 battery as i was out of warrenty, I managed to chance the battery with no problems (I Think), when i put the phone back together and tried to power on with the power button, nothing happened.!  i connected to itunes and it powered on, displaying the connect to itunes screen (recovery mode) all was going well, the phone was restoring, the image of the phone restoring and loading up was displayed on the screen, when it finished it restarted but to show the connect to itunes screen again, it is stuck in the recovery loop. i tried the steps with holding the power and home button etc, none worked.! now when i try to restore, it extracts software but then, ' the iphone could not be restored, an unknown error occured (3194)' comes up, any ideas out there???? and Happy Christmas to Everyone ,

    Hello Andyoneill9,
    It sounds like you are trying to restore your phone but keep getting an errror message 3194. I want to recommend the troubleshooting steps from this article named:
    Error 3194 or "This device isn't eligible for the requested build"
    http://support.apple.com/kb/ts4451
    Resolution
    Important: If you see one of these messages and need help updating or restoring your iOS device, Install the latest version of iTunes and try to update or restore again. After that, follow these steps if you need more help.
    Check your "hosts" file
    After you've updated iTunes to the latest version, you can check the hosts file to be sure your computer can contact the update server. Use the numbered steps below if you’re on a Mac.
    If you’re using a Windows computer, follow steps in this Microsoft support article, noting that resetting the hosts file will affect software services that rely on hosts file redirects. If you're using Windows on a business computer, consult your IT department to be sure applications will still work correctly after resetting the hosts file.
    In the Finder, choose Applications > Utilities.
    Open Terminal.
    Enter this command and then press Return:
    sudo nano /private/etc/hosts
    Enter the password you use to sign in to your computer and press Return. You won't see text appear in the Terminal window when you enter the password. Make sure you use a nonblank administrator password.
    Terminal will display the hosts file. Navigate using the arrow keys and look for an entry containing “gs.apple.com”.
    Add the # symbol and a space ("# ") to the beginning of the gs.apple.com entry.
    Press Control-O to save the file. Then, press Enter when prompted for the filename and Control-X to exit the editor.
    Restart your computer.
    Try to update or restore your iOS device again.
    This is the first troublehsooting step to try, so there are additional things to try if needed you need them.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • After attempting to update to ios 7, my iphone is stuck in recovery mode and will not connect to the itunes software server.

    After attempting to update to ios 7, my iphone is stuck in recovery mode and will not connect to the itunes software server.  I have already tried the resetting with power swich and home button and plugging into computer but it says the "iPhone software update server cannot be contacted."  I am locked out of my phone.  Does anyone have any idea how to resolve this issue and get the phone working again.  I will add that I am now trying to restore it on a different computer with a lower version of itunes, but the computer that it initially happened on had the updated itunes and gave me the same result ... nothing.  Thanks for your help in advance.

    Try going to recovery mode as described here.  You may have to try this more than once to succeed.
    Use the original iTunes that the iPhone synced with.
    http://support.apple.com/kb/HT1808

  • My IPhone 4S keeps entering recovery mode after few hours

    Hi,
    I bought a new IPhone 4S from 12/2011. The first month of usage is fine but after I plug it into Itunes in my PC, problems start to appear. The phone keeps entering recovery mode (screen with itunes logo and USB cable) after a few days. Not long later, it automatically goes into recovery mode after 4-5 hours or randomly. I tried to hold the power with home button to kick it out but it goes back to recovery mode again after few hours. The following issues are also detected:
    - Sometimes there is a blue horizontal line appear when device is rebooting with Apple logo.
    - Any apps other than Apple's default apps cannot be accessed (tap the icon and it gets kick out to the home screen).
    - A yellow screen is often seen and then device goes back to recovery mode by itself.
    - 2 to 3 out of 10 attempts holding home and power buttons can get it out of recovery mode while 7-8 times this does not help.
    I even use Itunes on PC to recover the phone as new Iphone. I went through all the settings as a new phone but the problem still persists.
    I thought this is minor software issue but after seeing all these behaviors, I suspect this may a hardware-related problem.
    Did anyone experience this problem before?
    Cheers.

    iPhone User Guide
    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these Steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step... Be sure to make an appointment first...

  • Help! ipad stuck in recovery mode after itunes error 6

    so I was gonna update my ipad 3 from 6.1.2 I think, to 7.0.4 but I got the error 6 in itunes. now my ipad is showing the connect to itunes symbol and itunes wants to restore my ipad, which I wouldn't wanna if there was any chance to get it out of that frickin mode. I've tried anything I could find on the internet, like several tools such as tiny umbrella, redsn0w, ireb (which said my device wasn't supported cause of the A5) etc. but after rebooting the connect to itunes comes on again.
    so if there is any method left that might work for me, pleeeease help me   
    a restore is the last thing I wann do, of course I have a backup and so on but it takes so much time to get all my stuff back on and everything

    Once the Device is asking to be Restored with iTunes... it is too late to save anything...
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • PRS-T1: Sleep mode after 1 min

    Hi,
    the problem I'm experiencing with my PRS-T1 is that it automatically enters sleep mode after 1-2 minutes of inactivity (rather than after 10 minutes, as stated in the User Guide). It happens even when the battery is, or almost is, fully charged. It is pretty annoying at times as I'm often still reading that page. Is there any solution to this problem? Thanks!
    P.S. I had the latest firmware already preinstalled when I bought my PRS-T1

    Hello and welcome to the User Discussion Forum.
    This is very unusual for the PRS-T1 Wifi reader to enter sleep mode after 1-2 minutes of inactivity. Please contact Sony support directly for service options.
    http://esupport.sony.com/US/p/select-sy ... OR=CONTACT

  • Iphone stuck in emergency mode after downgrade from 4.0.2 to 4.0?

    iphone stuck in emergency mode after downgrade from 4.0.2 to 4.0?
    Upgraded to 4.0.2 last night. Immediately, itunes would no longer detect my iphone. Decided I had to downgrade back to 4.0 again. Learned I cannot do that easily, so i found a .ipsw file of firmware 4.0 online, and downloaded it. Started up my iphone attached to itunes in restore mode, held down shift, and clicked restore button. Successfully restored the 4.0 file I had downloaded.
    At the first boot, it was stuck in emergency mode. I even tried to restore the default itunes backup after that, it was still stuck in emergency mode.
    Anyone know how i fix this iphone? I have no interest in jailbreaks, i am in a 2 year contract with AT&T.

    omg, it just fixed itself! i installed a brand new itunes on my laptop (which has never had itunes app before)
    plugged in my iphone, it detected it right away and said "activated"! my phone is working again and has its phone number back.
    now i did notice that the 4.0 is indeed slow, so i do want to try going back to 3.1.3 also.

  • HT1212 my iphone is locked in iphone recovery mode after I restored it and now I get an unknown error (3004)

    my iphone is locked in iphone recovery mode after I restored it and now I get an unknown error (3004)

    http://support.apple.com/kb/TS3694#communication

  • Listen for Full Screen mode

    I have a FLVPlayer with a skin on stage and I want to listen for the player going into full screen mode when the skin's fullscreen button is clicked. And I want to listen for it going back to normal but I think that is easy enough, I just listen for the escape key, I think. How do I do that?

    not the browser
    im using a stand alone swf player
    Date: Mon, 9 Apr 2012 09:05:51 -0600
    From: [email protected]
    To: [email protected]
    Subject: Listen for Full Screen mode
        Re: Listen for Full Screen mode
        created by kglad in Action Script 3 - View the full discussion
    you should not try and control a user's browser window.  but, if you insist, you'll need to use javascript.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4322220#4322220
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4322220#4322220. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Action Script 3 by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Forms with OC4J instance runs in http mode, Y?

    I don't want my forms to run in http mode - http://fulham:8889/forms/frmservlet.
    Can someone help in making me run it in forms itself
    I have Enterprise server 9i and forms 10g running on my local machine. At the initial stages, it says about about not being started. Ok, I had to simulate forms in run time by starting an OC4J instance but it now runs in http mode.
    Is there a way around this? Has anyone come across this?
    many thanks in advance
    cube60

    What's the alternative you're looking for?
    If it is HTTPS to secure the communication - yes that's possible
    If it's a plain socket connection in stead of HTTP - I think Oracle dropped that after version 6i, but I'm not 100% sure.
    If it is traditional client-server - Oracle dropped that after version 6i.
    So, please explain what is you want.

Maybe you are looking for