Socket timeout ?

Hi all !
I'm using Tomcat (5x) as Application Server on Windows2003 and non SSL HTTP as connector .I need to increase socket_timeout parameter but I don't know where it is ?
Thanks for any help !

Hi,
Please ask that in a Tomcat forum. It isn't really related to programming.

Similar Messages

  • Invoking web service from OBIEE11g failed socket timeout

    Hi,
    I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
    An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
    Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
    I have checked several parameters in WebLogic admin console and changed those values, but I still receive the same error.
    Invoking the same web service from SOAPUI sustains for more than 60 secs.
    Regards,
    Fujio Sonehara

    Don't be too surprised. Sun figured this bug out in short order. I got the same error message when trying to do the same thing, just for the heck of it. Reference this article for details.
    http://java.sun.com/webservices/docs/ea2/jaxrpc/ReleaseNotes.html
    It contains information about bugs fixed in the WSDP EA2. So in answer to your question, download the newer pack from
    http://java.sun.com/webservices/downloads/webservicespack.html
    and your bug will go away. Happy Coding.
    Legal Problems?
    Legal Solutions, for a lot less than you might think.
    [email protected]
    http://www.prepaidlegal.com/go/pritchard45

  • Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report

    I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
    Info:
    Running on XP/Cygwin.
    All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
    I've placed the flexunit4 task in my ant/libs folder.
    I'm getting two errors...
    I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
    [flexunit] Waiting for client connection ...
    (about a minute later)
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    Plus this is the error I get from the flash player:
    ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
    I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
    Any help appreciated. I think I'm just setting it up all wrong.
    Screencap of errors:
    http://twitpic.com/l7ay8
    build.xml:
    http://gist.github.com/20804

    Finally got everything working using the files from the CI Example which what i probably should have done in the first place.
    So a rough guide for anyone just starting out with this:
    Download the Flex 4 'workspace' from the digital primates hudson server . This appears to contain flexunit library and examples in various stages of development.
    I used Flex Builder 4 Beta 2 to set up my Test Suite and Test Cases.
    I then loaded the libs folder from:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject
    into my flex project's libs folder:
    this includes:
    FlexUnit4.swc
    FlexUnit4CIListener.swc
    flexUnit4UIRunner.swc
    flexTasks.jar
    flexUnitTasks.jar
    I didn't need to remove the FlexUnit4 stuff that is 'referenced' automatically by flash builder when you start adding flexunit4 tests/suites.
    Then I used a modified version of the TestRunner.mxml found in:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject\src\test\flex
    The lines to pay attention to are the ones that look like:
    static public function currentRunTestSuite():Array {
        var testsToRun:Array = new Array();
        testsToRun.push(packagename.TestSuiteName);
        testsToRun.push(packagename.TestClassName);
        return testsToRun;
    Just make sure you update this list to include all of the test suites &/or individual tests you want to run.
    I made this a static function and modified the code in the "FlexUnitApplication.mxml" file to use this function so i'd only need to update one list of suites/tests.
    FlexUnitApplication.mxml is generated automatically when you run FlexUnit4 tests in the Flash Builder 4 Beta 2 IDE.
    This is the build.xml file I'm using in the project:
    http://gist.github.com/208211
    Change the name of the project from "Flare" to whatever and adjust the other path settings where required (though you might want to write this from scratch at least once so you understand roughly what is going on).
    The Debug Flash Player must be installed on the server otherwise you'll get a:
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    ...while it waits for the non-existant debugger to attach. (This is obvious but I did forget and was a bit bewildered for a moment)
    Need to also ensure the environment variable:FLEX_HOME is set to the location you installed the flex sdk...by editing your .bashrc setting the environment variable the in the Hudson Configuration.
    You'll need to point Hudson at your ant installation and your jdk installation. If you downloaded he sdk, be aware you might need to point it to the jdk folder inside the place you installed the sdk.
    And I think that's all the problems I had. Hope it's useful to someone... if anyone who actually knows what they are doing can point out any potential issues/better ways of doing things, feel free to comment.
    Thanks to Brian (legrosb) and Mike (mlabriola) for their assistance!

  • Socket timeouts while downloading huge amount of mails..................

    Problem Statement:
    I have created a utility(using JavaMail API) which downloads mails from the Exchange Server 2003(MS Windows server 2003) using IMAP service.
    The utility uses 5 different threads(each creating it's own separate IMAP session) to download the mails from the same user mailbox account. A separate main controlling thread has been used, which feeds these 5 threads with the start-end message counts with a batching of 100 messages. The 5 threads also set the message delete flag after downloading/processing the messages. And finally the main controlling thread expunges the mail box account after a certain amount of time(1 hour). (The service also takes care of expunging the messages at the startup as well.)
    The utility runs fine for a long time(say 8 to 10 hours) but then it suddenly starts giving socket timeout exceptions and then it continues giving the exceptions. I even introduced a delay of 15 min. and increased the socket timeout period but to no avail. All i had to do was to restart the exchange server and after some time, i again started the utility and it worked finely.
    Exception stack trace:
    * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out;
    nested exception is:
    com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:477)
    at javax.mail.Service.connect(Service.java:275)
    at com.newgen.omni.mail.mswrapper.MailServerWrapper.connect(MailServerWrapper.java:102)
    at com.newgen.omni.mail.mswrapper.MailServerWrapper.<init>(MailServerWrapper.java:33)
    at com.newgen.omni.mail.scheduler.Scheduler.Process(Scheduler.java:352)
    at com.newgen.omni.mail.scheduler.Scheduler.run(Scheduler.java:293)
    at com.newgen.omni.mail.scheduler.Scheduler.execute(Scheduler.java:1026)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    Caused by: com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    at com.sun.mail.iap.Protocol.handleResult(Protocol.java:299)
    at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:316)
    at com.sun.mail.imap.protocol.IMAPProtocol.login(IMAPProtocol.java:290)
    at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:517)
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:458)
    ... 8 more
    The code snippet to make the IMAP connection (all the 6 threads call it separately to create separate sessions):
    Properties prop = new Properties();
    logger.debugMsg("mailCapture :: Process :: Initializing IMAP context...");
    prop.put("mail.imap.appendbuffersize","-1");
    prop.put("mail.imap.allowreadonlyselect","true");
    prop.put("mail.imap.separatestoreconnection","true");
    prop.put("mail.imap.partialfetch","false");
    prop.put("mail.imap.connectiontimeout", "1200000");
    prop.put("mail.imap.timeout", "1200000");
    session = Session.getInstance(prop);
    //session.setDebug(true);
    logger.debugMsg("mailCapture :: Process :: Get Store...");
    store = session.getStore("imap");
    try
    store.connect(mailServerInfo.strServerIP, Integer.parseInt(mailServerInfo.strServerPort), mailServerInfo.strUsername, mailServerInfo.strPassword);
    catch(MessagingException ex)
    logger.logException(ex.getMessage(), ex);
    Thread.sleep(900000);
    throw ex;
    I have tried with session debugging as well when the exceptions started coming(restart the service with session debugging true) but it doesnt give me any information worthwhile, either the utility stucks on the store.connect or otherwise if it connects then it stucks while opening the folder while using (sourceMailAccountFolder.open(Folder.READ_WRITE);) and doesn't move any further.
    NOTE: While the IMAP service is throwing socket time out exceptions, at the same time I am able to access my account using the http://<ip>/exchange/administrator and the server machine cpu and memory usages are very low as well. I am also having a separte utility which uploads mails using smtp and it is also working fine and uploading the mails whilest the imap utility is throwing the socket timeout exceptions.......
    Please help on this as i am not able to resolve it myself.....................

    Can simultaneously uploading the mails through smtp affect the imap performance(and hence the javamail).
    Note: The mailbox size is over 200000 mails when it started giving exceptions.
    When the socket timeout exceptions came(i have experienced them for the last three days), i was still able to send mails using smtp and the telnet also working fine and even without any delays, infact as i said, the utility sometimes connects but then fails, while using sourceMailAccountFolder.open(Folder.READ_WRITE); giving socket timeout errors and then dnt go any further.
    Right now i have stopped the smtp uploading the mails(for the first time) but still the javamail takes a long time(variable) to connect to the server and the mail body and attachment accessing speed is also a little slow, will see and post back, if the socket timeout exceptions come again.
    Note: My aim is to download more than some 250000 mails within a day through javamail, whilest i am simultaneously uploading them using SMTP.
    My other survice, using SMTP pumps in messages within a loop.

  • Error BEA-101083 Socket Timeout

    Hello, we have a WebLogic Server 8.1 SP2 and we found the following error:
    <Dec 12, 2005 3:33:32 AM CET> <Error> <HTTP> <BEA-101083> <Connection failure.
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1cc2438 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
    at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    Any idea?
    Thanks

    As lot fo people we have the same problem.
    But I have still not found a concreate solution.
    ####<08-May-2006 10:02:36 o'clock CEST> <Error> <HTTP> <quatro> <WlsAdm> <ExecuteThread: '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-101083> <Connection failure.
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@8db03f0 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
         at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(Lweblogic/time/common/Schedulable;)V(SocketMuxer.java:799)
         at weblogic.time.common.internal.ScheduledTrigger.run()Ljava/lang/Object;(ScheduledTrigger.java:243)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Optimized Method)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally()V(ScheduledTrigger.java:229)
         at weblogic.time.common.internal.ScheduledTrigger.execute(Lweblogic/kernel/ExecuteThread;)V(ScheduledTrigger.java:223)
         at weblogic.time.server.ScheduledTrigger.execute(Lweblogic/kernel/ExecuteThread;)V(ScheduledTrigger.java:50)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(Optimized Method)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
    >

  • FlexBuilder 3 - Profiling - Socket Timeout

    I'm working on a desktop AIR application and it's time to do
    some profiling. However, I cannot get the profiler to work and I
    feel like I've tried
    everything. I've seen evidence of others having this
    problem, but have yet to find a solution that works for me.
    When I launch the application with the profiler, the
    application launches and works ok. But in the FlexBuilder console,
    I see a "Socket timeout." message repeat on occasion. I never see
    the extra popup window that's supposed to allow me to configure the
    profiling session.
    I use Windows Vista and have no firewalls or anti-virus
    running. Here are things I tried:
    Uninstalling the Flash Player and FlexBuilder. This upgraded me
    from 3.0 to 3.0.1. No change.
    Changing the port from 9999 to a few different port numbers.
    Installing a fresh copy of FB3 on a Windows XP laptop I have.
    It shows the same messasge!
    Thinking it may be something in my project, I created a new
    very simple project and still got the error.
    So, no firewalls and a brand spankin' new installation of
    FlexBuilder (with the Flash player that comes with it) in two
    totally different environments. I'm running out of ideas to try,
    but the app really needs some profiling.
    Can anyone give me some ideas?

    Adobe Newsbot hopes that the following resources help you:
    Broadcast and media:
    In Flex Builder, you add the compatibility-version compiler
    option to the Additional ..... Applications are not compatible with
    signed framework RSLs.
    Link:
    http://www.adobe.com/go/gntray_ind_broadcast_media
    mikemo » What to do if Flex Builder says,
    “Installed Flash Player:
    If you have installed Flex Builder, and when try to debug you
    get an error message that says “Installed Flash
    Player is not a debugger,” or if the Flex
    Link:
    http://www.morearty.com/blog/2006/06/30/what-to-do-if-flex-builder-says-installed-flash-pl ayer-is-not-a-debugger/
    Flex 3:Feature Introductions:Flex 3 RSLs - Adobe Labs:
    The signed RSL may have been put into the Flash Player Cache
    by visiting ... To use RSLs in Flex Builder, modify the project
    properties by adding RSL
    Link:
    http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:Flex_3_RSLs
    Flex developer, Campbell Anderson, from New Zealand - xsive
    blog:
    Mar 25, 2008 ... Right click the flash player instance in the
    browser… yep its the latest player ... Is anyone
    out there using RSLs yet? or the profiler?
    Link:
    http://blog.xsive.co.nz/archives/269
    Flex 3:Release Notes - Adobe Labs:
    3.4.1 Uninstalling Flex Builder 3.4.2 Uninstalling Flash
    Player ..... SDK-12685 There is an issue where the line number of
    an error is completely wrong,
    Link:
    http://labs.adobe.com/wiki/index.php/Flex_3:Release_Notes
    Disclaimer: This is an automated post from Adobe Newsbot.
    Newsbot tries to help forum users by analyzing their post and
    suggesting helpful links.

  • Weblogic invoking web service failed due to socket timeout

    Hi,
    I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
    An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
    Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
    I have checked several parameters by WebLogic admin console and changed those values, but I still receive same errors.
    Regards,
    Fujio Sonehara

    Hey Eason,
    As I had previously mentioned, I have checked the FE server certs and have mentioned the signing algorithm it used to sign the certs, which was sha1DSA and not sha1RSA, I even checked my CA list of issued certs and have found all certs are signed the same.
    Signature algorithm: sha1DSA
    Signature Hash Algorithm: sha1
    Public Key:  RSA (1024 bit)
    I could run request and reinstall all day long it will still get the same certs signed with the algo..
    Doing some research I attempted to see if I could change the signing cert for a specific cert template that was being used to issue the Lync FE certs... however seems that from according to
    this, that I'd have to completely rebuild my CA before I'd be able to request and issue a cert with the proper signing algorithm?!
    This
    says its possible but not supported, what do I do in this situation? Is my only option to rebuild teh entire CA and cert infrastructure?
    I noticed my CSP is set to Microsoft Base DSS Cryptographic Provider, and under the CSP folder there is no "CNGHashAlgorithm" key so I'm using a "Next Gen CSP" apparently? Is this CSP good enough to support Lync...Straight up where is
    the Lync documentation on the CA setup requirements??
    This google link doesn't tell you how you should setup a CA for Lync, what settings need to set etc..

  • Weblogic9.2mp3 - socket timeout exception

    we are seeing this with 9.2mp3
    Nothing has changed in the application . Could it be a network or testing tool issue (this happens only during perf tests)
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1da4942:Socket[addr=/192.168.98.11,port=43659,localport=8001] - idle timeout: '60000' ms, socket timeout: '120000' ms', in the configured timeout period of '60' secs
         at weblogic.socket.SocketMuxer$TimerListenerImpl.timerExpired(SocketMuxer.java:950)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    It could be due to the configuration of the application on 9.2mp3? As you said that this is happening during perf testing, did you check the threadpool size for the application? May be there are not enough threads to accept the load during the perf tests.
    I would suggest putting in a optimal value based on your load for the application threadpools and then check if the issues re-appears.
    Thanks,
    Patrick

  • WebService Socket Timeout Exception before reaching timeout duration

    Hi
    My Server is Websphere Application Server 6.0.2.17
    i got some times socket timeout exception before reach timeout duration. and also i have only default websphere settings for web service .
    The exception is occurred in 19 seconds after hitting the service . i am not able to get the exact problem . because default timeout time is 300 seconds (i think like that)
    Error Log
    2/12/09 11:01:28:323 CET 00000f6a SystemOut O WebService Started --> Begin webservice method invocation (Method Name : getCustomerInfo(String cusID))
    2/12/09 11:01:47:840 CET 00000f6d SystemOut Exception Occurred : java.net.SocketTimeoutException: Socket operation timed out before it could be completed
    WebService Method Invocation Started time 11:01:28
    WebService Timeout exception raised time 11:01:47
    TimeoutDuration 00:00:19

    Hi Mark,
    with synchronous messages it is important to consider timeouts from each connection to be established. So soapUI-PI, then PI-BackendSystem plus anything that might be in between. If your timeout soapUI-PI is smaller than the following ones, you'll get that phenomenon. soapUI will cut the connection, but PI will hold it and maybe receive an answer from the backend. This answer will end up in the void, since the original requester (your soapUI) has already disconnected. But for PI, this will be OK and status "successful". PI does not control and monitor the client's connection.
    In other words, the cancel of the connection is only performed for that same connection, it is not propagated to any subsequent connections.
    Hope that I was clear enough,
    Jörg

  • Socket timeout on Mac

    Hello,
    I am trying to run the flexunit ANT task on a Mac but keep getting the following error.
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    "Socket timeout waiting for flexunit report"
    I see the test runner launch in Flash Player but then nothing else happens after that.  I'm assuming FlexUnit isn't able to communicate with flash player but at this point i am not sure how to remedy the problem.
    Does anyone have any suggestions on how to get flexunit and ANT working on a Mac?
    Thanks.

    Thanks for the help so far.  I am using the RC1 SWCs.  I've also tried different ports but that didn't help either.  The flexUnit.cfg file is getting created.
    This is what my flexunit task looks like (defined in a macro)...
                <flexunit swf="@{bin.dir}/@{mxml.name}.swf" toDir="@{report.dir}"
                    player="flash"
                    headless="true"
                    haltonfailure="false"
                    verbose="true"
                    localTrusted="true" />
    And here is my build output...
    [flexunit] Using the following settings:
    [flexunit]     haltonfailure: [false]
    [flexunit]     headless: [true]
    [flexunit]     localTrusted: [true]
    [flexunit]     player: [flash]
    [flexunit]     port: [1024]
    [flexunit]     snapshot: [false]
    [flexunit]     snapshotFile: [---/controller/controller-shell/report/snapshot.jpg]
    [flexunit]     swf: [---/controller/controller-shell/bin/ControllerTestRunner.swf]
    [flexunit]     timeout: [60000ms]
    [flexunit]     toDir: [---/controller/controller-shell/report]
    [flexunit]     verbose: [true]
    [flexunit]     xcommand: [xvfb]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] OS: [Mac OSX]
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Launching player:
    [flexunit] Executing 'open' with arguments:
    [flexunit] '---/controller/controller-shell/bin/ControllerTestRunner.swf'
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit] Created local trust file at [/Users/arumsey/Library/Preferences/Macromedia/Flash Player/#Security/FlashPlayerTrust/flexUnit.cfg]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    ---/controller/build/macros.xml:64: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report

  • Open socket timeout error

    Sometime I can write to the local shared variable through data socket. But sometime cannot. Even though, I still can read/write through shared variable monitor.
    The error is in the open socket, said connect to peer timeout. I set timeout to 10s or left blank both not work.
    I am using 8.2.1 on vista. The computer has 2 lan ports.
    I met almost same case long time ago. I solved it by diable NETBIOS and one of the lan port.
    This time, I disabled netbios already. But in vista, seems not able to disable the other lan port.
    Any suggestion?

    hi turbot,
    I had same problem of timeout error.just check if system Firewall is on or off if it is on then make it off and then run the program.i don't know how much this will help you,it helped me.
    GAK
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • Socket Timeout when reading from post stream

    I get the following error when a servlet tries to read an object from the post stream.
    Is there a way to set any timeout values on, say a socket, or static variable on
    any weblogic SocketImpl..?
    Appreciate any help.
    Thanks-
    Rama
    java.io.InterruptedIOException: Read timed out
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:86)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
    at java.io.ObjectInputStream.read(ObjectInputStream.java:1835)

    Was successful in setting the duration parameter in the HTTP tab of the server.
    However, when accessing the app (servlet) via iPlanet proxy, it still fails. I have
    to check on similar settings on that side.
    Do you have hints for me ?
    Thanks for your posting, Dave.
    Rama
    "Dave Martin" <[email protected]> wrote:
    >
    Rama:
    Try changing the Post Timeout Secs option under the HTTP tab for your server
    in the
    WebLogic Admin console. You could bump out the Duration on the HTTP connection
    while
    you're at it. Not sure if these will have a side effect on what you want
    to change,
    but worth a shot.
    "Rama Raghavan" <[email protected]> wrote:
    I get the following error when a servlet tries to read an object from the
    post stream.
    Is there a way to set any timeout values on, say a socket, or static variable
    on
    any weblogic SocketImpl..?
    Appreciate any help.
    Thanks-
    Rama
    java.io.InterruptedIOException: Read timed out
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:86)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
    at java.io.ObjectInputStream.read(ObjectInputStream.java:1835)

  • Mxmlc 3.6 Socket.timeout undefined property

    Hi,
    I decided to dive into and get dirty with Flex and ActionScript. Downloaded flex_sdk_3.6.0.16995A.zip from Adobe site, extracted it, added to my path and started coding away.
    I am trying to compile an ActionScript class with mxmlc in Linux (Ubuntu 10.04).
    In my class I use a socket, and I try to set the timeout property, however it gives me a compile error.
    Here is the class that's giving me the problem (I have left only the relevant code for clarity):
    package
      import flash.net.*
      import flash.events.*
       public class Socks4Sock
            private var sock: Socket;
            public function Socks4Sock(host:String, port:int):void
              sock = new Socket();
              sock.timeout = 5000;
    I get the following error during compilation:
    mxmlc Socks4Sock.as
    Loading configuration file /opt/flexsdk/frameworks/flex-config.xml
    /var/www/example/Socks4Sock.as(14): col: 16 Error: Access of possibly undefined property timeout through a reference with static type flash.net:Socket.
              sock.timeout = 5000;
    I am not sure what I am doing wrong. It seems according to the documentation, that timeout property is supported in AS3.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/Socket.html#t imeout
    This is the mxmlc version I am using:
    mxmlc -version
    Version 3.6.0 build 16995
    Any help would be greatly appreciated!

    Thanks for the quick and consise reply. I tried that argument  and gave me "command line: Error: unknown configuration variable 'player-version'"
    Howerver, following up on the same idea, I searched and found out it's '-target-player'
    This is the argument I used:
    mxmlc -target-player=10 Socks4Sock.as
    That worked. Once again, thanks.

  • How to control socket timeout

    I have an application that connects to a ftp server. After some time that the user doesn�t do anything, I get a timeout message. I set socket.setSoTimeout(0) but I still get the message. I keep the connection to the ftp server open all the time.
    It should be better to open and close every time ? the user needs to access a lot of times to the ftp server, but maybe he can stay some time without having to access it (here is when I got the message "No Transfer Timeout (300 seconds): closing control connection").
    How can I control, before sending a command to the ftp server, if it happens this to do another connection ?
    Thanks !

    hehe, i've had the same problem many times, let the ftp client alone for a while, and then you got to write your name and password again...
    i guess the server wont let you change its properties. don't know the tcp commands that could get it.
    and about doing something every minute, well, it works for you, but the timeout has ist causes, and it is not nice to use the server and the net resources fon nothing.
    my advice, just make the user interface of your client nice, and if if gets disconnected because timeout, just wait till the user wanna do somethingm and then connect again without asking for his/her password and login, nor ftp address...
    so the user wont be annoyed, nor the server.

  • JAVA SOCKET TIMEOUT WHEN GENERATING PDF TO ADS SERVER

    We are currently getting the error when attempting to generate the PDF from the thin portal BI Reports and recieved the JAVA SOCKET READ TIME OUT error and
    applied adjustments to the notes
    934725 and 826419 by changing the timeout sessions to 300, but still get the same timeout errors:
    Note: We changed ADUSER user type and password, passed rpcData test, RFC HTTP external connections to ADS server...so we've came a long ways and here we are now with the timeout errors...
    Any ideals???

    Hi
    when you reset password please select checkbox for password never expires.
    see the following notes :
    1.Note 944221 - Troubleshooting if problems occur in forms processing
    2.Note 811342 - Time Out exception when rendering to Adobe document service
    thanks
    Gopal

  • UDP socket timeout

    when i am running my application using jre1.3 it is working fine. tcpdump captured on server of the same is below: (this is correct)
    13:01:37.428071 192.168.232.23.52794 > 192.168.233.22.aims_router: udp 21 (DF)
    13:01:37.431597 192.168.233.22.aims_router > 192.168.232.23.52794: udp 12 (DF)
    where as when i am running my application using jre1.4 it is working not working. tcpdump captured on server of the same is below: (this is not correct)
    12:53:16.028002 192.168.232.23.52762 > 192.168.233.22.aims_router: udp 16 (DF)
    12:53:16.031922 192.168.233.22.aims_router > 192.168.232.23.52762: udp 9 (DF)
    12:53:16.032002 192.168.232.23 > 192.168.233.22: icmp: 192.168.232.23 udp port 52762 unreachable [tos 0xc0]
    12:53:23.032577 192.168.232.23.52764 > 192.168.233.22.aims_router: udp 16 (DF)
    12:53:23.036566 192.168.233.22.aims_router > 192.168.232.23.52764: udp 9 (DF)
    12:53:23.036629 192.168.232.23 > 192.168.233.22: icmp: 192.168.232.23 udp port 52764 unreachable [tos 0xc0]
    12:53:30.036143 192.168.232.23.52764 > 192.168.233.22.aims_router: udp 16 (DF)
    12:53:30.039451 192.168.233.22.aims_router > 192.168.232.23.52764: udp 9 (DF)
    12:53:30.039525 192.168.232.23 > 192.168.233.22: icmp: 192.168.232.23 udp port 52764 unreachable [tos 0xc0]
    i searched in google for this i got one link
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6204940
    so based on this URL I tried with jdk1.4.2_08(b03), still the problem exists.
    it is greatful if any one gave the solution for this problem.
    regards,
    Radha

    I have already done a simple UDP chat application that worked perfectly on the LAN.
    And i executed the same application across the Internet, using the IP address found on whatismyipaddress.com
    And the application was able to send messages to the other end. And there was no packet loss, as i was trying to send small messages such as Hello, Hi etc. thats all.
    When i tried the same thing using TCP, i wasn't able to connect to the other system, and i got SocketException : Timeout Exception..
    The logic of the TCP application,
    // Server part
    1. Create a ServerSocket object.
    2. Accept an incoming client.
    3. Run a thread to accept message, and print it in some text field.
    4. And a send button action event, that converts the string to bytes, and send it across.
    // Client part
    1. Create a socket, to connect to the other system.
    2. Run a thread to accept message, and print it in some text field.
    3. And a send button action event, that converts the string to bytes, and send it across.

Maybe you are looking for

  • How to Fix a font of the List in SAP INDOX

    Hi All,   I working on report where i need to send the document in txt file to the SAP Inbox for the User specified in the Selection Screen of the report. I used FM : SO_NEW_DOCUMENT_SEND_API1 which send a document in txt file. I am getting the docum

  • Collect message into internal table

    Hi, does any one knows how BAPIs or CALL TRANSACTIONs collect messages into internal table. My problem is that some BI with CALL TRANSACTION doesn't collect right message into return table and I would like to collect this last message after CALL TRAN

  • Sign In and Sign Out

    Hi I purchased itunes match the other evening and i am unable to add my computer, i am using a macbook pro with os lion. When ever i try and add it tells me to sign out then sign in. This continues to happen and i am yet to be able to add the compute

  • Creating rows in select query

    Hi, I have a column in my query that controls the number of times that row needs to be returned by the query ... For eg with test as ( select 'abc' as col1 , '123' as col2 , 1 as numtimes from dual UNION ALL select 'def' as col1 , '456' as col2 , 2 a

  • Transport of sap queries report with variants

    We created an ABAP Query report (it is system generated report). We created Z transactions to which we attached generated report. We added Z transaction, User group & infoset in transport & transported same to quality system. For some transactions re