Time gap
Hello. I have problem with time gap in process.
There is parallel flow, one branch waiting for receive confirmation and second invoke some web services.
Sometimes happens that process freeze between activities and continue after 45 seconds. If came confirmation message then client receive timeout but after 45 seconds process receive message from dehydration and continues.
For example process enter in scope, next enter in sequence in one second and invoke happens after 45 seconds (I can see it in audit). Other branch still waiting for message.
But problem happens occasionaly on different palces.
Do you know it?
In log we found
<ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "delivery": [com.oracle.b
pel.client.ServerException: Waiting for response has timed out. The conversation id is LocalGUID:86ad73a168de5c5c:-374a595b:11512c692ec:-77f
0. Please check the process instance for detail.]
Is it error which caused time gap? Or is it only information about message which cannot be delivered because of time gap?
This problem was caused by server environment. Process run on clustered server with 2 nodes. If second messages follow first message immediately and second message get other node then first message so it seems that nodes was not synchronized and second message reply with timeout.
Similar Messages
-
Processing the multiple sender xml one by one in a time gap to RFC
Dear Experts,
I have to process the multiple sender xml file one by one from FTP to RFC in time gap.
For Ex:
I will place 10 xml file in a FTP path at a time, PI is picking 10 file at a time and process it to RFC at a time.
Any other way to process the multiple file one by one through PI in a time gap to RFC
(i,e) PI needs to process the 10 files one by one, once the first file processed successfully from FTP to RFC then the next file to process in a time gap to avoid getting the error in RFC.
Kindly suggest your ideas or share some links how to process this multiple files.
Best Regards,
Monikandan.Hi Monikandan,
You can use CE BPM with PI 7.1 But first check the suggestion of Anupam in the below thread:
reading file sequentially from FTP using SAP PI file adapter
Regards,
Nabendu. -
Can you change the time gap in songs with iPhone
I really want to change the time gap in between each I my songs on my iPhone 4 but I don't know if I can or even how so if anyone can help :)
What "once a day" really means is "every twenty four hours starting from the last time they were updated". Just manually update them tomorrow morning and you should find that the time has changed.
-
My JMS Consumer receives messages at uneven time gaps
I have two applications, say APP1 and APP2. Both of these are connected through JMS Bridges.
APP1 is hosting the PUSH bridge to APP2.
There was an uneven delay in the messages that are received at APP2.
I have checked the logs and found that there is a time gap between APP1 posting the message on the JMS queue and APP2 receiving it.
This is not happening for all the messages that are moving in between these applications, but it is consistently reoccuring.
Many of the messages are received within 2Secs at APP2.But some of the messages are taking upto 30secs to show up at APP2.
There is no network load between these applications.
I want to understand why this is happening? and how to resolve this?
Could anyone help me out?
Thanks,
Aditya
Edited by: Aditya@AU on Jun 11, 2009 11:59 PMAre you using OpenMQ (also known as Glassfish MQ, Java System Message Queue) ? If yes, are you using OpenMQ 4.4's JMS Bridge feature ?
-
Hi Friends,
Its a support issue. Its a idoc to file scenario.The time stamp of the sender says that message is send at 13:52 but in XI (integration engine) it is processed at 14:31. Why this time gap? Generanlly how much time it takes to process and send to receiver system? What are the different reasons for for this time gap?
Thanks,
SureshGenerally it wont take that much time to process an idoc.
Possiblites can be
1. Network Latency Issues
2. Load on XI Server is more
3. Check you are seeing the correct idoc only (check sent and received idoc)
Regards
Rajesh -
Same work item in the work flow is generating 2 mails with a time gap.
Hi,
I have a workflow object where,The same work item in the work flow is generating 2 mails with a time gap.
Please suggest how should I resolve the problem.
Thanks in advance.Hello Rob & Rick,
Many thanks for your inputs.
I am working on smartforms for the first time.It still some time till I find a solution with the inputs that you have suggested.
I will keep this thread posted,& if I am not able to complete the task,i will close the thread. -
Please provide me some real time gaps(SD) in projects and their solutions
hiiiiii everybody
please provide me some real time gaps(SD) in projects and their solutions for the sake of Interviews.
Thanks and Regardshiiiiii everybody
please provide me some real time gaps(SD) in projects and their solutions for the sake of Interviews.
Thanks and Regards -
Display contents of a loop with time gaps in between
Hi,
I have a peculiar problem.
Consider a "for" loop
for ( i in 1..10)
In the above loop i want to display each value of "i" after a certain time span ( say, 1 sec).
In java, i could have used a "delay" function,but i do not know as how to achieve the same in javafx.
Please help me.
Thanks in advance.Something like that probably:
def seq:Integer[] = [1..10];
var bound:Integer = 0;
def anim:PauseTransition = PauseTransition {
duration: 1s
repeatCount: sizeof seq
action: function():Void {
var m:String = "";
for (i in [0..bound]) {
m = "{m} {seq}";
msg = m.trim();
bound++;
anim.play(); -
Time Gap in Message Processing in SAP PI
Dear All,
We are having soap to Proxy Synchronous ,in this Scnerio non SAP System call SAP PI Soap Service and send data to PI for Processing in ECC.
We are facing a issue like suppose non sap system sends data to SAP PI Around 11 Am then when we check the same in PI message is not shwoing in PI at the same time but it is showing sometime after 10 min or some time around 30-40 min.
Please help.Hi,
Check the below .
How much time does this interface taking in SAP PI ? -->If it is synchronous by default PI will wait for 1 min for response and throws time out exception to target if it doesn't get it.
There might be the change that sender system and PI machine time zone might be different ,because of that you might feel time difference.
Check for any n/w issues b/w sender system and PI by identifying where exactly delay is happening .
Regards
Venkat -
Time gap that can be taken in doing EHP upgrade
Hi,
If i am doing enhancement pack or support pack updatee on Dev suppose today, by what limited time should i do these updates on qlt and prd, As SAP recommands not to transport between systems with version differences (Ex: DEV on SPS 23 and QTY on SPS 18) so (Transport Freez) what abbout transports till that time (upgrade of Qlt and Prd)
KarthikHe i found the answer in a site, pasting it here so that may be help full for others.
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/supportpacks-and-the-regular-transports-3222888 -
CAT2 to HR Infotypes - time gaps causing collisions
Hello,
Employees are entering, and then changing attendance times and absence times in CAT2. Once they enter times and those times are transferred via CAT6, they are slotted into the day. If the employee changes those hours (for example, changes 3 regular hours to 2 regular hours, and 3 vacation hours to 4 vacation hours, the 4 vacation hours will not get to HR.
Ex: type entered shows up in 2052
REG 1 8:15 - 9:15
REG 3 9:15 - 12:15
REG .5 12:15 - 12:45
REG .5 12:45 - 13:15
VAC 3 13:15-17:00 (.75 UPD BRK)
Employee realizes he has to take 4 hours vacation so changes:
REG 1 8:15 - 9:15
REG 2 9:15 - 11:15 (lose an hour after this!)
REG .5 12:15 - 12:45
REG .5 12:45 - 13:15
VAC 4 WILL NOT POST - CAUSES COLLISION, even tho it is the same 8 hours.
Is there any way to get the system to re-slot all times, other than making the employee delete all time, save and get out, and re-enter the entire day?Hi Raj,
As I haven't seen any configuration by which we can auto transfer the approved time sheet to the time infotypes, you need to check for background jobs which executes the programs RCATSTAL(Tcode: CATA) or RPTEXTPT(Tcode: CAT6) in your system. These programs needn't be scheduled directly but can also be called from some custom programs which are scheduled in the background. Hence please check the current background jobs which are scheduled in your system. To ensure that the transfer is not driven by a background job, can you try to replicate the scenario in a quality or development environment where there are no jobs scheduled?
Since you have mentioned workflow in your post, could you please elaborate a bit more on the scenario here:
Are you entering the time data directly in SAP R/3 system using CAT2 transaction or via some application deployed on the portal which uses some BAPIs to post the data to the back-end system?
How does the manager approve the time entries? Does he use CAT4 or from the UWL(Universal Work List) on the portal?
If it's portal based approval, then there must be some workflows performing the transfer. You need to identify the step in the workflow after the approval step to see how the transfer is implemented and modify the specific workflow step to suit your need accordingly. You can either use the transaction SWIA to get more details on the workflow tasks being executed or seek the help of a workflow consultant in this case to get more information on the different steps in the workflow.
Thanks & Regards,
Sarath. -
Query to display time gap information
Question
How do you produce an hourly view of time, based on 2 dates?
Script to create demo table and data
create table komponenter ( komp_id number, issue_begin date, issue_end date);
declare
big_bang_tim date := to_date('05-05-2011 13:12:11', 'DD-MM-YYYY HH24:MI:SS');
begin
insert into komponenter values (1, big_bang_tim - 4.52, big_bang_tim - 4.51);
insert into komponenter values (1, big_bang_tim - 4.46, big_bang_tim - 4.41);
insert into komponenter values (1, big_bang_tim - 4.38, big_bang_tim - 4.21);
commit;
end;
Query:
What I'm trying to do is get information about how much time of every hour, an issue has been "active". So from the data above, the following output is what I'm trying to get:
<pre>
komp_id day_hour issue_activity
====== =========== ==================
1 01-05-2011 00 14 minutes and 24 seconds
1 01-05-2011 01 0 minutes
1 01-05-2011 02 50 minutes and 13 seconds
1 01-05-2011 03 21 minutes and 47 seconds
1 01-05-2011 04 55 minutes and 01 seconds
1 01-05-2011 05 60 minutes
1 01-05-2011 06 60 minutes
1 01-05-2011 07 60 minutes
1 01-05-2011 08 9 minutes and 47 seconds
1 01-05-2011 09 0 minutes
1 01-05-2011 10 0 minutes
</pre>Hi,
Welcome to the forum!
Here's one way:
WITH all_hours AS
SELECT TO_DATE ( '01-05-2011 00'
, 'DD-MM-YYYY HH24'
) + ( (LEVEL - 1)
/ 24
) AS hour_begin
FROM dual
CONNECT BY LEVEL <= 11
, got_seconds AS
SELECT k.komp_id
, h.hour_begin
, ROUND ( SUM ( GREATEST ( ( LEAST (k.issue_end, h.hour_begin + (1 / 24))
- GREATEST (k.issue_begin, h.hour_begin)
, 0
)* 24 * 60 * 60
) AS seconds
FROM komponenter k
CROSS JOIN all_hours h
GROUP BY k.komp_id
, h.hour_begin
SELECT komp_id
, TO_CHAR ( hour_begin
, 'DD-MM-YYYY HH24'
) AS day_hour
, TRUNC (seconds / 60) || ' minutes'
|| CASE
WHEN MOD (seconds, 60) > 0
THEN ' and ' || MOD (seconds, 60)
|| ' seconds'
END AS issue_activity
FROM got_seconds
ORDER BY komp_id
, hour_begin
;Output:
` KOMP_ID DAY_HOUR ISSUE_ACTIVITY
1 01-05-2011 00 14 minutes and 24 seconds
1 01-05-2011 01 0 minutes
1 01-05-2011 02 50 minutes and 13 seconds
1 01-05-2011 03 21 minutes and 47 seconds
1 01-05-2011 04 55 minutes and 1 seconds
1 01-05-2011 05 60 minutes
1 01-05-2011 06 60 minutes
1 01-05-2011 07 60 minutes
1 01-05-2011 08 9 minutes and 47 seconds
1 01-05-2011 09 0 minutes
1 01-05-2011 10 0 minutesThe approach is similar to Nicosa's, but this shows the hours with 0 minutes, as you requested. -
Archive generated time gap.
Hi,
database is 10.2.0.4 with data guard. can i set archive generate time lag to at least twice a hour.
regards
upul indika.Upul Indika wrote:
Hi,
database is 10.2.0.4 with data guard. can i set archive generate time lag to at least twice a hour.
regards
upul indika.use delay parameter in remote destination. Please read below manual very detailed.
The DELAY attribute is optional. By default there is no delay.
The DELAY attribute indicates the archived redo log files at the standby destination are not available for recovery until the specified time interval has expired. The time interval is expressed in minutes, and it starts when the redo data is successfully transmitted to, and archived at, the standby site.
The DELAY attribute may be used to protect a standby database from corrupted or erroneous primary data. However, there is a tradeoff because during failover it takes more time to apply all of the redo up to the point of corruption.
The DELAY attribute does not affect the transmittal of redo data to a standby destination.
If you have real-time apply enabled, any delay that you set will be ignored.
Changes to the DELAY attribute take effect the next time redo data is archived (after a log switch). In-progress archiving is not affected.
You can override the specified delay interval at the standby site, as follows:
For a physical standby database:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY;
Source:-
http://docs.oracle.com/cd/B28359_01/server.111/b28294/log_arch_dest_param.htm#i77472 -
Sender File adapter to process each file with time gap
Hi All,
I have a sender file adapter which is picking 2 files in a folder. I want to delay the processing of each file by 5 minutes. For ex: PI should process the first file, then wait 5 minutes and the process the next etc. Is this achievable ?
Is there a way to create 2 sender agreements if I create 2 separate comm channels for each file .
I am using PI 7.0
Edited by: Dev Noronha on Sep 17, 2010 8:48 AMHi Sarvesh...
U r correct ... but i am nt wrong.... Just joking...
S u r correct in normal cases..
But this interface also involves BPM too.....
Dev didnt mention the whole prblm in clear....
The prblm is as following..
When he runs the CC at sender , if u have multiple files, then every file will initiate a BPM instance.
And in turn every BPM instance is waiting fr a message from PROXY....
The proxy messages coming from the ECC are not able to go fr exact BPM instance..
Eg: 2 Proxy message gng fr 1 BPM instance...etc..
FYI , no correlation on the messages....
Babu -
Taking a long time to export a report to PDF in web app
Hi,
I downloaded CR for Eclipse 2.0 to integrate a "Create PDF Report" option into our web application. The original .rpt files were created using CR 2008. I used the sample online code to do this:
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(REPORT_NAME, 0);
// .. set report params here..
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
I was able to successfully run this and generate a PDF output file, however the report takes over 2 minutes to complete, whether there were only 2 records or 75 records!
From CR 2008 on a Windows machine, the export to PDF option takes about 2 - 3 seconds for the exact same report.
Our web servers are very powerful Linux blade servers from Dell.
Why is there such a delay? Does it have to do with the licensed version versus the free version? Or is this just a limitation of being in a web app?
-MikeWe created a version of the same test report that only generates two PDF pages.It has cut the time down, but it still takes it about 16 seconds to open the .rpt file and another 6 seconds to export to PDF and write it out to a file. [Total of about 22 seconds.]
When we run the same report on CR2008 on a Windows laptop, it takes less than 1 second to load the .rpt file, under 1 second to generate the report and another 1 second to generate the PDF. [Total under 3 seconds.]
Our question still remains: Why is there a considerable time difference between CR2008 and CR4Eclipse [3 secs vs 22 secs] and is there anything we can do on the web app side to decrease the report output time?
Here are the "highlights" from the verbose logs (the full logs were about 32K). I tried showing where there were obvious time gaps. If there is a big time gap between statements separated by ".... " it was just doing it's regular work (evaluating functions, etc). If you provide me an email address I can send the complete logs as an attachment.
2009-09-04 16:18:32,212 DEBUGaction.TestReportsAction (?:?) - begin hub/TestReportsAction
2009-09-04 16:18:32,213 DEBUGaction.TestReportsAction (?:?) - 1-calling new ReportClientDocument();
2009-09-04 16:18:32,215 DEBUGaction.TestReportsAction (?:?) - 2-calling .open(REPORT_NAME
2009-09-04 16:18:33,193 INFO reportloading.saveddata (?:?) - FieldManager
2009-09-04 16:18:33,194 INFO reportloading.saveddata (?:?) - NDatabaseFields: 63
2009-09-04 16:18:33,195 INFO reportloading.saveddata (?:?) - Field: {INVOICE_HEADER_VIEW.INVOICE}, NBytesInField: 8, ValueType: number
2009-09-04 16:18:33,288 INFO reportloading.saveddata (?:?) - Field: {%Unit_Price}, NBytesInField: 131070, ValueType: string
2009-09-04 16:18:33,289 INFO reportloading.saveddata (?:?) - NOlapDimensionFields: 0
2009-09-04 16:18:33,289 INFO reportloading.saveddata (?:?) - NOlapGenerationFields: 0
2009-09-04 16:18:33,290 INFO reportloading.saveddata (?:?) - NULL Field
2009-09-04 16:18:37,141 INFO reportloading.saveddata (?:?) - FieldManager
2009-09-04 16:18:37,142 INFO reportloading.saveddata (?:?) - NDatabaseFields: 8
2009-09-04 16:18:37,177 INFO reportloading.saveddata (?:?) - NOlapGenerationFields: 0
2009-09-04 16:18:37,177 INFO reportloading.saveddata (?:?) - NULL Field
2009-09-04 16:18:39,333 INFO formulas.Compiler (?:?) - Formula {@Record_Selection} compiled.
2009-09-04 16:18:39,340 INFO formulas.Compiler (?:?) - Formula {@Saved_Data_Selection} compiled.
2009-09-04 16:18:47,868 INFO ReportCommand.SetReportDateCommand (?:?) - SetReportDateCommand,24667963,Exit perform,<document=ReportDocument:<report=main><reportPath=/webdata/webapps/tcmIS/reports/invoice_header_en.rpt>>;
2009-09-04 16:18:48,042 INFO formulas.Compiler (?:?) - Formula {@Invtest} compiled.
2009-09-04 16:18:48,045 INFO formulas.Compiler (?:?) - Formula {@Load column names} compiled.
2009-09-04 16:18:48,701 DEBUGaction.TestReportsAction (?:?) - opened report: /reports/invoice_header_en.rpt
2009-09-04 16:18:48,702 DEBUGaction.TestReportsAction (?:?) - 3-calling getParameterFieldController() - setting params
2009-09-04 16:18:48,792 DEBUGaction.TestReportsAction (?:?) - 4-calling export(ReportExportFormat.PDF);
2009-09-04 16:18:48,794 INFO reports.queryengine (?:?) - Connection logon:Database DLL=s(crdb_oracle.dll);PreQEServerName=s(tcmprod);Server=s(tcmprod);Tru
sted_Connection=b(false);Password=;User ID=s(sskidmore)
2009-09-04 16:18:48,812 INFO driverImpl.jdbc (?:?) - Connection Opened null
2009-09-04 16:18:48,829 INFO reports.queryengine (?:?) - Connection logon successfully
2009-09-04 16:18:48,835 INFO reports.dataengine (?:?) - Create new report state
2009-09-04 16:18:48,838 INFO reports.dataengine (?:?) - Need to recompile formulas, the number of formulas needed to recompile is 1
2009-09-04 16:18:55,202 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
2009-09-04 16:18:55,203 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-13} evaluated to: null
2009-09-04 16:18:55,302 INFO formatter.paginator (?:?) - Page 2 formatted.
2009-09-04 16:18:55,303 INFO lightmodel.FCMFormattedContentModeller (?:?) - FCM: modelling contents
2009-09-04 16:18:55,344 INFO lightmodel.FCMFormattedContentModeller (?:?) - FCM: modelling contents
2009-09-04 16:18:55,981 INFO formatter.paginator (?:?) - Moving to Page 3
2009-09-04 16:18:56,015 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
2009-09-04 16:18:56,016 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-12} evaluated to: null
2009-09-04 16:18:56,019 WARN Simplifier.Fields (?:?) - Field {INVOICE_HEADER_VIEW.BILLING_ENTITY_ADDRESS_LINE_1} is null. Interrupting formula evaluation.
2009-09-04 16:18:56,020 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-13} evaluated to: null
2009-09-04 16:18:56,024 INFO formulas.Evaluator (?:?) - Formula {@-suppressSection-11} evaluated to: b(true)
2009-09-04 16:18:56,087 DEBUGaction.TestReportsAction (?:?) - exported report to stream
2009-09-04 16:18:56,089 INFO reports.basicdataengine (?:?) - Invalidating controller
2009-09-04 16:18:56,090 INFO reports.basicdataengine (?:?) - Invalidating controller
2009-09-04 16:18:56,091 INFO reports.basicdataengine (?:?) - Invalidating controller
2009-09-04 16:18:56,094 INFO reports.queryengine (?:?) - Connection logoffServer:
2009-09-04 16:18:56,095 INFO driverImpl.jdbc (?:?) - Connection Closed null
2009-09-04 16:18:56,185 DEBUGaction.TestReportsAction (?:?) - Successfully exported report to /webdata/html/reports/invoice_PGE_465.pdf
Edited by: Mike Najera on Sep 5, 2009 12:13 AM
Maybe you are looking for
-
Broken HTC Incredible and Verizon service update
Here is what has went on. Sorry for the length. My first post: Great phone for the 22 hours it worked. I got my Incredible May 10th, it died May 11th. Then it stopped charging, the battery goes dead. Red charge light on, green battery icon on top of
-
when I see the usage on my iPod touch 4 they have categories for how much space is being used where. What does the "other" category contain? Like what could I delete on my iPod to get rid of the "other" category?
-
Jerky playback of Blu Ray with Encore CS4 and Mac
I was very pleased by the fact that I created a Blu Ray disk on my first try...however, the footage plays back very jerky...almost like the frame rate dropped by half...I am using DVCPro 720p footage and compressing in two ways...1st did it in Media
-
I can't open version 4 of Firefox despite restarting several times. Why?
I was installing Firefox updates when Firefox asked me if I wanted to download and install Version 4. I downloaded the file, saved it and ran it. Each time I try to open Firefox it says: Your computer needs to be restarted to complete a previous upgr
-
Listing objects and their instance names (of closed source SWF)
I have an API for a flash player that I want to use, but it is closed source. I know I could try a decompiler but I need to see what it loads and what it's doing at runtime. I'd like to see the objects (and all their info) that it loads and has on st