Io exception: Connection reset - after some time interval

Hi,
We are facing a problem in connection while implementing connection pooling using OracleDataSource .
Application is running with out any issue if it is called continuously.
If we call the application after some time interval, connection is being reset. We are able to get the connection instance but connection reset exception is thrown while calling callableStatement.execute().
If application called after application restart it is working fine.This issue is happening only for the first few calls made after some time interval.(after 1 hr)
After that call is proceeding without any issue.
Environment Details
Application is accessing 4 oracle databases and the versions are viz., 9.2.0.8,10.2.0.3,10.2.0.4 and 9.2.0.1.
Driver : ojdbc14.jar
App Server : tomcat
jdk version: 1.5
OracleDataSource is being used for connection pooling.
propCache.setProperty("ConnectionWaitTimeout",10); // caching parms
ods.setConnectionCachingEnabled(true);
ods.setLoginTimeout(intLoginTimeout);
propCache.setProperty("MinLimit","5");
propCache.setProperty("MaxLimit", "20");
propCache.setProperty("InitialLimit","5");
propCache.setProperty("ValidateConnection", "true");
propCache.setProperty("AbandonedConnectionTimeout", "10");
The exception details are as follows
java.sql.SQLException: Io exception: Connection reset
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:987)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
at oracle.jdbc.driver.OracleStatement.doScrollExecuteCommon(OracleStatement.java:4043)
at oracle.jdbc.driver.OraclePreparedStatement.doScrollPstmtExecuteUpdate(OraclePreparedStatement.java:10826)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3337)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3445)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4394)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:834)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
at java.lang.Thread.run(Unknown Source)
Any suggestion to resolve this issue is greatly appreciated.
Thanks.

Hi,
try to utilize OracleDataSource#setConnectionCacheProperties() with property InactivityTimeout equals to 1800 (30 minutes in seconds).

Similar Messages

  • My ISP requires a http login. I can use the iPad fine if I am logged in on a PC connected to the same wifi network, but if I login on safari on my ipad, the connection drops after some time.. any workaround?

    My ISP requires a http login. I can use the iPad fine if I am logged in on a PC connected to the same wifi network, but if I login on safari on my ipad, the connection drops after some time.. any workaround?

    TJBUSMC1973 wrote:
    The iPhone is working, as designed and advertised.  In this case, the user failed to educate themselves properly, either by proper research or asking the right questions, before purchasing the device.
    I understand that the OP failed to do research. But then, I wasn't replying to the OP. I was replying to Chris. I have Verizon. I can talk and use data at the same time with my Droid Maxx. Therefore, the problem is not just with the network. It would be technically possible for an iPhone to do that on Verizon/Sprint if Apple had chosen to use a different chip, such as the kind other phone manufacturers have elected to use.
    Of course, this is probably all irrelevant to the OP's issue. It was merely a point of clarification, especially for those people who are used to being able to use both voice and data at the same time on Verizon. When they switch to an iPhone, they are often surprized at the limitation.
    Best of luck.

  • SA 540 drops wan connectivity after some time interval

    hello guys,
    I have problem.  after a certain period of time (ranging from 2 minutes to several hours) the unit keeps dropping the WAN connection, making the unit unaccessible from the WAN side. The strange thing is, that when the connection is dropped, the unit is perfectly accessible from the LAN side, the WAN LED is still on, status info shows the WAN link up, and packet trace shows broadcasted traffic on the WAN interface, so only the directed communication to and from the ISPs gateway (configured to fix IP) seems to be blocked for some reason. When this happens, then plugging the WAN cable to the Optional WAN port enables traffic again, but it is also dropped after some time, and then only power cycling the unit restores WAN connectivity.
    please suggest me as soon as possiblethat how to fix this problem?
    Awaiting for valuable reply.....

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Socket connection dies after some time being idle w/o firing event

    Hi,
    I use this code to connecto my server from my Client
              if (socket == null){
                   try{
                        if (pwd.length > 0)
                             System.out.println("opening connection...to "+host+" at port "+port);
                             socket = new Socket(host, port);          
                             toServer = new ObjectOutputStream(socket.getOutputStream());
                             fromServer = new ObjectInputStream(socket.getInputStream());
                             System.out.println("Connection established!");
                             fireClientEvent(new ClientEvent(this, ClientEvent.CONNECTION_ESTABLISHED, ""));
                             this.connected = true;
                             Hashtable<String, String> table = new Hashtable<String, String>();
                             table.put("action", "login");
                             table.put("key", convertToString(pwd));
                             sendObject(table);
                   }catch(IOException e){
                        try{
                             if (socket != null)
                                  socket.close();
                             System.out.println("Error while connecting... Server does not exist!");
                             this.connected = false;                         
                             fireClientEvent(new ClientEvent(this, ClientEvent.SERVER_DOES_NOT_EXIST, getHost()+":"+getPort()));
                        }catch(IOException x){
                             System.out.println("I/O ERROR @ CLIENT CONNECT!");
                             removeAllListeners();
                             x.printStackTrace();
              }And this is how my server responds to client requests:
         public void run()
              ServerSocket server = null;
              Socket socket           = null;
              Hashtable<String, String> ClientInfo = new Hashtable<String, String>(); 
              try{
                   server = new ServerSocket(getPort());
                   //listen for connections
                   while (!stopServer)
                        try{
                             System.out.println("Starting Server at port: "+getPort());
                             socket = server.accept();
                             ClientInfo.put("remoteip", socket.getInetAddress().toString());
                             fireServerEvent(new ServerEvent(ClientInfo, ServerEvent.CONNECTION_REQUESTED, null));
                             ThreadedSocket tsocket = getThreadedSocket(socket);
                             tsocket.addSocketListener(this);
                             tsocket.setMaxSolvingTime(maxSolvingTime);
                             Sockets.add(tsocket);
                             executor.execute(tsocket);
                             fireServerEvent(new ServerEvent(ClientInfo, ServerEvent.CONNECTION_ESTABLISHED, null));
                        }catch (IOException ioe){
                             fireServerEvent(new ServerEvent(ClientInfo, ServerEvent.UNEXPECTED_CONNECTION_ERROR, null));
                             exceptionThrown(ioe);
              }catch(Exception x){
                   exceptionThrown(x);
              }finally{
                   try{
                        server.close();
                        socket.close();
                   }catch (Exception e){
                        exceptionThrown(e);
         }It seems that after some time (aprox. 10-15 minutes) being idle, my client gets disconnected withougt firing any event so the Server thinks the client is still connected but it does not get any messages because the client has closed the connection (I think)
    Am I doing/thinking something wrong?

    Thanks It seems that I am doing something completely wrong.
    I created this object:
    package main;
    import java.util.Hashtable;
    import java.util.Vector;
    public class SocketPinger implements Runnable {
        private Vector<ThreadedSocket> sockets = null;
        Hashtable<String, Object> action = new Hashtable<String, Object>();
        public SocketPinger()
            action.put("action", "scheduled_ping");
        public SocketPinger(Vector<ThreadedSocket> socks)
            this.sockets = socks;
            action.put("action", "scheduled_ping");
        public void run()
             process();
        public void process()
             if (sockets != null)
                  for (ThreadedSocket socket : this.sockets)
                       try
                            socket.sendObject(action);
                       }catch(Exception e){
                            sockets.remove(socket);
        public void setSockets(Vector<ThreadedSocket> socks)
             this.sockets = socks;
    }which I call with this command:
         public class ThreadScheduler
             private SocketPinger pinger;
             private final ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor();
             public void activate()
                 pinger = new SocketPinger(Sockets);
                 scheduler.scheduleWithFixedDelay (pinger, 5, 10, TimeUnit.SECONDS);            
             public void deactivate() {
                 scheduler.shutdown();
         }This makes the Scheduler object wake up every 10 secs and ping all the clients. This works and since then everything seemed to work fine. Today I noticed that when I shut down the client abnormaly (System.exit(0);) the server doesn't understand it. The sendObject() method works fine.
    This is my ThreadedSocket with the sendObject() method:
    public class ThreadedSocket extends Thread
         protected Socket socket;     
         protected ObjectOutputStream toClient;
         protected ObjectInputStream fromClient;
         protected ConnectionPool Pool;
         protected DBManager db;
         public ThreadedSocket(Socket sock, int priority, ConnectionPool pool) throws IOException
              socket = sock;
              this.Pool = pool;
              toClient = new ObjectOutputStream(socket.getOutputStream());
              fromClient = new ObjectInputStream(socket.getInputStream());                    
              setPriority(priority);     
              db = new DBManager(Pool);
         public void sendMessage(String message)
              try{
                   toClient.writeUnshared(message);
                   toClient.flush();
              }catch(Exception e){
         public void sendObject(Hashtable<String, Object> table)
              try{               
                   toClient.writeUnshared(table);
                   toClient.flush();
                   toClient.reset();
              }catch(Exception e){
         }and this is how I initialize the ThreadedSocket on my Server object
         public void run()
              ServerSocket server = null;
              Socket socket           = null;
              Hashtable<String, String> ClientInfo = new Hashtable<String, String>(); 
              try{
                   server = new ServerSocket(getPort());
                   //listen for connections
                   while (!stopServer)
                        try{
                             System.out.println("Starting Server at port: "+getPort());
                             socket = server.accept();
                             ClientInfo.put("remoteip", socket.getInetAddress().toString());
                             fireServerEvent(new ServerEvent(ClientInfo, ServerEvent.CONNECTION_REQUESTED, null));
                             ThreadedSocket tsocket = getThreadedSocket(socket);
                             tsocket.addSocketListener(this);
                             tsocket.setMaxSolvingTime(maxSolvingTime);
                             Sockets.add(tsocket);
                             executor.execute(tsocket);
                             fireServerEvent(new ServerEvent(ClientInfo, ServerEvent.CONNECTION_ESTABLISHED, null));
                        }catch (IOException ioe){
                             fireServerEvent(new ServerEvent(ClientInfo, ServerEvent.UNEXPECTED_CONNECTION_ERROR, null));
                             exceptionThrown(ioe);
              }catch(Exception x){
                   exceptionThrown(x);
              }finally{
                   try{
                        server.close();
                        socket.close();
                        if (scheduler != null)
                             scheduler.deactivate();
                   }catch (Exception e){
                        exceptionThrown(e);
              So I have to make this question unanswered, because it is actually partially answered. Although the server can wake up and ping the clients, I still find it difficult to see if the client really exists after some abnormal termination (i.e. computer dies, or sth similar).

  • Wireless connection lost after some time ?

    The wireless internet connection works just fine when browsing safari or the appworld, no problem at all...After locking the ipad and using it a few mins/hours later, I usually lose the internet connection. It says im connected but safari/appworld wont load unless I turn off the wireless connection or renew lease in the options.
    Can someone please tell me why is this happening ?? Its been happening since I got the ipad, so an app cant be the cause ..
    Please help !

    The router firmware has the latest version ... I dont think its something with the router, because I use my laptop wirelessly as well and I dont have such problems. My friend has an iPad 1 and he doesnt have the same problem as mine either ..
    Is there an app that can fix this ??? I thought it might be an email problem because my older Android phone usually lose connection when trying to fetch emails, so I activated PUSH function on the ipad, but that didnt fix the problem
    Please help !!

  • Odbc connection drops after some time over vpn -- help needed

    hi,
    sorry to tell u that i am not able to find the right suggestion/ solution in previous posts in this forum. my problem is like this:
    I am running oracle database (11g) on windows 2003 server. my oracle client (9i) is accessing database on that server. if the server is on a simple LAN, all the clients are able to login and the connection is lasting fine. recently, the server is configured in a VPN. now the clients are not able to sustain the connection for long time, the connection is getting dropped within minutes. whats the problem with VPN? even though the cluster configuration (VPN) is said to be done properly, whats going to be the problem?
    my client side application is with VC++ and using ODBC for accessing database. with oracle Net Configuration Assistant, the connection is working fine even on VPN, but when my application is trying to access the database over VPN, the connection seems to be intermoittent. please suggest me in this regard. thank you in advance.
    swamy.

    hi,
    sorry to tell u that i am not able to find the right suggestion/ solution in previous posts in this forum. my problem is like this:
    I am running oracle database (11g) on windows 2003 server. my oracle client (9i) is accessing database on that server. if the server is on a simple LAN, all the clients are able to login and the connection is lasting fine. recently, the server is configured in a VPN. now the clients are not able to sustain the connection for long time, the connection is getting dropped within minutes. whats the problem with VPN? even though the cluster configuration (VPN) is said to be done properly, whats going to be the problem?
    my client side application is with VC++ and using ODBC for accessing database. with oracle Net Configuration Assistant, the connection is working fine even on VPN, but when my application is trying to access the database over VPN, the connection seems to be intermoittent. please suggest me in this regard. thank you in advance.
    swamy.

  • Application unable to connect to databse after some time

    The problem we are facing is that after some time the application seems to be unable to connect to the database. The only way we have been able to clear the issue is by re starting the application servers. Below is the information I see in my logs any help would be appreciated, thanks
    ####<Sep 6, 2007 12:08:24 PM CDT> <Info> <JDBC> <plss1433> <SMART-1433-7025> <ExecuteThread: '22' for queue: 'weblogic.kernel.Defaul
    t'> <<anonymous>> <> <BEA-001068> <Connection for pool "SMARTPool" created.>
    ####<Sep 6, 2007 12:08:24 PM CDT> <Info> <JDBC> <plss1433> <SMART-1433-7025> <ExecuteThread: '22' for queue: 'weblogic.kernel.Defaul
    t'> <<anonymous>> <> <BEA-001132> <Initialized statement cache of size "10" for connection in pool "SMARTPool".>
    ####<Sep 6, 2007 12:08:24 PM CDT> <Info> <Common> <plss1433> <SMART-1433-7025> <ExecuteThread: '22' for queue: 'weblogic.kernel.Defa
    ult'> <<anonymous>> <> <BEA-000628> <Created "1" resources for pool "SMARTPool", out of which "1" are available and "0" are unavaila
    ble.>
    ####<Sep 6, 2007 12:08:26 PM CDT> <Info> <JDBC> <plss1433> <SMART-1433-7025> <Thread-7> <<WLS Kernel>> <> <BEA-001128> <Connection f
    or pool "SMARTPool" closed.>
    ####<Sep 6, 2007 12:16:41 PM CDT> <Error> <JDBC> <plss1433> <SMART-1433-7025> <ExecuteThread: '23' for queue: 'weblogic.kernel.Defau
    lt'> <<anonymous>> <> <BEA-001131> <Received an exception when closing a cached statement for the pool "SMARTPool": java.sql.SQLExce
    ption: Io exception: Broken pipe.>
    ####<Sep 6, 2007 12:17:14 PM CDT> <Error> <HTTP> <plss1433> <SMART-1433-7025> <ExecuteThread: '22' for queue: 'weblogic.kernel.Defau
    lt'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=23265185,name=Smart,context-path=/Smart)] Servlet failed with Exception
    java.lang.NullPointerException
    at com.spcs.web.smart.dao.MSOBillFileDAO.fetchFileList(MSOBillFileDAO.java:35)
    at jsp_servlet._jsp._ma._bfm.__releasearchive._jspService(__releasearchive.java:461)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I also see this in jdbc.log
    SQLException: SQLState(null) vendor code(17002)
    java.sql.SQLException: Io exception: Connection timed out
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2529)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
    at com.spcs.web.smart.util.SmartDAO.authenticate(SmartDAO.java:381)
    at com.spcs.web.smart.servlets.LoginServlet.doPost(LoginServlet.java:36)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    The following fixed this:
    http://technet.microsoft.com/en-gb/library/bb932151.aspx
    For some reason "sms admins" was no longer even showing in permissions, added it and gave it appropriate permissions (as per article above), including subfolders.  After that worked perfectly.
    Does anyone have any ideas why a reboot would cause permissions to be lost?

  • My new i phone 6 plus some time not connecting wifi after switching off it start and after some time gain its stop connection please advice

    my new i phone 6 plus some time not connecting wifi after switching off it start and after some time gain its stop connection please advice

    settings - general - reset - reset network settings.

  • My Iphone 3G stopped booting and failed to start. After some time, I have restored the Iphone OS using Itunes (ver 4.2). Itunes restored it successfully, but the Iphone didn't responded and remained the same.except apple logo, nothing is displayed.

    Hi,
    I have an Iphone 3G.
    Its 9 months old mobile and it has OS 4.2 in it.
    When I am accessing wi-fi, suddenly the display went-off and then I was not able to start my phone again.
    Later I tried to restore and update the Iphone using Itunes.
    I have updated the Itunes.
    Using hard-reset, I tried to restore the OS and did the same successfully.
    After installing the same over my Iphone 3G, I didnt recieved any intimation for completion of the process, besides, I was not able to start the mobile even I have reset the OS.
    when I push the wake-up button, I am able to see the Apple Logo and after some time, it goes off and remains idle with no more display.
    I tried to reset OS twice, it remained the same.
    Can any one help me here with this issue.
    I am not even able to figure-out the cause of the problem.
    Thanks in advance.
    Bharath.

    Hi,
    I have an Iphone 3G.
    Its 9 months old mobile and it has OS 4.2 in it.
    When I am accessing wi-fi, suddenly the display went-off and then I was not able to start my phone again.
    Later I tried to restore and update the Iphone using Itunes.
    I have updated the Itunes.
    Using hard-reset, I tried to restore the OS and did the same successfully.
    After installing the same over my Iphone 3G, I didnt recieved any intimation for completion of the process, besides, I was not able to start the mobile even I have reset the OS.
    when I push the wake-up button, I am able to see the Apple Logo and after some time, it goes off and remains idle with no more display.
    I tried to reset OS twice, it remained the same.
    Can any one help me here with this issue.
    I am not even able to figure-out the cause of the problem.
    Thanks in advance.
    Bharath.

  • Sun One Web Server connection pool goes stale after some time

    Hi all,
    I have a few web applications running on Sun One Web Server 6.1 (SP4). I configured a connection pool via the web admin of the web server. I do not know why the connections in the connection pool are never released after some time (this happened for 3 times with a couple of months in between). I need to reboot the web server to solve this problem everytime the connection pool goes stale. I have verified that the resources are released (stream and connection are closed) with proper programming logic. Even so, I think that the connections will be timed out (the setting is 5 minutes) by the web server as a bulletproof even if the resource is not released properly as implemented in the code logic. Can anybody help on this? I have been troubled by this problem by weeks.
    Thank you in advance.

    Hi all,
    I have a few web applications running on Sun One Web Server 6.1 (SP4). I configured a connection pool via the web admin of the web server. I do not know why the connections in the connection pool are never released after some time (this happened for 3 times with a couple of months in between). I need to reboot the web server to solve this problem everytime the connection pool goes stale. I have verified that the resources are released (stream and connection are closed) with proper programming logic. Even so, I think that the connections will be timed out (the setting is 5 minutes) by the web server as a bulletproof even if the resource is not released properly as implemented in the code logic. Can anybody help on this? I have been troubled by this problem by weeks.
    Thank you in advance.

  • I connect my iphone 4g on charging after some time it is complete dead and very heat up please help me.

    i connect my iphone 4g on charging after some time it is complete dead and very heat up please help me.
    helllllllllllllllllpppppppeeeeeeeee me

    There is no such thing as an iPhone 4G.

  • TS4148 i update my 3gs to 6.1 from 4.1 after installation of software it shows connect to itunes or connect  to wi-fi when i connect it to itunes it shows the iphone tab in itunes bt after some times it say we are unable to complete your request please he

    i update my 3gs to 6.1 from 4.1 after installation of software it shows connect to itunes or connect  to wi-fi when i connect it to itunes it shows the iphone tab in itunes bt after some times it say we are unable to complete your request please help me

    That would be the wireless number assigned by AT&T when the purchaser of the iPhone signed up as a customer with AT&T. If neither you nor your uncle ever activated the iPhone with AT&T, click the "non customer" button.
    Note that jailbreaking often renders it impossible to get an iPhone officially unlocked, so don't be surprised if it fails. If it does, then you may have to buy a new iPhone, this time one that is officially unlocked.
    Regards.

  • I have installed sim card but while settinng up ios 5 when i chose connect to itunes after some time it shows no sim card installed

    i have installed sim card but while settinng up ios 5.1 when i chose connect to itunes after some time it shows no sim card installed

    qaziahmad2010 wrote:
    i have iphone 3gs i restored it and now it is not activating ...
    See here  >  http://support.apple.com/kb/TS3424
    Also see this discussion.
    https://discussions.apple.com/message/21189708

  • SystemD Values Get Reset to Default after some Time

    Hi,
    I'm using two machine as gateways and Keepalive HA load balancers, so I've enabled some kernel options, but after some time (the next day or so), these options have been reset to their default (disabled) values.
    Why does that happen, and how to stop that from happening?
    I have to reset the parameters each time. I could set up a script to run on a schedule, but I would like to prevent it from happening in the first place.
    These are the values which get reset to 0 (this time):
        net.ipv4.conf.all.accept_redirects
        net.ipv4.vs.conntrack
        net.ipv4.vs.expire_nodest_conn
        net.ipv4.vs.expire_quiescent_template
    Thank you.

    I didn't find anything in the journal, but I am curious about what I did find: every 1-3 seconds, there is an entry which is repeated: "sshd[<Number>]: Set /proc/self/oom_score_adj to 0". What does it mean? I've been scrolling for the last few days-worth of this message, and there is still more... I also have many attempts to log in via ssh from China, from multiple IP addresses, with various user names and many unsuccessful authentication attempts for root; maybe the entry is related to these attempts...
    Going back to the original discussion, I think I've seen someone mention a systemd service or something like that which resets kernel settings, or some other things, to their default values, in a post (here), but I didn't find it again. Is there such a service that does something like that?
    It is strange that since I started this thread, and since I reset the settings to 1, they have remained at 1. I notice that it happens irregularly.

  • Urgent : MDB stops listening to the queues after some time  !!!

    Hi,
    I am using OJMS with OC4J 10.1.2 and db 9.2.0.5. I have a web application which send messages into the queue very frequently.
    But the problem is the MDBs stop listening to the queues after some time (1-2 days) and no more messages will be dequeued from that point.
    All these messages will move to the exception queue after their expiry.
    But the dequeing agains resumes after restarting the OC4J !.
    I guess, at some point mdbs are either becoming busy (locked ) or some exception occured while dequeing, hence they stop listening to the queues.
    Please throw some light on this issue as it is very crucial in my project.
    Regards
    Prashanth

    I've noticed this lately as well, with my iPhone 4. I couldn't confidently pin it directly on any particular iOS update, but my iPhone used to automatically connect up via Bluetooth with my Prius's handsfree feature, and now it doesn't. I work with a CE-based device at my job, with Bluetooth capability, and I used to test out that feature by having it discover my iPhone. This no longer works either.
    What I have found (not really a solution, but it does work and may be a clue for Apple) is that if I simply go to the Settings app then the General -> Bluetooth screen and let it sit there, it will pair right up with my car within a few seconds. Bluetooth is always on, and always says "Now Discoverable" at the bottom of the settings screen.

Maybe you are looking for

  • How can I configure a party such that this party can submit both 4010 and 5010 transaction?

    I try to configure a party such that this party can submit both 4010 and 5010 transactions.  I encounter error related to ISA11 field. When I submit a 4010 transaction, I need to uncheck the 'Use ISA11 as repetition separator' box in the X12 Intercha

  • How to use HtmlDataTable in JSF

    Hi, I am going to use HtmlDataTable in a bean. The scenario like this: User submit a symbol (a String) then get stock history information corresponding to this symbol. I put the stock history information in an Arraylist, every element of this Arrayli

  • PO PDF errors when using custom RTF Template, but works with custom xsl

    Hi, I have done following set up steps for PO PDF Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF' setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your

  • JDEV 11G R1 - Panel Stretch Layout

    Hi, I am using Jdev 11g R1. I would like to know how to set the size of the "Panel Stretch Layout" component to fit to the complete window. Whenever I add it it just render on some part of the window and I have to change the width and height to set t

  • Windows 7 64 bit crash on exit

    Anyone else gettting this? Doesn't happen with all pdf's, but cant find a pattern yet.