SAP JCo 3.0 - too many network connections

I have implemented a standalone JCo-Client which has to make multiple calls to the same BAPI.
  Java 1.5
  SAP JCo 3.01
  Windows Server 2003
Now I have the problem that each BAPI-Call opens a new network connection (checked with netstat). I use a pooled connection, I have only one JCoDestination object and one JCoFunction object on which I do many function.execute(destination).
Under JCO 2 i used a ClientPool and didn't have the increasing number of network connections.
Any ideas how to solve this.
I add the rump coding so you get the idea:
String destinationName = "ConnPool";
Properties connectProperties = new Properties();
connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, "XXX");
connectProperties.setProperty(DestinationDataProvider.JCO_POOL_CAPACITY, "5");
connectProperties.setProperty(DestinationDataProvider.JCO_PEAK_LIMIT,   "5");
createDestinationDataFile(destinationName, connectProperties);
int count = 0;
try {
    JCoDestination destination = JCoDestinationManager.getDestination(destinationName);
    JCoFunction function = destination.getRepository().getFunction("BAPI_NAME");
    if (function == null)
        throw new RuntimeException("BAPI not found in SAP.");
    do {
        count++;
        try {
            JCoStructure importStruktur = function.getImportParameterList().getStructure("IMPORT");
            function.execute(destination);
            JCoStructure exportStruktur = function.getExportParameterList().getStructure("EXPORT");
        catch (AbapException e) {
            System.out.println(e.toString());
    } while (count < 50000);
catch(JCoException ex) {
    System.out.println(ex.toString());
Edited by: Jochen Lang on Apr 29, 2009 1:30 PM

Further testing showed that Pooling connections doesn't affect the number of actual network connections generated.
But with encapsulating the numerous function-calls into a Stateful Connection via
JCoContext.begin(destination);
...lots of function calls...
JCoContext.end(destination);
only one network connection would be used. Sadly I can't use this in my actual application.
Your comments and experiences to this are appreciated!
Greetings Jochen

Similar Messages

  • SMTP Send Mail - too many authenticated connection...

    Using Outlook on a MAC, and within this last week I have started to get this error when sending mail. I have read all the forum posts and help documents on this issue and ensured that my settings are as described and yet I am still having this problem.
    Should I be switching to IMAP to avoid this problem, and if so how do I do that without losing all my SMTP downloaded email?
    Thanks for any insight - it is causing me real issues now as I'm job hunting and can't reply to job emails!!!!

    Yes same problem for me. In the last three days, or so, I will get the random "too many authenticated connections" message. I have just phoned BT twice this afternoon and had great trouble understanding both Indian guys. One suggested he's fixed it by adjusting things at BT to accept "S Client Mail", whatever that means! That however didn't fix it. The second suggested I needed to reset password (easy option that one), until I pointed out that I am having no trouble with password use on the BT webmail page or through my phone. He then said I'd have to reload Outlook to solve the problem. Yeah right, like I'm gonna loose all my emails, settings and calendar to satisfy his theory of "if it doesn't work then reload it". There is clearly a server problem somewhere and OH, how I would love to speak to someone, (anyone), at BT who actually knows what they are talking about from a network/server angle. Anyone worth their salary in networks could trace my activity online and find out what was going on and why it was failing.
    Setting POP3 and all others checked by BT as being correct.

  • Too many authenticated connections

    I've got a customer with a BT line, sending via mail.btinternet.com.  For the last month or two they've complained that they keep getting asked for their password. 
    I've checked out the customer's system and I can see that it's not a password problem, but the SMTP server is instead coming back with "too many authenticated connections". 
    I can see that a host of BT customers on here are reporting password problems, I would guess that they are experiencing the same issue, that these are not password problems, but SMTP server issues on BT's new mail systems.  The message would suggest that the server is unable to take any more connections so some sort of resource issue at their end.
    Of-course unless you're looking under the bonnet of the SMTP connection, you won't be seeing this message, just the popup asking for your password again. It's not a password issue. If you try the connection multiple times, it will go in the end (when you get a connection that is willing to be accepted by the SMTP server. 
    I've configured the mail client to the letter, as per BT's stated configuration, and like I say, it will work on a percentage of connections. On a good run, you might get 10 out of 10 successes, other times 1 in 3.
    Please let me know if anyone is experiencing the same message.  The message could perhaps be a red-herring of some kind, perhaps not able to successfully negotiate the authentication / encryption using this particular mail client.  The customer is using Mac Mail and there do appear to be quite a few customers referencing Mac's / IOS on this forum, not many Outlook customers complaining.

    Hi Bookanengineer,
    Many thanks for your post, we have been away and asked some questions around this and the view is that this is unlikely to be an SMTP load issue. There is a limit to the number of authenticated connections we allow per user and the password pop ups being seen are more likely to be due to the customer having too many authenticated connections which could also be due to sessions not being closed correctly
    We believe that this is more likely to happen to client users as each time your client connects it opens an authenticated session. If, when you disconnect, the session does not close for whatever reason, the mail server still shows you with a session open. If that happens often you will quickly hit the limit for the number of sessions allowed per customer
    We do however need to eliminate other issues so need examples to further investigate, I appreciate that you are speaking on behalf of one of your customers, but  if you are able to send in any details to us so we can take a look that would be great. You can send in the details using the "Contact The Mods" link found in my profile.
    Thanks
    PaddyB
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • UTL_MAIL --- ORA-30678: too many open connections

    Hello,
    I have a pl/sql package that sends out emails using UTL_MAIL pkg pointing to an Exchange server, an APEX app calls this pkg.. This package used to work fine for months but I recently noticed that some emails are not being sent as expected. The package loops through a set of action items satisfying some conditions and send emails based on that ( this number is expected to grow every day ). I checked the errors log and I found this error:
    ORA-30678: too many open connections
    I think this means that I have to close the connection everytime I send en email, but UTL_MAIL does NOT have a function or a proc to close connections, right ?
    I don't know what causes this error to happen, but I suspect that this started happening right after we re-pointed the UTL_MAIL pkg from a Lotus Notes server to an Exchange server.
    I am also seeing this error:
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    I know where this error comes from (usually a null email id in the FROM or TO field ), but can this be causing the first error to happen ?
    Please advise if you got this error before, is it a bug in oracle 10g as I read in some blog ? or is the second error happening make the Exchange server refuse SMTP connections ???
    Thanks,
    Sam

    Hi Sam,
    seems to be a bug in UTL_MAIL if you ask me, as you are right - there is only /send/, no option to close, so I'd expect this to be done automatically.
    Anyway, though UTL_MAIL is usable for basic mailing, I prefer using a custom mail implementation based on UTL_SMTP. The most important reason is that most mail servers don't work without authentication. And if you have done this once, you can reuse the function/procedure/package as simple as UTL_MAIL. The good news is, that there are several examples published that provide you with the functionality you have in UTL_MAIL at once - with the difference, that you definetly get your connection closed when you expect it to be closed.
    You'll also be able to handle empty addresses. Perhaps this error actually causes UTL_MAIL to "forget" to close the connection, if this exception isn't caught before in order to close an open connection before raising it to the outside.
    One example implementation for using UTL_SMTP can be found [url http://www.morganslibrary.com/reference/pkgs/utl_smtp.html]here
    -Udo

  • Help needed : javamail Too many simultaneous connections

    Hello
    i'm using javamail to develop a webmail
    i've created a service Class , and all things works well , but i have a serious problem when i browse my webmail ( viewing folders: inbox / spam / etc or messages) i get an error saying :
    Too many simultaneous connections. (Failure)
    i know that the imap server dosen't support more than 10 simultaneous connections.
    But i can't say to users using my webmail to do not a lot of actions !!! , and also when i use thunderbird for example it works fine without errors even if i do a lot of actions/connections
    How can i solve that problem ?
    Thanks
    A1 OK [email protected] authenticated (Success)
    A2 CAPABILITY
    * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1
    A2 OK Success
    A3 SELECT INBOX
    DEBUG: no connections in the pool, creating a new one
    * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
    * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
    * OK [UIDVALIDITY 616267767]
    * 7 EXISTS
    * 0 RECENT
    * OK [UNSEEN 1]
    * OK [UIDNEXT 90]
    A3 OK [READ-WRITE] INBOX selected. (Success)
    A4 STORE 1 +FLAGS (\Seen)+
    +* OK Gimap ready for requests from MyIP 24if2631473eyx.55+
    +A0 CAPABILITY+
    +* 1 FETCH (FLAGS (\Seen))+
    +A4 OK Success+
    +* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XLIST CHILDREN XYZZY+
    +A0 OK Thats all she wrote! 24if2631473eyx.55+
    +A1 LOGIN myemail mypwd+
    +A1 OK [email protected] authenticated (Success)+
    +A2 CAPABILITY+
    +* CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1
    A2 OK Success
    A3 SELECT INBOX
    * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
    * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
    * OK [UIDVALIDITY 616267767]
    * 7 EXISTS
    * 0 RECENT
    * OK [UNSEEN 1]
    * OK [UIDNEXT 90]
    A3 OK [READ-WRITE] INBOX selected. (Success)
    A4 STORE 1 +FLAGS (\Seen)
    * OK Gimap ready for requests from MyIP 23if2388548eya.46
    A0 CAPABILITY
    * 1 FETCH (FLAGS (\Seen))
    A4 OK Success
    * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XLIST CHILDREN XYZZY
    A0 OK Thats all she wrote! 23if2388548eya.46
    A1 LOGIN custom.infoma1 mypwd
    A1 NO [ALERT] *Too many simultaneous connections. (Failure)*
    A2 LOGOUT
    * BYE Logout Requested 23if2388548eya.46
    A2 OK Quoth the raven, nevermore... 23if2388548eya.46
    A4 CLOSE
    A4 CLOSE

    Thunderbird supports disconnected or offline operation. It can disconnect from the server and then reconnect later
    and synchronize its state, so that you never know it was disconnected.
    You can do that too, but it's a lot of work.
    For webmail, the simplest approach is usually to have only one folder open at a time for each user.
    If your IMAP server is limiting you to 10 connections total, across all users, get a new IMAP server.

  • ORA-30678: too many open connections

    Hi,
    I executed this procedure..
    CREATE OR REPLACE procedure
    TRY.e_mail_message
    from_name in varchar2,
    to_name in varchar2,
    subject in varchar2,
    message in varchar2
    is
    l_mailhost VARCHAR2(64);
    l_from VARCHAR2(64);
    l_to VARCHAR2(64);
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    l_mail_conn UTL_SMTP.connection;
    mesg VARCHAR2( 4000 );
    BEGIN
    select a.SERVER into l_mailhost from email_setting a where a.SERVER is not null;
    select a.USERNAME into l_from from email_setting a where a.SERVER is not null;
    l_from := from_name;
    --UTL_SMTP.open_data(l_mail_conn);
    dbms_output.put_line('email test ');
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: <'||l_from||'>' || crlf ||
    'Subject: ' ||subject|| crlf ||
    'To: '||to_name || crlf || '' || crlf ;
    mesg:=mesg||message;
    dbms_output.put_line(mesg);
    l_mail_conn := UTL_SMTP.open_connection(l_mailhost, 25);
    UTL_SMTP.helo(l_mail_conn, l_mailhost);
    UTL_SMTP.mail(l_mail_conn, l_from);
    UTL_SMTP.rcpt(l_mail_conn, to_name);
    UTL_SMTP.data(l_mail_conn, mesg);
    UTL_SMTP.quit(l_mail_conn);
    exception
    when others then dbms_output.put_line(sqlerrm);
    END;
    However, email could not be sent to recipient. Below is the error message.
    Sending email to subject: Reminder to settle outstanding bil for Invoice No: CA/01062010/555
    call email_mssg cmd 3
    email test
    Date: 23 June 10 15:11:50
    From: <>
    Subject: Reminder to settle outstanding bil for Invoice No: CA/01062010/555
    To: [email protected]
    Please Settle Outstanding Bil for your Invoice No: CA/01062010/555. Thank you
    ORA-30678: too many open connections
    Below is the username I keyed in the email_setting table, with reference to the select username statement from the procedure as above.
    username in email_setting => [email protected]
    I also tried key in as '[email protected]' but still not working.
    Could someone suggest any solution? Thanks..

    Mr. Saubhik,
    Yes, no data passed for the From: as shown from the dbms output error message shown below:
    Sending email to subject: Reminder to settle outstanding bil for Invoice No: CA/01062010/555
    call email_mssg cmd 3
    email test
    Date: 23 June 10 16:15:04
    From:
    Subject: Reminder to settle outstanding bil for Invoice No: CA/01062010/555
    To: [email protected]
    Please Settle Outstanding Bil for your Invoice No: CA/01062010/555. Thank you
    ORA-29279: SMTP permanent error: 501 5.1.7 Invalid address
    I am clueless how to settle this. I don't want to hard code the sender's email address. Please help. Thank you.

  • Too many database connections and configurator logins ?

    Hi,
    We're having some performance and/or stability problem with Oracle Waveset 8.1.1. patch 2.
    I'm not sure what the problems is yet, but two facts got my attention:
    I noticed for too many database connections waiting to be closed on the OS, varying between 600 and 1200 :
    TCP: IPv4
    Local Address Remote Address Swind Send-Q Rwind Recv-Q State
    doesburg.ic.uva.nl.33555 hopewell.ic.uva.nl.1539 49640 0 49640 0 TIME_WAIT
    doesburg.ic.uva.nl.33556 hopewell.ic.uva.nl.1539 49640 0 49640 0 TIME_WAIT
    doesburg.ic.uva.nl.33557 hopewell.ic.uva.nl.1539 49640 0 49640 0 TIME_WAIT
    doesburg.ic.uva.nl.33558 hopewell.ic.uva.nl.1539 49640 0 49640 0 TIME_WAIT
    etc.
    (doesburg is our Solaris 10 server where the tomcat application server is installed, hopewell is our Oracle 10g database server )
    I also noticed numerous Configurator logins in the audit log, about 10 per second:
    Audit Event Details
    Timestamp 03/15/2011 04:37:05 PM MET
    Subject CONFIGURATOR
    Action Login
    Result Success
    Identity System Type User
    Object Name CONFIGURATOR
    Server DOESBURG.IC.UVA.NL
    Sequence Number No Value
    Interface BPE
    Resource No Value
    AccountId No Value
    Message No Value
    Changes No Value
    Organization Membership Top
    Event Parameters
    Session ID #SESS#15E4CCFDD2645B36:10C191A6:12EB99FCC85:-5A50
    Configurator logins on the BPE interface which we don't use?
    Has anyone seen something like this before? What could cause it?
    Greetings,
    Marijke

    I'm still struggling with this problem. Our database administrator did add some tracing, and we see these type of queries:
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT task.id, task.type, name, :"SYS_B_0", :"SYS_B_1", summary, :"SYS_B_2", :"SYS_B_3", xmlSize, :"SYS_B_4"
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT object.id, object.type, name FROM object WHERE object.type=:"SYS_B_0"
    SELECT tstamp, id, version, changeType FROM orgchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT tstamp, id, version, changeType FROM rolechange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
    541 seperate logon sessions by waveset in about 2 minutes.
    Has anyone seen this? What could cause it?
    Greetings,
    Marijke

  • ORA-30678: too many open connections with UTL_MAIL.send

    I'm have just recently started getting the ORA-30678: too many open connections error while calling the UTL_MAIL.send procedure to send emails via a pl/sql package. The call is made within a loop and there can be a significant number of calls made to this procedure. In fact, I received this error over 1400 times within the last three days. This was previously working until I made a change to the processing which now results in a larger number of emails/calls to this procedure. I don't see any documentation on how (or if) I can close the connection with UTL_MAIL.
    I'm using Oracle 11g. Any insight would be much appreciated.
    Thanks,
    Teri

    Looks like a bug possibly, check out this MOS Note:
    Ora-30678: Too Many Open Connections From UTL_MAIL [ID 788442.1]
    The bug note says it was fixed in 11.2. Not sure which version of 11 you are running.
    Edited by: Centinul on Apr 26, 2010 2:07 PM

  • I can´t send or receive emails theres a message Too many simultaneous connections. (Failure)

    What can I do if theres a message that says Too many simultaneous connections. (Failure) an error in IMAP conection
    I can´t send or receive any emails

    Hi monic,
    I'm sorry to hear you are having mail issues on your Mac. I'm a bit unclear exactly which version of OS X you are currently using, but if you continue to have issues sending or receiving emails, you may find the troubleshooting steps outlined in the following article helpful:
    OS X Mail: Troubleshooting sending and receiving email messages - Apple Support
    Regards,
    - Brenden

  • Too Many open connections. UTL_HTTP

    I am submiiting The URL for multiple times.
    So i am getting the too many open connections error. How to avoid the code.
    For your reference i have attached my code.
    DECLARE
      req   UTL_HTTP.REQ;
      resp  UTL_HTTP.RESP;
      value VARCHAR2(1024);
      url   VARCHAR2(4000);
      OPT   varchar2(1000);
      CURSOR MOB IS SELECT MOB FROM MOBILE_NUMBER;
    BEGIN
    -- UTL_HTTP.SET_PROXY('proxy.my-company.com', 'corp.my-company.com');
    FOR I IN MOB
    LOOP
    DBMS_OUTPUT.PUT_LINE(I.MOB);
    URL:='http://www.meru.co.in/wip/sendsms?username=11|'&'||'password=11|'&'||'to='||I.MOB||'&'||'message=this%20is%20shanmugam';
    DBMS_OUTPUT.PUT_LINE(URL);
      req := UTL_HTTP.begin_REQUEST(url);
      UTL_HTTP.SET_HEADER(req, 'User-Agent', 'Mozilla/4.0');
      resp := UTL_HTTP.GET_RESPONSE(req);
      UTL_HTTP.READ_LINE(resp, value, TRUE);
        DBMS_OUTPUT.PUT_LINE(value);
      END LOOP;
      UTL_HTTP.END_RESPONSE(resp); 
    EXCEPTION
      WHEN UTL_HTTP.END_OF_BODY THEN
        UTL_HTTP.END_RESPONSE(resp);
    END;how to close the connection for each record????
    Can anyone help me out in this??
    Thanks in Advance.
    Cheers,
    Shan

    Move UTL_HTTP.END_RESPONSE(resp); inside the loop. I mean
    UTL_HTTP.END_RESPONSE(resp);
    END LOOP;

  • Too many database connections?

    I have a function that gets called repeatedly from inside a loop. The function opens a connection to the database(DriverManager.getConnection) when it is first called, and closes the connection to the database upon completetion. In addition to this, I have several "permanent" connections while the program is running. My question is, how expensive is making these connections? How many connections are too many?
    Thanks,
    cmp2

    (1) Define a class (Say) MyConnection (like):
    package general ;
    import java.lang.* ;
    import java.util.* ;
    import java.sql.* ;
    public class MyConnection
    public boolean connected = false ;
    public String user = "" ;
    public String password = "" ;
    public String URL = "" ;
    public Connection theConnection;
    public MyConnection() {
    public void getConnection(
    String parmUser,
    String parmPass,
    String parmConnection ) {
    boolean connDriver = false ;
    String connectionDriver = "oracle.jdbc.driver.OracleDriver" ;
    String URLfrount = "jdbc:oracle:thin:@" ;
    try {
    // Make the Connection
    Class.forName(connectionDriver);
    connDriver = true ;
    } catch ( ClassNotFoundException e ) {
    messages.add( "Signon Driver ClassNotFoundException: " + e );
    if ( connDriver ) {
    try {
    URL = URLfrount + parmConnection ;
    theConnection = DriverManager.getConnection(URL, parmUser, parmPass);
    theConnection.setAutoCommit( false ) ;
    connected = true ;
    user = parmUser.toUpperCase() ;
    password = parmPass ;
    } catch (SQLException e) {
    messages.add( "Signon Error: " + e );
    (2) pass this connection from class to class

  • AE Network Won't Stay Visible -- Too Many Networks?

    I just moved to a new apartment in Astoria, Queens, and was having trouble getting onto the new roommates' wireless network (and learned that one of the other roommates, a fellow Mac user, couldn't get on it either). So I bought a new Airport Extreme and set it up yesterday in place of the old Linksys router. This took HOURS, because I couldn't get a signal in the next room (where my computer is) strong enough to maintain a connection to the base station for long enough to go through the entire setup process. As it turns out, when I run MacStumbler, there are -- no joke -- TWENTY other wireless networks of varying strengths and visibility around me. I eventually got mine up and working, but ever since, I'm lucky to get 20 minutes of internet access before my iMac drops the connection to the network.
    Here are the gory details: The network is on channel 1. The twenty networks around us are all on channels 6, 8, or 11. When I run MacStumbler, our network consistently has the strongest signal strength -- around 70, compared to the other networks in the 40s or 50s -- but it also appears very infrequently, only poking its head above the fray of competing networks once every couple of minutes. A couple of networks with weaker signal are much more consistent, almost never disappearing from MacStumbler's view. Ours, apparently, likes to play hide-and-seek. In general, when our network does appear for a moment, it's impossible to connect -- the Mac tries hard for a bit, and then gives me the password prompt even though the password is saved in my keychain. I enter the password, and the connection fails or is timed out.
    The Airport Extreme (one of the brand new 802.11n ones) has to be set up in my roommate's bedroom, since he's on a paleocomputer without WiFi and must be jacked into it. The distance from the router to my computer is maybe fifteen to twenty feet total, with a closet and wall in between. The closet does have some metal fixtures (rods and hangers), but is mainly wood and fabric.
    My computer is a 20" iMac G5. I have my doubts about its WiFi antenna to begin with, since I also have an Airport Express (which is not currently on the network, since I can't hold a signal long enough to get it rebooted and connected onto the network, otherwise I'd use it to improve my signal strength) which I tried plugging into the power outlet DIRECTLY BELOW my computer, and the iMac only registered a signal strength of about 80. At one point yesterday I did manage to get the Airport Extreme onto the network as a repeater, and was enjoying a reasonable connection until the two base stations lost communication with each other, and I haven't been able to get back onto the internet since.
    I also have a Powerbook G4 which I wandered around the house testing signal strength with; I tried setting the Powerbook literally on top of the Airport Extreme, and got the same problem wherein the signal was exceptionally good -- 116 -- but only when it appeared, which was once every couple of minutes. Then it vanished.
    I've also enabled interference robustness and changed my IPv6 settings to local-link only, per suggestions in another thread I was reading on Ask Metafilter, but those don't seem to have made much of a difference.
    So: what are my options? Is there something I can do to make the network consistent, and not be playing this "I'm here, I'm not here" game? Is this likely to be a placement problem for the router, or more likely to be an antenna problem with my computer? For the record, I'm still running 10.5.1, as I can't get connected to the internet long enough to download any software updates. I just need some sense of what I can do to address this problem: could the router be defective, or is this just always going to be a problem because of the unbelievable amount of wireless traffic around me on the other channels? Do I need to give up and buy a really long ethernet cable?

    With twenty wireless networks (and who knows how many 2.4GHz portable telephones) competing for radio spectrum, I think your ability to run a stable, dependable wireless network with a reasonable data transmission speed are slim to nil. An ethernet cable sounds like the best option.

  • Too Many Networks Causing Interference

    Hi all,
    I'm running a PB G4 and Toshiba Tecra laptop on a wireless AEBS + AE network using WDS in a first floor apartment. My signal strength throughout the house is usually full bars with the AEBS running at around 45-65 and the AE at 35-45 signal strength depending on what room I'm in.
    Now, sometimes my network just crashes and I receive error messages on the PB and PC telling me that there was an error loggin on to my network or that the connection is incomplete, respectively. My only recourse is to unplug the base station (and AE) and replug it. Usually, this corrects the situation.
    I think this is happening because I detect no less than 5 other networks in my area. There are four units in my building, and the building is part of a row of connected apartment buildings. Adding my AEBS and AE, this makes a total of 7 transmitters in this cramped area! I think this might be creating a wireless blitz.
    FYI, before running my current configuration, I was using a Netgear wireless router with the AE as a client (to stream audio). I switched to the AEBS + AE in WDS config because I thought it would add greater stability and range--which it has. But it seems I might need to "power up" some more in order to fend off the interference from other networks. I realize that this might have bad consequences for those other networks, but something has to be done!
    So, I've been considering boosting my signal by adding an antenna. Is this a solution? I'm also thinking about tweaking the settings for both stations through Admin Utility. Maybe enabling interference robustness on the AEBS, AE, and PB might help?
    Please offer any advice on what you think the problem might be and what might be the best solution.
    Thanks,
    FC

    I think this is happening because I detect no less
    than 5 other networks in my area. There are four
    units in my building, and the building is part of a
    row of connected apartment buildings. Adding my AEBS
    and AE, this makes a total of 7 transmitters in this
    cramped area! I think this might be creating a
    wireless blitz.
    So, I've been considering boosting my signal by
    adding an antenna. Is this a solution?
    I don't think so. You'll increase your signal
    level, and your noise level all together. But
    your signal to noise ratio will reach a limit.
    Exactly like what happens when you turn your radio
    too loud because of the noise of your neighbour's
    one.
    I'm also
    thinking about tweaking the settings for both
    stations through Admin Utility. Maybe enabling
    interference robustness on the AEBS, AE, and PB might
    help?
    Yes.
    But more generally, like every wireless problem of
    interference, you should first analyse it. You
    should use a tool like iStumbler to identify all
    the channels used by your neighbours.
    Once you have identified these channels, and
    their level of signal, you have to choose a channel
    as far as possible of the most powerful ones.
    In an idealistic world, you should choose a channel
    3 channels away of all the channels used by your
    neighbours. (e.g.: if channels 1, 2, 5 & 6 are used,
    you may use channels from 10 to 14, depending on the
    regulations were you're using a wireless network).
    All interference analysis should first go through
    this neighbour's channels hunt.
    If you play randomly with your channels, you're
    wasting your time, you may be disrupting your
    neighbour's networks. And you will have to continue
    this silly danse for a long time all together.

  • File sharing reports too many users connected

    SPECS: Mac Mini Core 2 Duo 2 GHz, 2G RAM, Mac OS X 10.6.4. Other users in office also running similar hardware and Mac OS X 10.6.4.
    CLARIFICATION: This Mini is used as a file server in a small law office (4 other workstations). It is running Mac OS X Client, not Server. I refer to the machine as "the server" but wanted to be clear the operating system is the same on all stations.
    HISTORY & CONFIG: This system was setup in November 2009. It provides simple file sharing storage for a 4-user law office and runs Retrospect (version 8.1.626) to do some local and network backup operations. At the time it was setup, it was also running Now Up-to-Date Server but that program is no longer supported, and it has been removed from the computer (May 31, 2010). In late March 2010, I installed Daylite Server as a replacement for Now Up-to-Date. All stations are running Mac OS X 10.6.4, and have always been at the most recent Mac OS X 10.6.x revision within a few days of the release of a major update.
    PROBLEM: Occasionally, clients cannot connect to the server (and I don't have the exact error message -- next time it happens, someone is supposed to get a screenshot). When this happens, if you go to the server and open the file sharing control panel, then click "options", you will see an impossible number of people are connected. The first time this happened was on April 28, 2010, when it reported 41 users were connected. Mac OS X Client has an upper limit of 10 simultaneous user connections, so you can see this number is not possible. Additionally, these are "phantom" logins because you can execute this command in Terminal to see the IP addresses of any connected users:
    netstat -n | grep '.548'
    And when I do this, unless there was someone who had logged in prior to the "phantom explosion", it never shows any connections. On two occasions, I've actually been in the office late one night to do maintenance, checked the server before I left and found 0 connected users, then got a call in the morning that the first person who attempted to connect was blocked and the server showed 10 or more users connected.
    I do not believe this is some kind of security breach. The server is not Internet-accessible, and as is shown by the netstat command, there really isn't anyone logged in anyway. I consulted with Marketcircle (makers of Daylite) because it seemed very coincidental that I installed their software just prior to the beginning of this problem, but they claim Daylite does not make any use of the Mac file sharing system. But, again, since these aren't real users, I suppose it's possible a bug in their software is somehow upping the Mac's connected user count erroneously?
    Restarting the server always fixes the problem -- until it happens again. This Mac Mini is a pretty simple station -- just runs Daylite Server and Retrospect Single Server, plus the basic file sharing. Anyone have any ideas why this keeps happening?

    I would say odds are likely this is correct. On at least two occasions I can think of where I verified everything was okay and later discovered a "phantom explosion", a Retrospect backup would have run. Our backups typically run at 3 AM. Is this a known issue with Retrospect? If so... not sure why it doesn't happen all the time. And in my own office I have a pretty similar setup on an entirely different computer that multiple people connect to, and it never does this. Color me confused.

  • Plugin opens too many Http connections

    Hi Java gurus,
    My applet sends many POST requests (10-20 per second) one by one (not concurrently) to an IIS server application, using HttpUrlConnection. When I run it with AppletViewer, I see (with netstat) a single HTTP connection which is re-used for each new POST.
    However, when I run it under IE with Plugin 1.4.0 or 1.4.1, netstat shows that each POST creates a new connection. After the response arrives, this connection goes to TIME_WAIT state for several minutes and the next POST opens a brand new connection. After some time I see hundreds of TIME_WAIT connections.
    I got an advice (from experts-exchange) to force using sun.net rather than sun.plugin, thus avoiding the apparent plugin bug. I do it as follows:
    URL.setURLStreamHandlerFactory(null);
    sysProperties.setProperty("java.protocol.handler.pkgs", "sun.net.www.protocol");
    Now a single connection is opened and re-used for all POSTs, but the applet is not aware that it runs under a plugin or browser, e.g., it doesn't recognize the IE proxy settings.
    My questions:
    1. Is this a known plugin bug? (I could not find any similar bug in Web).
    2. Are there other potential problem with my workaround?
    3. Are there other solutions to my problem?
    Thanks in advance
    Sruli Ganor

    I am facing the same problem...

Maybe you are looking for