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

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

Similar Messages

  • Save as local file path is greyed out for certain t.codes

    Hi All,
    After the ECC upgrdation, Save as local file path is greyed out for certain t.codes, while for other excel file export is not automatic.
    ES. for MB51 Transaction, when I try
    Path to save as local file is " System>LIST>Save---> Local file and I choose format Spreadsheet it appears format file txt, while with old release was XLS.
    Thanks

    I would like to known if the Additional Data button in MM02 should be custom. Us not possible to use standard?.
    Suggest to open a new thread for your query related to MM02
    Regards,
    Nick Loy

  • Extend the notification time out for SSHR approval requests

    Hi,
    I want to extend the due date (Approval notification time out) of SSHR notification approval from 3 to 5. But I could not able to found any attribute having 3 days (4320 minutes). In hrssa workflow, I have found the constant value 525600 for attribute HR_APPROVER_NTF_TIMEOUT_ATTR (Approver Notification timeout in Minutes).
    Please help out how to change value of notification time out?
    Regards,
    Umar

    Hi Kashif / Hassnain
    I follow the given steps in suggested notes and did required changes for five days. It gives following errors while saving the workflow.
    Note: It is the first time; I am doing modification in workflow. Please guide, is there any prerequisite which I need to follow before doing changes in workflow?
    Errors:*
    382: Design Validation generated 12 warning(s). You may save invalid definitions but they should not be used in running process.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_SAVE_FOR_LATER_OTHER_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_SAVE_FOR_LATER'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_NOTIFY_RFC_OTHER_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_NOTIFY_RFC_INITIATOR_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_NOTFY_APPROVER_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_INITIATOR_SFL_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_INITIATOR_RFC_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_APPROVER_SFL_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_APPROVER_RFC_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_APPROVER_NTF'.
    351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
    354: 'SAVE' validation failed for activity 'HRSSA/HR_APPRAISAL_REJECTED_PRC'.
    362: Validation failed for child activity 'HRSSA/HR_NTF_FINAL_REJ_EMP_V4_NTF'.
    383: Notification activity must be assigned a performer when used in a process.
    328: 'SAVE' validation failed for message 'HRSSA/HR_APPRAISAL_MACHANGE_MGR_MSG'.
    401: Could not find token 'APPRAISEE_NAME' among message attributes

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

    Hi
    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,
    Pranab

    Hi 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 ??

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

  • How to increase the web session time out for FDM While data uploading.

    I have very large data files of Balance Sheet and Profit & Loss. These are taking very long time while being loaded through FDM. Kindly let me know of the following:
    1 - How can I increase the time for "web session time out" in FDM; and
    2 - What is the standard data loading time, e.g. how much time should it ideally take for approximately 1,000 lines to be load in Hyperion.
    Regards
    Amjad
    Edited by: ar_aff on Sep 12, 2011 8:30 AM

    You supposedly feed it a (undocumented) parameter, -rxidletimeout, with the time in seconds, at startup.
    app.serverSettings.sessionTimeout will report back whatever value you fed it. However, in my experience so far, the timeout is somewhere around 30 seconds no matter what value you feed it. I might be doing something wrong.
    I currently have a ticket open with Adobe support about this very issue, but it's slow going. I'll try to update you with whatever I find out.
    I'd love to hear whether anyone else has this working.
    Jeff

  • Crystal report Viewer Session times out for more data in Portal

    Hi All,         
         I am using below java SDK code to render a report in crystal report viewer. When i refresh report with more data(more parameter value) the server session times out in portal. Is there any way to fix this issue. The report loads data and then displays in Crystal report viewer, When more data is there the server times out as the server time is set to 60 sec. Is there any way to open the crystal report viewer as and when the report loads data to avoid server time out isse.
    Please help . Please let me know if I am missing something.. Thanks in Advance!!!
    CODE;
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
           pageEncoding="ISO-8859-1" session="false"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ParameterFieldController"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException"%>
    <%@page
           import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
           <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
    <%@page import="java.io.Writer"%>
    <%@page import="java.io.IOException "%>
    <%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.DatabaseController"%>
                  <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions"%>
           <% response.setHeader("pragma","no-cache");//HTTP 1.1
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.addDateHeader("Expires", -1);
    response.setDateHeader("max-age", 0);
    //response.setIntHeader ("Expires", -1);
    //prevents caching at the proxy server
    response.addHeader("cache-Control", "private"); %>
    <%
           String reportPath,Sharedpath;
           ReportClientDocument reportClientDocument;
                ParameterFieldController parameterFieldController;
                try{
                    reportPath = "reportlocation";
                 Sharedpath = "Target Location";
                    reportClientDocument = new ReportClientDocument();
                    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
                         reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);
                         reportClientDocument.getDatabaseController().logon("Dbname", "dbpassword");              
                         System.out.println("Connecting...");
                       parameterFieldController = reportClientDocument.getDataDefController()
                   .getParameterFieldController();
                    parameterFieldController.setCurrentValues("", "param 1",
                         new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29});
    parameterFieldController.setCurrentValues("", "Param 2",
                  new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23});
    reportClientDocument.saveAs("Target Report Name","Target Location", ReportSaveAsOptions._overwriteExisting);
           reportClientDocument.close();
           System.out.println("Finished...");              
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setReportSource(Sharedpath);
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
                  System.out.println("Finished...");
           }  catch (ReportSDKException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
    %>

    Hi All,         
         I am using below java SDK code to render a report in crystal report viewer. When i refresh report with more data(more parameter value) the server session times out in portal. Is there any way to fix this issue. The report loads data and then displays in Crystal report viewer, When more data is there the server times out as the server time is set to 60 sec. Is there any way to open the crystal report viewer as and when the report loads data to avoid server time out isse.
    Please help . Please let me know if I am missing something.. Thanks in Advance!!!
    CODE;
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
           pageEncoding="ISO-8859-1" session="false"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ParameterFieldController"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException"%>
    <%@page
           import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
           <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
    <%@page import="java.io.Writer"%>
    <%@page import="java.io.IOException "%>
    <%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.DatabaseController"%>
                  <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions"%>
           <% response.setHeader("pragma","no-cache");//HTTP 1.1
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.addDateHeader("Expires", -1);
    response.setDateHeader("max-age", 0);
    //response.setIntHeader ("Expires", -1);
    //prevents caching at the proxy server
    response.addHeader("cache-Control", "private"); %>
    <%
           String reportPath,Sharedpath;
           ReportClientDocument reportClientDocument;
                ParameterFieldController parameterFieldController;
                try{
                    reportPath = "reportlocation";
                 Sharedpath = "Target Location";
                    reportClientDocument = new ReportClientDocument();
                    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
                         reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);
                         reportClientDocument.getDatabaseController().logon("Dbname", "dbpassword");              
                         System.out.println("Connecting...");
                       parameterFieldController = reportClientDocument.getDataDefController()
                   .getParameterFieldController();
                    parameterFieldController.setCurrentValues("", "param 1",
                         new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29});
    parameterFieldController.setCurrentValues("", "Param 2",
                  new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23});
    reportClientDocument.saveAs("Target Report Name","Target Location", ReportSaveAsOptions._overwriteExisting);
           reportClientDocument.close();
           System.out.println("Finished...");              
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setReportSource(Sharedpath);
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
                  System.out.println("Finished...");
           }  catch (ReportSDKException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
    %>

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

  • 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

  • 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

  • Transaction on Oracle 9i data source connection times out before JTA transaction

    Hello,
    I have a MDB with a long-running transaction (3600 second timeout).
    In the MDB, I make a call to another EJB that has its transaction
    attribute set to NotSupported (I do this because I need
    non-transactional semantics in the called method).
    If the EJB call take more than about a minute to complete, then I get a
    datasource error when using the data source in the MDB after the return
    (see error at bottom). However, if the call completes quickly, then I do
    not get this error. It seems like the datasource connection somehow
    times out, but I don't see where I can change this timeout.
    pseudocode:
    // timeout set to 3600 seconds
    transactional MDB onMessage() {
    // receive connection from Oracle BEA driver
    // myEJB performLongOperation has transaction attribute
    // set to NotSupported
    String result = myEJB.performLongOperation();
    // use connection from Oracle BEA driver
    If the performLongOperation takes more than about a minute, then I get
    the following error when using the connection after the operation:
    Caused by: java.sql.SQLException: XA error: XAER_NOTA : The XID is not
    valid start() failed on resource 'Oracle IDENT Connection Pool':
    XAER_NOTA : The XID is not valid
    javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
    Error Occurred. Native Error: 24756
    at
    weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
    at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
    at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
    at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
    at
    weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
    urceInfo.java:1075)
    at
    weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
    sourceInfo.java:1007)
    at
    weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
    ourceInfo.java:218)
    at
    weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
    rverTransactionImpl.java:419)
    at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
    at
    weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
    250)
    at
    weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:185)
    at
    weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.jav
    a:80)
    at
    weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:297)

    Thanks for the reply.
    I don't have contract customer support access with BEA, and thus I can't
    download the patch. Is there any other workaround for this?
    Thanks
    Slava Imeshev wrote:
    Steven,
    Please check this:
    http://www.viewtier.com/newsgroups/thread.jspa?threadID=20&tstart=0
    Hope this helps.
    Regards,
    Slava Imeshev
    "Steven Ostrowski" <[email protected]> wrote in message news:40cf35cc@mktnews1...
    I have a MDB with a long-running transaction (3600 second timeout).
    In the MDB, I make a call to another EJB that has its transaction
    attribute set to NotSupported (I do this because I need
    non-transactional semantics in the called method).
    If the EJB call take more than about a minute to complete, then I get a
    datasource error when using the data source in the MDB after the return
    (see error at bottom). However, if the call completes quickly, then I do
    not get this error. It seems like the datasource connection somehow
    times out, but I don't see where I can change this timeout.
    pseudocode:
    // timeout set to 3600 seconds
    transactional MDB onMessage() {
    // receive connection from Oracle BEA driver
    // myEJB performLongOperation has transaction attribute
    // set to NotSupported
    String result = myEJB.performLongOperation();
    // use connection from Oracle BEA driver
    If the performLongOperation takes more than about a minute, then I get
    the following error when using the connection after the operation:
    Caused by: java.sql.SQLException: XA error: XAER_NOTA : The XID is not
    valid start() failed on resource 'Oracle IDENT Connection Pool':
    XAER_NOTA : The XID is not valid
    javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
    Error Occurred. Native Error: 24756
    at
    weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
    at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
    at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
    at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
    at
    weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
    urceInfo.java:1075)
    at
    weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
    sourceInfo.java:1007)
    at
    weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
    ourceInfo.java:218)
    at
    weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
    rverTransactionImpl.java:419)
    at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
    at
    weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
    250)
    at
    weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:185)
    at
    weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.jav
    a:80)
    at
    weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:297)

  • 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!
    Young

    What 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