Start BPM Process Trigger - Read timed out
Hello,
Please anyone know how to format the WSDL that was generated for start a process to asynchronous?
When I call the wsdl from web dynpro it works (the process is succesfully triggered) but the web dynpro after a while throws a time out exception. How can I change the wsdl to be asynchronous?
Thanks
Regards
SU
Hello Arafat,
Thanks for your answer. I've a wsdl but it's synchronous, the process is well defined and it's working.
Please tell me if I have to change the wsdl source code and where I should change it for making it asynchronous, this is the structure,
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/NuevaCotizacion_v5/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NuevaCotizacion_v5" targetNamespace="http://www.example.org/NuevaCotizacion_v5/">
<wsdl:types>
<xsd:schema targetNamespace="http://www.example.org/NuevaCotizacion_v5/">
<xsd:element name="NewOperation">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Cotizacion" type="tns:Cotizacion"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="NewOperationResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="out" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="Cotizacion">
<xsd:sequence>
<xsd:element name="Codigo_Cliente"
type="xsd:string">
</xsd:element>
<xsd:element name="Codigo_Producto"
type="xsd:string">
</xsd:element>
<xsd:element name="Nombre_Producto"
type="xsd:string">
</xsd:element>
<xsd:element name="Cantidad" type="xsd:string"></xsd:element>
<xsd:element name="Fecha" type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="NewOperationRequest">
<wsdl:part element="tns:NewOperation" name="parameters"/>
</wsdl:message>
<wsdl:message name="NewOperationResponse">
<wsdl:part element="tns:NewOperationResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="NuevaCotizacion_v5">
<wsdl:operation name="NewOperation">
<wsdl:input message="tns:NewOperationRequest"/>
<wsdl:output message="tns:NewOperationResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="NuevaCotizacion_v5SOAP" type="tns:NuevaCotizacion_v5">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="NewOperation">
<soap:operation soapAction="http://www.example.org/NuevaCotizacion_v5/NewOperation"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="NuevaCotizacion_v5">
<wsdl:port binding="tns:NuevaCotizacion_v5SOAP" name="NuevaCotizacion_v5SOAP">
<soap:address location="http://www.example.org/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks & Regards
SU
Similar Messages
-
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 -
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. -
How to start BPM process WSDL from WDA
Hello,
I need to start BPM Process from SRM ECC with WDA; i have been through this link ;
http://forums.sdn.sap.com/thread.jspa?threadID=1643425
also followed the pdf named 'Triggering NetWeaver BPM Process from ABAP' provided from SAP but still stuck on some issues;
- I have a WSDL in order to start BPM process and works fine as i successfully call it from EP Java AS with WDJ..
- What i need to do is to trigg it from SRM Screens so i need to call this WSD from ECC, so;
When i try to create a consumer proxy using external wsdl option, after putting in WSDL Url it throws an error;
Exception occurred in communication framework:Error in HTTP Framework:405 Method Not Allowed http://xxx.local:50000/bpm/de
mosapcom/dccategoryappbpm/StartCatAppSI
Exception of class CX_SLIB_HTTP_FAIL
And this is error from BPM Logs for the same action;
process()
[EXCEPTION]
com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
at com.sap.engine.services.webservices.espbase.server.additions.SOAPHTTPTransportBinding.getAction(SOAPHTTPTransportBinding.java:581)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.overwriteConfiguration(RuntimeProcessingEnvironment.java:894)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:469)
Also i found this link : http://wiki.sdn.sap.com/wiki/display/TechTSG/(WSR)Problems-P06/
But no help so far,
So, is there anyone faced similar or the same issue? Any suggestion will be appreciated.
Regards,
YasinHi soujanya,
BPM server is not open to the internet but only intranet, so i will copy the WSDL code for you,
will be glad if you can help;
- <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.koczer.com/StartCatAppSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="StartCatAppSI" targetNamespace="http://www.koczer.com/StartCatAppSI/">
- <wsdl:types>
- <xsd:schema targetNamespace="http://www.koczer.com/StartCatAppSI/">
- <xsd:complexType name="DetailsType">
- <xsd:sequence>
<xsd:element name="Category_ID" type="xsd:int" />
<xsd:element name="Category_Text" type="xsd:string" />
<xsd:element name="User" type="xsd:string" />
<xsd:element name="Manager" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
- <xsd:element name="NewOperation">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="Details" type="tns:DetailsType" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="NewOperationRequest">
<wsdl:part element="tns:NewOperation" name="parameters" />
</wsdl:message>
- <wsdl:portType name="StartCatAppSI">
- <wsdl:operation name="NewOperation">
<wsdl:input message="tns:NewOperationRequest" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="StartCatAppSISOAP" type="tns:StartCatAppSI">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="NewOperation">
<soap:operation soapAction="http://www.koczer.com/StartCatAppSI/NewOperation" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="StartCatAppSI">
- <wsdl:port binding="tns:StartCatAppSISOAP" name="StartCatAppSISOAP">
<soap:address location="http://zerbpmts.koczer.local:50000/bpm/demosapcom/dccategoryappbpm/StartCatAppSI" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions> -
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,
SupriyaHi 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 AMHi 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 -
Start bpm process with attachment or note
Hi All
Is there any way to start BPM process and add attachment or note to it.
My client requirement is that when the process is started requester should be able to add file or note.
This note or file should be visible in UWL task (in section attachments or notes)
Is there any way to do it using standard.
I know that I can store note in context of BPM process but customer is really pushing for standard.
RegardsNot sure if the requester is in BPM or outside BPM.
You can do this by keeping requester in BPM i.e. trigger BPM and give requester a task. (Dont think its preferred design).
In UWL you can let user add a memo or attachment... Refer below doc
SAP NetWeaver Business Process Management Resource Center
-Abhijeet
Edited by: Abhijeet on Dec 10, 2011 5:21 AM -
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,
JitenderHI 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. -
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 successIs 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.
-
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 moreBaseline.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 outAny takers for this? Hope I have this in the right forum...
Any one listening (or reading...)???
Thanks
Suma -
Processing in Warehouse timed out; processing steps mising
Hi All,
Recently i am getting error Processing in warehouse timed out When iam loading the Master data from flat file to BW .
Inspite of loading many times getting the same error.
Earlier it was perfect.
What are the possible reasons for the same?
Can anybody help?
Regards,
C.V.
Message was edited by: P.C.V.Hi Maik,
I am new to this support job. Could u please tell me step by step to check ale and trfc status for the loads and where i have to check for Processing status?
actually iam extracting data from Flat file.
Following is the error message in Status TAB in Monitoring
Processing in Warehouse timed out; processing steps mising
Diagnosis
Processing the request in the BW system is taking a long time and the processing step has still not been executed.
System response
<DS:DE.RSCALLER>Caller is still missing.
Procedure
Check in the process overview in the BW system whether processes are running in the BW system under the background user.
If this is not the case, check the short dump overview in the BW system. -
WebLogic 11g data source connection pooling failed with IO error:socket read timed out.
Hi all,
We encountered IO Error: Socket read timed out( <Received exception while creating connection for pool "DS_1": IO Error: Socket read timed out> ) during the creation of data sources in WebLogic 11g. Manual data source testing seems to indicate intermittent connection and the server seems to take a long time to start up with multiple IO errors. We increased the timeout at the database side but it does not seems to help. The database is 11g (11.2.0.3). The database services and listener are up which does not indicate that the database instance is down.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 -
Executing service control script:
/ebiz/appl12/inst/apps/CRP3C_belsundev/admin/scripts/adformsctl.sh start
^R
script returned:
ERROR : Timed out( 300000 ): Interrupted Exception
You are running adformsctl.sh version 120.12.12000000.3
Previously it was erroring with below message.I've increased forms timeout value in opmn.xml from 600 to 1800.
ERROR : Timed out( 300000 ): Interrupted Exception
Edited by: user7747348 on Dec 6, 2008 5:16 AMWhat is the application release? What is the OS?
Was this working before? If yes, what changes have been done recently?
Did you try to run AutoConfig and see if it completes successfully?
Please review the following notes, and try the solutions suggested there.
Note: 564536.1 - Release 12 : ADSTRTAL.sh returns error : TIMED OUT( 100000 ): INTERRUPTED EXCEPTION
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=564536.1
Note: 566142.1 - R12: Stopping OPMN Managed J2EE Processes Results In Timeout
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566142.1
Note: 412980.1 - oafm,forms and oacore not starting up after IP adress change
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=412980.1 -
Read of HTTP Request POST parameters failed:Read timed out
Hi !
Any one seen this exception . any ideas of the cause?
java.lang.RuntimeException: Read of HTTP Request POST parameters failed: Read timed out
at org.apache.catalina.connector.HttpRequestBase.parseParameters(HttpRequestBase.j ava:665)
at org.apache.catalina.connector.HttpRequestBase.getParameterValues(HttpRequestBase.java :737)
at org.apache.catalina.connector.RequestFacade.getParameterValues(RequestFacade.java:170 )
Thanks,Assuming there is nothing wrong with
org.apache.catalina.connector.HttpRequestBase.parseParameters
I can only think of 2 things:
1. The timeout is set for an extremely short time in the Apache settings (server.xml의)
2. The client application is sending the POST verry slow or incorrect. For example the
client says that the POST is 500 long than sends 200 and leaves the connection open.
You can try and post the following:
request.txt:
POST /somePath/somefile.js HTTP/1.1
Host: localhost:44
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 45
depreciatedButWontPostWithoutAName=some+valueThe client sending the request:
import java.io.*;
import java.net.*;
import java.io.DataOutputStream;
import java.applet.Applet;
public class appTest extends Applet implements Runnable {
public static final int HTTP_PORT = 80;
public static final String hostName = "localhost";
public void run() {
try{
InetAddress addr = InetAddress.getByName(hostName);
Socket s = new Socket(addr,HTTP_PORT);
BufferedWriter wr = new BufferedWriter(new OutputStreamWriter(s.getOutputStream(), "UTF8"));
s.setSoTimeout(2000);
File fileToSend = new File("request.txt");
FileInputStream fleHTML = new FileInputStream(fileToSend);
StringBuffer sbHTMFile = new StringBuffer();
int b = fleHTML.read();
while(b!=-1){
sbHTMFile.append((char) b);
b = fleHTML.read();
wr.write(sbHTMFile.toString());
wr.flush();
BufferedReader rd = new BufferedReader(new InputStreamReader(s.getInputStream()));
String line;
while ((line = rd.readLine()) != null) {
System.out.println(line);
wr.close();
rd.close();
} catch (Exception e) {
e.printStackTrace();
public void init(){
new Thread(this).start();
public appTest(){
new Thread(this).start();
// main program
public static void main(String argv[]) throws Exception {
new appTest();
}In appTest.java change HTTP_PORT to the port you need and hostName to the
hostname you need.
In request.txt change the /somePath/somefile.js to the location you desire.
And change Host: localhost:44 to the hostname and post you desire.
Maybe you are looking for
-
SPLITTING MORE THAN ONE LINE ITEM IN ECC6.0
Hi everyone. I am using New GL functionality in ECC6.0. I have a big question regarding multiple objects splitting. Ej: Purchase of a service. If I set one cost centre in the expense line item, the profit centre and segment are determined automatical
-
My iPhone is stuck in headphone mode. I've tried inserting and removing headphone jacks, blowing compress air into jack opening, using warm air from hair dryer, and a number of setting changes, but the iphone is still in headphone mode.
-
Hi Experts, I configured Asset Accounting and uploaded assets. The Depreciation keys were also uploaded along with each asset which is standard SAP 31 days calculation. (Depreciation to the Day). Now my client saying the depreciation should be monthl
-
How to make an itemrenderer not selectable for TileList
Hey everyone, I have a custom renderer foe a TileList which displays a 3x3 grid. The items get be moved around to sort the list. Sometimes the collection may have only 7 items so I need to to create 2 more additional renderers w
-
Help me out to create column with time format
Hi all, please help me to find the query to Create a table with 3 columns and insert the following data ENTITYID| CHGDATE | CHGTIME ======= ==================== ======== 4214984| 02-OCT-06 12.00.00.000000 AM | 07:23:57 4214985| 11-SEP-08 12.00.00.000