Software caused connection abort?

I am receiving the following errors:
Nov 20 08:13:07 nexus sendmail[29376]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): getrequests: accept: Software caused connection abort
I have not been able to find anything regarding the cause or resolution of this issue - does anyone have a pointer for me?
Mike

Hopefully you've long since addressed this, but for those who are still looking...
Anything that externally interrupts your network access can cause Windows to return "software caused connection abort". It's the "General Protection Fault" of network errors (that dates me, doesn't it?)
Look for firewalls intermittently swiping packets, flaky NICs, bad cables, and in my case, a DHCP server that was occasionally, briefly denying the assigned IP address, just long enough to kill existing connections.
The only way I found that problem was checking the Event Log and finding DHCPNACK errors. I reserved a specific IP for my computer, configured Windows with a static LAN IP address (usually 192.168.x.x or 10.0.0.x), and set the DHCP Client service to manual start / off. Error free connections now.

Similar Messages

  • DB adapter and connections problem (Software caused connection abort)

    Hi all!
    I've heard about some problems of BPEL with database pooling and restoring the connection to the database. I think I might ran into a problem linked with this issue.
    I have a process with a DB adapter that executes custom SQL (SELECT I.SEQ.NEXTVAL FROM DUAL). Yesterday everything worked fine. Over the night the database has been restarted. Today, when I try to execute the process I receive this error:
    <fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>17002
    </code>
    </part>
    -<part name="summary">
    <summary>
    file:/C:/Oracle/OracleAS/bpel/domains/default/tmp/.bpel_process_1.0_e83588e1ecab6f4899d99f7f74afd076.tmp/MyNextVal.wsdl [ MyNextVal_ptt::MyNextVal(MyNextValInput_msg,MyNextValOutputCollection) ] - WSIF JCA Execute of operation 'MyNextVal' failed due to: Pure SQL Exception.
    Pure SQL Execute of SELECT I.SEQ.NEXTVAL FROM DUAL failed. Caused by java.sql.SQLException: Io exception: Software caused connection abort: recv failed.
    ; nested exception is:
         ORABPEL-11633
    Pure SQL Exception.
    Pure SQL Execute of SELECT I.SEQ.NEXTVAL FROM DUAL failed. Caused by java.sql.SQLException: Io exception: Software caused connection abort: recv failed.
    The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead.
    </summary>
    </part>
    -<part name="detail">
    <detail>Io exception: Software caused connection abort: recv failed
    </detail>
    </part>
    </remoteFault>
    </fault
    I don't believe the problem is in using custom SQL but in establishing new DB connection (I'm not a DB expert so I don't know exactly the problem).
    Can anyone please explain something about this and what should I do to ensure this error doesn't repeat?
    After restarting opmn the process is executed successfully.
    Regards!

    Are you using locally defined datasources (setting in wsdl of the dbadapter) or have you set them up at the application server (managed) ?

  • "Software caused connection abort: recv failed" from Applet in IE to JBoss

    Hi
    We have an application hosted as applets on our web-site, but offer the
    same application to customers as a "standalone" off-line version. This
    off-line version is the same code-base, deploy and HTML but run from the
    local file system (in the absence of a web-server).
    I have a J2EE Jasper Reporting framework running in JBoss. On the off-line
    product JBoss runs on the same machine.
    The on-line version works perfectly in both IE and FireFox.
    The off-line version works perfectly in FireFox, but alas, NOT in IE!
    First, here's some code:
    private JasperPrint generateReport() {
              Hashtable enva = new Hashtable();
              System.out.println("enva.put(\"java.naming.factory.initial\", \"org.jnp.interfaces.NamingContextFactory\");");
              enva.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
              System.out.println("enva.put(\"java.naming.factory.url.pkgs\", \"org.jboss.naming:org.jnp.interfaces\");");
              enva.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
              int port = 1099;
              String host = "127.0.0.1";
              System.out.println("enva.put(\"java.naming.provider.url\", \"jnp:// " + host + ":" + port);
              enva.put("java.naming.provider.url", "jnp:// " + host + ":" + port);
              try {
                   System.out.println("Context ictx = new InitialContext(enva);");
                   Context ictx = new InitialContext(enva);
                   System.out.println("Object o = ictx.lookup(\"java:/SessionReport\");");
                   Object o = ictx.lookup("java:/SessionReport");
                   System.out.println("SessionReportControllerHome home = (SessionReportControllerHome) PortableRemoteObject.narrow(o, SessionReportControllerHome.class);");
                   SessionReportControllerHome home = (SessionReportControllerHome) PortableRemoteObject.narrow(o, SessionReportControllerHome.class);
                   System.out.println("SessionReportController remote = home.create();");
                   SessionReportController remote = home.create();
                   PSIberRDSParameterSEIFSAPensionProvidendFund rVO = new PSIberRDSParameterSEIFSAPensionProvidendFund();
                   //call the function on remote
                   try {
                        JasperPrint jasperPrint = new JasperPrint();
                        JasperVO jasperVO = remote.generateMyJasperReport(rVO);
                        jasperPrint = jasperVO.getJasperPrint();
                        return jasperPrint;
                   } catch (Exception re) {
                        System.err.println("remote exception is " + re.getMessage());
              } catch (Exception e) {
                   e.printStackTrace();
              return null;
         }This function returns a net.sf.jasperreports.engine.JasperPrint object wich I
    feed to the JasperViewer.
    Here's the output in my Java console:
    enva.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
    enva.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
    enva.put("java.naming.provider.url", "jnp:// 127.0.0.1:1099
    Context ictx = new InitialContext(enva);
    Object o = ictx.lookup("java:/SessionReport");
    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
         java.net.SocketException: Software caused connection abort: recv failed]
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.callSEIFSAPensionProvidentFundReport(MessageRouter_PAY.java:15159)
         at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.getPayAppletDataImpl(MessageRouter_PAY.java:14895)
         at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.getAppletDataImpl(MessageRouter_PAY.java:14228)
         at psiber.v2.pp.psiberworks.server.MessageRouter.getAppletData(MessageRouter.java:135)
         at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.getAppletDataImpl(RemoteSessionImpl.java:734)
         at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.access$0(RemoteSessionImpl.java:710)
         at psiber.v2.pp.psiberworks.server.RemoteSessionImpl$1.exec(RemoteSessionImpl.java:668)
         at psiber.v2.pp.psiberworks.server.SynchronizedAccessController.doExecuteQuery(SynchronizedAccessController.java:61)
         at psiber.v2.pp.psiberworks.server.SynchronizedAccessController.executeQuery(SynchronizedAccessController.java:137)
         at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.getAppletData(RemoteSessionImpl.java:690)
         at psiber.v2.pp.psiberworks.client.RemoteSessionProxy.getAppletData(RemoteSessionProxy.java:109)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.getAppletData(PsiberPayReportWizardApplet.java:7094)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.callSEIFSAPensionProvidentFundReport(PsiberPayReportWizardApplet.java:14492)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.processSelectedReport(PsiberPayReportWizardApplet.java:14091)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.onNextButtonPressed(PsiberPayReportWizardApplet.java:13229)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.actionPerformed(PsiberPayReportWizardApplet.java:361)
         at java.awt.Button.processActionEvent(Unknown Source)
         at java.awt.Button.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
         java.net.SocketException: Software caused connection abort: recv failed
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
         ... 28 more
    Caused by: java.net.SocketException: Software caused connection abort: recv failed
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(Unknown Source)
         at java.io.BufferedInputStream.fill(Unknown Source)
         at java.io.BufferedInputStream.read(Unknown Source)
         at java.io.DataInputStream.readByte(Unknown Source)
         ... 32 more
    remote exception is null
    You'll see just as the InitialContext.lookup is executed a
    javax.naming.CommunicationException is thrown.
    I have re-tried changing hostnames, ip addresses etc.
    Port 1099 is allowed on Personal Firewall and I even diabled it to be sure.
    Like I said, it works fine in FireFox.
    I'm running Windows XP Version 5.1 (Build 2600.xpsp_sp2_gdr.050501-1519 : Service Pack 2)
    and IE Version 6.0.2900.2180.xpsp_sp2_gdr.050501-1519
    and SUN JAVA Version 1.4.2_06 (build 1.4.2_06-b03)
    I have tested this on 1.5.0 (build 15.0_02-b09) with the same result.
    Please help! F1! F1! F1!
    Thanks in advance :D

    Hello again
    I have discovered more info. I'm not realy enthusiastic about these latests
    findings and I realy hope someone can help me figure a work around.
    Intermittently I get this stack trace in the java console:
    enva.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
    enva.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
    enva.put("java.naming.provider.url", "jnp://localhost:1099
    Context ictx = new InitialContext(enva);
    Object o = ictx.lookup("java:/SessionReport");
    javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.net.MalformedURLException: no protocol: Files/psiberworks/lib/pcl.jar]
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.callSEIFSAPensionProvidentFundReport(MessageRouter_PAY.java:15160)
         at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.getPayAppletDataImpl(MessageRouter_PAY.java:14895)
         at psiber.v2.pp.psiberworks.server.MessageRouter_PAY.getAppletDataImpl(MessageRouter_PAY.java:14228)
         at psiber.v2.pp.psiberworks.server.MessageRouter.getAppletData(MessageRouter.java:135)
         at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.getAppletDataImpl(RemoteSessionImpl.java:734)
         at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.access$0(RemoteSessionImpl.java:710)
         at psiber.v2.pp.psiberworks.server.RemoteSessionImpl$1.exec(RemoteSessionImpl.java:668)
         at psiber.v2.pp.psiberworks.server.SynchronizedAccessController.doExecuteQuery(SynchronizedAccessController.java:61)
         at psiber.v2.pp.psiberworks.server.SynchronizedAccessController.executeQuery(SynchronizedAccessController.java:137)
         at psiber.v2.pp.psiberworks.server.RemoteSessionImpl.getAppletData(RemoteSessionImpl.java:690)
         at psiber.v2.pp.psiberworks.client.RemoteSessionProxy.getAppletData(RemoteSessionProxy.java:109)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.getAppletData(PsiberPayReportWizardApplet.java:7094)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.callSEIFSAPensionProvidentFundReport(PsiberPayReportWizardApplet.java:14492)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.processSelectedReport(PsiberPayReportWizardApplet.java:14091)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.onNextButtonPressed(PsiberPayReportWizardApplet.java:13229)
         at psiber.v2.pp.psiberworks.client.hr.psiberpay.PsiberPayReportWizardApplet.actionPerformed(PsiberPayReportWizardApplet.java:361)
         at java.awt.Button.processActionEvent(Unknown Source)
         at java.awt.Button.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.net.MalformedURLException: no protocol: Files/psiberworks/lib/pcl.jar
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:534)
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
         ... 28 more
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.net.MalformedURLException: no protocol: Files/psiberworks/lib/pcl.jar
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:249)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.net.MalformedURLException: no protocol: Files/psiberworks/lib/pcl.jar
         at java.net.URL.<init>(URL.java:537)
         at java.net.URL.<init>(URL.java:434)
         at java.net.URL.<init>(URL.java:383)
         at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747)
         at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)
         at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
         at org.jboss.system.JBossRMIClassLoader.loadClass(JBossRMIClassLoader.java:79)
         at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
         at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
         at javax.naming.CompoundName.readObject(CompoundName.java:554)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
         at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:246)
         ... 6 more
    remote exception is null
    So why would I get a java.net.MalformedURLException?!?! And why is the
    classloader having problems loading on of the referenced jars?!
    It's that space in "Program Files"......
    So I copied the folder to D:\Temp and.... volla!! the off-line deploy of the
    application now works fine in Internet Explorer. It's that space!
    So this is my theory, when the initialcontext.lookup is called the classnames specified are reflected, instanciated etc. So when the applet gets the
    document base from the browser IE gives it "C:\Program Files\" and not an
    encoded "file://C:\Program%20Files\" and the spaces causes the classloader
    (or something) to not parse the path correctly and causes a bad URL.
    If I type the encoded URL in IE's address bar it finds the HTML, displayes it and changes the address bar contents back to "C:\Program Files".
    FireFox doen't do this, and therefore works.
    Does anyone know if their is a patch for IE, or if there is another way to
    connect to JBoss?
    How frustrating!! IE Stuffs up the encoded URLS!!!

  • Some information about 'software caused connection abort'

    WSAECONNABORTED (10053) Software caused connection abort
    A connection abort was caused internal to your host machine. The software caused a connection abort because there is no space on the socket's queue and the socket cannot receive further connections.
    WinSock description: The error can occur when the local network system aborts a connection. This would occur if WinSock aborts an established connection after data retransmission fails (receiver never acknowledges data sent on a datastream socket).
    TCP/IP scenario: A connection will timeout if the local system doesn't receive an (ACK)nowledgement for data sent. It would also timeout if a (FIN)ish TCP packet is not ACK'd (and even if the FIN is ACK'd, it will eventually timeout if a FIN is not returned).
    It seems to happen more with WindowsXP and it seems also to be possibly related to Windows firewall settings. In any case the salient point is that the abort has originated inside the local machine.
    It's a stupidly worded message.

    I know this probably isn't a good solution and may not bhelp you but I had a similar problem with an applet communicating with a server. My destroy function quitted the connection to the server.
    I had to send 2 commands to the server then disconnect. I regularly saw a problem at the server end. It troubled me so I wanted to resolve. I ended up putting a 500 millisecond sleep between the two commands and the socket shutdown and that did the trick.
    I waited for a response from the server after each command sent so not sure why I had to put the sleeps in - but it cured problem anyway. But it always bugs me if I don't know why. Something to come back to when I am less busy.

  • [b]java.sql.SQLException: Io exception: Software caused connection abort: r

    hi ,
    In my application iam getting DBconnection obj from context attribute which iam using in all my sevlets & jsp's.
    The application is running fine but sometimes iam getting following exception
    java.sql.SQLException: Io exception: Software caused connection abort: recv failed
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
    at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:417)
    at oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConn
    ection.java:474)
    at oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.
    java:383)
    at org.apache.jsp.Vis_002dReg.GetCompNames_jsp._jspService(GetCompNames_
    jsp.java:64)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:311)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    01)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
    atcher.java:684)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
    ispatcher.java:575)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
    patcher.java:498)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
    .java:1002)
    at org.apache.jsp.Vis_002dReg.VisRegCustmer3_jsp._jspService(VisRegCustm
    er3_jsp.java:320)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:311)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    01)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2415)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
    3)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :594)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:392)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :565)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:619)
    at java.lang.Thread.run(Thread.java:534)
    222222 In GET COMPANY NAMES EXCEPTION
    java.lang.NullPointerException
    at org.apache.jsp.Vis_002dReg.GetCompNames_jsp._jspService(GetCompNames_
    jsp.java:101)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:311)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    01)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
    atcher.java:684)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
    ispatcher.java:575)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
    patcher.java:498)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
    .java:1002)
    at org.apache.jsp.Vis_002dReg.VisRegCustmer3_jsp._jspService(VisRegCustm
    er3_jsp.java:320)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:311)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    01)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2415)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
    3)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :594)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:392)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :565)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:619)
    at java.lang.Thread.run(Thread.java:534)
    can any body help me with this wat went wrong, need urgent

    Something bad happened.
    Why is this such a calamity?
    Anyway something (probably the server) closed the connection probably. Maybe a time out. Or you asked for something so dispicable the database got upset and booted you out.

  • WSACONNABORTED: Software caused connection abort

    Hi,
    I am using SAP GUI 7.10 Patch Level 9 on my laptop. I have no problems accessing SAP from the office, however when I try via a VPN connection from home I receive the following errror :
    connection to partner 'xxxx <server_name> xxx:sapdp03' broken
    WSACONNABORTED: Software caused connection abort
    I know the server is up and running because I can access all transactions fine via a webgui Portal iView.
    Also I have given the same laptop to a colleague and she has no problems accessing SAP via the SAP GUI from her home VPN.
    I have 8Mb broadband at home, although is generally runs at about 5Mb. I have tried using the low speed connection option with no change. I am thinking that there may be some settings on my router that is causing the problem or perhaps there are some restrictions with my broadband provider ?
    Any suggestions/advice would be great
    Thanks
    Craig

    > I am using SAP GUI 7.10 Patch Level 9 on my laptop. I have no problems accessing SAP from the office, however when I try via a VPN connection from home I receive the following errror :
    >
    > connection to partner 'xxxx <server_name> xxx:sapdp03' broken
    > WSACONNABORTED: Software caused connection abort
    >
    > I know the server is up and running because I can access all transactions fine via a webgui Portal iView.
    The portal uses the webbrowser and an HTTP protocol. The DIAG protocol of the SAPGUI is different. You either have a problem with a local firewall or the VPN tunnel does not allow other protocols going through it.
    Markus

  • Servletengine Unable to send back last chunk: Software caused connection abort: socket write error

    I have created a bundle for the class com.xxx.cq.wcm.foundation.profile.impl.TnailImages from the foundation file com.day.cq.wcm.foundation.profile.impl.ProfileImages.
    Here are the changes I made ot this class
    1. width and height for the default foundation class ProfileImages to have our own default width and height in TnailImages.
    2. selectors changed to our own like
    * @scr.property name="sling.servlet.selectors" values.0="adjust"
    *                                              values.1="adjust.small"
    3.   Variable changed to  private static final String THUMBNAIL = "small";
    4. Metatype annotation won't compile for CQ5.5  I changed this  * @scr.component metatype="false"
           to
         * @Component(immediate = true)
    This bundle compiled successfully and I see it in OSGi felix console, it is in start mode. Even then I did a restart of this bundle as well as whole CQ5.
    When I call an image using the following tag
    <img  alt="" src="/content/dam/geometrixx/portraits/scott_reynolds.jpg.adjust.small.jpg">
    there are no spases anywhere
    the servlet ThumbNailImages is not being call, I see the following error in error.log
    servletengine Unable to send back last chunk: Software caused connection abort: socket write error
    this image is not being displayed in the page, firebug displays failed to load URL
    Default img works fine
    <img  alt="" src="/content/dam/geometrixx/portraits/scott_reynolds.jpg.prof.thumbnail.jpg">
    Class com.day.cq.wcm.foundation.profile.impl.ProfileImages is available in
    /libs/foundation/src/impl/src/main/java/com/day/cq/wcm/foundation/profile/impl/ProfileImag es.java
    Here are my annotations * @Component(immediate = true) * @scr.service * @scr.property name="sling.servlet.resourceTypes" value="nt:file" * @scr.property name="sling.servlet.extensions" values.0="res" *                          values.1="jpg" *                          values.2="png" *                          values.3="gif" * @scr.property name="sling.servlet.selectors" values.0="adjust" *                                              values.1="adjust.small" */ It seems that this servlet is not being called, when I invoke http://xyz.com:4502/content/dam/geometrixx/portraits/scott_reynolds.jpg.adjust.small.jpg I am getting 404 Cannot serve request to /content/dam/geometrixx/portraits/scott_reynolds.jpg.adjust.small.jpg in org.apache.sling.servlets.get.DefaultGetServlet
    3 (2013-05-20 11:02:40) TIMER_END{2,resolveServlet(JcrNodeResource, type=dam:Asset, superType=null, path=/content/dam/geometrixx/portraits/scott_reynolds.jpg)} Using servlet com.day.cq.dam.core.impl.servlet.BinaryProviderServlet 3 (2013-05-20 11:02:40) TIMER_END{2,ServletResolution} URI=/content/dam/geometrixx/portraits/scott_reynolds.jpg.adjust.small.jpg handled by Servlet=com.day.cq.dam.core.impl.servlet.BinaryProviderServlet
    It seems that my Servlet TnailImages is not being called, it is always going to default servlet.

    Hi Akhter,
    Seeme like in your servlet the value for resourceType set to nt:file. Change it to "sling/servlet/default" and verify.
    Thanks,
    Sham

  • Io exception: Software caused connection abort: recv failed

    Hi
    I am using BPEL to integrate Oracle E-Business Suite with some vertical applications. the problem that I am facing is I need to have BPEL server running all the time and other servers (VA and Oracle E-Biss) are going down daily at night for backup. every day connection is aborted because of this and I have to bounce BPEL server again.
    is there a soultion for this, any parameters need to be set in definning the connection or else.
    Thanks

    Thanks man there were some parameters need to be added in datasource.xml to keep validating the connection and it worked fine with Ebus. today I will try it with other VA
    Regarding bouncing BPEL server also it is not possible since it connect different servers in different parts of the world were some servers get down for backup while others are running and making transaction
    Thanks again

  • Connection Aborted over RMI

    Hi All,
    I am sending some data over an RMI call to store it in to a File.
    i.e client sends an objcet over RMI and server saves this object in to a File.
    but some time the this call is terminated before it reaches the server and socket conncetion is closed.
    The stack Trace of this exception is :
    at $Proxy5.storeInitialCondition(Unknown Source)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at com.pg.orion.basic.rmiservlet.DynamicProxy.invoke(DynamicProxy.java:346)
                    at $Proxy6.storeInitialCondition(Unknown Source)
                    at com.pg.orion.basic.simulation.adapter.SimulationAdapter.saveSnapshot(SimulationAdapter.java:1054)
                    at com.pg.orion.basic.simulation.adapter.SimulationAdapter.processSimulationEvent(SimulationAdapter.java:573)
                    at com.pg.orion.basic.simulation.adapter.SimulationAdapter.access$100(SimulationAdapter.java:44)
                    at com.pg.orion.basic.simulation.adapter.SimulationAdapter$1.run(SimulationAdapter.java:192)
                    at com.pg.orion.basic.threads.DefaultLoopThread.run(DefaultLoopThread.java:206)
                    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Software caused connection abort: socket write error
                    at java.net.SocketOutputStream.socketWrite0(Native Method)
                    at java.net.SocketOutputStream.socketWrite(Unknown Source)
                    at java.net.SocketOutputStream.write(Unknown Source)
                    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
                    at java.io.BufferedOutputStream.write(Unknown Source)
                    at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
                    at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source)
                    at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
                    at java.io.ObjectOutputStream.writeObject(Unknown Source)
                    at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
                    ... 16 moreI thought that this is because of the size of the data,but in my testing some times i am able to store big size data.
    Is there any Threshold of RMI or socket to write data?
    If any of You have any idea pls Lat me know.
    Thanks

    It is likely that the other end has closed the connection for some reason.
    I would check if the server side has thrown an exception or closed the connection.
    The main limit for RMI is the max memory the server process. Anything you send needs to fit comfortably into memory. (from all the client requests combined)

  • Re:Software Connection abort:software write error.

    Hi Guys,
    I am developing a chess game portal in which a client and remote can play the chess game.while connecting the server and getting the values from the server After writing the data i am getting this error
    Software Connection abort:software write error.
    I am listing the coding for reference.Actually here i am establishing a connection with FICS server for chess movements.The commands are actually passed here to the "command toserver" method
    I am getting the error as above.The method also prints "This is that error" from that method.
    I will connect to FICS through the ConnectFICS() constructor 2 where i create the socket connection etc.,
    since i am very new to socket.kindly someone debug this code or correct the lines whereever necessary.
    // Decompiled by DJ v3.6.6.79 Copyright 2004 Atanas Neshkov Date: 7/19/2005 4:17:57 PM
    // Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
    // Decompiler options: packimports(3)
    // Source File Name: ConnectFICS.java
    package cChess.InfFICS;
    import java.io.*;
    import java.net.Socket;
    import java.util.StringTokenizer;
    import jregex.Matcher;
    import jregex.Pattern;
    // Referenced classes of package cChess.InfFICS:
    // ParseGame, ParseSeek, ParseStyle12
    public class ConnectFICS
    implements Runnable
    /* member class not found */
    class HandleLineRunnable {}
    public ConnectFICS()
    style = 12;
    seekInfoOn = false;
    interfaceVar = "SunNChessQueen";
    loginLock = new String("Login Lock");
    style12Line = "<12> rnbqkbnr pppppppp -------- -------- -------- -------- PPPPPPPP RNBQKBNR B -1 0 0 1 1 0 7 vpselva tjkumaresh 1 2 12 39 39 119 122 2 none (0:00) none 0";
    style12Status = false;
    moveInvalid = false;
    turnInvalid = false;
    clockPaused = false;
    moveOnPaused = false;
    clockResumed = false;
    reqClockResume = false;
    gameStatus = false;
    playerName = false;
    opponentReq = false;
    opponentDec = false;
    opponentDrawDec = false;
    opponentAcc = false;
    isoppAcceptedOption = false;
    isOpponent_propose = false;
    isProposeOption = false;
    told = false;
    said = false;
    gsaid = false;
    notListen = false;
    isTimeExpires = false;
    isAdjChallenge = false;
    isAdjIssue = false;
    isAdjAccept = false;
    playing = false;
    oppPlaying = false;
    removed = false;
    isGNumber = false;
    whitePlayer = "WhiteName";
    blackPlayer = "BlackName";
    public ConnectFICS(String s, String s1)
    this("cheapchess.com", s, s1, 5002);
    public ConnectFICS(String s, String s1, String s2, int i)
    style = 12;
    seekInfoOn = false;
    interfaceVar = "SunNChessQueen";
    loginLock = new String("Login Lock");
    style12Line = "<12> rnbqkbnr pppppppp -------- -------- -------- -------- PPPPPPPP RNBQKBNR B -1 0 0 1 1 0 7 vpselva tjkumaresh 1 2 12 39 39 119 122 2 none (0:00) none 0";
    style12Status = false;
    moveInvalid = false;
    turnInvalid = false;
    clockPaused = false;
    moveOnPaused = false;
    clockResumed = false;
    reqClockResume = false;
    gameStatus = false;
    playerName = false;
    opponentReq = false;
    opponentDec = false;
    opponentDrawDec = false;
    opponentAcc = false;
    isoppAcceptedOption = false;
    isOpponent_propose = false;
    isProposeOption = false;
    told = false;
    said = false;
    gsaid = false;
    notListen = false;
    isTimeExpires = false;
    isAdjChallenge = false;
    isAdjIssue = false;
    isAdjAccept = false;
    playing = false;
    oppPlaying = false;
    removed = false;
    isGNumber = false;
    whitePlayer = "WhiteName";
    blackPlayer = "BlackName";
    try
    sock = new Socket("freechess.org",5000);
    out = sock.getOutputStream();
    commandToServer(s1);
    commandToServer(s2);
    ReadThread = new Thread(this);
    ReadThread.start();
    catch(Exception exception)
    try
    sock.close();
    catch(IOException ioexception) { }
    System.out.println(" Error.. " + exception.getMessage());
    public void onLogin()
    commandToServer("set style " + style);
    commandToServer("set interface " + interfaceVar);
    public void handleApp(String s)
    try
    commandToServer(s);
    catch(Exception exception)
    exception.getMessage();
    public void handleAppMove(String s)
    try
    commandToServer(s);
    catch(Exception exception)
    exception.getMessage();
    private void handleLine(String s)
    if(handleLogin(s))
    return;
    if(handleStyle12(s))
    return;
    if(handleIllegalMove(s))
    return;
    if(handleWrongTurn(s))
    return;
    if(handleGameInfo(s))
    return;
    if(handlePersonalTell(s))
    return;
    if(handleSayTell(s))
    return;
    if(handleSeekAdded(s))
    return;
    if(handleSeeksCleared(s))
    return;
    if(handleSeeksRemoved(s))
    return;
    if(handleGameEnd(s))
    return;
    if(handleDraw(s))
    return;
    if(handleMatch(s))
    return;
    if(handleAdjournChallenge(s))
    return;
    if(handleAdjournIssue(s))
    return;
    if(handleGroupTell(s))
    return;
    if(handleNotListening(s))
    return;
    if(handleChannelRemoved(s))
    return;
    if(handleWrongChallenge(s))
    return;
    if(handleDecline(s))
    return;
    if(handleDrawDecline(s))
    return;
    if(handleAccept(s))
    return;
    if(handleClockPaused(s))
    return;
    if(handleClockResumed(s))
    return;
    if(handleWhenClockPaused(s))
    return;
    if(handleReqClockResume(s))
    return;
    if(handleChallengeCancelled(s))
    return;
    else
    return;
    private boolean handleLogin(String s)
    Matcher matcher = loginPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    processLine(s);
    return true;
    private boolean handleGameInfo(String s)
    Matcher matcher = gameinfoPattern.matcher(s);
    if(!matcher.find())
    return false;
    ParseGame parsegame = ParseGame.parseGameInfoLine(s);
    if(!processGameInfo(parsegame))
    processLine(s);
    System.out.println("GGame # : " + parsegame.getGameNumber());
    System.out.println("GWhite Time : " + parsegame.getWhiteTime());
    System.out.println("GPartner Game # : " + parsegame.getPartnerGameNumber());
    return true;
    protected boolean processGameInfo(ParseGame parsegame)
    return false;
    public final synchronized void setSeekInfoState(boolean flag)
    if(seekInfoOn == flag)
    return;
    } else
    seekInfoOn = flag;
    commandToServer("iset seekinfo " + (seekInfoOn ? "1" : "0"));
    commandToServer("iset seekremove " + (seekInfoOn ? "1" : "0"));
    return;
    private boolean handleSeeksCleared(String s)
    Matcher matcher = seeksClearedPattern.matcher(s);
    if(!matcher.find())
    return false;
    if(!processSeeksCleared())
    processLine(s);
    return true;
    protected boolean processSeeksCleared()
    return false;
    private boolean handleSeekAdded(String s)
    Matcher matcher = seekAddedPattern.matcher(s);
    if(!matcher.find())
    return false;
    ParseSeek parseseek = ParseSeek.parseSeekInfoLine(s);
    if(!processSeekAdded(parseseek))
    processLine(s);
    System.out.println("under handleSeekAdded");
    System.out.println("SAccepted : " + parseseek.canAcceptSeek());
    System.out.println("Sindex : " + parseseek.getSeekIndex());
    System.out.println("Shandle : " + parseseek.getSeekerHandle());
    return true;
    protected boolean processSeekAdded(ParseSeek parseseek)
    return false;
    private boolean handleSeeksRemoved(String s)
    Matcher matcher = seeksRemovedPattern.matcher(s);
    if(!matcher.find())
    return false;
    StringTokenizer stringtokenizer = new StringTokenizer(s, " ");
    stringtokenizer.nextToken();
    int ai[] = new int[stringtokenizer.countTokens()];
    for(int i = 0; i < ai.length; i++)
    ai[i] = Integer.parseInt(stringtokenizer.nextToken());
    if(!processSeeksRemoved(ai))
    processLine(s);
    return true;
    protected boolean processSeeksRemoved(int ai[])
    return false;
    private boolean handleIllegalMove(String s)
    Matcher matcher = illegalMovePattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("Wrong Move : " + s);
    moveInvalid = true;
    return true;
    public boolean wrongMove()
    if(moveInvalid)
    moveInvalid = false;
    return true;
    } else
    return false;
    private boolean handleWrongTurn(String s)
    Matcher matcher = notUrTurnPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("Wrong Turn : " + s);
    turnInvalid = true;
    return true;
    public boolean wrongTurn()
    if(turnInvalid)
    turnInvalid = false;
    return true;
    } else
    return false;
    private boolean handlePersonalTell(String s)
    Matcher matcher = personalTellPattern.matcher(s);
    if(!matcher.find())
    return false;
    username = matcher.group(1);
    String s1 = matcher.group(2);
    message = matcher.group(3);
    System.out.println("message is:" + message);
    handleMatchOption(message.trim());
    handleTimeExpired(message.trim());
    handleAcceptedOption(message.trim());
    handleGameNumber(message.trim());
    handleAdjournAccept(message.trim());
    told = true;
    if(!processPersonalTell(username, s1, message))
    processLine(s);
    return true;
    protected boolean processPersonalTell(String s, String s1, String s2)
    return false;
    public boolean opponentTold()
    if(told)
    told = false;
    return true;
    } else
    return false;
    private boolean handleTimeExpired(String s)
    Matcher matcher = timeExpiredPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("timeExpires " + s);
    isTimeExpires = true;
    return true;
    public boolean opponentTimeExpires()
    if(isTimeExpires)
    isTimeExpires = false;
    return true;
    } else
    return false;
    private boolean handleMatchOption(String s)
    System.out.println("called " + s);
    Matcher matcher = matchOptionPattern.matcher(s);
    if(!matcher.find())
    System.out.println("not matches");
    return false;
    } else
    tindex = Integer.parseInt(matcher.group(1));
    mindex = Integer.parseInt(matcher.group(2));
    cindex = matcher.group(3);
    rindex = Integer.parseInt(matcher.group(4));
    isProposeOption = true;
    return true;
    public boolean proposedOption()
    if(isProposeOption)
    isProposeOption = false;
    return true;
    } else
    return false;
    private boolean handleAdjournAccept(String s)
    System.out.println("adj..ed " + s);
    Matcher matcher = adjournAcceptPattern.matcher(s);
    if(!matcher.find())
    System.out.println("not adj...");
    return false;
    } else
    isAdjAccept = true;
    return true;
    public boolean adjAccepts()
    if(isAdjAccept)
    isAdjAccept = false;
    return true;
    } else
    return false;
    private boolean handleAcceptedOption(String s)
    System.out.println("called " + s);
    Matcher matcher = oppAcceptedOptionPattern.matcher(s);
    if(!matcher.find())
    System.out.println("no accepted option");
    return false;
    } else
    accTime = Integer.parseInt(matcher.group(1));
    accColor = Integer.parseInt(matcher.group(2));
    accAmount = matcher.group(3);
    accRate = Integer.parseInt(matcher.group(4));
    System.out.println("accepted option1: " + accTime);
    System.out.println("accepted option2: " + accColor);
    System.out.println("accepted option3: " + accAmount);
    System.out.println("accepted option4: " + accRate);
    isoppAcceptedOption = true;
    return true;
    public boolean isOpponentAcceptedOption()
    if(isoppAcceptedOption)
    isoppAcceptedOption = false;
    return true;
    } else
    return false;
    public int getOpponentAcceptedColor()
    return accColor;
    public int getOpponentAcceptedTime()
    return accTime;
    public String getOpponentAcceptedAmt()
    return accAmount;
    public int getOpponentAcceptedType()
    return accRate;
    private boolean handleGameNumber(String s)
    System.out.println("number " + s);
    Matcher matcher = gameNumberPattern.matcher(s);
    if(!matcher.find())
    System.out.println("not gamenumber");
    return false;
    } else
    gnumber = Integer.parseInt(matcher.group(1));
    System.out.println("game number: " + gnumber);
    isGNumber = true;
    return true;
    public boolean isGameNumber()
    if(isGNumber)
    isGNumber = false;
    return true;
    } else
    return false;
    public int getGameNumber()
    return gnumber;
    private boolean handleMatch(String s)
    Matcher matcher = matchPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("\ngot the match from opponent\n");
    oppname = matcher.group(1);
    opprate = matcher.group(2);
    proposed_color = matcher.group(3);
    String s1 = matcher.group(4);
    String s2 = matcher.group(5);
    String s3 = matcher.group(6);
    String s4 = matcher.group(7);
    proposed_time = matcher.group(8);
    proposed_rate = Integer.parseInt(matcher.group(9));
    System.out.println("match param1: " + oppname);
    System.out.println("match param2: " + opprate);
    System.out.println("match param3: " + proposed_color);
    System.out.println("match param4: " + s1);
    System.out.println("match param5: " + s2);
    System.out.println("match param6: " + s3);
    System.out.println("match param7: " + s4);
    System.out.println("match param8: " + proposed_time);
    System.out.println("match param9: " + proposed_rate);
    isOpponent_propose = true;
    return true;
    public boolean opponentProposed()
    if(isOpponent_propose)
    isOpponent_propose = false;
    return true;
    } else
    return false;
    public String getProposedString()
    return oppname + " " + opprate + " " + proposed_color + " " + proposed_time;
    public int getProposedColor()
    return !proposed_color.equals("white") ? 1 : 0;
    public String getProposedPlayer()
    return oppname;
    public int getProposedRate()
    return proposed_rate;
    private boolean handleAdjournChallenge(String s)
    Matcher matcher = adjournChallengePattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("\ngot the adj match from opponent\n");
    oppname = matcher.group(1);
    opprate = matcher.group(2);
    proposed_color = matcher.group(3);
    String s1 = matcher.group(4);
    String s2 = matcher.group(5);
    String s3 = matcher.group(6);
    String s4 = matcher.group(7);
    proposed_time = matcher.group(8);
    adjChallenge = matcher.group(9);
    System.out.println("match param1: " + oppname);
    System.out.println("match param2: " + opprate);
    System.out.println("match param3: " + proposed_color);
    System.out.println("match param4: " + s1);
    System.out.println("match param5: " + s2);
    System.out.println("match param6: " + s3);
    System.out.println("match param7: " + s4);
    System.out.println("match param8: " + proposed_time);
    System.out.println("match param10: " + adjChallenge);
    isAdjChallenge = true;
    return true;
    public boolean adjChallenged()
    if(isAdjChallenge)
    isAdjChallenge = false;
    return true;
    } else
    return false;
    public String getAdjOpponent()
    return oppname;
    private boolean handleAdjournIssue(String s)
    Matcher matcher = adjournIssuePattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("\ngot the adj issue\n");
    oppname = matcher.group(1);
    opprate = matcher.group(2);
    proposed_color = matcher.group(3);
    String s1 = matcher.group(4);
    String s2 = matcher.group(5);
    String s3 = matcher.group(6);
    String s4 = matcher.group(7);
    proposed_time = matcher.group(8);
    adjIssue = matcher.group(9);
    System.out.println("match param1: " + oppname);
    System.out.println("match param2: " + opprate);
    System.out.println("match param3: " + proposed_color);
    System.out.println("match param4: " + s1);
    System.out.println("match param5: " + s2);
    System.out.println("match param6: " + s3);
    System.out.println("match param7: " + s4);
    System.out.println("match param8: " + proposed_time);
    System.out.println("match param9: " + adjIssue);
    isAdjIssue = true;
    return true;
    public boolean adjIssued()
    if(isAdjIssue)
    isAdjIssue = false;
    return true;
    } else
    return false;
    private boolean handleStyle12(String s)
    style12Status = false;
    Matcher matcher = style12Pattern.matcher(s);
    if(!matcher.find())
    return false;
    ParseStyle12 parsestyle12 = ParseStyle12.parseStyle12Line(s);
    if(!processStyle12(parsestyle12))
    processLine(s);
    System.out.println("SAccepted : " + parsestyle12.getCurrentPlayer());
    System.out.println("SGame# : " + parsestyle12.getGameNumber());
    System.out.println("SWhite Player : " + parsestyle12.getWhiteName());
    if(!parsestyle12.getWhiteName().equals(null))
    whitePlayer = parsestyle12.getWhiteName() + " ";
    System.out.println("SBlack Player : " + parsestyle12.getBlackName());
    if(!parsestyle12.getBlackName().equals(null))
    blackPlayer = parsestyle12.getBlackName() + " ";
    style12Line = s;
    style12Status = true;
    System.out.println("style12 Status - " + style12Status);
    playerName = true;
    return true;
    public boolean getPlayersName()
    if(playerName)
    playerName = false;
    return true;
    } else
    return false;
    public String getStyle12()
    return style12Line;
    public boolean getStyle12Status()
    if(style12Status)
    style12Status = false;
    return true;
    } else
    return false;
    protected boolean processStyle12(ParseStyle12 parsestyle12)
    return false;
    private boolean handleSayTell(String s)
    Matcher matcher = sayPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    username = matcher.group(1);
    message = matcher.group(2);
    System.out.println("Message :" + message + "User: " + username);
    said = true;
    return true;
    public boolean opponentSaid()
    if(said)
    said = false;
    return true;
    } else
    return false;
    public void enableChannel(int i)
    commandToServer("ch " + i);
    private boolean handleNotListening(String s)
    Matcher matcher = notListeningPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("you are not listening the channel.");
    notListen = true;
    return true;
    public boolean notListening()
    if(notListen)
    notListen = false;
    return true;
    } else
    return false;
    private boolean handleWrongChallenge(String s)
    Matcher matcher = cannotChallengePattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("u cannot propose while u r playing a match.");
    playing = true;
    return true;
    public boolean isPlaying()
    if(playing)
    playing = false;
    return true;
    } else
    return false;
    private boolean handleChallengeCancelled(String s)
    Matcher matcher = challengeCancelledPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("ur propose cancelled");
    username = matcher.group(1);
    thirdUser = matcher.group(2);
    oppPlaying = true;
    return true;
    public boolean isOppPlaying()
    if(oppPlaying)
    oppPlaying = false;
    return true;
    } else
    return false;
    public String getThirdUser()
    return thirdUser;
    private boolean handleChannelRemoved(String s)
    Matcher matcher = channelRemovedPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("you are removed from the channel.");
    removed = true;
    return true;
    public boolean isRemoved()
    if(removed)
    removed = false;
    return true;
    } else
    return false;
    private boolean handleGroupTell(String s)
    Matcher matcher = gTellPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    username = matcher.group(1);
    roomNo = Integer.parseInt(matcher.group(2));
    message = matcher.group(3);
    System.out.println("Group Message :" + message + "User: " + username + "RoomNo: " + roomNo);
    gsaid = true;
    return true;
    public int getRoomNo()
    return roomNo;
    public boolean groupSaid()
    if(gsaid)
    gsaid = false;
    return true;
    } else
    return false;
    protected void processLine(String s)
    private boolean handleGameEnd(String s)
    Matcher matcher = gameEndPattern.matcher(s);
    if(!matcher.find())
    return false;
    gameNumber = Integer.parseInt(matcher.group(1));
    String s1 = matcher.group(2);
    String s2 = matcher.group(3);
    String s3 = matcher.group(4);
    String s4 = matcher.group(5);
    Reason = s3;
    Result = s4;
    System.out.println("\nGnum :" + gameNumber + "\nwname" + s1 + "\nbname" + s2 + "\nreason" + s3 + "\nresult" + s4);
    gameStatus = true;
    if(!processGameEnd(gameNumber, s1, s2, s3, s4))
    processLine(s);
    return true;
    protected boolean processGameEnd(int i, String s, String s1, String s2, String s3)
    return false;
    public boolean gameEnd()
    if(gameStatus)
    gameStatus = false;
    return true;
    } else
    return false;
    private boolean handleAccept(String s)
    Matcher matcher = AcceptPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    opponentName = matcher.group(1);
    System.out.println("Acceptor Name : " + opponentName + "\n" + "accepts -powered by selva,kumaresh");
    opponentAcc = true;
    return true;
    public boolean isOpponentAccepts()
    if(opponentAcc)
    opponentAcc = false;
    return true;
    } else
    return false;
    public String getAcceptorName()
    return opponentName;
    private boolean handleDecline(String s)
    Matcher matcher = DeclinePattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    opponentName = matcher.group(1);
    System.out.println("opponent Name : " + opponentName + "\n" + "decline -powered by selva,kumaresh");
    opponentDec = true;
    return true;
    public boolean isOpponentDecline()
    if(opponentDec)
    opponentDec = false;
    return true;
    } else
    return false;
    public String getDeclinesOppName()
    return opponentName;
    private boolean handleDrawDecline(String s)
    Matcher matcher = DrawDeclinePattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    opponentName = matcher.group(1);
    System.out.println("opponent Name : " + opponentName + "\n" + "decline ur draw -powered by selva,kumaresh");
    opponentDrawDec = true;
    return true;
    public boolean isOpponentDrawDecline()
    if(opponentDrawDec)
    opponentDrawDec = false;
    return true;
    } else
    return false;
    private boolean handleWhenClockPaused(String s)
    Matcher matcher = moveWhenClockPausedPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("don't move! clock paused");
    moveOnPaused = true;
    return true;
    public boolean isMoveWhenPaused()
    if(moveOnPaused)
    moveOnPaused = false;
    return true;
    } else
    return false;
    private boolean handleClockPaused(String s)
    Matcher matcher = ClockPausedPattern.matcher(s);
    if(!matcher.find())
    return false;
    } else
    System.out.println("clock paused");
    clockPaused = true;
    return true;
    public boolean isClockPaused()
    if(clockPaused)
    clockPaused = false;
    return true;
    } else
    return false;

    The problem is with commandto Server() method wherei
    get the errorDear joesiliconoyster,
    Usually if one is going to try and steal something it
    is often considered in good form not to go around
    shouting "I AM NO GOING TO STEAL SOMETHING".
    You will find that people who don't like thievery
    and/or shouting will not respond too well to that.
    Perhaps you could investigate hiring somebody to
    write code for you?
    Hava a happy day.Sorry all for myriad of typos. It is dawn and mr_sunshine needs his :coffee:.
    Should of course be "I AM NOW GOING TO STEAL SOMETHING" for example.
    Have a good day.

  • Com.evermind.server.http.HttpIOException: Connection aborted by peer: socke

    Hi
    I get an this stack on the server side while doing a forward using RequestDispatcher.
    com.evermind.server.http.HttpIOException: Connection aborted by peer: socket write error
    at com.evermind.server.http.EvermindServletOutputStream.flushBuffer(EvermindServletOutputStream.java:81)
    at com.evermind.server.http.EvermindHttpServletResponse.flushBuffer(EvermindHttpServletResponse.java:1818)
    at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:52)
    The funniest part is, i get this exception while i submit the request second time i get this error.. First time it works fine. :)
    ANy solution on this would be greatly appreciated.
    Thanks
    Manju

    Hi!
    I posted a TAR on metalink for this "read timed out" problem. This is the answer I got:
    apparently the messages that you listed seem refer to a problem in reading request data from the client - so the HttpIOException is triggered.
    I have made a little research on HttpIOException in request-reading context. There are only
    two situations in which HttpIOException can be raised without an causing IOExce
    ption, and I think none of them applies. So we'd have some kind of IOException t
    hat causes the HttpIOException. It might well be a SocketException, because the
    text "Read timed out" is as far as I know the standard text for SocketException
    if the socket's SoTimeout has been reached.
    In fact there is a configuration parameter for OC4J (though undocumented), which allows you to set the Socket's SoT
    imeout -- and the default is 15000 (measured in milliseconds). The name is "orac
    le.j2ee.http.socket.timeout", and it should be available in OC4J 9.0.3.1 and hig
    her (I am definitely sure that it exists in OC4J 9.0.4.1).
    So can you please add something like "-Doracle.j2ee.http.socket.timeout=120000" to the startup comma
    nd for your standalone OC4J container to increase the timeout from 15 seconds to
    2 minutes?
    It helped us, although some requests time out "normally" instead.
    /jonas

  • Could the iTunes suggested fixes (i.e. DNS flush) CAUSE connectivity issues

    I too have recently downloaded the latest version of iTunes and tried unsuccessfully to connect to the iTunes store via my iPod Touch. iTunes even tried to update the latest iPod software but couldn't connect. But here is the my real concern, I tried all of the fixes suggested by iTunes/Apple with no success, however, since these "fixes", my other programs that have worked fine just prior to these "fixes" suddenly don't recognize an internet connection either. I tried to do a Java update...couldn't connect. I downloaded a new game from Gamehouse and tried to login to FunPass (as always)...couldn't connect, however, any game downloaded prior to yesterday's "fixes"...there is no problem connecting. I even yelled at AT&T Yahoo support thinking they were the problem (recent issue with their Protection Suite). Finally, I purchased, downloaded, and ran a new antivirus program thinking a possible virus or malware or adware or something...found & fixed stuff (mostly spyware), but it can't update or finish registering because it also thinks there isn't a connection. Could flushing the DNS (as suggested) cause connectivity problems with my other programs?? Or, any suggestions?? I am desperate

    Flushing the DNS entries shouldn't be a problem, as they should just get rebuilt.
    DNS stands for Domain Name System, it's just an "address" for all the different computers connected to the internet to find each other.
    Here is a good explanation on that process:
    +When a computer visits a website for the first time, it stores the website's DNS information in cache. The next time the computer visits a website, it looks in the cache to see if the website's information is present to use. This can cause problems if the website's DNS information has changed since the computer's last visit. Flushing the cache removes all the information stored in cache, forcing the computer to find the new DNS information for the website.+
    Message was edited by: Katrina S.

  • SQLException : Io exception: Connection aborted by peer

    Hi All,
    My application was running fine for a week and then suddenly it started throwing
    the following error
    eventhough the database is running. I am using WLS 8.1 Service Pack1
    SQLException : Io exception: Connection aborted by peer
    What could be the reason for it?

    WD wrote:
    Joe,
    I am going to turn on the jdbc logging when we deploy the app again. But we may
    or may not run into the same issue.
    Quick question -- Will there be any performance hit when we turn on jdbc logging?
    There will be some. Lots of jdbc actions will cause a line to be printed to the log file...
    Joe
    >
    Thanks
    WD
    Joseph Weinstein <[email protected]> wrote:
    WD wrote:
    Hi All,
    My application was running fine for a week and then suddenly it startedthrowing
    the following error
    eventhough the database is running. I am using WLS 8.1 Service Pack1
    SQLException : Io exception: Connection aborted by peer
    What could be the reason for it?Could you please turn on jdbc logging, and show us the full stacktrace?
    thanks,
    Joe

  • Desktop software causes Windows 7 to crash

    I have been using Desktop Software for ages now, very successfully on the Windows XP Pro platform.  I have now changed to Windows 7 Pro.  Although I have downloaded and installed the latest Desktop software build, which is supposed to be Windows 7-compatible, it is certainly not on my machine.
    What happens is this:  When I first install the Desktop software, and start it, and use it to sync with Outlook, it works fine.  Eventually of course I shut down the computer at the end of the session.
    The problem occurs when I next trry to boot up.  Every time I do this I get a blue screen crash long before any welcome screen appears.  The blue screen doesn't last long enough for me to read what it says but the effect is clear - no boot until a repair of some sort is done.  I have found that the only way to achieve a successful boot after this is to take the repair option and then the restore option to a time before installing the Blackberry Desktop software.
    This has happened so many times now, with other software and hardware being installed at different times perfectly successfully.  Only Blackberry Desktiop software causes these crashes.  I have gone through this process at least a dozen times now, all with exactly the same effect.
    Does anyone have any idea what might be going on here?

    ive recently run into this problem as well with windows 7 on my gf's pc. both got 9700 bold's mine worked out fine with vista, but her comppy wont boot. bout as far as i can get from school is to walk her through booting into safe mode to uninstall the bb app til i can get home lol.. kinda screwwy that i cant really find much useful information about it in the past hour or so
    about the only thing that has shown up was a 'problem signature 07' screen saying badpatch.. apparently no decent error code to lookup.. help!

  • Develop software for connecting to creative zen touch and other devices not recognized by wind

    hi there,
    as a programmer i wonder, is it possible to obtain information of how to connect to usb-connected creative device (which is not recognized automatically by windows, as the zen touch) and how to communicate with it's is there any documentation about that available to "non-creative" ;-) developers?
    the idea is to create a plugin (e.g. for musikcube) that enables the programm to access the files on the device.
    i know there are third party companies that do provide software for connecting to e.g. zen touch, but i do not think that they have figured out every little bit by themselves, have they?
    greetings and thanks a lot
    asdf

    Try this:
    Download <a href='http://www.delldjsite.com/forums/attachment.php?attachmentid=444' target=_blank>this[/url] file. Extract it to whatever folder you like. Inside that folder run the file fixup.cmd. A DOS window will open up and start display messages on what its doing, when its done it will instruct you to remove the device from Device Manager and reconnect it.
    Try this and see if it works.

Maybe you are looking for

  • Comparing two ResultSets for equality

    Hello, I wish to test if two separate ResultSet objects are identical. By identical I mean that two different ResultSet objects are identical if they contain the same rows in the same order, and each row contains identical values in the two ResultSet

  • Active Content when RH topic contains Captivate movies

    I use Robohelp to display my captivate movies (published as FLASH).....since the Active Content issue in the latest IE update, my users now have to click on the movie before it becomes interactive.....I've managed to fix the topics in RH that don't h

  • Edit in iMovie using archived iDVD project?

    Well it looks like I may done something rather stupid. Before the holidays I produced a family vacation video, burned the DVDs and sent them out to all my family members. After watching it they pointed out some typos in some captions and some editing

  • Connection ... able to connect using sql developer, but not sqlplus or toad too

    Hi folks, having this issue, with only one of my so many databases, what might be the reason and how to fix/correct this, please assist. Able to connect using sql developer, but not sqlplus or toad too; sqlplus error: ORA-12154: TNS:could not resolve

  • Error: target not found: package-query =1.0 although I have it

    I used to work on Arch but it was installed for me by a friend, now I decided to install it on my own and it was a success! But when I tried installing yaourt it didn't work. I know that it needs package-query so I installed it, but when I try to bui