SSLListenThread: Problem acception connections

Hi
- we are testing weblogic510sp1 on Solaris 7.
- Our load balancer, F5 BIGip, performs a simple service check every 10
seconds, attempting to establish a connection to the specified services
running on this server, 80 and 443. F5 calls this "tping".
whenever the F5 checks SSL, weblogic throws an IOException.
I was hoping sp1 would fix this, since "ISSUE 9731: Fixed an IOExecption in
SSL "
any ideas?
Thu May 11 11:48:19 EDT 2000:<D> <SSLListenThread> Problem accepting
connection
java.io.IOException: End of input
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at weblogic.security.SSL.SSLSocket.useV2Hello(SSLSocket.java:1269)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:515)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(Compiled Code)
at weblogic.socket.JVMSocketManager.accept(Compiled Code)
at weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(Compiled
Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
- Christian

Unfortunately, without knowing what exactly the F5 product is trying to do
in terms of SSL, we cannot really know what is going wrong.
In the simplest case, this may be innocuous because the IO exception that
you're getting is that they are opening a connection and once it is
available, they are closing it without making a request. That is my guess
as to what is going on.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Christian Boehnke <[email protected]> wrote in message
news:8felkl$g5b$[email protected]..
Hi
- we are testing weblogic510sp1 on Solaris 7.
- Our load balancer, F5 BIGip, performs a simple service check every 10
seconds, attempting to establish a connection to the specified services
running on this server, 80 and 443. F5 calls this "tping".
whenever the F5 checks SSL, weblogic throws an IOException.
I was hoping sp1 would fix this, since "ISSUE 9731: Fixed an IOExecptionin
SSL "
any ideas?
Thu May 11 11:48:19 EDT 2000:<D> <SSLListenThread> Problem accepting
connection
java.io.IOException: End of input
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at weblogic.security.SSL.SSLSocket.useV2Hello(SSLSocket.java:1269)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:515)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(Compiled Code)
at weblogic.socket.JVMSocketManager.accept(Compiled Code)
atweblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(Compiled
Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
- Christian

Similar Messages

  • Error Message "The Remote device or resourse wont accept connection, not set up to accept connection from port https"

    I get this error message when trying to open and log into an online casino "The Remote device or resource wont accept connection, not set up to accept connection from port https".
    I am on a desktop computer my connection to the net is with a USB Virgin Mobile hotspot device.
    I also have issues with some downloads not installing right for instance SKYPE wont work. If the problems are related I don't know
    Thanks

    Starting in Firefox 14, Firefox will guess an address and place it in the address bar (AutoFill feature). If you have ever connected to the site using a secure (HTTPS) connection, then Firefox will try to connect security to the address suggested by the AutoFill feature. To work around this you can:
    * Edit the address to force Firefox to interpret your entry literally. For example, if there is a trailing / you can remove it.
    * Turn off the URL bar AutoFill feature and just use the AutoSuggest drop-down.
    * Clear Firefox's memory of the site so it doesn't default to a secure connection (however, this also removes any bookmarks you have to pages on the site).
    To disable the in-address-bar autofill without losing the suggestions that appear below the bar:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''autofill''' and pause while the list is filtered
    (3) Double-click '''browser.urlbar.autoFill''' to toggle it from true to false. You're done with about:config and you can close this tab.
    "Forget about this site" will clear cache, history, bookmarks, and permissions for the site, and probably any saved certificate. There are two ways to get to this:
    * History > Show All History, right-click an entry for the site > "Forget about this site"
    * Type or paste about:permissions in the address bar and press Enter, then select the site from the list on the left side, and click the "Forget about this site" button on the right side
    Depending on the size of your history and cache, this may lock Firefox up for a minute or two while everything is cleansed.

  • Problem in connectivity with database

    Hi anyone,
    I have installed Oracle-8i database and Developer-6i in Windows-95. I am facing the following problem in connectivity:
    In the connection dialogue box, I enter user/passwd as scott/tiger and host string as odbc:polite. I am getting an error message "OCA-30002 ubofscr function not supported".
    In schema builder, table1 is the default name of a new table created. On renaming the table name, I am getting the error message:
    "OBE-15467: Name already in use. Please choose another name"
    whereas no such table name exists in the database.
    If table1 is accepted as the new table name, I am encountering another error message:
    "OBE-15361: Error in creating primary/unique constraint for table1. [POL-5228] message file is not loaded".

    Please use CODE tags when posting code. You are losing some of the plus signs of string concatenation to the forum's formatting beast.
    Preferred solution: Don't use Access as a database. The JDBC-ODBC bridge is always troublesome.
    If you must use Access...
    Well the message is easy enough to understand: it can't find the database db1.mdb.
    You say you put db1.mdb in the web directory. Obviously the computer is not looking there (silly computer for not looking where you put the file)
    So it is up to you to be smart and tell the computer exactly where to go.
    Using application.getRealPath("/db1.mdb") in place of "db1.mdb" will probably work in a JSP.
    String databaseURL = accessDBURLPrefix  + application.getRealPath("/db1.mdb") +  accessDBURLSuffix;cheers,
    evnafets

  • Problem in connecting remote server using Applet?

    Hello everybody,
    I am facing problem in connecting to remote server using Applet in browser. I am using JDK 1.5.0_12 and running the application on apache 2.2.
    Firstly I have tried with simple jar file which could not connect to remote server and throws permission denied than now I am trying with signed jar file but also not working. I have changed the java.policy file of JDK in server with grant all Permission but also it throws "java.security.AccessControlException:access denied(java.net.SocketPermission 127.0.0.1:1521 connect, resolve)".
    Can anybody suggest me how to solve this problem?
    Thank You.
    -Ritesh

    >
    I am facing problem in connecting to remote server using Applet in browser.
    Firstly I have tried with simple jar file which could not connect to remote server and throws permission denied than now I am trying with signed jar file but also not working. >Were you prompted to accept the digitally signed code? To see what I mean, check out the [Defensive loading of trusted applets demo|http://pscode.org/test/docload/]. If you are not getting the prompt, or refused it, follow the link to sandbox.html for tips on how to proceed.

  • IWS 6.0 Error accepting connection -5994

    Any idea about the reason of the following error on iPlanet Web Server 6.0 on Solaris 7:
    Error accepting connection -5994,oserr=130 (Software caused connection abort)
    Thank you.

    Hi Chris,
    Thanks so much for the link. It provided me with more information on the problem. However, for my case, the error could not be ignored as my users were affected.
    Everytime the error appeared in our log, it seems that one of my users will get a blank browser page or the browser stops loading.
    Anyway, I increased some of the kernel parameters, mainly those dealing with threads and open files and the error code has now changed! :-(
    Its now:
    failure (10054): Error accepting connection -5974, oserr=233 (Insufficient resources)
    Note the error code 10054 , when previously, the error code was 14597. We've just started seeing the errors and waiting to see if any users are affected.
    Any idea where I can more information on these error codes?

  • How do I set up Mozilla to accept connections on port "The World Wide Web service (HTTP)"?

    When attempting to embed a video in PowerPoint 2013, the message "Sorry we are having some temporary service issues" appears.
    In researching the problem at Microsoft. com, the following message was received: Mozilla is not set up to accept connections on port "The World Wide Web service (HTTP)."

    Hmm... PowerPoint should use Windows to connect to the internet and not Firefox.
    Which method are you using?
    (1) Insert > Video > Online Video
    Apparently there was an update this month that enables this, as described in this support post (see top Answer just after the question): [http://answers.microsoft.com/en-us/office/forum/office_2013_release-powerpoint/embedding-online-you-tube-video-in-powerpoint-2013/0bc00dde-420c-4c6a-bd47-3fb105ce40fc Embedding online you tube video in powerpoint 2013 - Microsoft Community]
    Here's how it should work after the update: [http://office.microsoft.com/en-us/powerpoint-help/insert-or-link-to-a-video-on-youtube-HA104192855.aspx Insert or link to a video on YouTube - PowerPoint]
    (2) Developer > More Controls > Shockwave Flash Object
    As documented on other sites, such as: https://www2.palomar.edu/pages/atrc/2013/09/17/how-to-embed-youtube-video-in-powerpoint-2013/

  • Problems to connect with my iPhone 5 to my wi-fi

    Hi,
    i have problems to connect to my wi-fi with my new iPhone 5.
    I didn't have the problems before, with my 3GS.
    What is the problem? Did i have to change something in my settings?

    Does your iPhone see your Wi-Fi network and accept the network password, if you're using a password?
    Is Wi-Fi grayed out on your iPad?
    If it isn't grayed out, this Apple doc is a good place to start -> iOS: Troubleshooting Wi-Fi networks and connections

  • Error accepting connection

    Hello,
    I have developed an application tha uses struts and tiles in the web tier and a stateless session bean in the app tier.
    This is a simple applicaton where the user logs in, and then some information is
    gathered about the user from a database in a data transfer object through a data
    access object . This is also a very simple query, and I make sure that I have no open
    connections or cursors after I am done with the query.
    What happens is that sometimes (its random) when I look at the server log, I see this message:
    SEVERE: HTTP3069: Error accepting connection (Connection reset by peer)
    There is nothing else but this, and I think it is an http error, but I am lost because I cannot find out why. All my jsps use this tile:
    <%@ page language="java" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="Connection" content="Keep-Alive">
    <meta http-equiv="Cache-Control" content="no-store">
    <meta http-equiv="Pragma" content="no-cache">
    <link rel="Stylesheet" type="text/css" href="/css/ess_styles.css">
    <link rel="Stylesheet" type="text/css" href="/css/calendar-win2k-1.css">
    <script type="text/javascript" src="/javascript/calendar.js"></script>
    <script type="text/javascript" src="/javascript/lang/calendar-en.js"></script>
    <script type="text/javascript" src="/javascript/calendar-setup.js"></script>
    <title><!-- Omitted --></title>
    </head>
    <body leftmargin="0" topmargin="0" bgcolor="#154594" marginheight="0" marginwidth="0">
    <table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="700">
    <tbody><tr><td><tiles:insert attribute="header"/></td></tr>
    <tr><td><tiles:insert attribute="body-content"/></td></tr>
    </tbody></table>
    <script type="text/javascript">
    function dateChanged(calendar) {
    if(calendar.dateClicked) {
      // redirect ...
      window.location = "getCalendarStubs.do?time=" + calendar.date.getTime();
    Calendar.setup(
       flat         : "calendar-container",  
       ifFormat     : "%s",                          // the date format
       align        : "T1",
       weekNumbers  : false,                         // Displays week numbers
       range         : [2002, 2008],                    // Range of years that can be viewed
       showsTime    : false,                         // Boolean to display time
       timeFormat   : "24",                              // Time format
       showOthers   : true,                              // Displays overlapping days from previos month
       electric     : false,
       flatCallback : dateChanged          
    </script>
    <map name="Footer"><area shape="rect" coords="3,7,62,28" href="http://highpoint.state.nj.us/feedback.html" alt="Contact Us" title="Contact Us"><area shape="rect" coords="73,7,156,27" href="http://highpoint.state.nj.us/privacy.html" alt="Privacy Notice" title="Privacy Notice"><area shape="rect" coords="165,8,257,26" href="http://highpoint.state.nj.us/legal.html" alt="Legal Statement" title="Legal Statement"><area shape="rect" coords="263,7,396,28" href="http://highpoint.state.nj.us/accessibility.html" alt="Accessibility Statement" title="Accessibility Statement"></map>
    <map name="Header"><area shape="rect" coords="59,6,111,25" href="http://highpoint.state.nj.us/" alt="New Jersey Home Page" title="New Jersey Home Page"><area shape="rect" coords="120,6,288,25" href="http://highpoint.state.nj.us/intranets/" alt="New Jersey State Departments and Agencies" title="New Jersey State Departments and Agencies"><area shape="rect" coords="295,6,352,25" href="http://njdirect.state.nj.us/" alt="NJ Direct"><area shape="rect" coords="359,6,515,25" href="http://www.state.nj.us/faqs/index.html" alt="FAQ"></map>
    </body></html>Can anyone please give some insights on this matter. Thank you in advance.

    Christophe Damoy wrote:
    Hello,
    I work with [iPlanet-WebServer-Enterprise/4.1SP7 BB1-04/05/2001 ] on
    Solaris 8 with
    LDAP V4.13
    Sometime I have this message in my error log file :
    [18/Oct/2001:17:21:11] failure (16050): Error accepting connection -5971,
    oserr=
    24 (PR_PROC_DESC_TABLE_FULL_ERROR)
    The result, is my server do not work. I must stop/start to resolve this.
    What can I do ? I try to increase number of file descriptor from 64 to 512,
    and
    in admin server accept 128 connections at the same time but I have also the
    problem.
    Thank for your helpIncrease your FDs to at least 1024.
    Joe McCabe There's a group of people that worship the number zero.
    AOLScape These days nothing's sacred.

  • FMS 3.0 stops accepting connections after 1-3 days, restart required

    Hi,
    We have a custom application that is running on FMS. Server is dedicated  just for fms, there is only one application running on the server, with  more instances, average traffic is 3-15 simultaneous users. The problem  is, server suddenly stops accepting connections (after 1-3 days from  restart), from this point it is impossible to connect to any instance,  and fms server must be restarted. When the server crashes, the admin  console can see all open instances, can close instances, can restart  fms. There is nothing logged, that would explain this sudden failure.
    Second problem is, cores are connected and disconnected too often,  causing client to reconnect (takes 2-5 seconds).
    Do you have any idea what is causing these problems?
    Hardware: 4 x quadcore Intel(R) Xeon(R) CPU E7440 @ 2.40GHz, 32 GB ram
    OS: CentOS release 5.3 (Final), kernel: 2.6.18-128.4.1.el5
    cpu and mem usage: 1-5% max
    FMS:
    version: Adobe Flash Media Server 3.0.1 r123
    license: valid, unlimited
    configuration: default, changed in Application.xml:
        <AutoCloseIdleClients enable="true">
    - just communication throught objects, strings, int, shared objects
    - no streaming used
    - Mbits in/out: 50/350 (48 hours from restart)
    - Msgs in/out/drop: 4.000.000/21.000.000/0 (48 hours from restart)
    - no problems with connection, no lags
    LOGS:
    admin.log
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2009-10-07    00:03:30    4816    (i)2581242    Core (8684) disconnected :  _defaultRoot_:_defaultVHost_:::_1.    -
    2009-10-07    00:03:31    4816    (i)2581241    Connection to admin received.    -
    2009-10-07    00:03:31    4816    (i)2581243    Connection from core 10772 received.    -
    2009-10-07    00:03:31    4816    (i)2581244    Connection from core 10772 accepted.    -
    ... repeating (10 minutes - 1 hour period)
    master.log
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2009-10-07    00:03:31    24962    (i)2581223    Core (8684) is no longer active.    -
    2009-10-07    00:03:31    24962    (w)2581256    Core (8684)  _defaultRoot_:_defaultVHost_:::_1 experienced 1 failure[s]!    -
    2009-10-07    00:03:31    24962    (i)2581221    Core (10772) started, arguments :  -adaptor "_defaultRoot_" -vhost "_defaultVHost_" -app  -inst  -tag "_1"  -conf "./conf/Server.xml" -name "_defaultRoot_:_defaultVHost_:::_1".    -
    ... repeating (10 minutes - 1 hour period)
    edge.log
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2009-10-07    00:03:08    24982    (w)2641213    Connection rejected by server.  Reason : [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) :  Application (doodletoostats) is not defined.    -
    2009-10-07    00:03:30    24982    (i)2581250    Edge disconnected from core (8684).    -
    2009-10-07    00:03:31    24982    (i)2581252    Registering core (10772).    -
    ... repeating (1 - 3 hours period)
    core.log
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2009-10-07    00:03:31    10772    (i)2581237    Starting admin app on core (10772).    -
    2009-10-07    00:03:31    10772    (i)2581238    Core (10772) connecting to admin.    -
    2009-10-07    00:03:31    10772    (i)2581231    Core (10772) connected to admin.    -
    2009-10-07    00:03:31    10772    (i)2581234    Core (10772) connection to admin  accepted.    -
    2009-10-07    00:03:31    10772    (i)2581246    Core (10772) sending register cmd  to edge.    -
    2009-10-07    00:54:22    11329    (i)2581247    Core (11329) disconnected from edge.    -
    2009-10-07    00:54:22    11329    (i)2581233    Core (11329) disconnecting from  admin.    -
    ... repeating

    We have seen similar issues and the best work around is to have your clients connect on alternate cores/servers. The way to accomplish this really depends on your type of application.

  • Accepting connection from multiple client

    Hi, i try to open a port on the server and allows others client to connect to this port and sent in data. It works well when it's 1 server to 1 client relationship. But when i turn on 1 server to many client connection where all the client will connect at the same time... none of the client data were capture in the server. Here is my code :
    Server code:
    static class Listener extends Thread
              public void run()
                   ServerSocket svrSocket;
                   Socket soc;
                   try
                        svrSocket = new ServerSocket(20);
                        System.out.println("---------------------------------------");
                        soc = svrSocket.accept();
                        System.out.println("---------------------------------------");
                        BufferedReader in = new BufferedReader(new InputStreamReader(soc.getInputStream()));
                        String strTest;
                        while((strTest = in.readLine()) != null)
                             System.out.println("SEE THIS !!!!!!!!!!!!! " + strTest);
                   catch(Exception e)
                        e.printStackTrace();
    Client code:
    socClient = new Socket("10.1.8.101", 4444);
    outPrintWriter = new PrintWriter(socClient.getOutputStream(), true);
    outPrintWriter.println(strWrite);
    Can anyone help me??? IT"S URGENT....
    THANKS

    Your code will only handle one connection at a time currently. To handle more connections it needs to be reorganized, see below. Also, you may be having a problem with binding port 20 in your server and trying to connect to port 4444 in your client. These ports obviously have to be the same or its never going to work at all! :-)
    Without getting into thread pools and stuff, this is a sample of how you might want to organize your server.
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class SocServ implements Runnable {
        // running flag set to false to stop server.
        public static boolean isRunning=true;
        // set of servicing threads, if needed.
        private static Set servicers = new HashSet();
        public void run() {
            ServerSocket svrSocket;
            Socket soc;
            Thread t;
            // open the server socket, error if port is in use, etc.
         try {
                svrSocket = new ServerSocket(4096);
                // accept connections, and start new SocServicer threads.
                while (SocServ.isRunning) {
                    soc = svrSocket.accept();
                    t = new Thread(new SocServicer(soc));
              SocServ.servicers.add(t);
                    t.start();
                // server finished, close socket
                svrSocket.close();
            } catch (IOException e) { e.printStackTrace(); }
    import java.net.*;
    public class SocServicer implements Runnable {
         // socket connection being serviced...
         Socket s;
         public SocServicer(Socket soc) { s=soc; }
         public void run() {
              if (s==null) { return; } // for sanity
              * Do all the interaction with each socket here.
    }The idea is to run one thread that listens for connections and then spawn new threads to process each connection. This way one connection does not have to wait for the previous one to finish. For a serious application you will probably want to do some more careful management of the SocServicer threads [because each thread eats up memory & resources].

  • Accepting connection from client

    Hello,
    I want to create java server which accepts connection from client once and then continuously waits for request sent by client. Something same as select() call in C
    Something of kind
    Server.java:
    Socket socket = server.accept();
    while(true)
    // listen for request ,
    // if request received , create new thread for processing
    // return response
    I don't want to accept connection again and again
    Edited by: tryit on Aug 29, 2008 11:41 PM

    Thanks for the reply.
    But even in this library, an new thread is created which keeps on doing accept() in while(true) and after accepting connection , another thread is created to do the processing.
    But i want that once the connection is established between server and client i.e once accept() is done then just using that socket rest of processing i.e read()/write() is done , no need for accept() in while(true)
    I have something like this
    SenderReciever.java
    public class SenderAndReciever
        private ServerSocket server;
        private int port = 6000;
        public SenderAndReciever()
            try
                server = new ServerSocket(port);
         catch (IOException e)
                e.printStackTrace();
        public void handleConnection()
            try
         Socket socket = server.accept();
             /* PROBLEM AREA */
             /* This while loop results in infinite loop .
              * if i move Socket socket = server.accept() inside while then it  accepts one connection
              * returns a response but then waits for another connection to be accepted
              * But i want connection once accepted , use the same socket for rest all communications
         while (true)
              new ConnectionHandler(socket);
         catch (IOException e)
              e.printStackTrace();
        public static void main(String[] args)
            SenderAndReciever senderAndReciever = new SenderAndReciever();
            senderAndReciever.handleConnection();
    }ConnectionHandler.java:
    class ConnectionHandler implements Runnable
          private Socket socket;
          public ConnectionHandler(Socket socket)
             this.socket = socket;
            Thread t = new Thread(this);
            t.start();
          public void run()
             try
                readData();
                processData();
                sendData();
             catch (Exception e)
                e.printStackTrace();
    }

  • Make server stop accepting connections for some condition

    I have a server accepting connections from clients. We don't know in advance how many clients to accept so the server just keeps accepting connections in an infinite loop:
    for( int i = 0; ; ++i)
      server.accept();What needs to happen is some condition has occurred and the server should stop accepting connections. i.e.
    for( int i = 0; stop_accepting_connections == false; ++i)
      server.accept();
    System.out.println( "No longer accepting connection.");Essentially some external event (actually the first accepted client thread) will set stop_accepting_connections to true and break the loop.
    Problem is even when I break out of the loop clients are still accepted. I'm thinking this is caused by server.accept() being a blocking call and even though we've jumped out of the loop the last server.accept() call is still blocking and listening for a single client. I've tried 2 clients connecting when we've broken out of the loop and only the 1st one is accepted, the second just waits.
    1. Is there any way to really stop listening when the condition is set (i.e. how to kill the last blocking accept())? I don't want 1 last trailing client.
    2. For the rejected clients, how do I stop it from just waiting i.e. print some error msg and let it end?

    Problem is even when I break out of the loop clients are still accepted. I'm thinking this is caused by server.accept() being a blocking call and even though we've jumped out of the loop the last server.accept() call is still blocking and listening for a single client.No, it's caused by the TCP 'backlog' queue, which pre-accepts connections even before you call accept().
    1. Is there any way to really stop listening when the condition is set (i.e. how to kill the last blocking accept())?Close the ServerSocket. The thread blocked in accept() will get a SocketException: socket closed, which you should trap and proceed acordingly on. At this point you probably just want to exit the accept() thread.
    2. For the rejected clients, how do I stop it from just waiting i.e. print some error msg and let it end?See above. Any clients which are in the backlog queue will get some kind of SocketException or IOException, probably 'connection reset'.

  • Error accepting connection -5928, oserr=130 Connect aborted

    We are using iplanet 6.0sp5 webserver on sunOS. Users are having problems to access the site. in our error logs we are seeing this error
    failure (27438): Error accepting connection -5928, oserr=130 (Connect aborted)
    This is happening intermittently. Did any one see this problem.

    Did you ever find a solution to this?
    Based on the link below, do you see this error occurring when you restart the server?
    http://translate.google.com/translate?hl=en&sl=ja&u=http://www.ctct.co.jp/tsd/iplanet/FAQ/030601.html&prev=/search%3Fq%3DError%2Baccepting%2Bconnection%2B%2522-5928%2522%26hl%3Den%26lr%3D%26c2coff%3D1%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26sa%3DG

  • Problem in connection from SAP to XI

    Hi Guys,
    I have problem to connect from SAP to XI.  We have existing SAP R/3 (IS-H) and we newly installed XI. We decided to use ABAP proxy to send data from SAP to XI. When I go to SPROXY system showing ‘No Connection to Integration Builder’. Please kindly advice what configuration we need to in SAP side in order to connect XI.
    It’s Very Urgent. Please advice me.
    Thanks in Advance.
    Regards,
    Anil.

    Anil,
    could you please have a look to SAP Note 689847 - XI 3.0: SPROXY - No connection to the Integration Builder
    Cheers,
    -Sunil

  • Problem with connecting and syncing   (quicktime.qts)

    Hi,
    I have a problem with connecting and syncing my Iphone to itunes.
    iphone alone on PC -> uploading files (fotos) is possible
    itunes starts normaly, if iphone is not conected.
    if i connect iphone after starting itunes, or if i start itunes after connecting iphone i get an itunes-error with message:
    AppName: itunes.exe AppVer: 9.0.2.25 ModName: quicktime.qts
    ModVer: 7.65.17.80 Offset: 00909a47
    i test different things...
    - used another USB-port
    - used another PC
    - used macbook of my wife instead PC
    - deinstalled and new installed of itunes (older and newer versions) folow tutorials of apple
    - use another USB-Cable...
    I'm resigned, Please help me..
    Tom

    AppName: itunes.exe AppVer: 9.0.2.25 ModName: quicktime.qts
    In this context, that can sometimes indicate trouble with a content file on the phone (or Touch).
    Do you have any podcasts stored on the iPhone at the moment? If so, if you delete them from the phone, can you connect to iTunes without the error?

Maybe you are looking for