Finding and Reporting Connection Leaks Web Application.

So we have a web application that we know has connection leak(s). I have developed a test plan with JMeter to load test the app, but how do I find and report the connection leak, and what is the best tool to use for that? Basically my test plan runs through a use case scenario. I have added different types of listeners using jmeter to report different types of information that I get back.
Also, is there a way to get the report back as a jsp, html page? Something kind of like the JUnit test reports do
I would like the jmeter test to run, give the url, name of task-maybe, the time it took, success or fail, and current status - connected?
Thanks in advance.
orozcom

What connections are those - sockets, database, ...? Actually, that doesn't probably matter. I'd use "grep" to find leaks of any kind. Every critical resource should be handled with try/finally:
    foo()
        WhateverConnection connection = null;
        try {
            connection = ConnectionFactory.openConnection();
            ...use it...;
        } finally {
            ConnectionFactory.close(connection); // Static function so that works with null
    }That goes for files, db connections, sockets, everything.
Then any use of openConnection() that doesn't match that pattern is wrong and must be fixed. "grep" plus visual inspection should do it. They may be other pieces of code that are technically correct but look different; those are to be considered bugs and must be modified to conform to the exact same code template. All connection openings must look the same; the code audit easily misses bugs if each developer comes up with his own clever pattern.
Finding leaks by testing will never find them all. Especially leaks that occur due to exceptions. try/finally is the right way to deal with those.
Additionally, the connection factory could keep a list of open connections, and list them at request. I also like to log statistics periodically from the connection pool: how many connections have been opened, how many are open, how long min/max/average time a connection gets used, how much data are transferred, etc.

Similar Messages

  • Are Forms Builder and Reports available as Web Application?

    We have a few developers working on custom forms and reports for various projects including EBS 12.x. To avoid the hastle associated with patching and upgrading all desktops, we are looking for a server based forms builder and reports writer.
    I am familiar with UNIX based tools in EBS that can run with X-windows [on local desktop]. Created an SR with OS, but not getting a satisfactory response. I am looking for pointers to browser based tools. Do they even exist? I was hoping maybe something in Fusion stack might allow it.
    Thanks,
    Sachin

    Thanks all for your feedback. Confirmed this with the Oracle Sales team. There is no browser tool available from Oracle. If you must avoid the desktop install, the only option is frmbld/rwbuilder in $ORACLE_HOME/bin (R12).

  • How to store reports on cr server 2008 and view them from web application

    Hi, I want to store my rpt files on the crystal reports server, under "Folders", and then from my web application use  "CrystalReportViewer" control to show these reports.
    Now I setup a crystal reports server 2008 on my server, and install crystal reports 2008 on my client develp machine. I have searched some sample codes from Internet, but many Business Objects dlls they used I could not find from my computer, for example, I can not find infostore dll and  Business Objects.sdk. It seems I have to install some sdk to use these objects.
    Could you tell if which sdk I have to setup to achieve my goal, or if can give me a sample would be highly appriecatied.

    Q. From your information, it likes this function above can not be done now?
    A. At the moment, the only way you can view reports stored on CR Server 2008 are with the Java SDK or OpenDocument.
    OpenDocument may be a nice option for you, as there would not be much programming involved. Please see this documentation for information how to use this. Please note that in CR Server 2008, you will be using Java OpenDocument.
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf
    Q. can use CR server XI instead, this version has been a while, so certainly has .net sdk available for realize this function, does'nt it?
    A. CR Server XI has the .NET SDK. You can find .NET samples here:
    https://www.sdn.sap.com/irj/boc/businessobjects-sdklibrary
    Q.  I download CRRedist2008_x86.msi and install it on my develope machine, from the instruction said it will install lots of .net dll on my computer, but I just can not find them, do you know where they are?
    A. It should install the necessary files to C:Program FilesBusiness Objects
    You can find more information about the Crystal Reports .NET distributables in the CR .NET help file, in the deployment chapter:
    https://www.sdn.sap.com/irj/boc/crystalreports-sdk
    Cheers,
    Fritz

  • Error when Opening a Crystal Report in a Web Application

    Hi All,
    How are things?
    We are trying to open a Crystal report in a Web Application based on a Web service on Appache Tomcat.
    The report is in the Test Environment poiting to a SQL 2005 Database.
    The report opens and runs fine in Crystal Reports and in Infoview.
    The Web application throws back a long error as shown below.
    Looks to be like a SDK Issue ( Not pretty sure )...
    Could anyone help me out on this?
    STACK TRACE: at BusinessObjects.DSWS.ReportEngine.ReportEngine.GetDocumentInformation(String documentReference, RetrieveMustFillInfo retrieveMustFillInfo, Action[] actions, Navigate navigate, RetrieveData retrieveData) at Service.GetReportWithParms(String rptName, String folderName, String parms, String user, String password, String output, String& strError) MESSAGE: Failed to retrieve binary view of the report. (Error: WRE 02527) CALL STACK TRACE: com.businessobjects.dsws.wsc.common.axis.WSExceptionFactory$ExportReportFailed at com.businessobjects.dsws.wsc.reportengine.Report.getBinaryDocument(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleGetBinaryView(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleRetrieveData(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleActions(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.CrystalReportEngineSoapImpl.getDocumentInformation(Unknown Source) at com.businessobjects.dsws.reportengine.ReportEngineSoapImpl.getDocumentInformation(Unknown Source) at com.businessobjects.dsws.reportengine.ReportEngineSoapSkeleton.getDocumentInformation(Unknown Source) at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error in File XYZ.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 408 ]---- Error code:-2147215357 Error code name:internal at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.export(Unknown Source) ... 49 more
    Thanks,
    Raj

    Moving post to .NET SAP Crystal Reports forum
    Hello Scott
    What browser are you using and what is the version of the browser?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • To integrate a web report in a web application

    hi,
    i have created a web report using ReportBuilder (wizard).
    i have saved that file as a jsp,
    my question is can i integrate that web report in any web application ,if yes how? plz let me know.
    thx
    abdul.

    Hi Abdul,
    The answer is yes, you can integrate your report in any web application as any other normal JSP. You can package the JSP as part of a WAR and deploy it on an application server. The only requirements are:
    reports_tld.jar must be available to the application. You can put in inside the WEB-INF/lib directory of the web application.
    Reports Server must be available to the JSP. If you are using Oracle9iAS for deploying the JSP, the Reports server is automatically available. If you are using some other application server like WebLogic, you can use the J2EE Thin Client (http://otn.oracle.com/products/reports/htdocs/getstart/examples/Tools/index.html)
    Also see the following thread on this Forum for deployment instructions:
    Where to put jsp files for web layout report?
    Navneet.

  • Problem on integrating forms 6i and reports 6i on web

    Hai,
    I am integrating forms 6i and reports 6i on web.if one user access the reports then no problem.If multiple users access the reports on same time the the server is goslow down,some error (memory related) is also coming.Please any body can explain about this problem?.
    And tell me i have to use concurrent manager or without concurrent i can solve the problem?.
    Thank you....
    with regards,
    Thivan.A.S.

    is your application server big enough for the application you host? Did you test it before going production with a stress test? There are several good white papers from oracle in the forms-section on the OTN.
    it sounds, that you run out of memory when starting some reports. Because reports sometimes (depends on the report) uses much more memory than a form you can temporarily run out of memory.
    check the memory usage on the server if possible, when running such reports

  • [ANN]REPORTMILL 5 BRINGS PDF AND FLASH TO JAVA WEB APPLICATIONS

    REPORTMILL 5 BRINGS PDF AND FLASH TO JAVA WEB APPLICATIONS
    Dallas, TX - February 25, 2002 - ReportMill Software, Inc. today announced the
    general availability of ReportMill 5 - the only developer tool in the world providing
    dynamic PDF and Flash web pages and reports for web applications. The new version
    is written entirely in Java and runs on all major platforms with support for all
    Java based web application servers, including those from BEA, IBM, Oracle, Sun
    and Apple.
    ReportMill rescues web developers from the crude look and feel that HTML-only
    solutions provide. By complimenting systems like Java Server Pages (JSP) from
    Sun, ReportMill brings a new level of professionalism and functionality to web
    applications.
    "Most web sites today offer much of their content in PDF and Flash, however, web
    applications are still limited to less-expressive HTML. Our customers deliver
    professionally formatted pages, such as invoices, catalogs, financial statements
    and itineraries in the paginated and printable Adobe PDF format. They offer content
    navigation that is interactive and portable in Macromedia Flash," says Jeff Martin,
    ReportMill CEO. "Only ReportMill seamlessly provides both with an integrated page
    layout application and an intuitive developer library."
    Availability and Pricing
    Available now. A fully functional evaluation version of the product is also available
    as a direct launch from your browser at http://reportmill.com/webstart.
    List pricing for ReportMill 5 starts at $495 (US) per developer and $4,995 (US)
    for a single processor deployment license. Volume pricing does apply. For specific
    pricing details, please see http://reportmill.com/pricing.html.
    About ReportMill Software, Inc.
    ReportMill Software, Inc. is the leader in web application "Object Reporting"
    and PDF and Flash content delivery for Java web applications. Founded in 1997,
    ReportMill has been the darling of the Apple WebObjects community, providing professional
    content solutions for dozens of fortune 500 corporations such as Merrill Lynch,
    Morgan Stanley, Fannie Mae, Verizon, WorldCom, NTT Communications, America Online,
    EDS, KPMG, AIG, Toyota and more. Now available to all web application servers,
    ReportMill will soon be a fixture in all web application development.
    Contact
    ReportMill Software, Inc.
    214.513.1636
    [email protected]

    REPORTMILL 5 BRINGS PDF AND FLASH TO JAVA WEB APPLICATIONS
    Dallas, TX - February 25, 2002 - ReportMill Software, Inc. today announced the
    general availability of ReportMill 5 - the only developer tool in the world providing
    dynamic PDF and Flash web pages and reports for web applications. The new version
    is written entirely in Java and runs on all major platforms with support for all
    Java based web application servers, including those from BEA, IBM, Oracle, Sun
    and Apple.
    ReportMill rescues web developers from the crude look and feel that HTML-only
    solutions provide. By complimenting systems like Java Server Pages (JSP) from
    Sun, ReportMill brings a new level of professionalism and functionality to web
    applications.
    "Most web sites today offer much of their content in PDF and Flash, however, web
    applications are still limited to less-expressive HTML. Our customers deliver
    professionally formatted pages, such as invoices, catalogs, financial statements
    and itineraries in the paginated and printable Adobe PDF format. They offer content
    navigation that is interactive and portable in Macromedia Flash," says Jeff Martin,
    ReportMill CEO. "Only ReportMill seamlessly provides both with an integrated page
    layout application and an intuitive developer library."
    Availability and Pricing
    Available now. A fully functional evaluation version of the product is also available
    as a direct launch from your browser at http://reportmill.com/webstart.
    List pricing for ReportMill 5 starts at $495 (US) per developer and $4,995 (US)
    for a single processor deployment license. Volume pricing does apply. For specific
    pricing details, please see http://reportmill.com/pricing.html.
    About ReportMill Software, Inc.
    ReportMill Software, Inc. is the leader in web application "Object Reporting"
    and PDF and Flash content delivery for Java web applications. Founded in 1997,
    ReportMill has been the darling of the Apple WebObjects community, providing professional
    content solutions for dozens of fortune 500 corporations such as Merrill Lynch,
    Morgan Stanley, Fannie Mae, Verizon, WorldCom, NTT Communications, America Online,
    EDS, KPMG, AIG, Toyota and more. Now available to all web application servers,
    ReportMill will soon be a fixture in all web application development.
    Contact
    ReportMill Software, Inc.
    214.513.1636
    [email protected]

  • Macbook pro keeps saying connection timeout, and it used to connect to the internet fine. what's up, why can't it find and automatically connect to the internet anymore???

    Macbook Pro keeps saying connection timeout and it used to connect to the internet fine. What's up, why can't it find and automatically connect to the internet anymore???

    Like this: https://discussions.apple.com/thread/2775868?tstart=0  ?

  • How to have RAC accept Forms and Reports connection to non specific node?

    Hi all,
    I have posted this in the Forms forum w/ no result, hoping someone here can help;
    Oracle Forms and Reports services, not the entire app server. Version 10.1.2.0.2, one server
    Oracle database, RAC Version 11.1.0.6.0, 3 nodes
    Instance=RMSTEST
    Nodes = RMSTEST1, RMSTEST2, RMSTEST3
    I can TNSPING RMSTEST w/o issue
    When I have userid in formsweb.cfg = user/pw@RMSTEST we are being prompted when logging into forms and reports to supply the password for the RMSTEST instance, enter the password and we are in.
    So we changed this in formsweb.cfg = user/pw@RMSTEST? (?= any of the nodes 1-3) and the password prompt is no longer being requested.
    What do I need to do to have Forms and Reports connect to the RMSTEST cluster directly for it to determine which node to connect to instead of having an unbalanced node(s)?
    Thanks,
    Steve

    This is what I have;
    RMSTEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.111)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.112)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.113)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = RMSTEST)
    LISTENERS_RMSTEST =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.111)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.112)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.113)(PORT = 1521))
    RMSTEST3 =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.113)(PORT = 1521))
         (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = RMSTEST)
         (INSTANCE_NAME = RMSTEST3)
    RMSTEST2 =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.112)(PORT = 1521))
         (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = RMSTEST)
         (INSTANCE_NAME = RMSTEST2)
    RMSTEST1 =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.111)(PORT = 1521))
         (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = RMSTEST)
         (INSTANCE_NAME = RMSTEST1)
    )

  • How to deploy existing forms and reports on the web

    Hi Guys,
    I have 6i forms and reports within our environment, and we are running client/server architecture, by installing forms and reports runtime on each client PC's. We would like to get rid of this by deploying forms and reports on the web, without zero coding. Can any one suggest and guide me through the process with proper security mechanism enabled along with.
    Thanks in advance,
    Aji

    Thanks for the update,
    We have a develpment 10g AS environment setup made,
    1) But we are really confused how to present the forms and reports.
    We have around 250 forms and reports running on client/server architecture. All these forms/reports have been copied to a fileshare and access control is restricted by folder security.
    2) How to deploy forms - entries within formsweb.cfg with Named Configuration sections.
    3) How to deploy reports, as to were to copy the .rep files.
    getting the following error
    REP-110: Unable to open file 'Car_Readings.rep'.
    while trying
    http://kddsvr6.kddc.com:7778/reports/rwservlet?report=Car_Readings.rep&userid=username/passwd@db&desformat=htmlcss
    Thanks in advance,
    AJi

  • How to define JAXP Parsers and Transformer in a Web Application Context

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

  • Deploying existing application (forms and reports) over the web

    Hi I do have the following environment:
    1) Oracle 8.1.6.0.0 on HP-UX.
    2) Application written using oracle forms6i and reports6i on NT (Client-Server environment)
    I am looking to deploy this existing application over the web using 9iAS, sure I don't want to rewrite my application. I did that in the past using OAS 4.0.8 and forms server and reports server.
    1)Does 9iAS support that, which one should I install the standard or the enterprise.
    2)Do I still need forms server and reports server.
    I stopped using the OAS because it had problems and the performance was not that good, I found CITRIX and Tarantella do better, performance wise.
    3)Does 9iAS has improved that.
    Any feedback regading these many questions is highly appreciated
    Thanks
    Khaled

    Sounds like the ideal 9i As environment (although you might want to consider either upgrading or patching the database - 8.1.6.0.0 does have patches)
    You'd be pleasantly surprised with the performance and stability improvements of 9iAS over OAS.
    Deploying reports & forms over the web (pure web access, not terminal services like citrix) require some form of web server, reports server and forms server. I believe that 9i AS is totally compatible with the reports and forms developed in 6i tools, so there should be no rewrite at all.
    If you have the time, strongly recommend you check it out.

  • How to deploy the Oracle Forms and Reports 10g in Web?

    Currently I am working in Oracle forms & Reports conversion project (6i to 10g).
    As of now 6i forms working as a standalone application. After migrated it to 10g, I need to deploy the forms and reports in web.
    Any one know how to deploy the Oracle forms and Reports in web?
    Please help me out. Thanks in advance.
    Vimal

    Hello Frank,
    for development, you need to install Oracle Developer
    Suite 10g. This includes Forms and Reports.this topic interests me too, because I've downloaded Developer Suite and Database (both for 10g) from Oracle website, installed them, but I couldn't connect to a database.
    What should be done for me to create a database link and be able to connect locally, in my personal Desktop computer? (Not to a server)
    Once it was told me here that I should download 10g Database - I did it, and installed it, but it didn't work. Later, some of my job partners said I should install them in a sequence - that is, 1st the Developer, and 2nd the Database. But it has failed too. And I don't know how to configure a database connection.
    Best regards,

  • Load report failed vs2005 web application

    Post Author: haz
    CA Forum: Crystal Reports
    Hi,
    I am running Crystal Reports viewer on IIS6.0 and windows server 2003, which was installed using the redistributable package that comes along with Visual Studio 2005. We open these reports through a web based application 1 which is run on a different application pool on IIS. 
    This  web application 1 has 2 parts - one is the normal data display quiries from the back end SQL server 2005 and the other is the Crystal Reports which also quires data from Oracle. At times i find that these reports all of them throw an error - Load Report Failed. At the same time the Part 1 of this application does work fine in showing the data that is queried from the database. Moreover at this stage, I dont find any errors in the Event viewer. If i restart this application pool alone, the reports starts working fine again.
    I had gone through a few of the news groups and have made all the necessary permission related changes like the TEMP Folder, ASP.NET temporary folder, the folder in which the crystal reports is placed etc but still the same error throws up after some point in time. Wanted to know if there is any special configuration required on the Application pool when it comes to Crystal Reports. We have bout 10 to 15 users using this application for testing and it only throws this error at times and not always.
    Looking forward to any kind of solution from your side.
    Regards
    Haz

    And finally the stack trace.  Sorry for the length of these posts.
    [COMException (0x800001f5): The Report Application Server failed]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +575
    [CrystalReportsException: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +646
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1374
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +169
       Report_Viewer_Crystal_CrystalView.ConfigureCrystalReports() in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:49
       Report_Viewer_Crystal_CrystalView.Page_Init(Object sender, EventArgs e) in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:33
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
       System.Web.UI.Control.OnInit(EventArgs e) +99
       System.Web.UI.Page.OnInit(EventArgs e) +9
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

  • Aski user information while trying to print a report from a web application

    Hi,
            I am trying to print a report from web application. When I click on the print button then the page is redirected to the below link and asking for user information. See the below given link for more help.
    _http://<server><port>PlatformServices/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3FSERVICE%3D%252FOpenDocument%252FappService.do%26OBJIDS%3D20016421%26backUrl%3D%252Fcontent%252Fview.do%26PREF%3DmaxOpageUt%253D200%253BmaxOpageC%253D10%253Btz%253DUS%252FPacific%253BmUnit%253Dinch%253BshowFilters%253Dtrue%253BsmtpFrom%253Dtrue%253BpromptForUnsavedData%253Dtrue%253B%26CONTAINERID%3D6424083%26backContext%3D%252FPlatformServices%26LOC%3Den%26APPKIND%3DInfoView%26PVL%3Den%26ACTID%3D280%26service%3Dtimeout&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=<servername>%3A6600&authenticationVisible=false&authType=secEnterprise&sso=false&sm=true&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
    The instance Id for the report is generated successfully and the staus of the report is showing as success on Business Objects server side ie. crystal server side.
    And we are using OpneDocumentURL for generating the report. And the in the URL we are passing the "Instatce ID" and the "Token" which Both are generated successfully.

    Hi,
    This is a crystal report link which i am trying to print.
    The actual URL to generate a report is,
    http://servername:port/OpenDocument/opendoc/openDocument.jsp?&iDocID=22874532&token=systemname%4022874531JOLS2B40fr7cuAE522874529JVB36Yr3PswjM7IP
    but it is redirected to below URL,
    http://servername:port/PlatformServices/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3FPREF%3DmaxOpageUt%253D200%253BmaxOpageC%253D10%253Btz%253DUS%252FPacific%253BmUnit%253Dinch%253BshowFilters%253Dtrue%253BsmtpFrom%253Dtrue%253BpromptForUnsavedData%253Dtrue%253B%26service%3Dtimeout%26CONTAINERID%3D21700595%26backContext%3D%252FPlatformServices%26ACTID%3D279%26OBJIDS%3D22874532%26SERVICE%3D%252FOpenDocument%252FappService.do%26APPKIND%3DInfoView%26LOC%3Den%26PVL%3Den%26backUrl%3D%252Fcontent%252Fview.do&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=systemname&authenticationVisible=false&authType=secEnterprise&sso=false&sm=true&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
    -VinodC

Maybe you are looking for