Time out on large procedure

Not sure if this is the right forum to bring this up as it doesn't primarily use the terrific wizard tools that come with portal, but I thought I would give it a try.
We have a stored procedure that generates a very large report for our customers. Basically an income statement/balance sheet. Anyway, we have found that there is a cut off point of how large of a report we can generate before the web browser times out. As a fix for this, we broke up the large procedure into two smaller procedures and have one dynamic page that is calling both. This is working, but I thought there was probably a better solution somewhere.
Has anyone else run into this issue and if so, is there another approach to the resolution that is better? I feel our solution is a bit of a hack and there has to be a better way.
Any suggestions/comments would be appreciated.

Batch mode in reports may be one option to consider.

Similar Messages

  • Portal time out with large jdbc query in JSP bean

    Hi,
    My JSP portlet always times out while waiting to complete two large JDBC queries. The error shown in my jserv.log file is:
    [28/03/2002 12:41:51:221 GMT+08:00] page/Fetching timed out for an Unknown Reason. Killing fetcher name=content-fetcher2 label=174 url=http://mephistopheles.au.oracle.com/servlet/agcharts time=120633
    [28/03/2002 12:43:10:595 GMT+08:00] page/UncaughtException in thread name=content-fetcher2, starting a new fetcher after exception
    java.lang.ThreadDeath
    Is there some particular settings I can modify to prevent the content fetcher from timing out? Cheers

    Thanks. The charts portlet now can be delayed up to the required ~10mins before returning data from the large query. This works in conjunction with changes in the directives/parameters for Jserv and httpd(Note:180548.1)
    Shankar,
    Normally, you can increase the time out in the portlet tag of the provider.xml file. The timeout is in seconds, you should also increase the provider timeout. This is done in the provider registration screen.
    <timeout>60</timeout>
    <timeoutMessage>My Portlet Timed Out</timeoutMessage>
    Please note that if you set the timeout too high and your portlet is really not coming up, you page will wait the 60, 90, 120, etc seconds for the portlet to timeout, so be careful will portlet and provider timeouts.
    Sue

  • ISupplier Time out  for larger PO's

    Hi ,
    Isupplier page is getting timed for larger PO's.
    We the user clicks the print PO button,it submits a program which takes more than 10Mins of time to complete but the isuuplier page times out after 5 Mins of time.
    We also tried increasing the timeout values in httpd.conf and httpds.conf files but still the issue persists.
    Kindly provide your inputs to resolve the issue.
    Regards
    Shankar

    Please post the details of the application release, database version and OS.
    ANS:ARM PO Print Archive Report which takes 1 min for smaller PO's and for larger
    Is this a custom report or seeded one? What is the short name of this CP?
    ANS : This error we are getting before the program completes (ie After 5 Mins)
    Proxy Error:
    Proxy server received an invalid response from the upstream server.
    could not find the file in $APPLCUST_TOP/poarm/xxfilename.out.
    What is the type of the report?
    If this is a custom report, do you use/generate xxfilename.out file?
    Can you find any errors in Apache log files?
    Ans: No Error message is reported in the alert log.
    What about Apache log files?
    Will post the same shortly.
    OK.
    No error in the request log file
    How do you get the error (Proxy Error) then?
    Thanks,
    Hussein

  • Genius initialization times out with large library

    I have tried over 20 times to initialize Genius in iTunes 8 with a library containing over 100,000 tracks. Analyzes fine. Uploads to Apple fine. Apple analyzation goes fine. Then downloads data from Apple and it always takes a long time and times out before it completes, giving me an error message. Anyone else getting this?

    same here, not so many files, but do have about 32gb. I am using a pee-see, and running win X-Pee.
    It is not going to sleep. I had already turned the screensaver and tree-hugging energy saving feature. Anyone out there?

  • Time Out Error while waiting for response from DB Procedure

    Hi Gurus,
    We are encountering a problem in our production environment. The system is implemented using AIA foundation pack 2.5 on SOA suite 10.1.3.4.
    We have a BPEL process A which calls an ESB Service which inturn calls BPEL Process B. In process B, we have a DB procedure call which waits for a response from
    a DB procedure. The procedure doesn't reply on time and Process B remains in waiting state to get the response from DB Procedure wherein Process A errors out by showing as "Timed Out Error".
    This issue is intermittent and we have already increased transaction-time outs in transaction-manager.xml to 7200 and ejb-orion-jar.xml to 3600.
    When we encountered this problem, we found out that there are too many connections open and when we bounced the server, everything was restored to nornal but as it is a production env. we can't do it over and over again.
    We have 2 nodes each having max connections as 100 and min. as 0.
    Is there a limit to max no. of connections or can we do something in DB side to ensure that it doesn't happen again ?
    Please suggest.
    Thanks,
    Vikas Manchanda

    Hi Anuj,
    I don't think it is a problem with connection reaching to max numbers because this issue is coming on very intermittent basis.we don't have any other processes using
    the same connection pool and this issue is coming even when there is no load on the server. This is recent trace from the production environment. Also i don't have any thing called "abandoned-connection-pool" in my data-sources.xml.
    <2011-07-07 13:09:16,101> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "delivery": Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
    com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
    at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:576)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:465)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:134)
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java)
    Please suggest.
    Thanks,
    Vikas Manchanda

  • Clients Time-Out When Retrieving Large Files  From Our PureFTPd Server

    Hi, not sure if this is the right place to get help, but didn't know where else to look. And let me begin by saying I'm not a server admin by trade, but that is the role I've fell into at a design firm. So please bear with my lack of knowledge on some of the more technical details.
    We have OS X Server 10.4.11 running here with PureFTPd installed and managed through PureFTPd Manager application. It has been fairly reliable for us for the last 2-3 years once the initial setup craziness was complete.
    But lately we've had 2 clients say that they've had difficulty downloading larger files from us. They get a time-out or error message on their end. They are most likely using Windows Explorer on a PC to do the transfer, which has always been the easiest method for our clients.
    One client had no problem getting files up to 14MB or so. But when trying to download a certain file that was about 80MB, it would not work. I tried different things here, and she tried multiple times, but no luck. I tried zipping the file to see if that would help, but no luck.
    Then another client had a similar problem today with a file that was only 25MB.
    We don't send large files very often, so I'm not sure if this is a recent thing or not. It seems like we've received some large files recently though.
    In PureFTPd manager, I usually leave all of the fields in the Transfers tab empty for all users. I didn't see anywhere else that would seem to impart a file-size limitation.
    • Any ideas at all?
    • If not, any other forums that I could search for help on? It looks like the developers site for PureFTPd Manager hasn't been updated in a year or two.
    Thanks in advance!

    Some years back I had trouble at a customer that had a ADSL using PPPoE connection to their ISP.
    Their router/modem (Speedtouch) couldn't cope with the LAN MTU when they sent files out so I had to lower it on their computers (running Panther?) ethernet interface from 1500 to 1492 (PPPoE overhead was 8 byte). The communication used to stall at about 25MB but the MTU change helped resolving that.
    My guess is that the router had to fragment (split in two) all outgoing packets it recived from the LAN computers and it just couldn't cope after a while.
    In your case it can be other network related things too like maybe needing traffic prioritizing, if receiving a lot of traffic from Internet and trying to send at the same time.

  • ADF page times out for long running backend procedure

    Dear gurus,
    I have an ADF 10g web page that invokes a long running backend PL/SQL procedure.
    After some time, and while the web page awaits for the completion of the PL/SQL procedure, I get an *'Oops! This page appears broken'* from my browser (either IE or Firefox).
    Does anybody know what setting to use to make my application endure long running backend procedures without timing out ?

    What is the Application Server you are deploying to? In WebLogic for example, there are options to configure the server stuck thread timeout for instance.
    Edited by: Nick Haralabidis on Jun 20, 2011 4:57 PM
    Also, consider trying to figure out the exact exception or error message. For instance, if your are using a software load balancer solution it may be that this layer times out.

  • Loading Large Data Set Times Out In APEX

    I am trying to load a large text file using APEX 3 I am using a 1g file which has about 50,000 rows. After about 5 minutes the browser times out. Any ideas nothing in the alert log so it is not database related. Here is the error in the Apache Log
    mod_plsql: Long running URL [pls/apex/wwv_flow.accept] timed out

    Steve,
    The Apache process is timing out. Most likely this is set to 300 in your httpd.conf (the default).
    You can extend it to more than 300, but if I were in your shoes and you had the proper access, I'd use some other means to load 1GB of data (e.g., SQL*Loader).
    Joel

  • Large File Time Outs

    I tend to need larger files extracted to Excel. I've found that these time out. Are there settings to extend the conversion time? Or, is there an option to select specific pages to be able to break the conversion into seperate pieces?

    Nope. Downloads were attempted only to my MBP. Unsuccessful when attempted through the TC, whether wired or wireless. Successful when MBP connected directly to the ethernet jack for the internet connection.
    After downloading files directly connected, I can move the files around on the network via wireless - for example MBP to TC - with no issues.
    Haven't done anything with these files on the Dell - just noted that for network load. I use that thing as little as possible. It's running Windows 7 64 bit.
    Thanks!

  • Converting Large Files - It Times-Out

    Hi, I have two files that I need to convert from PDF to Word. One is 40 MB and the other is 18 MB. They both time-out while converting. Note, however, that I did successfully convert a 27 MB file - so the limitation can't be strictly based on size. It seems to be based on the intensity of the conversion/complexity of the file itself.
    Is there a way to download the PDF-to-Word converter so that I can do the conversion locally? Can I send (FTP?) the files to you and ask you to do these conversions?
    Any help you can provide would be great.
    Michael Dowding

    Thanks anyway. I purchased a different utility that lets me convert locally on my Windows laptop.
    I’d been using the online service you offer (in Acrobat Reader it’s Save As Word or Excel Online) and it’s done a good job. But these files I was working with were so big and so graphics-intensive, it was timing-out your remote service. So I bought Wondershare PDF Editor and it did the job.
    Thanks for your reply.

  • Opportunity save times out ...Large entries in PPFTTRIGG for this opportuni

    Hello,
    We are working on CRM Opportunities..
    Editing the opportunity is possible, but when this opportunity is saved, it times out..
    There are a set of these opportunities for whom it is timing out...
    For these opportunities, there are a lot of entries in the table 'PPFTTRIGG' - actions table..
    Trying to process the messages using the report 'RSPPFPROCESS' is timing out again for these opportunities
    We have action definitions for opportunities (if opportunity has not been updated , opportunity expired etc ) to trigger email alerts ...which are sitting in the PPFTTRIGG table.
    Do you know a workaround or a solution for enabling the saving of the above opportunities..
    Any advise is greatly appreciated..
    Thanks.
    Regards,
    Monica
    Edited by: Monica Turner on Aug 16, 2011 11:10 AM

    HI Monica,
    You may skip determine of Actions for certain opportunities in the badi's like
    CONTAINER_PPF
    EVAL_SCHEDCOND_PPF
    EVAL_STARTCOND_PPF
    This is just an idea, i never tried this, May be you can explore in this angle.
    -Satish

  • Time out problem while uploading large bpel processes into oracle soa suite

    Hi everyone,
    I'm using oracle soa suite 10.1.3.4.0 and I'm encountering time out problem while trying to upload a 5MB bpel process into my bpel process server located in the LAN network. The error is coming from apache common file upload.
    Is there a way to increate the connection time out for oc4j to avoid this problem?
    Thanks for any help.
    Regards
    Esfand

    Hi Marc.
    Thanks for your reply. I increased the transaction manager time-out but still I have the same problem. I believe this is something related to oc4j settings and related to upload bpel process. here is my stack trace output:
    79: A problem occured while connecting to server "192.168.0.12" using port "8888": bpel_JazbModaresJadidBPEL_1.0.jar failed to deploy. Exception message is: javax.transaction.RollbackException: Timed out
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:94)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:324)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
    javax.transaction.RollbackException: Timed out
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:152)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    ... 25 more
    Caused by: javax.transaction.RollbackException: Timed out
    at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:664)
    at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
    at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:137)
    ... 33 more
    Total time: 4 minutes 30 seconds
    The bpel jar file is about 2MB and is uploaded from my machine located in the same LAN.
    Any hints?
    Thanks
    Esfand

  • Transaction time out

    Hi,
    I have a stateless session bean invoking methods on an entity bean reference.
    When 2 methods are invoked using the home reference, I get the following error
    Start server side stack trace:
    javax.transaction.TransactionRolledbackException: Transaction timed out after
    64 seconds
    Name=[EJB com.aol.quack.usabilityTools.recTuningBeans.UsabilityReportBean.createFreqReport(java.lang.Str
    e=active),properties=({weblogic.transaction.name=[EJB com.aol.quack.usabilityTools.recTuningBeans.Usabil
            at weblogic.transaction.internal.TransactionManagerImpl.receiveRequest(TransactionManagerImpl.ja
            at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:153)
            at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
            at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
            at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
            at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
            at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
            at $Proxy79.findRecognitions(Unknown Source)
            at com.aol.quack.usabilityTools.util.FuncLib.processForEachMode(FuncLib.java:190)
            at com.aol.quack.usabilityTools.util.FrequencyReport.generate(FrequencyReport.java:128)
            at com.aol.quack.usabilityTools.recTuningBeans.UsabilityReportBean.createFreqReport(UsabilityRep
            at com.aol.quack.usabilityTools.recTuningBeans.UsabilityReportBean_earfgg_EOImpl.createFreqRepor
            at com.aol.quack.usabilityTools.recTuningBeans.UsabilityReportBean_earfgg_EOImpl_WLSkel.invoke(U
            at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
            at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
            at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End  server side stack trace
    Does anyone have idea whats wrong? Is it the code?
    The same code works for small tables though.
    Thanks,
    Priya
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I don't think you can call a stored procedure from a CMP. What i meant was you might try calling a stored
    procedure from a BMP or a Stateless bean if it is only required to get records from the table.
    Shiva.
    Priya wrote:
    Hi,
    How do I get stored procedures to work for container managed bean?
    Priya
    Shiva Paranandi <[email protected]> wrote:
    If it is failing for large data means you need to have an alternate solution
    like getting a stored procedure to
    pass the results or doing some caching. Or maybe you might even try splitting
    the obtained data so your
    transactions might spawn for less than 60 seconds. Worst case increase
    the time. Also check out what is the
    time it takes to get the same data through a sql plus. Check if there
    is a huge amount of time difference and
    then you might want to see where this time difference is coming from.
    Shiva.
    Priya wrote:
    Hi,
    I am using CMP for the entity beans and have already set the timeoutvalue to
    60 secs.
    Also, this works for small tables but fails for big ones while calling2 finder/home
    methods consecutively.
    Priya
    Shiva Paranandi <[email protected]> wrote:
    Does the transaction only involve getting records from the table?
    You
    can change the transaction time out
    value in your ejb's or in the console of WLS. Hope you are using PreparedStatements
    in your SQL code. You
    might also want to turn on your JDBC log to check out what might behappening.
    Shiva.
    Priya wrote:
    Hi,
    I have a stateless session bean invoking methods on an entity
    bean
    reference.
    When 2 methods are invoked using the home reference, I get the followingerror
    Start server side stack trace:
    javax.transaction.TransactionRolledbackException: Transaction timedout after
    64 seconds
    Name=[EJB com.aol.quack.usabilityTools.recTuningBeans.UsabilityReportBean.createFreqReport(java.lang.Str
    e=active),properties=({weblogic.transaction.name=[EJB com.aol.quack.usabilityTools.recTuningBeans.Usabil
    at weblogic.transaction.internal.TransactionManagerImpl.receiveRequest(TransactionManagerImpl.ja
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:153)
    at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy79.findRecognitions(Unknown Source)
    at com.aol.quack.usabilityTools.util.FuncLib.processForEachMode(FuncLib.java:190)
    at com.aol.quack.usabilityTools.util.FrequencyReport.generate(FrequencyReport.java:128)
    at com.aol.quack.usabilityTools.recTuningBeans.UsabilityReportBean.createFreqReport(UsabilityRep
    at com.aol.quack.usabilityTools.recTuningBeans.UsabilityReportBean_earfgg_EOImpl.createFreqRepor
    at com.aol.quack.usabilityTools.recTuningBeans.UsabilityReportBean_earfgg_EOImpl_WLSkel.invoke(U
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End  server side stack trace
    Does anyone have idea whats wrong? Is it the code?
    The same code works for small tables though.
    Thanks,
    Priya
    > >                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Session Time out - Relogin not redirecting

    Hi,
    If I am in a particular page of an application, and session times out, I get Page Expired window. On click of that, it takes me to login page. After I relogin, it is NOT redirecting me to the page where the time out happened. It just redirects to the Application Main page. Is there a way to let ADF redirect to the page where time out happened?
    Thanks,

    Hi Aluvala,
    Based on the current description, I understand that you would like to change the error message to custom message. The issue relates to Render Extension. Currently, the behavior which changes the error message to custom message is not supported. Therefore,
    I would suggest you submitting a wish at
    https://connect.microsoft.com/sql. Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute
    to exciting projects.
    If you still want to make custom render message, you can try to create custom render extension while it is not easy.
    Hope this helps.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • SSO - session time out while navigating across applications

    Hi,
    Problem statement
    Handling session time out while navigating across applications involving SSO
    Current approach
    Application 1
    1. Create session1.
    2. URL rewrite the sesssion ID1 into the link refering to App2.
    Application 2
    1. Create session2
    2. Get the session Id of App1.
    3. send the session ID of App1 in the header
    4. Invalidate the session2
    Application 1
    Get the ID from request and invoke getSession.
    I'm having a very large session timeout at App1.
    Is there a better approach. Ex: Having global session which is shared across multiple
    webapplications.

    "madhav" <[email protected]> wrote:
    >
    Hi,
    Problem statement
    Handling session time out while navigating across applications involving
    SSO
    Current approach
    Application 1
    1. Create session1.
    2. URL rewrite the sesssion ID1 into the link refering to App2.
    Application 2
    1. Create session2
    2. Get the session Id of App1.
    3. send the session ID of App1 in the header
    4. Invalidate the session2
    Application 1
    Get the ID from request and invoke getSession.
    I'm having a very large session timeout at App1.
    Is there a better approach. Ex: Having global session which is shared
    across multiple
    webapplications.
    I have similiar problems in my system. What do you do if the session 1 times out
    during ongoing operations in App 2 ?
    Thanks
    Kejuan

Maybe you are looking for

  • How do I change the phone number associated with my iPad Air?

    During initial setup of my iPhone 5S, I mistakenly assigned that phone number to my iPad Air.  How do I change that number to another iPhone my wife has for iMessaging purposes?

  • Error while Posting document in MB1B

    Hi all, When posting transfer document in transaction MB1B for Movement type 311 for particular plant, System posts the document and generates document no also, But as soon as I press any key to back from that screen i am getting error 'Express Docum

  • Firefox will not load any website, it says unable to connect, how can I fix this?

    Every url I type in it comes up with unable to connect and firefox cant establish a connection! its like it's not even got a connection but i can get on the internet at the same time with internet explorer! I have tried disabling the IPv6 and Prefetc

  • Exchange Rate Difference in PO with cost center assignment

    Hi All, In case of exchange rate difference in a PO with a cost center assignment the system Do not post the difference in the exchange rate difference account (maintained under transaction type - KDM - in T-code OBYC). However if the PO is a normal

  • XML input into BPEL Process

    Hi, I am trying to create a BPEL process which receives XML input and then uses this input to insert data into the database. I have a stored procedure which will accept the input variables and do the insert. My XML looks like below: <Acc_type> <code>