Closing OracleCachedRowSet caused connection closed! Why?

public static void test2() {//using OracleCachedRowSet and STATEMENT
try {
     Object[] arg = {"SERVER.STRT0018",String.valueOf(1071)};
     MessageFormat form = new MessageFormat("select a.TRANEDTM, a.CRDENNO from {0} a where a.POSNO=''{1}''");
     int a = arg.length;
     String sql = form.format(arg);
     Statement st = conn.createStatement();
     ResultSet rs = st.executeQuery(sql);
     // using Oracle implemented Rowset
     OracleCachedRowSet ocrs = new OracleCachedRowSet();
     ocrs.populate(rs);
     rs.close();
     st.close();
     ocrs.last();
     System.out.println("RowCount=" + ocrs.getRow());
     if (ocrs.first()) {
          do {
               System.out.println("TRANEDTM2="
                    + ocrs.getInt(1) + " CRDENNO2="
                    + ocrs.getString(2));
          } while (ocrs.next());
//ocrs.close() //If this is executed, when this function is called for the second time, an exception will be thrown out.
} catch (SQLException e) {
     System.out.println(e.getMessage());
The shared database connection is established outside of the function. If ocrs.close() is executed, there will be an exeception("connection is closed!") thrown out when the funcition is called for the second time. if ocrs.close() is commented, everything will be fine?
Does OracleCachedRowSet needs to be closed explicitly? If I do not close it, is there going to be any potential problem?

public static void test2() {//using OracleCachedRowSet and STATEMENT
try {
     Object[] arg = {"SERVER.STRT0018",String.valueOf(1071)};
     MessageFormat form = new MessageFormat("select a.TRANEDTM, a.CRDENNO from {0} a where a.POSNO=''{1}''");
     int a = arg.length;
     String sql = form.format(arg);
     Statement st = conn.createStatement();
     ResultSet rs = st.executeQuery(sql);
     // using Oracle implemented Rowset
     OracleCachedRowSet ocrs = new OracleCachedRowSet();
     ocrs.populate(rs);
     rs.close();
     st.close();
     ocrs.last();
     System.out.println("RowCount=" + ocrs.getRow());
     if (ocrs.first()) {
          do {
               System.out.println("TRANEDTM2="
                    + ocrs.getInt(1) + " CRDENNO2="
                    + ocrs.getString(2));
          } while (ocrs.next());
//ocrs.close() //If this is executed, when this function is called for the second time, an exception will be thrown out.
} catch (SQLException e) {
     System.out.println(e.getMessage());
The shared database connection is established outside of the function. If ocrs.close() is executed, there will be an exeception("connection is closed!") thrown out when the funcition is called for the second time. if ocrs.close() is commented, everything will be fine?
Does OracleCachedRowSet needs to be closed explicitly? If I do not close it, is there going to be any potential problem?

Similar Messages

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

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

  • Windows 8 can not connect RemoteApp on W2K12 RDS, but Windows 7 can connect. Why?

    Hi!
    Windows 8 can not connect RemoteApp (W2K12 RDS), but Windows 7 can connect. Why?
    External and internal DNS name is different, the public Cert is mapped to RD Web Access and a RD GateWay Role.
    The internal cert (issued by enterprise ca) is mapped to RD Connection Broker roles (SSO and Publishing).
    These certifications also be installed on client computers (Personal and Trusted Root Certification Authorities).
    The internal CA revocation list is publicated to a website and this web site is accessible from internet. Ports (3389,3391,443) forwarded to RDS server.
    On windows 7 everything works fine, but Windows 8 can not connect to Remote Apps. Windows 8 can connect to RDS server via Remote Desktop Connection.
    The error:
    Thank you for your answers.

    Check this thread -> 
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0c0d7c4a-e422-4a6c-99eb-66df26a1ffc6/rdp8-your-computer-cant-connect-to-the-remote-computer-because-an-error-occurred?forum=winserverTS
    and this
    http://support.microsoft.com/kb/2903333
    HTH,
    JB

  • 7.1 update to IPad now unable to use FaceTime and iMessage says could not sign in check your network connection.  Why am I seeing this when I am connected?

    7.1 update to IPad now unable to use FaceTime and iMessage says could not sign in check your network connection.  Why am I seeing this when I am connected?

    Check Settings>General>Date & Time>Set Automatically>On. Make sure that the time zone setting is also set correctly.
    If that didn't solve the problem, restart your iPad and try again. If that fails, reset your iPad and try again.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

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

  • Downloading ebookstops after 3%-"error--check internet connection." Why won't ebook finish downloading?k

    Downloading ebook stops after 3% downloaded-error message appears: "check internet connection".
    Why does it stop downloadng before finished?

    I belong to a book club at the Public Library in Los Angeles.
    I am supposed to get the downloaded books (free) from their Media Library,
    (I listen when I'm out and around, or in the car- and read the actual book when I'm at home-)
    They direct users to download from an engine (?) called OverDrive.com, or OverDriveMedia.com.
    There are lots of books free of charge.
    Thanks for your response.
    norazg

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

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

  • I do not see the LAN adapter and Wifi adapter in Control Panel Network Connections. Why?

    Hi,
    I am unable to connect to any network. When I started digging in, I reached to Control Panel > Network Connections. There I don't find any icons related to LAN connection or Wireless connection. Why could this be happening? How to investigate it further?

    Your scenario #1 is a correct configuration and should work. It seems as though your Extreme is not acting as a router as I believe you intend.
    Most likely, you need to reset your modem. Power it down and let it rest for a few moments. Some need longer than others. Then, I recommend you "hard reset" your Extreme (see below) and configure it again, after the modem has been reset. From then on do not change what is connected to your modem without powering it down first.
    Once configured, confirm your Extreme's wireless network works as expected and that your iPad and every other wireless device can load web pages. Then, connect the printer directly to one of the Extreme's LAN ports and confirm that it works as well. After that it should work equally well with a switch between it and the Extreme, as should every other wired device connected to the switch. This assumes your switch is an unmanaged device requiring no specific configuration.
    Scenario #2: Having a router connected downstream of another is not a normal configuration, so don't pursue that as a solution. It will only distract you from determining the problem. If you want to repurpose Router X as another device do so only after everything else is working to your satisfaction.
    To "hard reset" an AirPort Base Station: make sure it's powered up, then press and hold its tiny reset button and keep it depressed for five to ten seconds, long enough for its LED to flash amber rapidly. Release the reset button. Then, the LED will glow amber steadily for about a minute. Then, it will flash amber, slowly, about once every second or two, waiting for you to configure it with AirPort Utility.

  • 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

  • I downloaded iBooks on my Ipad 2 and have a WiFi connection, but why is iBookstore taking forever to load?

    I downloaded iBooks on my Ipad 2 and have a WiFi connection, but why is iBooks taking forever to load?

    Contact iTunes Store Customer Service.
    tt2

  • Just bought a iPhone5, I cannot connect Wifi in my home, whereas, my another iPhone4 can connect Wifi, why? How to resolve? Pls advise. thx.

    Just bought iPhone 5 and try to use Wifi at home, but it cannot connect Wifi, whereas, my another iPhone4 can connect Wifi, why? how to resolve? Pls advise. Thanks.

    Make sure you're updated to iOS 6.0.2, I know that has had something to do with Wi-Fi for a lot of people.

  • Apple ID does not have permission to access iTunes Connect. Why am I unable to access iTunes Connect?

    I recently signed up as an Apple Developer, but I'm still unable to access iTunes Connect. Why is this?

    How recently?
    Are you outside the US?
    Which browser are you using?

Maybe you are looking for

  • How to restore Windows 8 from a recovery USB on a tablet w/o physical keyboard?

    I bought a Lenovo IdeaPad tablet that came with Windows 8 Pro: http://support.lenovo.com/en_US/product-and-parts/detail.page?DocID=PD026486 The first thing that I usually do is create a recovery disc. This time I was able to create a recovery USB dri

  • Calendar problems with Outlook 2007 and plugin

    We are trying to roll out outlook 2007 together with outlook connector 7.2u1 at patch level 125361-03. Installation goes ok. But we have a major problem with Calendars. Having used Sun Mail & Calendar for years our users subscribe to a number of cale

  • Problems skipping on dvd player

    Hello, I made a movie with imovie &  burned 30+ dvds for clients and tested just the first few min of each, figuring they would be good to go. Turns out they ALL skip in the same spots 16+ min into the movie. Arggg! Why is this doing this and how can

  • Run time error running Vision Builder AI inspection from TestStand

    Hello, I have TestStand 3.1 and Vision Builder for AI v2.6.1. I would like to run from TestStand a Vision Builder Program or steps. For to achieve that, I have followed the instructions on Application Note 215, Running a Vision Builder AI Inspection

  • Best practice for this project?

    Hello, Total n00b here, so please bare with me! I'm working on one of my first AE projects getting my feet wet as well as following along with some books and Lynda.com training vids, but I thought I'd post here as well. The project I'm working on is