RMI: Read timed out

I have a rmi call.
Client: JDK1.5.0_06 Windows 2003
Server: JDK1.5.0_06 Windows XP
I got following exceptions in client side sometimes, but not always:
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.net.SocketException: Connection reset by peer: socket write error
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
So I set -Dsun.rmi.server.exceptionTrace=true property to server side and got following exceptions:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:282)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java
:2217)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream
.java:2616)
at java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputS
tream.java:2646)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1609)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
12)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
Is this problem caused by network or do you have any work around for it?

try to increase the socket read duration by adding -Dcom.sun.CORBA.transport.ORBTCPReadTimeouts= to the variable list of your JVM.
If it does not work, you can take a look at the sun bug 6553303 or search for the related bugs from the bug database. I saw a similar bug before.

Similar Messages

  • Oracle RTD Integration Point Invoke: Read Timed Out Error

    Hi All,
    We are getting the Read Timed Out Exception while invoking the integration points in Oracle RTD after running the batch job.
    Till the model doesnt have any data or very less data, we are able to invoke the integration points.
    But after executing the batch job even with as less as 100 records we start getting the timeout error when the integration points are invoked explicitly.
    2011-07-05 19:07:43,345 ERROR [EntryPointHelper] java.rmi.RemoteException: ; nested exception is:
         com.sigmadynamics.exception.SDRuntimeException
         at com.sigmadynamics.server.rtis.LocalClient.invoke(LocalClient.java:123)
         at com.sigmadynamics.struts.helpers.testview.EntryPointHelper.getResponse(EntryPointHelper.java:100)
         at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.taglibs.standard.lang.jstl.ArraySuffix.evaluate(ArraySuffix.java:317)
         at org.apache.taglibs.standard.lang.jstl.ComplexValue.evaluate(ComplexValue.java:146)
         at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:242)
         at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:201)
         at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:138)
         at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:166)
         at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:112)
         at org.apache.taglibs.standard.tag.el.core.ForEachTag.evaluateExpressions(ForEachTag.java:191)
         at org.apache.taglibs.standard.tag.el.core.ForEachTag.doStartTag(ForEachTag.java:102)
         at application.application__test__overview._jspService(_application__test__overview.java:663)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
         at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
         at com.sigmadynamics.struts.SDJSPAction.authenticatedExecute(SDJSPAction.java:184)
         at com.sigmadynamics.struts.RequiresAuthenticationAction.execute(RequiresAuthenticationAction.java:41)
         at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
         at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at com.sigmadynamics.workbench.DynamicContentFilter.doFilter(DynamicContentFilter.java:29)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at com.sigmadynamics.workbench.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at com.sigmadynamics.workbench.SecurityContextFilter.doFilter(SecurityContextFilter.java:37)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: com.sigmadynamics.exception.SDRuntimeException
         at EDU.oswego.cs.dl.util.concurrent.FutureResult.timedGet(FutureResult.java:149)
         at com.sigmadynamics.server.rtis.LocalClient.invoke(LocalClient.java:104)
         ... 57 more
    Caused by: EDU.oswego.cs.dl.util.concurrent.TimeoutException
         ... 59 more
    I have tried flushing the statistics as well as increasing the IntegrationPointGuaranteed RequestTimeout to 3000.
    But its not helping.
    Only for the empty model the integration points get invoked explicity from the test view or the interactive integration map or through the web service. Once executed the batch job I just get a Timeout error.
    When i try to set IntegrationPointGuaranteed RequestTimeout to 0 and invoke the integration point it hangs.
    Wat could be the issue/resolution?
    Regards,
    Supriya

    Hi Vamsi,
    Am experiencing the same SDTimeOutException.
    And by the way, the Siebel Application Version We are using to integrate to RTD is 8.1.
    Can you please throw some light on how to get this Exception resolved?
    Thanks,
    Hariharan

  • Data Federator - Read timed out

    Hi,
    I'm using Data Federator XI 3.0 SP2. I have a datasource connecting to a web service. The web service may return take a long time to do heavy processing, etc., before returning any data. If I call the web service via Data Federator, I will get the following error
    Exception was thrown while executing a query on Data Federator Query Server.
      An exception occurred when querying Data Federator Query Server.
        [Data Federator Driver][Server]
    [Wrapper /TEST/sysadmin/sources/draft/ReturnInputAsOutput]HTTP input/output exception: Read timed out
          [Wrapper /TEST/sysadmin/sources/draft/ReturnInputAsOutput]HTTP input/output exception: Read timed out
            [Wrapper /TEST/sysadmin/sources/draft/ReturnInputAsOutput]HTTP input/output exception: Read timed out
              HTTP input/output exception: Read timed out
    I'm guessing that the Data Federator query timed out because the web service takes a long time to response, is it not? If this is the case, how do I increase timeout value? If this is not the case, then what does the error mean and how do I resolve it?
    Thanks.
    Edited by: Chih Hui Wan on Nov 19, 2009 9:15 AM

    Hi Dayanand,
    For testing purpose, I created a small simple web service with only one operation that sleep for more than two minutes before returning a string. I called this web service operation from Data Federator. After waiting for a while, I got the "Read timed out" error
    Regards,
    Chih Hui

  • Read timed out error while opening monitor tab in DataServices

    Hello all,
    Am getting a "Read timed out" error when I try to open the monitor tab in DataServices admin console for a few jobs only. For several jobs, monitor tab opens just fine. But for a few it doesnt and throws the error mentioned above. Mostly this behaviour is noticed with a job having several workflows and dataflows.
    The version of DS used is 12.1.0.0. Tried to gather some info on this issue, but couldnt find any relevant thread. Would really appreciate if anyone could help me with it.
    Regards,
    Prem

    check the following post
    http://www.forumtopics.com/busobj/viewtopic.php?t=148213

  • Error: Read timed out&MESSAGE_NOT_FOUND.

    Hi,
    There's a synchronous scenario (File-File). A connection failure occured during a query from buisness-process (BPM). Since then an error (error message) appears constantly in Runtime Workbench-Component Monitoring-Communication Channels.
    Success
    RRB: entering RequestResponseBean
    Success
    RRB: passing through ...
    Success
    RRB: suspending the transaction
    Success
    RRB: leaving RequestResponseBean
    Success
    Application attempting to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    Success
    Trying to put the message into the call queue.
    Success
    Message successfully put into the queue.
    Success
    The message was successfully retrieved from the call queue.
    Success
    The message status set to DLNG.
    Error
    Received XI System Error. ErrorCode: GENERAL ErrorText: com.sap.aii.af.ra.ms.api.DeliveryException: Read timed out ErrorStack: 
    Error
    Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Read timed out.
    Error
    Transmitting the message using connection http://*****:8010/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Read timed out.
    Error
    The message status set to FAIL.
    Error
    Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Read timed out
    Error
    Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Read timed out
    Error
    Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException
    File removing and the channel rebooting the channel donu2019t help.
    After rebooting the channel:
    Error
      Received XI System Error. ErrorCode: MESSAGE_NOT_FOUND ErrorText:   ErrorStack: XML message not found
    Error
      Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:.
    Error
      Transmitting the message using connection http://*****:8010/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:.
    Error
      The message status set to FAIL.
    Error
      Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:
    Error
      Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:
    Error
      Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException
    Any ideas?

    hi,
    try this,
    go to Message Monitoring in RWB, delete all the messages with status system error and onhold.
    it shd solve your problem
    Regards,
    Sukarna.chirumamilla.

  • BIP fails to render a pdf report with Read timed out

    Hi,
    If a run a report with large query/data, BIP after 2 minutes fails with this error: java.sql.SQLException: java.net.SocketTimeoutException: Read timed out.
    The BIP report run a OBIEE Query, and BI Server log return this:
    [2012-07-03T14:47:39.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 00i8cAKOjzl7Y7k5wzCCyW0002gS0001OO] [tid: 28f0] [nQSError: 43119] Query Failed:
    [2012-07-03T14:55:23.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 7a1d39a9491c6b05:-116dac4a:137a8e42d31:-8000-00000000000d1d0a] [tid: 2d7c] [nQSError: 46066] Operation cancelled. [[
    ExecutePhysical Exchange
    [2012-07-03T14:47:39.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 00i8cAKOjzl7Y7k5wzCCyW0002gS0001OO] [tid: 28f0] [nQSError: 17012] Bulk fetch failed. [[
    [nQSError: 17001] Oracle Error code: 1013, message: ORA-01013: user requested cancel of current operation
    at OCI call OCIStmtFetch.
    How can I run the report? ...If I try the Phisical Query that OBIEE wrote on log, its work fine.
    Thank you, R.

    up!

  • Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK

    Hi PI gurus,
      Need some suggestions on one issue below -
      Scenario - proxy (SAP) to SOAP (Web based system)
      In the RWB Communication Channel Monitirong we are receiving the below error
      " Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK"
    the request from XI system is going to target system and printing the lables (as per the functionality) with no issues but the comminication channel is giving the above error and this is causing the repeated sending the same request to target sytem and the data is printing repeateadly. This issues is occuring in Quality environment.
    Strangley the same Interface with the same connectivity details is working fine in Development environment. But not working in Quality environment. Checked the firewalls settings on both in XI and Target system side and confirmed that everything is fine.
    Below are the Logs both from Quality and developement are as follows
    Quality ( Failure Case) 
    17.03.2011 07:19:59 Success SOAP: request message entering the adapter with user J2EE_GUEST
    17.03.2011 07:25:03 Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK
    Development     (Success ful)
    17.03.2011 07:27:55 Success SOAP: request message entering the adapter with user J2EE_GUEST
    17.03.2011 07:27:58 Success SOAP: completed the processing
    When we checked with basis team on user id J2EE_GUEST,  they confirmed that they are same in Development and Quality.
    I repeat,, that the same target url and everthing is same in XI Configuration
    Thanks in Advance. Points would be rewared for the best solution.
    Thanks,
    Jitender

    HI Jitender,
          If your scenariois working in DEV and if it is not working in QAS.Could you please check if both the systems are at same patch levels..
    Please refer below notes :1551161,817894,952402.
    Cheers!!!
    Naveen.

  • IO Error: Socket read timed out / IOP_iopinstance1_datasource" closed

    Hi ,
    Can somebody suggest what could be the probable cause of following errors showing up in IOP log file?
    ####<Aug 16, 2011 10:49:11 PM PDT> <Info> <Common> <sc-csttest> <IOPServer_iopinstance1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@357ac2f7> <<anonymous>> <> <0000J7MI9kZFk3vLsYw0yX1EIpFA00002K> <1313560151943> <BEA-000628> <Created "1" resources for pool "IOP_iopinstance1_datasource", out of which "1" are available and "0" are unavailable.>
    ####<Aug 16, 2011 10:49:12 PM PDT> <Info> <JDBC> <sc-csttest> <IOPServer_iopinstance1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@357ac2f7> <<anonymous>> <> <0000J7MI9kZFk3vLsYw0yX1EIpFA00002K> <1313560152146> <BEA-001128> <Connection for pool "IOP_iopinstance1_datasource" closed.>
    java.sql.SQLRecoverableException: IO Error: Socket read timed out
    Thanks
    Lokesh

    This particular error means your database is down and socket is timedout. Or the query takes so long that the reader timedout -- unlikely.
    Also, the general weblogic socket write errors, which you might see sometimes means that the client got disconnected before the server wrote results back. This is harmless

  • When i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    Hi, Michal
    I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
    <b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
    <b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
    <b>1.</b>Builder for Integration Repository
    <b>2.</b>Builder for Integration Configuration
    <b>3.</b>System Landscape Directory
    <b>4.</b>Runtime Workbench
    <b>5.</b>Administration System (for Repository, Directory, Runtime)
    Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
    For more details about my SAP-XI, please access the following Web page:
    http://iccxi.sap.com:58000/rep/support/admin/index.html
    <b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
    2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
    2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
    2006-06-19 05:12:16 Success Message successfully put into the queue.
    2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
    2006-06-19 05:12:16 Success The message status set to DLNG.
    2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
    2006-06-19 05:12:16 Success SOAP: request message entering the adapter
    2006-06-19 05:12:37 Success SOAP: call failed
    2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
    2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
    Thanks
    Menghua Li

  • SLD server exception: IO error: Read timed out

    Hi,
    I have deployed the components for NWDI and after that when i am creating the Domain,I am doing update CMS data for creating a Track. I am getting the following error:
    SLD server exception: IO error: Read timed out
    Can any one help on this.
    Thanks
    Ravi.S

    Hi,
    My SLD is a PI 7.0 system and my NWDI is configured on a standalone Java system.
    I have done the SLDDataSupplier check, and it connects fine to the SLD.
    Also on my http://<hostname>:<port>/devinf/main in the NWDI system, the SLD link points to the right SLD and im able to connect.
    Still at the CMS update stage it gives the error -
    SLD (URL http://<hostname>:<port>/) server exception: IO error: Read timed out

  • JDBC pooling Oracle driver Socket read timed out

    I run Java EE application on Glassfish server v3 together with Oracle 12 DB on the same machine under Windows Server 2012 64bit. I use latest ojdbc7 driver.
    Connection pool config:
      <jdbc-connection-pool validation-table-name="DUAL" steady-pool-size="20" statement-cache-size="100" associate-with-thread="true" statement-timeout-in-seconds="30" idle-timeout-in-seconds="60" max-wait-time-in-millis="2000" validate-atmost-once-period-in-seconds="20" datasource-classname="oracle.jdbc.pool.OracleDataSource" pool-resize-quantity="5" max-pool-size="60" res-type="javax.sql.DataSource" name="dbPool" is-connection-validation-required="true">
      <property name="driverClass" value="oracle.jdbc.OracleDriver"></property>
      <property name="user" value="xxx"></property>
      <property name="url" value="jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=BROKEN)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))"></property>
      <property name="password" value="xxx"></property>
      <property name="portNumber" value="1521"></property>
      <property name="databaseName" value="orcl"></property>
      <property name="serverName" value="127.0.0.1"></property>
      <property name="oracle.jdbc.ReadTimeout" value="300000"></property>
      <property name="oracle.net.CONNECT_TIMEOUT" value="10000"></property>
      </jdbc-connection-pool>
    After 2 or 3 hours, when there is more than 1 user (3-5) using my application, it stops responding and I get this in glassfish logs
      javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.allocator|_ThreadID=152;_ThreadName=Thread-2;|RAR5038:Unexpected exception while creating resource for pool dbPool. Exception : javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: IO Error: Socket read timed out
      Local Exception Stack:
      Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
      Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: IO Error: Socket read timed out
    From the database side it looks like this
    Fatal NI connect error 12560, connecting to:
      (LOCAL=NO)
      VERSION INFORMATION:
      TNS for 64-bit Windows: Version 12.1.0.1.0 - Production
      Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 12.1.0.1.0 - Production
      Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 12.1.0.1.0 - Production
      Time: 13-JUN-2014 03:14:49
      Tracing not turned on.
      Tns error struct:
      ns main err code: 12560
      TNS-12560: TNS:protocol adapter error
      ns secondary err code: 0
      nt main err code: 0
      nt secondary err code: 0
      nt OS err code: 0
      opiodr aborting process unknown ospid (3404) as a result of ORA-609
    When I just reset db listener everything works ok for next 1-2 hours (depends on application load). So temporary solution is to run bat script from windows scheduler to reset the listener every 1h.
    I tried everything I could find - applied these parameters:
      - Sqlnet.ora:
      SQLNET.INBOUND_CONNECT_TIMEOUT=180
      SQLNET.EXPIRE_TIME=5
      - Listener.ora:
      INBOUND_CONNECT_TIMEOUT_LISTENER_IPC=120
    But still without success

    Is the problem here just that you need a connection pool that closes idle connections?  Some pools will close idle connections after a time out period.  And the pool lets you set that time out period.  If the pool you are using doesn't provide that then use a different pool.

  • GetInputStream from request - read timed out

    I'm using Weblogic server 5.1 and a third party product
    (Blackboard), running on Win2k and IIS5.0.
    I've created a servlet and configured weblogic to execute the servlet
    for a given extension etc.. which works fine, but when trying to read from
    the ServletInputStream I get an IOException, "Read timed out". This isn't a
    problem in weblogic.servlet.internal.ServletInputStreamImpl, but something
    further back that sets the input stream. I've tried reset, but it appears
    that reset and marking is not supported. I know POSTs are working within the
    third party application, but I'm using PROPFIND and trying to read XML (the
    content-length is correct).
    Any suggestions,
    Matt Elton
    Univeristy of Northumbria
    Newcastle
    UK

    I would probably guess that CIS is configuring its socket threads to have particular timeouts (to limit the time you would wait if something seriously went wrong with the request). Typically CIS is focused on page generation in APP servers or portals and these app servers (or portals) tend to like timeouts on their requests. This of course is unsuitable for the scenario of uploading the file. I would consult the CIS documentation to see if there are any mechanisms for tuning this behavior. If not, try contacting support.

  • OSB Read Timed Out Error

    We have configured a business service with JCA DB adapter and uses a select statement to fetch a single record from a database. The select is simple query uses single table with a “where” clause having 5 conditions, like where column1 = ‘value’ and column2 = ‘value’ and column3 = ‘value’ and column4 = ‘value’ and column5 = ‘value’. There are 350 rows in the table and column 1 to 4 has the indexes. When we have done the load testing (5000 messages at the same time), we are getting the below error.
    Error : Error Code : BEA-380000 Error Reason : Read timed out
    Any info on this issue and its resolution will be helpful.

    I doubt if this is an web service connectivity issue.
    I have tested this by using
    **telnet <hostname> <webservice port no>**
    Is there any other issue that i have ignored ?

  • Org.apache.axis2.AxisFault: Read timed out

    We have web service client generated from wsdl2jave of axis2-1.4.1, we are getting an error on calling webservice operation,  i have manually set timeout at one of the operation invocation, that looks fine now, but we have call so many places, do i need to set time all place same, I am not sure code i have used to set time is correct.
    please advice how to over come the issue, web service has been deployed on WAS, client application started giving this error, after we have installed a patch to address security issue, can we address the issue from code level.
    here is the code added to set timeout
    int timeOutInMilliSeconds = 3 * 60 * 1000; // Two minutes
      stub._getServiceClient().getOptions().setProperty(HTTPConstants.SO_TIMEOUT, new Integer(timeOutInMilliSeconds));
      stub._getServiceClient().getOptions().setProperty(HTTPConstants.CONNECTION_TIMEOUT, new Integer(timeOutInMilliSeconds));
      //end here
      GetPermittedTypesResponse response = stub.getPermittedTypes(get);
         permittedTypes = response.getReturn();
    Here is error stack trace
    org.apache.axis2.AxisFault: Read timed out
      at org.apache.axis2.AxisFault.makeFault(Unknown Source)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(Unknown Source)
      at org.apache.axis2.transport.http.HTTPSender.send(Unknown Source)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(Unknown Source)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Unknown Source)
      at org.apache.axis2.engine.AxisEngine.send(Unknown Source)
      at org.apache.axis2.description.OutInAxisOperationClient.send(Unknown Source)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Unknown Source)
      at org.apache.axis2.client.OperationClient.execute(Unknown Source)
      at com.ecs.services.EcsObjectServiceStub.instantiateDocument(Unknown Source)
      at com.ey.edocs.ecs.client.EcsObjectClient.instantiateDocument(Unknown Source)
      at com.ey.edocs.ldi.helpers.ObjectHelper.createEcsObject(Unknown Source)
      at com.ey.edocs.ldi.helpers.ObjectHelper.createEcsEmail(Unknown Source)
      at com.ey.edocs.ldi.views.Import$16.run(Unknown Source)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
    Caused by: java.net.SocketTimeoutException: Read timed out
      at java.io.BufferedInputStream.fill(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source)
      at org.apache.commons.httpclient.HttpParser.readLine(Unknown Source)
      at org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
      at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
      at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
      at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Unknown Source)
      ... 14 more

    Baseline.grf is not able to connect to Endeca Server. Make sure Endeca Server has started correctly and then run baseline.grf graph.
    Regards,
    Srikanth

  • Read timed out error in IOP Ver 11.1.2.0

    Hi,
    This is an error we encountered during one of IOP testing for a project. Wondering if someone can help us understand the real issue. Any help is appreciated.
    User is using the Analysis Workbench, He has created a scenario, and in one of the cubes, focused on a specific Fiscal quarter using the Add-ins options in Excel.
    Then, he selected this quarter and chose 'Show Quarter' option by right clicking on the selected qtr. System then threw out the error:
    *Read Timed out. We encountered a problem performing your request. Please notify Oracle, referring to error tag [mtreoi]*
    I searched the logs on the server and this is what I found
    bash-3.2$ grep 'Read time' *
    IOP-8.log:[2012-06-21T17:24:28.718+00:00] [IOPServer_Oracle_IOP_LTV_UAT] [ERROR] [] [oracle.iop.isclient.analyzer.WorkbookServlet] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JWG4aeE1F00073z,0] [APP: IOP_Oracle_IOP_LTV_UAT#11.1.2.0] Error tag [mtreoi]: Cannot process response action /scenario/63:0/sheet/LTV Analysis/address/E4/show/LTV Analysis/levelZoom/FiscalQtr-FiscalQtr-Quarter: com.interlacesystems.util.ISException: Read timed out
    IOPServer_Oracle_IOP_LTV_UAT-diagnostic-8.log:[2012-06-21T17:24:28.718+00:00] [IOPServer_Oracle_IOP_LTV_UAT] [ERROR] [] [oracle.iop.isclient.analyzer.WorkbookServlet] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXB5vT4hE1F3z,0] [APP: IOP_Oracle_IOP_LTV_UAT#11.1.2.0] Error tag [mtreoi]: Cannot process response action /scenario/63:0/sheet/LTV Analysis/address/E4/show/LTV Analysis/levelZoom/FiscalQtr-FiscalQtr-Quarter: com.interlacesystems.util.ISException: Read timed out

    Any takers for this? Hope I have this in the right forum...
    Any one listening (or reading...)???
    Thanks
    Suma

Maybe you are looking for

  • Sending email to 10,000 addresses without knowing Host and Protocols!!

    Context: I am building an "eMail Marketing Campaign" application which takes a list of email addresses (unlimited) and sends an eMail to all of them. My servlet creates an instance of "MyMailHandler.java/class" and passes a list of addresses. Problem

  • How to manage FaceTime on multiple devices on the same apple ID

    So I have an ipad 2 and an iphone 4s. Both are under the same apple ID. When my friends try to FaceTIme me, I only get the call on my ipad. Is there a way to to get the call to go to my phone? Or at least an option to chose which device the call goes

  • Can you use an image button to load a CFWINDOW?

    Is it possible to use an image to open a cfwindow instead of a regular button input type?

  • I am done with Apple!

    I brought my 2009 macbook pro in for repair on 11/5/12.  It came back a couple days later from the repair depot and I paid $322.60 for it.  I noticed that it froze up when playing videos, so I brought it back in for repair on 12/7/12.  I got it back

  • Unwanted Document Flow (VTAA)

    Hello experts, We are working through our configuration in attempt to disable the document flow off contracts of deliveries, goods issue, and billing documents.  Through VTAA we have found the option "2" Create doc. flow records except for delivery/g