Brcmsmac connection stalling and timeout (14e4:4727)

Using a netbook with a broadcom chipset and having wireless problems, pulling my hair out for a couple of months now. I've seen posts from other people with the exact same card for whom it works fine. My problem is constant connection stalling and timeouts. The wireless card connects and works for a few seconds before the connections stalls or speeds drop to very low speeds for about 30 seconds. After that the connection speeds increases for a few seconds and then it drops again.
For example, when I install packages from pacman it mostly goes like this. The speed drops, sometimes below 1KB/s resulting in a connection timeout and sometimes it goes back to about 300KB/s for a while, my max internet speed is 1500 KB/s btw.
libexif-0.6.21-2-x86_64 269.1 KiB 24.1K/s 00:02 [###################################################-------------] 81%
Wireless card info:
$ lspci -vnn | grep -i net
03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
I already tried these things on a fully updated system:
https://wiki.archlinux.org/index.php/Wi … _times_out
Changing/forcing a specific b/g/n mode in the router configuration
Changing router channels, resetting router, upgrading router firmware
The broadcom wl driver instead of brcmsmac (this used to work with kernel <= 3.14)
Reinstalling the system
Upgrading bios firmware
Using another router
Using the card with another non unix OS (card works fine)
It's really frustrating, I hope someone has any ideas left.

Using a netbook with a broadcom chipset and having wireless problems, pulling my hair out for a couple of months now. I've seen posts from other people with the exact same card for whom it works fine. My problem is constant connection stalling and timeouts. The wireless card connects and works for a few seconds before the connections stalls or speeds drop to very low speeds for about 30 seconds. After that the connection speeds increases for a few seconds and then it drops again.
For example, when I install packages from pacman it mostly goes like this. The speed drops, sometimes below 1KB/s resulting in a connection timeout and sometimes it goes back to about 300KB/s for a while, my max internet speed is 1500 KB/s btw.
libexif-0.6.21-2-x86_64 269.1 KiB 24.1K/s 00:02 [###################################################-------------] 81%
Wireless card info:
$ lspci -vnn | grep -i net
03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
I already tried these things on a fully updated system:
https://wiki.archlinux.org/index.php/Wi … _times_out
Changing/forcing a specific b/g/n mode in the router configuration
Changing router channels, resetting router, upgrading router firmware
The broadcom wl driver instead of brcmsmac (this used to work with kernel <= 3.14)
Reinstalling the system
Upgrading bios firmware
Using another router
Using the card with another non unix OS (card works fine)
It's really frustrating, I hope someone has any ideas left.

Similar Messages

  • Log connection attempts and source IP address for connections that fail/timeout on RADIUS

    How can I log the connection attempts and source IP address for connections that fail RADIUS authentication?  I'm using RD Gateway on 2012 R2 in conjunction with Azure Multi-Factor Authentication Server on another 2012 R2 server.  When a user fails
    multifactor authentication or the authentication times out, all I get is Security event 6273 on the RD Gateway that the radius server did not process the request, and only the radius server's IP is logged.  There's nothing logged in TerminalServices-Gateway\Operational
    because the TS Gateway hasn't yet processed the connection attempt (all auditing options for RD Gateway are enabled).  The MFA/Radius Server is only logging the connection from the TSGateway - it doesn't know the original client's IP address.
    I'm looking for the equivalent of an IIS log - somewhere the RD Gateway should log the initial HTTPS connection attempt and the source IP address of the client.  I need to be able to track down potentially fraudulent login attempts. 

    Hi,
    Thank you for your posting in Windows Server Forum.
    This error might be caused by one of the following conditions:
    •  The user does not have valid credentials
    •  The connection method is not allowed by network policy
    •  The network access server is under attack
    •  NPS does not have access to the user account database on the domain controller
    •  NPS log files or the SQL Server database are not available
    To perform these procedures, you must be a member of Domain Admins.
    Please check for more information:
    Event ID 6273 — NPS Authentication Status
    http://technet.microsoft.com/en-us/library/cc735399(v=ws.10).aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Unending connectivity problems -- and Desktop Help...

    I'm wasting so much time on connectivity problems that it's positively wearying. Prior to the installation of BT Infinity here in April, I had a low quality broadband service because of the length of the line from the exchange: if I could get a download speed of 1.2Mbps and an upload of a quarter of that, I was doing well. 
    BT advised that thanks to fibre optic, my Internet should run much faster. So we had Infinity installed. I'm registered with Speedtest.net so am able to see my performance record.
    The average download speed is now aroun d 6Mbps and the average upload, more than that at 7Mbps. How an upload speed can consistently be faster than a download escapes me.
    But I'm not familiar with the ways of Internet connectivity and try as a I might, can't get my head around it.
    This desktop computer runs Vista OS. Vista was **bleep** when it came out and is renowned for its botched handling of Internet connections. So I'm not blaming BT for the literally unending connectivity problems that are occurring now, with line drops, speeds slowing to a crawl, and no guarantee that any connection will last. But it would be good to actually use BT software to help fathom out what's going wrong here, and today's typical morning which looks like this:
    1) Boot up computer. Automatic connection to hub via Netgear USB wireless adapter. Hub is on ground floor of this 3-storey property but signal strength from hub  is excellent, as confirmed by inSSIDer monitoring, currently showing 54 with no other networks anywhere near that figure.
    2) Perhaps 5 minutes after connection established, it's then lost. 'Local Only' is displayed. This is, apparently, a known Vista problem. But Microsoft has issued a fix for it. I know this, because it took 100 hours of ploughin g the Net to find out that MS had finally admitted to one more Vista screw-up. I've used the Microsoft router "fix it" before and it didn't work ("failed to process") so uninstalled it and have DL'd it again now and run it. This time it says it has fixed everything.
    3) Computer is re-booted to make the fix effective. Computer connects to Internet. Speedtest.net check yet again confirms that upload speed is faster than download speed.
    4) Connection dies. So much for Microsoft Fix It.
    5) Windows diagnostics reports that it can re-set the IP profile (or something.) I click yes. The re-set goes through. Connectivity is restored. 10 minutes later, connectivity is lost. Just a red X in the tray. No connection of any kind, not even that daft 'Local Connection' only alert.
    6) Reboot. Yet again. BT Desktop Help was installed here and ran OK when we were using our Netgear DSG34 router. But since the change to the BT Hub, the BT program has never run at all. So-oo. . . It has been uninstalled. And then re-DL'd and re-installed. And though the installation  has been completed, clicking on 'launch' has failed to launch anything. But anyway. An hour ago, in one of the brief periods today when the Internet connection was holding up, I Revo-ed out the earlier install, DL'd BT desktop Help and re-installed it. . . and I'm still at the same stage as always, with a  Firefox browser page that's open and completely blank and has been for the past 30 minutes. The URL is:
    file:///C:/Program%20Files/BT%20Broadband%20Desktop%20Help/btbb/Start.html
     Repeated page re-loading gets nowhere. Malwarebytes PRO is turned OFF to prevent any possibility of blocking and the antivirus is termporaily SUSPENDED. This PC runs on Windows standard firewall but even turning that OFF doesn't get the page to load. Copying the address into Internet Explorer in case there's a Firefox problem merely results in Firefox being opened and the same blank page running there.
    7) After all that. . . Connection lost yet again and this time, Windows cannot connect at all. It reports that the "wireless network security key is not correct". I happen to know that it is, because this is maybe the 20th time it has reported this in the past 10 days and every time I have to key in the "correct" key all over again. . . at which point Windows still says it isn't correct and cannot repair.
    Turning off the computer completely, unplugging from the wall, holding in the power switch for a full minute to clear the circuits, traipsing up and dowen three flights of stairs to turn off the hub, then wait, then turn the power back onm again. . . Ah, wot fun times I'm having here with my particular versioin of Infinity (as in, an infinity of connectivcity problems.)
    Summary: I seem to be being simultaneously hit with one issue after another.
    I'm bewildered as to why ever since Infinity was installed here, my upload speed is generally faster than my download speed. I'm not happy with endless Internet connection failures though am thinking that Vista is playing a large part here with its "wrong security key" and unending 'Local Only / Limited Connection' failures. I do miss my Netgear router and the ability to access a fantastic help menu and re-boot directly from the desktop without having to keep going up and down three flights of sdtairs to do so (I haven't been able to find out how toe access the BT Hub remotely.)
    Above all though: I'm  really tired of repeatedly trying to run freshly downloaded and installed BT Desktop Help software but getting no further than a blank page because the program has stalled.
    If anyone has any advice / suggestions, other than to buy a carrier pigeon, that'd be much appreciated.
    Thanks.

    Thanks again to John and gg30340. Here's an update:
    1) BT Desktop Help removed completely from this computer. The uninstaller itself mopped up everything, which surprised me. But anyway.
    2) Bt Home Hub manager set up and working. Had to input serial number and create new password. All of this sounds fairly easy and would be if one had the device near the desk. But the idiots who built this property shoved the BT master socket inside the garage next to the door. Our two home computers are on the third floor. To ensure the wireless signal strength is OK, the Hub and Infinity module/device/whatever it's called are on a high shelf. It's a major job to even reach the darn things, never mind read the labels seeing as how the BT Infinity engineer was good enough to tidy up the cabling and make a very tight connection to the wall socket.
    3) I had hoped to be able to back up the Hub's settings, seeing as the software provides for Advanced Settings / System / Backup. But not on mine (Hub 3.0). All that System allows is choosing which internet clock to define the accurate time. Everything else in System is just a pattern of short lines as if trying to indicate that there's some text there but it's invisible.This is now my second encounter with BT software which, for whatever reason, isn't functioning as it should on this PC.
    4) Hub reset to factory fresh, according to BT guide.
    5) Reset appears to have achieved nothing apart from requiring the password to be popped in again. After reset, it wasn't even possible to connect to the hub manager. Internet connectivity was eventually established for all of 30 seconds and then, gone.
    6) Computer was shut down and then booted anew. Internet connectivity is still. . . dreadful. One minute everything's fine and then, literally,. the next minute a webpage won't load. Even opening the Hub Manager has taken three attempts, i.e., disconnecting from the Internet, re-connecting, failing, and trying twice more until success. Yet all the time these failures are occurring, the tray icon is showing a steady, unwavering green icon for Local and Internet access -- despite the fact, there manifestly isn't any.
    7) Speedtest. net tests are actually showing upload and download 'trajectories' going slower and slower and finally halting at some point on the arc, then after a period of up to 30 seconds, suddenly becoming animated again. Speed test results with broadband speed checker UK and Think Broadband's checker are so at variance with one another, and with Speedtest, net, that it seems all three are using different technologies in pursuit of the same thing. Either way, upload speeds continue to be much, much faster than download speeds, a state of affairs I certainly have never encountered before.
    8) Speedtest net tests taken in the past 10 minutes, with one test following on from its predecessor, begin at 8.24 down/8.88 up, followed by 5.24 down / 6.40 up, followed by a mind-numbingly lonnnnng 0.62 down / 8.70 up -- in other words, a continuous yo-yoin g of Internet connectivity to the pooint that it actually might as well not even be here (I've had to make five attempts just to get on to this forum. . .)
    9) BT Speedtest will necessitate disconnection of everything downstairs and all boxes being lugged up here. This is actually going to require uncoililng tied-off cabling and hanging off a stepladder to do so -- though I surely can't be the only person in Britain who doesn't have a nice, handy BT master socket in their study or lounge. That said though: until we switched to Infinity, we *never* experienced these kinds of horrendous connectivity problems and never had need to unplug the Netgear router downstairs and bring it upstairs to connect directly to tjhe desktop PC so BT's own test could be run.
    I'll just have to get to work dismantling stuff tomorrow. However, I have to say that after a factory re-set which has changed nothing at all, I'm beginning to think there's a problem with the BT line itself (hence why I'm happy to follow the advice here, though less than happy at the prospect of the messing about involved.)
    Thanks, you two, for your patient help, and also for clarifying the situation re the three signal paths being shown on inSSIDer. At least I know that's usual now! And now, hopefully, when I press 'Post', I won't be faced with an endlessly spinning Firefox circle culminating in  what may well be, or seem to be, the 57,938th time today of seeing "Page Not Found". . .

  • Listener EA2: database connection pool and connection revalidation

    Hi all,
    As one can expect from early adopter release there could be some bugs but I can't find any references in forum to my situation:
    * My 11g XE database and listener are starting as windows services when server boots operating system (Windows Server 2003 R2).
    * I configured my web server (unsupported Jetty 9.0.0.M1) to start as windows service when operating system starts.
    * Apex Listener 2.0.0.268.17.05 configured to connect with XE using JDBC thin driver with default settings (initial pool size 3, max statements 10, min connections 1, max connections 10, inactivity timeout 1800, abandoned connection timeout 900)
    * Because web server starts a bit faster than Oracle database when apex connects first time it gets "ORA-12528, TNS:listener: all appropriate instances are blocking new connections" (could be that database still starting but already registered service with listener)
    * From listener.log file I can see that all further connections made from Apex listener succeeds
    * When I try to open any apex page with browser I am getting 404 error and apex listener logs error (*time is 2 days after system startup*):
    2012-11-30 3:56:02 PM oracle.dbtools.common.config.db.DatabaseConfig badConfiguration
    SEVERE: The pool named: apex is not correctly configured, error: Listener refused the connection with the following error:
    ORA-12528, TNS:listener: all appropriate instances are blocking new connections
    ConnectionPoolException [error=BAD_CONFIGURATION]
         at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:62)
         at oracle.dbtools.common.config.db.DatabaseConfig.badConfiguration(DatabaseConfig.java:146)
         at oracle.dbtools.common.config.db.DatabaseConfig.createPool(DatabaseConfig.java:168)
         at oracle.dbtools.common.config.db.DatabaseConfig.getConnection(DatabaseConfig.java:68)
         at oracle.dbtools.common.jdbc.ora.OraPrincipal.connection(OraPrincipal.java:25)
         at oracle.dbtools.apex.ModApexContext.getConnection(ModApexContext.java:320)
         at oracle.dbtools.apex.Procedure.getProcedure(Procedure.java:166)
         at oracle.dbtools.apex.OWA.validateProcedure(OWA.java:384)
         at oracle.dbtools.apex.security.Security.isValidRequest(Security.java:171)
         at oracle.dbtools.apex.ModApex.validateRequest(ModApex.java:233)
         at oracle.dbtools.apex.ModApex.doGet(ModApex.java:79)
         at oracle.dbtools.apex.ModApex.service(ModApex.java:263)
         at oracle.dbtools.rt.web.HttpEndpointBase.modApex(HttpEndpointBase.java:288)
         at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:127)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:665)
         <... Jetty web server stack ...>
         at java.lang.Thread.run(Unknown Source)
    2012-11-30 3:56:02 PM oracle.dbtools.rt.web.HttpEndpointBase modApex
    * Oracle listener log for same time (no errors here):
    30-NOV-2012 15:56:01 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=SYSTEM))(SERVICE_NAME=xe)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1078)) * establish * xe * 0
    30-NOV-2012 15:56:01 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=SYSTEM))(SERVICE_NAME=xe)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1079)) * establish * xe * 0
    30-NOV-2012 15:56:01 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=SYSTEM))(SERVICE_NAME=xe)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1080)) * establish * xe * 0
    30-NOV-2012 15:56:01 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=SYSTEM))(SERVICE_NAME=xe)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1081)) * establish * xe * 0
    * For some reason apex listener keeps first connection status and won't try to establish new connection if first attempt finished with ORA-12528
    * The same scenario is valid when at time of web server start oracle database/listener is not available - even if database and listener starts and apex successfully establishes further connections all apex pages gets 404 error
    * If I restart web server windows service (while oracle db and listener still running) browser opens apex pages without errors and apex listener does not log any errors
    * I know that I can avoid this error delaying start of web server windows service but it would be nice to have production release 2.x without such bugs

    Hi,
    Is there any way to use the connection pool or Datasource while connecting to database?If I am using a stateless sesssion bean and using a Data Access layer which just creates a database session to write the persistence toplink objects how I can make use of application server connection pool?Hi Vinod,
    Yes, TopLink allows you to use the app server's connection pooling and transaction services. Chapter 2 of the Oracle9iAS TopLink Foundation Library Guide provides details as do the TopLink examples. The easiest way to set this up is by using the sessions.xml file. The sample XML below is from the file <toplink903>\examples\ias\examples\ejb\sessionbean\sessions.xml. Here we are adding the datasource defined in OC4J and specifying that we are using the OC4J transaction controller also.
    <login>
    <user-name>sa</user-name>
    <password></password>
    <datasource>java:comp/env/jdbc/ejbJTSDataSource</datasource>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    </login>
    <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
    When using this approach you need to change your TopLink code slightly in the EJB methods:
    a. Acquire the ACTIVE unit of work from the server
    session (again, see the EmployeeSessionEJB code
    example) with something like:
    UnitOfWork uow = clientSession.getActiveUnitOfWork();
    b. Calls to uow.commit() can be ommitted or commented out
    because the EJB will handle this. Note that of course
    the methods you create in the EJB that are using this
    approach must have TX Required (default).
    Hope this helps.
    Pete

  • Problem with creating Connection pool and JNDI, driver is not detected

    Hi,
    I have an issue with creating Connection Pool and JNDI.
    I'm using:
    - JDK 1.6
    - OS: Linux(ubuntu 8.10)
    - Netbeans IDE 6.5.1
    - Java EE 5.0
    - Apache Tomcat 6.0.18 Its lib directory contains all necessary jar files for Oracle database driver
    - Oracle 11g Enterprise
    My problem is that the Oracle database driver is not detected when I want to create a pool (it works pretty well and is detected without any problem when I create ordinary connection by DriverManager)
    Therefore after running:
    InitialContext ic = new InitialContext();
    Context context = (Context)ic.lookup("java:comp/env");
    DataSource dataSource = (DataSource)context.lookup("jdbc/oracle11g");
    Connection connection = dataSource.getConnection();and right after dataSource.getConnection() I have the following exception:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    at servlets.Servlet1.doPost(Servlet1.java:47)
    at servlets.Servlet1.doGet(Servlet1.java:29)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
    ... 17 more
    My application context file (context.xml) is:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/WebApplication3">
      <Resource auth="Container"
                      driverClassName="oracle.jdbc.OracleDriver"
                      maxActive="8"
                      maxIdle="4"
                      name="jdbc/oracle11g"
                      username="scott"
                      password="tiger"
                      type="javax.sql.DataSource"
                      url="jdbc:oracle:thin:@localhost:1521:database01" />
    </Context>and my web.xml is:
        <resource-ref>
            <description>Oracle Datasource example</description>
            <res-ref-name>jdbc/oracle11g</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
        </resource-ref>
    ...I found similar threads in different forums including sun, such as
    http://forums.sun.com/thread.jspa?threadID=567630&start=0&tstart=0
    http://forums.sun.com/thread.jspa?threadID=639243&tstart=0
    http://forums.sun.com/thread.jspa?threadID=5312178&tstart=0
    , but no solution.
    As many suggest, I also tried to put context directly in the server.xml (instead of my application context) and referencing it by <ResourceLink /> inside my application context but it didn't work and instead it gave me the following message:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '   ' for connect URL 'null'
    Has anyone succeeded in creating a connection pool with JNDI by using Tomcat 6 or higher ? If yes, could kindly explain about the applied method.
    Regards,

    Hello again,
    Finally I managed to run my application also with Tomcat 6.0.18. There was only two lines that had to be modified
    in the context.xml file (the context of my application project and not server's)
    Instead of writing
    <Context antiJARLocking="true" path="/WebApplication2">
        type="javax.sql.DataSource"
        factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
    </Context>we had to write:
    <Context antiJARLocking="true" path="/WebApplication2">
        type="oracle.jdbc.pool.OracleDataSource"
        factory="oracle.jdbc.pool.OracleDataSourceFactory"
    </Context>- No modification was needed to be done at server level (niether server.xml nor server context.xml)
    - I just added the ojdbc6.jar in $CATALINA_HOME/lib (I didn't even need to add it in WEB-INF/lib of my project)
    - The servlet used to do the test was the same that I presented in my precedent post.
    For those who have encountered my problem and are interested in the format of the web.xml and context.xml
    with Tomcat 6.0, you can find them below:
    Oracle server: Oracle 11g Enterprise
    Tomcat server version: 6.0.18
    Oracle driver: ojdbc.jar
    IDE: Netbeans 6.5.1
    The context.xml file of the web application
    <?xml version="1.0" encoding="UTF-8"?>
    <Context antiJARLocking="true" path="/WebApplication2">
        <Resource name="jdbc/oracle11g"
                  type="oracle.jdbc.pool.OracleDataSource"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@localhost:1521:database01"
                  driverClassName="oracle.jdbc.OracleDriver"
                  userName="scott"
                  password="tiger"
                  auth="Container"
                  maxActive="100"
                  maxIdle="30"
                  maxWait="10000"
                  logAbandoned="true"
                  removeAbandoned="true"
                  removeAbandonedTimeout="60" />
    </Context>The web.xml of my web application
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <resource-ref>
            <description>Oracle Database 11g DataSource</description>
            <res-type>oracle.jdbc.pool.OracleDataSource</res-type>
            <res-auth>Container</res-auth>
            <res-ref-name>jdbc/oracle11g</res-ref-name>
        </resource-ref>
        <servlet>
            <servlet-name>Servlet1</servlet-name>
            <servlet-class>servlets.Servlet1</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Servlet1</servlet-name>
            <url-pattern>/Servlet1</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
    </web-app>Ok, now I'm happy as the original problem is completely solved
    Regards

  • RFC connection results in "Timeout during connection setup"

    Hello Guys,
    The RFC ABAP connection to the Solution Manager encounters connection error: "/ CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242#Timeout during connection setup."
    The Solution Manager has following details:
    SAP Solution Manager (700 15)
    ORACLE 10.2.0.2.0
    HP-UX
    The R/3 QAS Customer 1 system has following details:
    SAP R/3 Enterprise (620 54)
    ORACLE 9.2.0.8.0
    HP-UX
    The R/3 QAS Customer 2 system has following details:
    SAP R/3 Enterprise (620 59)
    ORACLE 9.2.0.8.0
    HP-UX
    The RFC ABAP connection from <SID Solution Manager> -> <SID R/3 QAS Customer 1> is working correctly.
    The RFC ABAP connection from <SID R/3 QAS Customer 2> -> <SID Solution Manager> is working correctly.
    The RFC ABAP connection from <SID R/3 QAS Customer 1> -> <SID Solution Manager> encounters connection error:
    ERROR                timeout during allocate                       
    LOCATION             SAP-Gateway on host hemisrq.services.retail.tc.services.retail.tc / sapgw01
    DETAIL               no connect of TP sapdp02 from host conssmp.servom host <host name Solution Manager> after 22
    COMPONENT            SAP-Gateway                                   
    COUNTER              1152                                          
    MODULE               gwr3cpic.c                                    
    LINE                 1820                                          
    RETURN CODE          242                                           
    SUBRC                    0                                         
    RELEASE              640                                           
    TIME                 Thu Jun  5 10:55:15 2008                      
    VERSION              2                                             
    Here's the dev_rfc0 log file
    Trace file opened at 20080605 101956 METDST SAP-REL 640,0,235 RFC-VER 3 985555
    ======> CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242                               
    Timeout during connection setup. Please check partner availability                
    ABAP Programm: RSRFCPIN (Transaction: SM59)                                       
    Called function module: RFC_PING                                                  
    User: SAPBEHEER (Client: 000)                                                     
    Destination: <SID Solution Manager>CLNT010 (handle: 2, , {4846C6DC-14A2-0F1F-E100-0000AC1B29D8})     
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 2277                                   
    CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242                                       
    Timeout during connection setup. Please check partner availability                
    HOST =<host name Solution Manager>                                                  
    SERV =sapdp02                                                                     
    Checked the error code 242 "GW_TIMEOUT" and found:
    Connection setup to the remote gateway has been closed because timeout has been exceeded.
    The time limit can be set in parameter gw/timeout.
    Changed parameter gw/timeout to value 10000, but still encounter same error message.
    From OS level <SID R/3 QAS Customer 1> i can ping the <host name Solution Manager>.
    fvb1:/home/stampg$>ping <host name Solution Manager>
    PING <host name Solution Manager>: 64 byte packets
    64 bytes from 172.27.68.239: icmp_seq=0. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=1. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=2. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=3. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=4. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=5. time=1. ms
    conssmp.services.retail.tc PING Statistics----
    6 packets transmitted, 6 packets received, 0% packet loss
    round-trip (ms)  min/avg/max = 1/1/1
    Any suggestions where to look ?
    Regards,
    Gidion

    Hello Gidion,
    can you please verify the hostnames/FQDN's? Because:
    LOCATION SAP-Gateway on host hemisrq.services.retail.tc.services.retail.tc / sapgw01
    host hemisrq.services.retail.tc.services.retail.tc
    It seems to me that somewhere the domain is double used.
    Additionally:
    Sometime there is sapgw 01, sometime sapdp 02. Can you please check the correct service numbers / system numbers?
    Regards
    Holger

  • WRT54G - limited or no connectivity - stalls at "aquiring network address"

    Ok, so I decided to move my modem and router to a different location in the house and unplugged and re-set everything.  I went through the basic setup and finally got to the point where I can get internet when the pc is wired to the router.  Wireless, the pc is picking up the network fine but when it gets to "aquiring network address" it just stalls and eventually I get the message that I have limited or no connectivity.  When I righ click on the network connection icon and click "repair" connection it cannot verify network address.  My xbox 360 is also picking up the network but fine but will not connect.  Everything was working fine beforehand but I cannot for the life of me figure out what setting needs adjustment.
    Any suggestions?
    Thanks

    FWIW, this is similar to a problem I just posted.  I got around the problem by selecting properties on the connection, and changing the settings under 'Internet Protocol (TCP/IP) Properties' to use a specific IP address.
    These settings worked for me:
    IP 192.168.1.101
    Subnet mask 255.255.255.0
    Default Gateway 192.168.1.1
    Preferred DNS server 192.168.1.1
    Alternate DNS server 192.168.1.2
    I haven't yet found a solution to allow me to go back to obtaining an IP address automatically.  Did you?
    Mike

  • HT1766 back up os 6.1.2 stalls and won't back up,

    back on os 6.1.2 stalls and won't back up, also won't recognize photos to import to iphoto after this download

    You cannot go back. Downgrading is not supported by Apple.
    Note: iOS 6.1.4 was only for the iPhone 5.
    Have a look here... for iOS 7 tips...
    http://osxdaily.com/2013/09/23/ios-7-slow-speed-it-up/
    ALSO...
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    And try a Reset all settings ...
    Settings > General > Reset > Reset all Settings.
    This will return all iDevice settings to factory defaults... you will not lose any data.... But you will have to re-enter all of the device settings.
    If the issue persists...
    Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • Wifi problem - connection stalls. MSI GE620DX

    Hi,
    Bought this laptop May 2011. OS Windows 7 Home Premium, Intel Centrino Wireless-N 130 wifi adapter (from Windows device manager).
    I have had the same Wifi problem from the beginning. The Wifi connection stalls every 5-20 seconds or so. The wifi stays connected but basically it is just like it is losing packets for some seconds. Like if I'm streaming a video (Internet or LAN, the exactly same thing) with VLC, the video starts to play nicely but after 5-10 seconds it starts to skip frames and stops for 1-4 seconds and then continues again. (But Youtube for example usually works better, because it buffers the video and can handle these network errors.)
    Other services behave exactly similarly, like file transfer. It is relatively slow to begin with but also varies in speed. If I transfer from another computer in the same LAN (other computer with wired connection) the speed is about 600-700 kB/s. Web browsing sometimes needs a refresh on the browser to get the page to load. I tried pinging my router, results were: Sent = 2730, Received = 2589, Lost = 141.  Round trip fastest = 1 ms, slowest = 2407 ms, average = 7 ms.
    So, you understand this is quite frustrating at times.
    I initially thought the problem is just some incompability with my router and this MSI laptop Wifi. But I now have experience with four different networks in four different locations and the results are always very similar. So I am quite sure the fault is with the MSI. With wired connection there's no problems at all but that is not always possible and basically the Wifi should just work.
    I have tried different driver version but absolutely no difference. The latest driver was just updated from Windows Update and no difference in performance. I have also tried to let both the Intel PROSet/Wireless software and Windows to manage the Wifi connections, but again, no difference what so ever.
    I'm kinda thinking it's a hardware problem.
    Any advice or should I just contact MSI for repairs? Thanks in advance.

    Thanks Buluunee!
    After your advice I decided to once again reinstall, starting by uninstalling the driver and also Proset. Once uninstalled both, I just installed the driver (or actually Windows found it automatically, altough I thought I had removed it). Now, without the Proset, this seems to be working!
    There was something odd happening after a reboot, wifi connected but didn't get IP address. Another device worked fine on the same network. I had an extra router and this is working nicely even after some shutdowns. So, it seems this was after all a softaware problem.

  • BPEL Correlation and timeouts

    Hello,
    I'd like to ask question regarging BPEL correlation and timeouts.
    According to BPEL SE lifecycle schema - if BPEL SE receives message with defined correlation and value of the correlator in message doesn't match any active process instance BPEL keeps message waiting for process instance with particular correlation value
    This behaviour is undesirable in situations where no process with particular correlator ever appears.
    If the BPEL client is connected via HTTP/SOAP BC, then client timeout will just terminate HTTP connection to binding component, message exchange between BC and BPEL isn't closed.
    I cannot manage to cancel connection due to timeout from EJB (if BPEL client is EJB, so it is connected via JavaEE SE).
    Is there any possibility in BPEL SE to refuse messages correlated to non-existing process instances? Or is there any possibility to set client timeout from SOAP BC or J2EE SE on message-exchange level?
    Vladimir

    This is a feature that we would like to provide in the BPEL SE. In the immediate future we may be able to address this in part specifically the case you mentioned. The other cases that also needs to be addressed is where the incoming message's correlation ID matches with a running instance, but doesn't get consumed because the instance never took the path of consuming the message. These other use cases will be addressed as a feature later.
    thanks,
    -Kiran B

  • Troubleshooting 10.7.2 Intermittent System Stalls and Freezes

    Context
    Problem is occurring on a PowerMac 2.66 GHz Dual Core Intel Xeon running OS 10.7.2 with 6 GB RAM.
    4 Hard drives installed. Normal startup drive is a 600 GB Western Digital VelociRaptor 3.5" drive. Other drives are Western Digital Caviar Black and Caviar Green drives.
    No airport or bluetooth cards installed.
    Internet access through ethernet connection to Netgear Gigabit Wireless router.
    30 inch Cinema Display, wired mouse and keyboard.
    Problem Description
    For sometime I have been experiencing intermittent system stalls and freezes. None of my troubleshooting has identified the problem. Sometimes when I am doing something, the system will freeze for a few seconds. There is no spinning ball. I am able to move the cursor but it retains the shape it was for the document I was working in but I can neither shift to another application nor shift to another command with the application I am in. Sometimes this behavior will end and normal operation resume. Or it will continue into a system freeze. The system freezes are such that only a power down will work. Sometimes they occur when the computer is asleep and sometimes when I am actively using it. This morning I did receive a spinning ball but it disappeared but the stall continued until, after a minute, I treated it as a freeze since nothing worked except the ability to move the cursor around the screen.
    When I became aware of this behavior, it was after I had incrementally upgraded to OS 10.7.2. I later used the Mac OS 10.7.2 version 1.1 combo update. The problem continued.
    Troubleshooting
    I have been systematically reviewing the console log to identify messages that might identify problems. For example, I located and removed a couple of files in the Library/StartupItems, Library/LaunchAgents, and Library/LaunchDaemons folders that were associated with applications already removed. I have also dropped several apps from my automatic launch sequence.
    I have used several utilities to test RAM and other hardware and all tests have passed.
    I have switched drives to startup and while I did not stay on a drive using 10.6.8 long enough to experience a system freeze, I did experience a system stall lasting for several seconds. Therefore I do not think it is a drive problem.
    I have reduced to minimum the software being used and system has lots of free memory. Memory tests are good. (In Single User mode ran memtest for 2 runs.) Memory problem is unlikely.
    => Reviewing console messages, I find no correlation between the freezes and what is recorded in the logs.
    Any suggestions as to how to proceed at this point?

    The problem has been solved. In addition to the bad DIMMs, I had a defective video card and there were some software problems. The defective card was replaced and ran well for over 24 hours under intense computing tasks without problems using a Technican personailty. When I used it, I had problems right away. In consultation with Apple, I made the decision to erase (after cloning everything) and do a clean installation of Lion and all of my software. I have not completed installing everything but I have those tools I use on a daily basis now available.
    Some Lessons Learned
    If you are doing something like this, do not use Migration Assistant to speed up the process. It will bring in everything and you will not really have a clean install.
    It is easier if you make the Library on your new Lion drive visible and make the one on your old clone visible too. To avoid permission problems, you need to copy files into a Shared User folder and then copy them into the new destination folder.
    If you don't do it right and you find you have problems, check out this link on how to repair User Permissions in Mac OS Lion: http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion/

  • Installation of Yosemite seems to have just stalled and now I can't quit or restart or anything - help!

    Trying to install Yosemite - seems to have frozen / stalled and now can't quit or restart or anything - help!

    If you have another computer that is on the same network as the Mac you're trying to upgrade, you can try to "ssh" in to the mac while the upgrade process is running. "ssh" is a command available on many computers (built in to Linux and Mac and not sure if it is native app on Windows or not). For example on a Linux box trying to login to a Mac you could (assuming the IP address of the Mac is 192.168.99.99):
         ssh [email protected]
         The authenticity of host '192.168.99.99 (192.168.99.99)' can't be established.
         RSA key fingerprint is c2:2c:8f:f5:82:77:85:69:3a:ac:3e:30:62:55:14:1f.
         Are you sure you want to continue connecting (yes/no)? yes
         Warning: Permanently added '192.168.99.99' (RSA) to the list of known hosts.
         Password: (your password for the macuser account will not be echoed)
         Last login: Thu Nov 27 18:16:45 2014
         Macname:~ macuser$
    Once you get logged in, you can do a couple of things to see if things are progressing. Try to do a couple of "df -k" commands a minute or so apart (maybe a little more) and see if the "Used" and/or "Available" column numbers change. You can also try a "top" command to see what processes are running and which are using cpu and other resources. Do a "man top" or "man df" to see more information about these commands.
    Be careful and not change anything while this upgrade is proceeding - don't remove files or change things with the system. Also note that depending on which phase of the upgrade process it is in, the disk space numbers may not even change. But the "top" command should give you a very good indicator on if anything is really going on. Another good thing to look at is to do the following:
         cd /var/log
         tail -f install.log
    this will show you all/most of the commands that are being run as the upgrade is in progress. Just control-c to abort the "tail" command.
    Once you have convinced yourself something or nothing is going on (the time estimator seems to be horribly unreliable in the couple of times I've watched the upgrade process), then just let it finish and it should reboot at the end of the process. To log back out of the Mac, just type in the "exit" command followed by an Enter or Return.
    This all assumes that you had setup "Remote Login" in the "Sharing" System Preferences pane before hand on the Mac.
    Good luck...
         exit

  • This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase the timeout value on the Proxy and Timeout page in search administration. You might also wa

    HI,
    I got the error message in the crawl log as below after performing the Full Crawl
    This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase
    the timeout value on the Proxy and Timeout page in search administration. You might also want to crawl this repository during off-peak usage times.
    To overcome the above error,many forums have suggested me to increase the time out which is under Farm level settings.But if time out gets increased,performance impacts as well.
    So please suggest me to overcome this error without increasing the timeout.Thanks in advance
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    Hi,
    I understand that you get the error message when performing a full crawl. I have seen similar cases caused by IE proxy settings. You can try to edit the Internet Options>Connections>LAN settings. Uncheck ‘Automatically detect settings’.
    For more information, please refer to this site:
    Search error: crawler could not connect to the repository:
    http://social.technet.microsoft.com/forums/en-US/sharepointadminprevious/thread/c230ab36-8d0b-4c25-bf86-33136d17642b/
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • ACE connection limit and remote TCP security scans

    We are currently running remote TCP security scans on our networks and are running into a major problem where when the scans are taking place the ACE connection resource usage sky rockets and easily reaches the maximum 4 million connections.  This means that anyone can run a simple TCP scan and take down our ACE by maxing the connection limit.  We have the following parameter-map applied to all of our policies but it does not help to clear the connection count on the ACE in a reasonable amount of time.  parameter-map type connection CONNECTION_TIMEOUT   set timeout inactivity 300   set tcp timeout half-closed 60  I should note that we do have normalization turned off because it causes way more problems then it's worth (no resolution with TAC).  Does anyone have an tips on how to accommodate security scan's on networks behind the ACE while not saturating the connection count limit?

    For vips, this particular context only has one class C applied to a class-map.  Not all IP's are in use but regardless the ACE creates connections for those as well.  I've set the timeout inactivity to 120 seconds and I still see connections from the remote scanning host idling well over 45mins for connections destined to the vip's.  Is turning on normalization my only option?  I know there are others who have turned off normalization due to performance and connectivity issues so there must be other ways around this.  Thanks for your help.

  • Outlook 2010 IMAP connection problem and not work with TLS enabled

    Dear all,
    Need your help.  5 users of my customer Outlook 2010 suddenly popped error message "Your IMAP server closed the connection".  We checked that there is no problem in IMAP connection in Exchange 2007 server (SP3) (we tested with setup new
    account in another Outlook and able to connect, send and receive email).  
    We are able to workaround the problem of that 5 users by disabling TLS in account setting for SMTP to Exchange.  The users can then connect and able to send and receive. (however, in our testing above, there is no problem with TLS).
    Could you help to enlighten me what may be the cause of this situation?  
    Best Regards,
    Rayson Wong 

    Hi,
    Please click File > Account Settings > Account Settings > Select the IMAP account and click
    Change > More Settings button > Advanced tab, and then adjust the
    Server Timeouts slider bar to a longer time to check the result.
    Also make sure the SMTP server port number is set correctly.
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support

Maybe you are looking for