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).

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.

  • 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).

  • 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.

  • 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.

  • 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?

  • 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.

  • 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.

  • 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

  • Portege 3440CT freezes after some time while the files are being copied

    Hello all :)
    It seems I'm having the same problem as missred in this thread http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=19232 (on the bottom). Unfortunatelly I can't reply there that's why I'm writing here. My laptop version is 3440CT.
    My try was to make a win98 bootable HD drive with i386 directory on it, boot from this disk and start the installation with winnt.exe. OK, it works but while the files are being copied after some time it just freezes. I tried it both with one partition and i386 on active system partition and with two partitions and i386 on a separate non-system partition. I don't have FDD or CD for the laptop.
    Any ideas what is wrong? Is it possible to install XP on the same disk the XP installation is started from?
    Can't wait for your replies ;)
    dzi
    PS: My other tries were:
    - complete XP installation on another computer and then switching the drive
    - XP installation on another computer up to the point it first resets (after finishing of coping the installation files) and then switching the drive
    both unsuccessful. I also changed the drive to another one as I suspected it's phisically damaged. Now I'm out of ideas ;)

    +My try was to make a win98 bootable HD drive with i386 directory on it, boot from this disk and start the installation with winnt.exe. OK, it works but while the files are being copied after some time it just freezes.+
    It should work out this way, so........ is it really freezing or did you forget to include "smartdrive" ?
    Be sure to include the file in the root-directory of your HD and put the right command in your autoexec.bat file
    In the link you refer to you can find all the details
    and ...... yes, you can install XP on the same HD the installation is starting from
    you can also look into this thread for more info :
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=87872

  • 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.

  • BC4j/JSP Application not responding after some time - when deployed on 9ias BC4j/JSP

    Hi,
    We are using BC4j/jsp application on 9ias. The application is not responding
    after some time. We have installed 9ias on PIII(384MB RAM). We tried to accesses
    with 10 users, and server is not responding to BC4J/JSP application.
    However the server could able to publish the JSP pages with standerad JDBC code even after that.
    Please....help us.........
    many many thanks in advance

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Is there any mechanism that cleans up these connections (back down to the initial or some other minimum I would guess) or do they hang around until either the app server or database shuts down?<HR></BLOCKQUOTE>
    There is currently no mechanism for reducing the connection pool size after a period of high activity. Recently this has been frequently requested and as such will be implemented in the next production release.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>We have verified this in manual testing. However, when the load tool script exits it doesn't seem to release resources. We know this because we keep seeing our database connections go up and up as more tests are run. Further, we also seem to see more than one connection per "virtual user". For example, when I connect 5 users to the app in manual testing, I get 5 connections. But, when we run a test using the tool, we get 395 database sessions for 200 users. We are having a bit of difficulty understanding why the behavior is different.<HR></BLOCKQUOTE>
    Assuming that the you are performing your manual testing against the same instance of the application on which you are performing your load testing, I would assume that the connections are being released to the pool at the end of the request. One possible reason for the approximate 2:1 ratio between connections and virtual users may be BC4J's use of internal connections. What version of BC4J are you using?
    BC4J requires an internal connection to support state management and spill to disk. The internal connections are pooled with the transaction connection and only held for the duration of the persistence operation. However, if the web server is very busy then a large number of synchronous persistence requests may be received which would explain the eventual 2:1 ratio in the pool's high water mark.
    If the user start times and think times are staggered in order to reduce the incidence of synchronous persistence requests does the ratio of connections to web sessions stabilize at some lower number (i.e. 1.5:1)

  • After downloading ios 8 on my i pad air 16 GB, my i pad keeps on restarting on its own after some time?  any idea how can it be rectified?

    after downloading ios 8 on my i pad air 16 GB, my i pad keeps on restarting on its own after some time?  any idea how can it be rectified?

    Please tell me that it has NEVER been jailbroke.  If it has not been jailbroke, here are some standard repair procedures:
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore (or it doesn't help), go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without being charged again.  Also, read this.

Maybe you are looking for

  • Fact Sheet in CIC0 - Display Issue

    All Hope you can help.  I am in the process of tidying up the roles & profiles through the users on our CRM system. We have a small number of users that use the FACT SHEET within trnsx CIC0, they used to have SAP_ALL assigned to them which I have now

  • ICal, MS Outlook, and Titles in published calendars

    I need to publish my calendar, and would like to use iCal to do it. However, I only need the equivalent of free/busy information to show (I don't want to show any other information about events). I thought that unchecking "Publish Titles and Notes" w

  • SOAP Response with WS-Addressing elements

    Hi All,    I have an issue with the response message of SOAP - PI - RFC Sync scenario. In the request of the SOAP message, we receive following header(WS-Addressing) Elements in the SOAP Header part of the envelope. <wsa:Action wsu:Id="wssecurity_sig

  • HT1212 my ipad is disabled will not do anything how can i resolve

    my youngest has inputted the wrong passcode many times and the ipad is disabled nothing happens when i touch the screen can anyone help

  • Error each time i click on calander

    it seems that I can no longer get access to the calendar via my PC browser (IE) every time I click on the calendar or contact I get a error "Can't load Calendar. there was a problem loading the application"