Issue while exporting report to excel

I have a report created using ssrs.
In that i have set the body background property to an image
And also set a header in the report
Now while exporting it to excel, I need to remove the body background  image and header
Need Help
Thanks
Abhinav

The workaround is to use a parameter that control the hidden properties and image/value properties of the header contents and background image path respectively. We need to place the header contents to a textbox or a rectangle so that the "hidden"
properties can be set or reset. Similarly for the image path or value properties of body section can be set or reset using expression. I am using external image URL. Refer below step.
1. Add a parameter "Export". Set the Available values
as "Specify values" and add the below labels and values.
Label                                 Value
Header/Image                    Header/Image
No Header/Image               No Header/Image
For Default Values,
Select Specify values option and add value as "Header/Image". Click Ok to close the parameter properties.
2. As my header section contains a textbox and wanted to hide while i export, select the textbox properties and set the visibility/hidden expression as, =IIF(Parameters!Export.Value <> "Header/Image", True, False)
3. Similarly in the report body properties, select the image source option as "External" and set the expression as,
=IIF(Parameters!Export.Value <> "Header/Image", "" , "http://localhost/Testing/NEW_06.jpg")
4. Preview the report and select the export parameter option as "No Header/Image".
Regards, RSingh

Similar Messages

  • Issue while exporting report in Excel Format

    Hello,
    I am facing problem while exporting the report in Excel Format. After analysis, I think that it could be due to two reasons, either we are using wrong versions of Jars, or we are using wrong API. Here is the code, approaches and problems we are facing. Please help.
    First approach we are using is:
    // using basic API
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    // get client document from crystal report API and open the report by specifying the report name, with path
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open( reportPath, 0 );
                   // give chance to extending classes to configure the report document by POJO or by sql parameter etc, just adding the parameters infromation using ParameterFieldController
                   configureReportDocument( reportClientDoc, reportMetadata, reportData, reportContext );
                   // get data source of crystal report
                   Object reportSource = reportClientDoc.getReportSource();
                   // export the data - we have also tried with MSExcel format
                   ReportExportFormat exportFormat =  ReportExportFormat.recordToMSExcel;
                   LOGGER.debug( "exportFormat[" + exportFormat + "]" );
                   ByteArrayInputStream byteArray = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(
                             exportFormat );
    Problem Faced: Specified Excel format is not supported.
    Second Approach: We come to know that excel format is supported with new releases and with occa package.
    Then we tried with import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument; It ask to set the ReportServer. When we are trying to set the server as
                   reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    Application is unable to find 'ReportClientDocument.inprocConnectionString' property. It seems like we are using some old jars. However we have downloaded the latest released jars for eclipse 2.
    Please help for it. Issue is to export the report in excel format, which is currently working fine for PDF. If this problem is related to Jars, please suggest the path to download the latest jars. We also looking for the latest jars like rasapp and rascore etc. But these are not available with Crystal Report for Eclipse 2 release.
    Waiting for urgent help. Thanks you..
    Regards,
    Mohit

    Hi,
    Send me Environment Details .
    Here is the code  snippet for exporting report to excel format:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.managedreports.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%
    String username ="Administrator";
    String password ="";
    String cmsname ="localhost:6400";
    String Authen ="secEnterprise";
         //connecting to Enterprise
         IEnterpriseSession es = CrystalEnterprise.getSessionMgr().logon(username,password,cmsname,Authen);
         //get the report App Factory form the Crystal Enterprise
         IReportAppFactory appFactory = (IReportAppFactory) es.getService("","RASReportService");
         //get the infostore service form the Crystal Enterprise
         IInfoStore istore = (IInfoStore) es.getService("","InfoStore");
         //get the report by name from crystal Enterprise
         IInfoObjects iobjects = istore.query("Select * From CI_INFOOBJECTS Where SI_NAME = 'sampleramz2.rpt' and SI_INSTANCE = 0 ");
         //open the report in the report doc object.
         ReportClientDocument Doc = appFactory.openDocument((IInfoObject)iobjects.get(0), 0, Locale.ENGLISH);
         // WORKING WITH THE PRINT OUTPUT CONTROLLER
         //Use the report documents PrintOutputController to export the report to a ByteArrayInputStream
         ByteArrayInputStream byteIS = (ByteArrayInputStream)Doc.getPrintOutputController().export(ReportExportFormat.recordToMSExcel);
         // EXPORTING THE REPORT
         //Create a byte[] (same size as the exported ByteArrayInputStream)
         byte[] buf = new byte[2000 * 1024];
         int nRead = 0;
         //Set response headers to indicate pdf MIME type and inline file
         response.reset();
         response.setHeader("Content-disposition", "inline;filename=ramz");
         response.setContentType("application/xls");
         //Send the Byte Array to the Client
         while ((nRead = byteIS.read(buf)) != -1)
              response.getOutputStream().write(buf, 0, nRead);
         //Flush the output stream
         response.getOutputStream().flush();
         //Close the output stream
         response.getOutputStream().close();
    %>
    Let me know any information is needed,
    Regards,
    Rameez

  • Exception_Access_Violation error while exporting report to excel

    Hello Experts,
    We have BO 6.5 report designer. We have few reports developed on BO 6.5. While exporting these reports to excel an error occurs with below error message:
    Unhandled exception
    Code: C0000005
    Description : Exception_Acess_Violation
    It seems this is a common error comes in various sitions but I could not find the exact solution to this issue.
    Please help me with this.
    Regards,
    Nirav Shah

    Hi Denis,
    The issue was not present earlier. We were successfully able to export reports in excel sheet.
    In case if compitability is the issue, Can you please tell me how can we fix it?
    Regards,
    Nirav Shah

  • Issue while exporting report in PDF using crystal report XI

    Hello,
    I am facing issue while exporting a report to PDF through crystal report XI. Reports are generating properly in the crystal report browser but when I am exporting the reports in PDF or trying to get print by clicking on print button, reports not generating properly.
    Allignment in the exported PDF reports getting changed and reports margin is also changes. Due to this some part of report is chopped and printed on the next page.
    I have deployed my application on IBM WebSphere 6.1 server and I am getting following error which might help to identify this issue.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The response has already been commited.---- Error code:0 Error code name:succeeded
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.report.web.component.o.a(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
         at com.ibm._jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
         at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
    Caused by: com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:80)
         at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.writeOut(BufferedServletOutputStream.java:438)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBytes(BufferedServletOutputStream.java:344)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flush(BufferedServletOutputStream.java:323)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBuffer(BufferedServletOutputStream.java:478)
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:452)
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:436)
         at com.crystaldecisions.report.web.viewer.JSPViewerResponse.flushBuffer(Unknown Source)
         ... 33 more
    Caused by: java.io.IOException: Async IO operation failed, reason: RC: 64  The specified network name is no longer available.
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:203)
         ... 3 more
    Thanks in advance
    Alok P.

    The stack trace is caused by whitespace in your CrystalReportViewer.jsp file.  Look up SAP Note 1199025 for the resolution.
    It's not related to the PDF formatting issue.  There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
    Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF.  But the latest version helps greatly.
    Sincerely,
    Ted Ueda

  • Issue while exporting report - OBIEE 11g - IIS 7.5

    Hi,
    We are currently on OBIEE 11.1.1.7.0 version of OBIEE and we have set up proxy through IIS 7.5 on Windows 2008 R2 server.
    While exporting our reports, we need to ensure that both Export to excel options (2003 and 2007+) are working fine. However, for some reports, when we try to download the reports to Excel 2007+ format, we get a "Internet Explorer cannot display the webpage" error message. This issue does not appear if we change the URL to directly access Weblogic server (instead of routing through IIS). Wanted to know if anyone have faced similar issue and have found any solution/workaround for same.
    Thanks
    Hyder

    Hyder,
    I have achieved this.We have deployed our OBIEE application on Weblogic server not on IIS.
    Sasi Nagireddy: How to Export Analysis in Excel 2007 +
    Thanks,
    Sasi Nagireddy..

  • C#/SharePoint -View State related issue while exporting data to excel

    We have web application based on SharePoint. We have a list view to display data based on Search Criteria. We have total of around 16000 data. When we try to export all data to excel it gives an error. The cause of the issue is:
    View State is used to save the state of page i.e. the previous state. When the export to excel link is clicked, the data present in the grid is actually saved in view state so that the overhead of again generating
    the data(as per the selection criteria) can be avoided. Now, this View state has a limitation of storage of these records. When we put in some selection criteria, the no. of records is less hence no problem in actually storing the view state. But when there
    is no selection criteria, 16306 records are too much to be stored in view state. Hence the error occurs.
    We tried to solve this issue by creating a compressor class and overriding two methods:
     LoadPageStateFromPersistenceMedium
    SavePageStateToPersistenceMedium
    This has resolved the issue with Export to Excel. However, there is now some issue in the paging of the list view. The list view has a column with hyperlink which opens related data in a form. While we click on the link in 2<sup>nd</sup>
    page of the list view, it displays data for the link in the 1<sup>st</sup> page at same row.
    Please suggest how to resolve this issue or any workaround for this

    We have web application based on SharePoint. We have a list view to display data based on Search Criteria. We have total of around 16000 data. When we try to export all data to excel it gives an error. The cause of the issue is:
    View State is used to save the state of page i.e. the previous state. When the export to excel link is clicked, the data present in the grid is actually saved in view state so that the overhead of again generating
    the data(as per the selection criteria) can be avoided. Now, this View state has a limitation of storage of these records. When we put in some selection criteria, the no. of records is less hence no problem in actually storing the view state. But when there
    is no selection criteria, 16306 records are too much to be stored in view state. Hence the error occurs.
    We tried to solve this issue by creating a compressor class and overriding two methods:
     LoadPageStateFromPersistenceMedium
    SavePageStateToPersistenceMedium
    This has resolved the issue with Export to Excel. However, there is now some issue in the paging of the list view. The list view has a column with hyperlink which opens related data in a form. While we click on the link in 2<sup>nd</sup>
    page of the list view, it displays data for the link in the 1<sup>st</sup> page at same row.
    Please suggest how to resolve this issue or any workaround for this

  • Remove header items while exporting reports to CSV or Excel

    Hi!
    I am working on the reporting services 2005.
    I have reports which displays the important parameters selected while running the report into the report header while the report is generated.
    But while exporting into the EXCEL or CSV, these header stuffs completely mess the format of report.
    Is there any way not to export the header and footer stuffs while exporting in any format please?
    Do not feel regret.... just try to improve..... its far better

    What i actually want is to remove all the header and footer stuffs while exporting the report in any format
    You can simply achieve that in SSRS 2008 R2, hide the object base on current format:
    =(Globals!RenderFormat.IsInteractive = "EXCEL")
    For the details, you can refer to:
    http://blogs.msdn.com/b/robertbruckner/archive/2010/05/02/globals-renderformat-aka-renderer-dependent-report-layout.aspx
    But in 2005 and 2008, no solution for this, only the workarounds:
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/2522d6ec-0366-44f0-bcd9-4d6fff26ae8b
    Create another report without headers and footers, create a textbox with drillthrough action to the new report in main report. Click that
    textbox to export:
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/e0bdc230-df73-4a95-973d-5592e855ed01
    Hope this helps,
    Raymond
    Raymond Li - MSFT

  • Historical Report - export report in excel format

    Hi,
    We are on UCCX 8.0 (SU2). We have an issue with Historical when we tried to export report in excel format, the report does not display in correct column. It's very confusing. We could manually correct (rearrange) the column label but it take lots of time as we have so many reports.
    Is there anyway to fix this issue? Does anyone experience the same issue with Historical Report?
    I attached the pictures for example.
    Thanks,

    This type of behavior is a bug. I took a look in the bug toolkit and there are several defects filed against the Agent Summary report in 8.0 but not one that matches this behavior. I would venture a guess that a DE was sloppy when fixing another bug and introduced this on us.
    You should open a TAC case on this. It is also possible that this defect already exists but is not public in the toolkit yet.

  • Suppressing hyperlinks while exporting reports to xcel , pdf, etc etc

    Post Author: SankhadipBiswas
    CA Forum: Exporting
    My
    reports have hyper links in them. While exporting reports the hyper
    links are also getting exported and I don't want to export those hyper
    links. Please can any body tell me how to suppress those hyper links.

    Unfortunately, it looks like that font has many issues. Googling 'Univers Condensed Fonts .net' gets a number of interesting posts. E.g.;
    Univers 67 Bold Condensed Font does not show in my Flash Fonts List
    See if you can select the font in the properties window of the VS.NET IDE.
    It would also be interesting to see if the following will work in a new test app:
    Private Sub Form1_Load(ByVal sender As System.Object,
    ByVal e As System.EventArgs) Handles MyBase.Load
         Label1.Font = New Font("Univers 57 Condensed Font – Univers 57 Condensed", 12, FontStyle.Regular)
    End Sub
    - Ludek

  • Exporting report to Excel format

    We try to implement automated export to Excel Format but Crystal Report XI Java runtime doesnu2019t support export to Excel Format but pdf.
    Do I need to migrate to Crystal Report Eclipse 2.0 for exporting report in Excel format?
    Or I can deploy the Crystal Report Eclipse 2.0 Java runtime only for exporting to Excel Format?

    As I know, you can easily export the data from an MS Access Report to Excel, but it's really hard to get the formats exported along with the data, or just not doable at all. 
    Please see these links:
    http://www.howtogeek.com/howto/microsoft-office/export-an-access-2003-report-into-excel-spreadsheet/
    http://www.access-programmers.co.uk/forums/showthread.php?t=143884
    Also:
    https://social.msdn.microsoft.com/Forums/office/en-US/826a30c5-775e-4a51-b639-2ffb046bfe85/formatted-access-report-to-excel
    Also, keep in mind...it's easy to export the data from a report to Excel.  You can certainly setup Excel as a template, which has all the formatting applied and just sits on your disk drive...somewhere...waiting for you to dump new data into it from
    a new report...whenever you need it.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • How export report into excel sheet automatically using SSRS 2010?

    Hi,
    I have created many reports using SQL Server Data Tool 2010 and at my work, we are using active batch to ran reports every month.
    Now question is, my boss want me to set up reports such a way that when active batch is ran, reports should be exported into excel sheet automatically with the default values given for parameters at some specific folder location. How can I export report
    into excel sheet automatically when active batch is executed?
    Please help me on this. Thanks for the help in advance.
    Vicky

    Check this:
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'C:/test.xls'
          filetype                = 'ASC'
          write_field_separator   = 'X'
        TABLES
          data_tab                = t_output
    Regards.

  • How to export report to excel and to text file in previewer

    How to export report to excel?
    And, it takes long time for generate report to rtf or pdf file in previewer.
    How to speed up the process? or, it's better generate report to text file directly by Run_product?
    Please help!

    You can generate report to tab delimite format that can be imported to excel.
    As for the performance question, because reports can't specify what format when you run against previewer, so I don't know what previewer you are talking about. Generate to file is always faster than to your application previewer (assume) because you have one more step after output generated in the file: read from file and render it. Depends on the render and size of the output, it may have significant performance difference.
    Thanks,
    -Shaun

  • Export Report to EXCEL without compulsory saving

    Hi
    Our Client has request to eliminate the need to save exported reports to Excel before viewing in Excel.  In most other softwares, an excel file is automatically created and it is optional whether to save it for future use.   
    Kedalene Chong

    Hi Andreas
    Thanks for your consideration.  We look forward to your update us on the expected date for the fix of this suggestion.
    Kedalene Chong

  • Deadlock with thread issues while generating reports with Crystal Report XI

    We are facing deadlock with thread issues while generating report with Crystal Report XI
    Version Number is 11.0 and the database used is Oracle
    In the log file on line number 74350  by 2008/12/16 13:35:54 there is a dead lock with Thread: u20184u2019 is waiting to acquire lock for 'com.crystaldecisions.reports.queryengine.av@15214b9' which is held by the Thread: '0'.
    And  a dead lock with Thread: u20180u2019 is waiting to acquire lock for 'com.crystaldecisions.reports.queryengine.av@15214b9' which is held by the Thread: '4'.
    Exactly after 10 minutes we can see the thread 4 and 0 are declared as STUCK by 2008/12/16  13:45:54 .
    Is this an existing issue with Crystal Report?
    Is there some solution for this problem?
    THE LOG FILE INFORMATION IS GIVEN BELOW
    [deadlocked thread] [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'com.crystaldecisions.reports.queryengine.av@15214b9' that is held by thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
         com.crystaldecisions.reports.queryengine.av.V(Unknown Source)
         com.crystaldecisions.reports.queryengine.av.do(Unknown Source)
         com.crystaldecisions.reports.queryengine.as.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.c(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source)
         com.crystaldecisions.reports.common.ab.a(Unknown Source)
         com.crystaldecisions.reports.common.ab.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
         com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source)
         com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)
         com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
         com.sysarris.aris.crystalreports.RepServlet.generateReport(RepServlet.java:65)
         com.sysarris.aris.crystalreports.RepServlet.doPost(RepServlet.java:40)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    [deadlocked thread] [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)':
    Thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'com.crystaldecisions.reports.queryengine.av@12e0415' that is held by thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)''
    Stack trace:
         com.crystaldecisions.reports.queryengine.av.V(Unknown Source)
         com.crystaldecisions.reports.queryengine.av.do(Unknown Source)
         com.crystaldecisions.reports.queryengine.as.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.c(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source)
         com.crystaldecisions.reports.common.ab.a(Unknown Source)
         com.crystaldecisions.reports.common.ab.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source)
         com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
         com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source)
         com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)
         com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
         com.sysarris.aris.crystalreports.RepServlet.generateReport(RepServlet.java:65)
         com.sysarris.aris.crystalreports.RepServlet.doPost(RepServlet.java:40)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Can you please suggest any work around for this?

    I'm not referring to Servlet threading issues.
    I'll clarify.
    You have two threads, both entering ReportClientDocument.open(...) method.
    Thread 4 is waiting to acquire 'com.crystaldecisions.reports.queryengine.av@15214b9'
    Thread 0 is waiting to acquire ''com.crystaldecisions.reports.queryengine.av@12e0415'
    So I'm thinking ??? are they the same objects?
    My specific question concerning the ReportClientDocument is that both are calling open - i.e., trying to open a new report.  You wouldn't be trying to open different reports using the same ReportClientDocument - so was wondering if you've cached the RCD and trying to open two different reports at the same time on the same instance via different threads.
    You'd normally tie a ReportClientDocument instance to a HTTP Session, to ensure each user gets their own copy.
    Sincerely,
    Ted Ueda

  • ClassNotFoundException: while exporting data into excel sheet

    Hi Experts,
    While exporting data into excel sheet below error was getting even i am created jar file DC and publicpart AND j2ee
    I have to deployed the JAR files on the server:
    1. Created "External Library DC"
    2. added my JAR files into "Libraries" folder.
    3. Exposed them as Public Part.
    4. Created "J2EE Library DC"
    5. Refered "External Library DC" into J2EE Library DC.
    6. Deployed "J2EE Library DC"
    7. and lastly refered this on my Web Dynpro DC by giving Library Reference.
    but still this is the errro was getting, plz any one can help regarding this what could be the problem
    java.lang.ClassNotFoundException: org.apache.poi.hssf.usermodel.HSSFWorkbook -
    Loader Info -
    ClassLoader name: [ng.com/Reuse_Export_to_Excel] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tccmi Resources: /usr/sap//JC21/j2ee/cluster/server0/apps/ng.com/Reuse_Export_to_Excel/src.zip /usr/sap//JC21/j2ee/cluster/server0/apps/ng.com/Reuse_Export_to_Excel/webdynpro/public/lib/ng.comReuse_Export_to_Excel.jar Loading model: {parent,references,local} -
    Regards,
    Varma

    closed

Maybe you are looking for

  • Customisd err message at MIRO - Business area V/s company code validation

    Hi experts, We have simple validation for company code V/S Business area check in place , While doing MIRO system throws error for a particular company code and Business area combination the set error message ( customized - Business are does not matc

  • Location of Podcast downloads correct but name is wrong

    Recently when I download Podcasts into iTunes they show up with an exclamation point indicating that the location can not be found and offering me the opportunity to locate the file. I can go into the correct directory and the file is there but it is

  • Customize Export template

    Hi, I would like to generate a Outlook Calendar file (.vsc, plain text) from HTMLDB. I think the "Export CSV File" template is an easy way to try. I know we can add a HTML region for customized text from the follow thread: Add text to downloaded CSV

  • No internet access on clients connected with any one Windows server 2k8, 2k8 r2, 2k12, 2k12 r2

    I have install AD and DNS, No DHCP on windows server 2008 r2. which has two NIC external and internal. Domain: mhpd.com Computer name: win2k8 External ip: 172.16.31.32/16 gw:172.16.0.1 dns:8.8.8.8      4.2.2.2 Internal: ip: 172.16.31.31/16 gw: blank

  • Trouble with international translation

    Hello all, I'm having a problem getting international calls to complete. I have the below in my Cisco 5350 configs with some lines removed to save space. Debug is below that. It appears my translation rule is ok to some extent as the test indicates.