OpenScript- assertAttribute method never times out for DOMObject (web test)
Hi all,
Whenever I have an assertAttribute test on a web.button, web.link, web.textBox, any specific object type, the test works as expected, and fails as expected when the object isn't available...
However, when I'm trying to do a similar test on a div element, I have tried both DOMObject and DOMElement (web.element and web.object), and in either case, if the object doesn't exist when the test gets there, the assertAttribute call will just hang FOREVER, even though the global timeout value is set to 5 seconds. :-\ Two examples:
For a button, this will time out in 5 seconds and fail the test if the button isn't available:
web.button("{{obj.Navigation.btnSearch}}").assertAttribute("Button text", "value", "Search", TestOperator.StringExact);
But for a div, this will just wait forever:
web.object("{{obj.Navigation.lblWelcome}}").assertAttribute("Welcome message", "innerText", "Welcome {{username}}", TestOperator.StringExact);
Any ideas? I can work-around by testing if it's existing first, then calling assertAttribute next, but to me, it feels like a minor bug in OpenScript on these object types...
-Troy
I commented out the export line (I don't have CS3, only an old version of CS) and it seems to work fine. the problem, then, is with the export line, and (at a guess) the issue might be the odd way you've specified the document. instead of using the export command in a document tell block, try 'export current document in live_folder as...' and see if that helps.
Similar Messages
-
Set time out for single webservice in NWDS 2004s
hai,
i created webservices for session bean.created webservices are consumed by webdynpro client.
when the webdynpro client consuming it.if the response takes more than 60 sec the webservices are timed out so i want to set the time out for my webservice.
how can i set the time out (more 60 sec)for my webserive(for one service)?
thanks in advance.
Edited by: lakshman balanagu on Jun 24, 2008 11:20 AMHi
Try out this thing: I am not sure as I have not done this.
Go to this link: http://<server>:<j2ee port>/nwa --> System Management --> Overview --> Configuration
Application Resouce ( Select your resource from the list)
Check for "Connection Pooling".
Here you can check different options. -
Is it possible to increase user exit time out for a partcular user
Dear Sir/madam,
Is it possible to increase the User Time Out for a Particular user ?
We do it through RZ10 and as per I know when it is changed, it is effected to all the users.
Pls advice.
Thanks,
PranabHi Pranab,
Not possible for a single user.
Regards
Ashok Dalai -
Can the time out for loading a page be extended for busy sites?
(Error:)
Problem loading page
The connection has timed out
The server at xxx.xxx is taking too long to respond.
* The site could be temporarily unavailable or too busy. Try again in a few moments.
Question: Is there a way to extend the time out for sites which are known to be busy?This issue appears under two different Mozzila "Questions". Both appear to have the same OUTDATED, INEFFECTIVE ANSWERS. A lot of us are on WIN7 now and still have erratic network speeds due to cable multiplexing -- but have been trained to leave the registry alone. Has not anyone solved this problem -- other than going notoriously unreliable FIOS ??
-
Data extraction hanging/time-out for certain FISCPER parameters
Hi all,
Our process chain that extracts and load data from one cube into another hangs when the FISCPER parameter value range is on the same fiscal year and the 'period to' value is 09 or less. We've tested this also using RSA3 and the same result happened.
Below are the FISCPER scenarios that we've tested using both our Process Chain and RSA3:
2009001 to 2009012 -> test result is ok
2008001 to 2008011 -> test result is ok
2009002 to 2009012 -> test result is ok
2009001 to 2009009 -> test result is not ok:loading hangs/time-out
2008002 to 2008008 -> test result is not ok:loading hangs/time-out
Can anyone share the solution please if this was also experienced before?
Thanks in advance.
AloyThis has been resolved. Oracle release earlier than 10.2.0.4.0 still uses factview when selecting records. Because of this, certain issues arise and one of these is the time-out during data selection. the problem can be solved by disabling the use of factview or by upgrading oracle database.
-
WebLogic 10.3.6 Times Out When Starting Web App
When starting our web app on WebLogic 10.3.6 using startWebLogic.sh on OEL (8 cores, 64 GB box), after about 5 to 6 minutes we receive a timeout error from WebLogic saying that it timed out trying to start the web app. The web app has some pre-computed indices to load which will take an estimated 10 to 15 minutes to load. Is there are way to control this timeout?
The time-out you are getting is that related to a transaction?
You can set the transaction time-out in the WebLogic console go to the JTA page for the domain, and change the value in the Timeout Seconds field.
When you are using EJBs, you can also set the time-out on a EJB basis, instead of configuring the time-out for the whole domain.
For example, in weblogic-ejb-jar.xml, you can configure the time-out by using:
<weblogic-ejb-jar ...>
<weblogic-enterprise-bean>
<ejb-name>YOUR_EJB_NAME</ejb-name>
<enable-call-by-reference>True</enable-call-by-reference>
<stateless-session-descriptor>
<pool>
<initial-beans-in-free-pool>25</initial-beans-in-free-pool>
<max-beans-in-free-pool>50</max-beans-in-free-pool>
</pool>
</stateless-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>600</trans-timeout-seconds>
</transaction-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>The transactions this EJB spawns can last for 10 minutes. -
Hi I m getting the below wxpection when i run test browser from workshop. please help me.
An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:nullThamarai,
Can you provide more information on your jws ? Also can you start the server
from the command line with verbose option. This will cause
weblogic_debug.log to be generated in the domain folder.
Raj Alagumalai
Backline Workshop Support
"Thamarai Selvan" <[email protected]> wrote in message
news:[email protected]..
Hi I m getting the below wxpection when i run test browser from workshop.please help me.
>
An unexpected exception occurred while attempting to locate the run-timeinformation for this Web Service. Error:
java.lang.reflect.InvocationTargetException:null -
Session Time Out For UNLOGGED IN USER During Search -pls help SIR!
Hi,
The problem lies in searchresultscontroller.java/searchcontroller.java file under search/web/handler of an application that supports educational note sharing.
The problem is that -
When I search with query strings in different fields(as you will find in the above mentioned java files)..the keywords in resourcedto and get some files as search results.
Then I click on one of the file from within the search result and visit the file.
Here if I m logged in as an user, and the session time out is set to 1 minute in the web.xml file of the web folder not the admin folder then when I hit the BACK TO SEARCH button it easily goes back to the previous search result page along with the queries string that I had input previously.
The problem is that when I m NOT LOGGED in as an user, and I've performed a search with queries and other dropdowns in the search panel, I get the search result page, I visit the file by clicking on one of them but when I hit the BACK TO SEARCH button I don't see the previous search result page from where I had navigated to view the file.
Please suggest on what changes shall I make in the code so that even if I m not logged in as an user, I get back to the search result page on hitting the BACK TO SEARCH button from the file view page.Sir I m herein pasting the code of the searchresultscontroller.java file, but please feel free to ask for anyother file whose code you might want to see.SEARCHRESULTSCONTROLLER.JAVA FILE CONTENT-
package com.mgh.sps.search.web.handler;
import java.util.Map;
import java.util.regex.Pattern;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.validation.BindException;
import org.springframework.validation.Errors;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.SimpleFormController;
import com.mgh.sps.search.business.facade.Search;
import com.mgh.sps.common.dto.ResourceDTO;
import com.mgh.sps.common.util.SessionAttributeKey;
import com.mgh.sps.common.util.SessionManager;
import com.mgh.sps.fileusage.web.constants.FileUsageWebConstants;
public class SearchResultsController extends SimpleFormController {
* SearchResults Controller
* @author Muralikrishna.s
* @Codedondate DD-MM-YY=26-07-07
* @Usecase/s associated =UC504
private static final Logger logger = Logger
.getLogger(SearchResultsController.class.getName());
private final static String REG_EXP = "^[A-Za-z0-9]*$";
private final static Pattern EMAIL_PATTERN_REG = Pattern.compile(REG_EXP);
* Spring framework method used to hold reference data
* @param request
* HttpServletRequest
* @param command
* Object
* @param arg2
* Errors
* @return Map
* @throws Exception
@Override
protected Map referenceData(HttpServletRequest request, Object command,
Errors errors) throws Exception {
logger.debug("SearchResultsController.referenceData() method entered:"
+ request + "," + command + "," + errors);
SessionManager.setSessionAttribute(SessionAttributeKey.tabIndex,
FileUsageWebConstants.TAB_SEARCH, request);
Search search = (Search) super.getWebApplicationContext().getBean(
"searchfacade");
ResourceDTO resourceDto = (ResourceDTO) command;
String[] allValues = new String[7];
if (null != (String[]) SessionManager.getSessionAttribute(
SessionAttributeKey.allValues, request)) {
allValues = (String[]) SessionManager.getSessionAttribute(
SessionAttributeKey.allValues, request);
resourceDto.setKeywords(allValues[0]);
resourceDto.setCountry(allValues[1]);
resourceDto.setUniversityName(allValues[2]);
resourceDto.setSubjectArea(allValues[3]);
resourceDto.setQualification(allValues[4]);
resourceDto.setYearLevel(allValues[5]);
resourceDto.setSpecificType(allValues[6]);
logger.debug("%%%%%%%%%%%%%%%%%qualification%%%%%%%%%%%%%%%"
+ resourceDto.getQualification());
String flag = (String) request.getParameter("id");
resourceDto.setFlag(flag);
logger.debug("SearchResultsController.referenceData() method exited:");
return search.retrieveReferenceData(resourceDto);
* Spring framework method used to hold OnSubmit
* @param request
* HttpServletRequest
* @param response
* HttpServletResponse
* @param command
* Object
* @param arg3
* BindException
* @return ModelAndView
* @throws Exception
@Override
protected ModelAndView onSubmit(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {
SessionManager.cleanup(request);
logger.debug("SearchResultsController.onSubmit() method entered:"
+ request + "," + command + "," + response + "," + errors);
Search search = (Search) super.getWebApplicationContext().getBean(
"searchfacade");
Map dynamic = (Map) getServletContext().getAttribute("config");
ResourceDTO resourceDto = (ResourceDTO) command;
SessionManager.removeSessionAttribute(SessionAttributeKey.allValues,
request);
//changed by sreelatha on sep21
//resourceDto.setKeywords(request.getParameter("keywords"));
//String key = request.getParameter("keywords");
//logger.debug("&&&&&&&&&&&&& key &&&&&&&&&&&&" + key);
String keywords = (request.getParameter("keywords"));
if(null!=keywords) {
keywords = keywords.trim();
resourceDto.setKeywords(keywords);
// changes end
resourceDto.setUniversityName(request.getParameter("universityName"));
resourceDto.setSubjectArea(request.getParameter("subjectArea"));
resourceDto.setCountry(request.getParameter("country"));
resourceDto.setQualification(request.getParameter("qualification"));
resourceDto.setYearLevel(request.getParameter("yearLevel"));
resourceDto.setSpecificType(request.getParameter("specificType"));
String[] allValues = new String[7];
//changed by sreelatha on sep21
//allValues[0] = request.getParameter("keywords");
allValues[0] = resourceDto.getKeywords();
//changes end
allValues[1] = request.getParameter("country");
allValues[2] = request.getParameter("universityName");
allValues[3] = request.getParameter("subjectArea");
allValues[4] = request.getParameter("qualification");
allValues[5] = request.getParameter("yearLevel");
allValues[6] = request.getParameter("specificType");
SessionManager.setSessionAttribute(SessionAttributeKey.allValues,
allValues, request);
if(null!=keywords) {
keywords = keywords.trim();
String words="";
for(int i=0;i<keywords.length();i++) {
String key=String.valueOf(keywords.charAt(i));
if(key.contains("*")) {
key = key.replace("*"," ");
} else if(key.contains("?")) {
key = key.replace("?"," ");
} else if(key.contains("[")) {
key = key.replace("["," ");
} else if(key.contains("{")) {
key = key.replace("{"," ");
} else if(key.contains("(")) {
key = key.replace("("," ");
} else if(key.contains(")")) {
key = key.replace(")"," ");
} else if(key.contains("+")) {
key = key.replace("+"," ");
} else if(key.contains("
key = key.replace("
} else if(key.contains(" ")) {
key = key.replace(" "," ");
} else if(key.contains("_")) {
key = key.replace("","");
} else if(!EMAIL_PATTERN_REG.matcher(key).matches()) {
key = key.replaceAll(key," ");
words = words + key;
keywords = words;
resourceDto.setKeywords(keywords);
SessionManager.setSessionAttribute(SessionAttributeKey.test, search.setInputValues(resourceDto, dynamic), request);
String name = (String) SessionManager.getSessionAttribute(SessionAttributeKey.tempName, request);
String flag1 = request.getParameter("id");
String status="";
if (flag1 !=null && flag1.equals("loggedInUser"))
if(name==null)
return new ModelAndView();
if (flag1 !=null && flag1.equals("loggedInUser")){
status = "redirect:SearchResults.htm?id=loggedInUser";
}else if(flag1 !=null && flag1.equals("nonLoggedInUser"))
status = "redirect:SearchResultsnlu.htm?id=nonLoggedInUser";
super.setSuccessView(status);
ModelAndView mav = new ModelAndView(super.getSuccessView());
logger.debug("SearchResultsController.onSubmit() method exited:");
return mav;
}Cross-posted in many forums. Don't answer this one.
-
Session Time Out For UNLOGGED USER During Search -pls help
Hi,
The problem lies in searchresultscontroller.java/searchcontroller.java file under search/web/handler of an application that supports educational note sharing.
The problem is that -
When I search with query strings in different fields(as you will find in the above mentioned java files)..the keywords in resourcedto and get some files as search results.
Then I click on one of the file from within the search result and visit the file.
Here if I m logged in as an user, and the session time out is set to 1 minute in the web.xml file of the web folder not the admin folder then when I hit the BACK TO SEARCH button it easily goes back to the previous search result page along with the queries string that I had input previously.
The problem is that when I m NOT LOGGED in as an user, and I've performed a search with queries and other dropdowns in the search panel, I get the search result page, I visit the file by clicking on one of them but when I hit the BACK TO SEARCH button I don't see the previous search result page from where I had navigated to view the file.
Please suggest on what changes shall I make in the code so that even if I m not logged in as an user, I get back to the search result page on hitting the BACK TO SEARCH button from the file view page.Sir I m herein pasting the code of the searchresultscontroller.java file, but please feel free to ask for anyother file whose code you might want to see.
SEARCHRESULTSCONTROLLER.JAVA FILE CONTENT-
package com.mgh.sps.search.web.handler;
import java.util.Map;
import java.util.regex.Pattern;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.validation.BindException;
import org.springframework.validation.Errors;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.SimpleFormController;
import com.mgh.sps.search.business.facade.Search;
import com.mgh.sps.common.dto.ResourceDTO;
import com.mgh.sps.common.util.SessionAttributeKey;
import com.mgh.sps.common.util.SessionManager;
import com.mgh.sps.fileusage.web.constants.FileUsageWebConstants;
public class SearchResultsController extends SimpleFormController {
* SearchResults Controller
* @author Muralikrishna.s
* @Codedondate DD-MM-YY=26-07-07
* @Usecase/s associated =UC504
private static final Logger logger = Logger
.getLogger(SearchResultsController.class.getName());
private final static String REG_EXP = "^[A-Za-z0-9]*$";
private final static Pattern EMAIL_PATTERN_REG = Pattern.compile(REG_EXP);
* Spring framework method used to hold reference data
* @param request
* HttpServletRequest
* @param command
* Object
* @param arg2
* Errors
* @return Map
* @throws Exception
@Override
protected Map referenceData(HttpServletRequest request, Object command,
Errors errors) throws Exception {
logger.debug("SearchResultsController.referenceData() method entered:"
+ request + "," + command + "," + errors);
SessionManager.setSessionAttribute(SessionAttributeKey.tabIndex,
FileUsageWebConstants.TAB_SEARCH, request);
Search search = (Search) super.getWebApplicationContext().getBean(
"searchfacade");
ResourceDTO resourceDto = (ResourceDTO) command;
String[] allValues = new String[7];
if (null != (String[]) SessionManager.getSessionAttribute(
SessionAttributeKey.allValues, request)) {
allValues = (String[]) SessionManager.getSessionAttribute(
SessionAttributeKey.allValues, request);
resourceDto.setKeywords(allValues[0]);
resourceDto.setCountry(allValues[1]);
resourceDto.setUniversityName(allValues[2]);
resourceDto.setSubjectArea(allValues[3]);
resourceDto.setQualification(allValues[4]);
resourceDto.setYearLevel(allValues[5]);
resourceDto.setSpecificType(allValues[6]);
logger.debug("%%%%%%%%%%%%%%%%%qualification%%%%%%%%%%%%%%%"
+ resourceDto.getQualification());
String flag = (String) request.getParameter("id");
resourceDto.setFlag(flag);
logger.debug("SearchResultsController.referenceData() method exited:");
return search.retrieveReferenceData(resourceDto);
* Spring framework method used to hold OnSubmit
* @param request
* HttpServletRequest
* @param response
* HttpServletResponse
* @param command
* Object
* @param arg3
* BindException
* @return ModelAndView
* @throws Exception
@Override
protected ModelAndView onSubmit(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {
SessionManager.cleanup(request);
logger.debug("SearchResultsController.onSubmit() method entered:"
+ request + "," + command + "," + response + "," + errors);
Search search = (Search) super.getWebApplicationContext().getBean(
"searchfacade");
Map dynamic = (Map) getServletContext().getAttribute("config");
ResourceDTO resourceDto = (ResourceDTO) command;
SessionManager.removeSessionAttribute(SessionAttributeKey.allValues,
request);
//changed by sreelatha on sep21
//resourceDto.setKeywords(request.getParameter("keywords"));
//String key = request.getParameter("keywords");
//logger.debug("&&&&&&&&&&&&& key &&&&&&&&&&&&" + key);
String keywords = (request.getParameter("keywords"));
if(null!=keywords) {
keywords = keywords.trim();
resourceDto.setKeywords(keywords);
// changes end
resourceDto.setUniversityName(request.getParameter("universityName"));
resourceDto.setSubjectArea(request.getParameter("subjectArea"));
resourceDto.setCountry(request.getParameter("country"));
resourceDto.setQualification(request.getParameter("qualification"));
resourceDto.setYearLevel(request.getParameter("yearLevel"));
resourceDto.setSpecificType(request.getParameter("specificType"));
String[] allValues = new String[7];
//changed by sreelatha on sep21
//allValues[0] = request.getParameter("keywords");
allValues[0] = resourceDto.getKeywords();
//changes end
allValues[1] = request.getParameter("country");
allValues[2] = request.getParameter("universityName");
allValues[3] = request.getParameter("subjectArea");
allValues[4] = request.getParameter("qualification");
allValues[5] = request.getParameter("yearLevel");
allValues[6] = request.getParameter("specificType");
SessionManager.setSessionAttribute(SessionAttributeKey.allValues,
allValues, request);
if(null!=keywords) {
keywords = keywords.trim();
String words="";
for(int i=0;i<keywords.length();i++) {
String key=String.valueOf(keywords.charAt(i));
if(key.contains("*")) {
key = key.replace("*"," ");
} else if(key.contains("?")) {
key = key.replace("?"," ");
} else if(key.contains("[")) {
key = key.replace("["," ");
} else if(key.contains("{")) {
key = key.replace("{"," ");
} else if(key.contains("(")) {
key = key.replace("("," ");
} else if(key.contains(")")) {
key = key.replace(")"," ");
} else if(key.contains("+")) {
key = key.replace("+"," ");
} else if(key.contains("\\")) {
key = key.replace("\\"," ");
} else if(key.contains(" ")) {
key = key.replace(" "," ");
} else if(key.contains("_")) {
key = key.replace("_","_");
} else if(!EMAIL_PATTERN_REG.matcher(key).matches()) {
key = key.replaceAll(key," ");
words = words + key;
keywords = words;
resourceDto.setKeywords(keywords);
SessionManager.setSessionAttribute(SessionAttributeKey.test, search.setInputValues(resourceDto, dynamic), request);
String name = (String) SessionManager.getSessionAttribute(SessionAttributeKey.tempName, request);
String flag1 = request.getParameter("id");
String status="";
if (flag1 !=null && flag1.equals("loggedInUser"))
if(name==null)
return new ModelAndView();
if (flag1 !=null && flag1.equals("loggedInUser")){
status = "redirect:SearchResults.htm?id=loggedInUser";
}else if(flag1 !=null && flag1.equals("nonLoggedInUser"))
status = "redirect:SearchResultsnlu.htm?id=nonLoggedInUser";
super.setSuccessView(status);
ModelAndView mav = new ModelAndView(super.getSuccessView());
logger.debug("SearchResultsController.onSubmit() method exited:");
return mav;
}Cross-posted in many forums. Don't answer this one.
-
Report server times out for 3 mb of excel
I'm using a report viewer control in our application and it is working fine while displaying data and exporting it in different format by clicking export button provided by the report viewer.
I have another page but there will be a normal asp button to generate same report. so i am using report viewer control and calling the public method .Render exposed by the report viewer.
byte[] bytes = rptViewver.ServerReport.Render("Excel", deviceInfo, out mimeType, out encoding, out extension, out streamids, out warnings);
this time i am getting below exception.
Exception :System.Net.WebException: The request failed with HTTP status 504: Connection Timed Out.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
at Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
at Reports_GenerateReport.DisplayReport(Boolean IsExport) in f:\Sunil\View Reports\Login\Reports\GenerateReport.aspx.cs:line 1702
My doubt is like, why it is getting time outs while leveraging same report viewer control internally.
any suggestions to get rid of this?Hi sGudivada,
Please check the ExecutionLog view in ReportServer database to learn more information about the report. The report server execution log contains information about the reports that execute on the server or on multiple servers in a scale-out deployment. For
example:
TimeDataRetrieval fields. Record number of milliseconds spent retrieving the data.
TimeProcessing fields. Record number of milliseconds spent processing the report.
TimeRendering fields. Record number of milliseconds spent rendering the report.
Reference:
http://msdn.microsoft.com/en-us/library/ms159110(v=sql.110).aspx
There is an article about troubleshooting report performance, you can refer to it.
http://msdn.microsoft.com/en-us/library/bb522806(v=sql.105).aspx
Thanks,
Alisa Tang
Alisa Tang
TechNet Community Support -
How to Increase Time-out for Agent Manager in OLT?
Hello All,
When using the Oracle Load Testing Agent Manager for a load test of multiple scripts, I often get time-outs at the start of a test from OLT:
"Error communicating with.... : timed out after 60 seconds".
When I check the agentmanager.log file on the remote PC (Win XP SP2) I can see that the communcation started with the last line saying
"connected to server=......yaddayadda.... queue=queue/AgentPoolNotificationQueue"
which I assume means there was communication. And there were 2 attempts to start. After the first attempt, the entry:
05:31:09,513 WARN [AgentProcess] Forcibly terminating process 8041484 for agent agId1530_rndd49ae6b9-a8ec-4a0d-920d-16ee6c7021f4
The agentmanager_auth.log file show 2 lines near the start time of the test:
2010-05-12 05:30:18,606 INFO [URL:t3://..........au:8088;Requestor Username: oats;Requestor Key:f6272e33-9428-425b-b52d-c0363f863e43;Requestor Queue:queue/AgentPoolNotificationQueue;Request ID:36;Request:startagent;] - authentication successful
2010-05-12 05:31:09,513 INFO [URL:t3://..........au:8088;Requestor Username: oats;Requestor Key:f6272e33-9428-425b-b52d-c0363f863e43;Requestor Queue:queue/AgentPoolNotificationQueue;Request ID:42;Request:stopagent;] - authentication successful
Why was there a 'stopagent'?
The log from a successful agent show lines after the "Connected to server...." line ( "startAgent( pathTo.....a.. Launching agent.... Launched process 8792944 for agaent agId.....") so something appears to have not happened on the failed agents.
When starting a test immediately (rather than scheduling it as I want to for off-peak times) and the agents time out, I can stop it & restart test. Usually then they all start successfully.
Does anyone have any suggestions on failure reasons & possible solutions?
If there's nothing else that I might have missed, I'd like to trying increasing the time-out to say 120 or 500 seconds.
How can I do this?
Is there a way to get the agents to try starting again, or add a new vUser/script instance one the test is running?
Many thanks,
Neil
Edited by: Neil S on May 12, 2010 9:16 AMHi Ramesh,
I guess you need to increase the parameter "icm/keep_alive_timeout" value, it's default value is 60. please gothrough the link
http://help.sap.com/saphelp_webas630/helpdata/en/0b/1c7e7abbc311d5993a00508b6b8b11/content.htm
To increase this go to RZ10 and add this parameter in Instance profile and modify the value then restart the server to make the changes effective.
Regards,
Hari
PS: Point's are welcome -
Time Out for a syncronus BPEL process
Hi All,
Need your help with regards to the following:
From a parent BPEL process we need to invoke a synchronous BPEL Process .This(child) could take anything between 20-30 seconds for processing a request.
Now the requirement is to time out the parent BPEL process if the BPEL process it is calling takes more than 25 seconds for processing a request.
If( time taken to get from partner process >25 sec)
time out
Else
Move along with the rest of the process.
Approaches considered:
1) Pick activity :
Fallout: the pick activity would work only when you are calling a asynchronous BPEL process.
2) Having the invoke activity in a scope and adding an on Alarm branch for the scope.
Fallout: The BPEL process manager executes all the other activities even after exceeding the maximum time the process is set for timing out.
That is if we consider the below scenario
If( time taken to get from partner process >25 sec)
time out
Else
move along with the rest of the process.
Instead of executing the if block( onAlarm) it is executing the else block.
Request you to suggests approaches to suffice this requirement.Hi Sai Madalli,
An approach to it, would be use the syncMaxWaitTime with time that you need, its a configuration per domain.
http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/events.htm#BABGGADB
http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/app_trblshoot.htm
Regards -
Seelct query time out for single region
Hi ,
I am currently facing a problem with a report .The problem is in a select query.The report runs successfully when it is run for only more than 1 state but when it is run for single state then it times out.The select query is as given below.
SELECT avbeln eposnr bvbtyp aerdat akunnr ckunnr d~regio
ewerks aernam dname1 afaksk b~cmgst
INTO TABLE t_block
FROM vbak AS a
INNER JOIN vbuk AS b
ON bvbeln = avbeln
INNER JOIN vbpa AS c
ON cvbeln = avbeln
INNER JOIN kna1 AS d
ON dkunnr = akunnr
ON dkunnr = ckunnr
INNER JOIN vbap AS e
ON evbeln = avbeln
WHERE a~faksk IN faksk
AND a~vkorg = vkorg
AND a~vtweg IN vtweg
AND a~spart IN spart
AND a~vkbur IN vkbur
AND a~vkgrp IN vkgrp
AND a~kunnr IN kunnr
AND a~ernam IN ernam
AND a~erdat IN erdat
AND a~vbeln IN vbeln
AND a~vbtyp IN vbtyp
AND b~spstg IN ('A','B','C')
AND ( b~fsstk NE space
OR b~cmgst NE space )
AND b~abstk NE 'C'
AND c~kunnr IN s_kunwe
AND c~parvw = 'WE'
AND d~regio IN s_regio.
Please let me know if you require any more information.
s_regio is the select option for state.Also I feel that for KUNNR the On conditon might cause soem problem becasue it does not involve key fields.
thanks,hi ds,
separate the select in several selects. The inner join is not always the best solution.
take
data : ivbak type table of vbak,
field symbols : <xvbak>
select +++ into corresponding fields of table ivbuk
from vbuk
where
select +++ into corresponding fields of table ivbak
form vbak
for all entries in ivbuk
where vbeln eq ivbuk-vbeln ...
select ...
if you want to have one internal table then do it with a loop.
loop at ivbak assigning <xvbak>
read table ikna1 with key kunnr = <xvbak>-kunnr.
loop at ivbap whee vbeln = <xvbak>-vbeln.
itab..= vbak..
? move corresponding ?
append itab.
endloop.
endloop.
that will not cause a time-out.
if you want a verry quick program - use tables without heading lines and field symbols with loops with assigning.
It is more to write but the effect is verry good.
Hans
Hans -
Changing time-out for scheduled data refresh
Using a Power Query connection, is it possible to extend the time-out time for scheduled data refreshes? The amount of data to be retrieved is rather limited, but there's thousands of rows (NAV server).
If not, any suggestions to how to reduce latency?
Thanks.Thorm,
Is this still an issue?
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Transaction time out for an single ejb
Hi,
I have one ejb which need to run for long time.
Did a quick search on the forum and find out that you can modify data-source.xml and server.xml to increase the time out period.
But this is a "global" setting which will affect all the ejbs in the application.
Is there a setting where only one ejb's transaction time-out can be specified?
Thanks in advance!
YoungWhat is the exact error code? I.e. the ORA-nnnn error code.
It is not possible to diagnose a problem if the actual problem is not known. Responders are guessing at what the problem is and offering solutions.. and these could be very far of the mark.
Maybe you are looking for
-
Tamanho do arquivo XML para SEFAZ
Prezados, bom dia. Tivemos problema com uma nota emitida que ultrapassou o tamanho permito do XML para a SEFAZ, ou seja, acima de 500.000 bytes( a nota era de importação e havia muitos itens). Isso nos trouxe problemas no P11 onde não gerou bacht e n
-
How can I move a mailbox folder and messages in it to a My Documents folder?
I use meailboxes in Mail to keep project communications in while I am working on them. When the project is completed, I would like to move that mailbox and all its contents to a folder in My Documents. How do I do that?
-
I am currently using Dreamweaver CS4. I am attempting to add a background image into a table cell. When I look at how to do this on the web, it says to select the Bg Image within the PROPERTIES PANE, then browse and choose a background image. My prob
-
wrong topic, removed
-
Where can I watch the movies from my iTunes in my iPhone 5?
Hello, I cannot figure out why!?!? Thanks for your help!