Cannot view Crystal Report in JSP page ( error loading ? )

Hi,
          Can someone please help or pass on any suggestions,
          I am trying to view my crystal report (test.rpt) in my JSP page but get the following error and im having trouble sorting it out. I am using Crystal 10 with weblogic. My report is just a simple report ( no data connection needed) with just some hard coded text. I simply want to view it through a JSP page. Can anyone shed any light on the error. The error message is shown below. In my browser i get the message
          An error has occurred:
          Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt
          the important part of the full error message below i guess is :
          Root cause of ServletException.
          com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt ---- Error code:-2147215356 Error code name:fileNotOpened
          at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) etc
          Full error message is here ->
          ####<11/08/2004 11:56:10 AM EST> <Debug> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(32071428,null default ctx,cgServer) Found no context for "/". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
          ####<11/08/2004 11:56:12 AM EST> <Notice> <WebLogicServer> <TAS0707> <cgServer> <main> <<WLS Kernel>> <> <BEA-000331> <Started WebLogic Admin Server "cgServer" for domain "workshop" running in Development Mode>
          ####<11/08/2004 11:56:12 AM EST> <Notice> <WebLogicServer> <TAS0707> <cgServer> <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
          ####<11/08/2004 11:56:12 AM EST> <Debug> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(32071428,null default ctx,cgServer) Found no context for "/wlwdir". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
          ####<11/08/2004 11:56:12 AM EST> <Info> <Management> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-140009> <Configuration changes for the domain have been saved to the repository.>
          ####<11/08/2004 11:56:12 AM EST> <Info> <Configuration Management> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-150007> <The booted configuration .\config.xml has been backed up at C:\Bea\WEBLOG~1\samples\domains\workshop\.\config.xml.booted.>
          ####<11/08/2004 11:58:29 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /ensureAppDeployment: init>
          ####<11/08/2004 11:58:53 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /wlwdir: init>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: init>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param verbose initialized to: true>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param packagePrefix initialized to: jsp_servlet>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compilerclass initialized to: com.sun.tools.javac.Main>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compileCommand initialized to: javac>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compilerval initialized to: com.sun.tools.javac.Main>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param pageCheckSeconds initialized to: 1>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param encoding initialized to: null>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param superclass initialized to weblogic.servlet.jsp.JspBase>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param srcCompiler initialized to weblogic.jspc>
          ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param workingDir initialized to: C:\Bea\weblogic81\samples\domains\workshop\cgServer\.wlnotdelete\extract\cgServer_crystaltest_crystaltestWeb>
          ####<11/08/2004 11:59:04 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: initialization complete>
          ####<11/08/2004 12:04:14 PM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /*: init>
          ####<11/08/2004 12:04:15 PM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /*: Using standard I/O>
          ####<11/08/2004 12:18:03 PM EST> <Error> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] Root cause of ServletException.
          com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt ---- Error code:-2147215356 Error code name:fileNotOpened
          at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
          at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
          at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
          at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
          at jsp_servlet.__index._jspService(index.jsp:27)
          at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
          at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
          at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
          at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:208)
          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
          at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:316)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1093)
          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:650)
          at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
          at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
          at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
          at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:318)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
          at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:637)
          at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
          at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
          at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
          at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
          at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

I am getting the same error... Is there any one who can help us... Or is the problem solved, if so please let me know How did you do that...
          Thanks
          Hara

Similar Messages

  • How to call the crystal report in jsp page

    dear friends
    i want to run or call the crystal report in jsp page.
    if u know that can u send sample code for that to my id
    [email protected]

    Hi Sudhakar,
    Could you please be more speicific about the task you want to accomplish?
    Cheers
    Giri :-)

  • Cannot View Crystal Report Outside Company (Red X)

    I just publsihed a website to the web and when I try to run the crystal report from the net I get a red x. Internally it works fine. I copied the Virtual directories from the default website to my extranet site. E.G. Crystalreportsviewer115 and businessobjects.
    I use recrystalize which creates the .asp pages with parameters and uses active x plugins. I do not get prompted for the active x plug in outside the company.  Any help would be much appreciated.
    Jerry Kane

    Appreciate the response. I tried your first article in regards to dynamic images with no luck. I was a bit confused on granting access to the C:\Temp folder with an asp account. I cannot find the asp account is it a network account? Is it listed in AD?
    - just right click on the temp folder (C:\windows\temp). Choose properties and then go to the Permissions tab. Add the ASP net worker process and give it full control.
    I did create a new web.config file. When you say comment out do you mean remove? If so that is what I did. Nothing has changed. I am running XI R2.
    - can you give me the specific page(s) you are refering to?
    Ludek

  • View jasper report in jsp page

    i have developed a java code that could connect to the databse n compile xml code into jasper report. report is generated when it is executed in dos prompt. however i wan the report to appear after a button "print" in a jsp page is pressed. how do i do dat? how do i ask my jsp page to execute my curret java code to generate a report?

    same

  • Cannot view Crystal Reports 2008 API documentation

    I've purchased Crystal Reports 2008 From the On-line Store.
    I found the documentation on the API in the SAP Help Portal
    I downloaded the Crystal Reports 2008 .Net API manual.
    I get this great outline but there is no content with the statement "Navigation to the webpafe was canceled"
    Were can I get a usable manual?

    Hi Edward,
    Try to download product guide  from the following link:
    [https://websmp105.sap-ag.de/bosap-support].
    Have a look to this thread:
    [Read Before Posting - Where to find Crystal Reports .NET SDK resources;
    you will get all the links of SDK Libraries,Business objects notes, Sample code.
    If you have any issue with SDK post your question in
    NET Development - Crystal Reports Forum
    [SAP Crystal Reports, version for Visual Studio;
    Hope this helps!!
    Regards,
    Shweta

  • Database Error While Viewing Crystal Report In Infoview

    Hi,
    BO and Crystal Designer version is BO XI 3.1 SP2 FP2.6.
    Issue:
    While viewing crystal report for a particular user id in infoview, following error is coming:
    Error in File EPACertificate.rpt: Database Connector Error
    However, we are able to view the report in thick client Crystal Designer using same user id. This issue is occurring only for this user and rest of the users are able to view the report in Infoview and Crystal Designer.
    It would be great if any of you can provie a solution to this issue.
    Thanks in advance,
    Jaya

    closing it.

  • Crystal report in JSP using activeX viewer

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come with CR9,but no JSP.also I don't want use Crystal Enterprise9 even I know the URL reporting may be the eaier way.

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal
    report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come
    with CR9,but no JSP.also I don't want use Crystal
    Enterprise9 even I know the URL reporting may be the
    eaier way.Hi, did u manage to get the ActiveX Viewer up with JSP? I'm also trying to do the same thing. If you could, pls kindly email me the basic source codes to [email protected]? Thanks

  • Error in switching from one database location  to another database location in Crystal Reports using JSP

    Hi,
    Please help me in resolving the issue while changing the database dynamically in crystal reports using JSP. I followed the below link to change DB connection dynamically.
    CRJava Modify DB Location
    Please help me on this.
    While switching from one database to another i found the issue.
    dbController.replaceConnection(oldConnectionInfo, newConnectionInfo,pFields,replaceParams);
    The Error is:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Subreport does not exist.---- Error code:-2147467259 Error code name:failed
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:732)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:480)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:421)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(SourceFile:220)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(SourceFile:240)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(SourceFile:452)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(SourceFile:429)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:156)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
        at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:65)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(SourceFile:1921)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValues(SourceFile:2237)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValue(SourceFile:2328)
        at org.apache.jsp.DynamicDB_jsp._jspService(DynamicDB_jsp.java:255)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.reportdefinition.ReportModificationException: Subreport does not exist.
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(SourceFile:229)
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.for(SourceFile:214)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1492)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
        ... 47 more
    Any help Appreciated.
    Thanks
    Penchal

    Do you have subreports in your reports?
    If yes, set the connection info for the subreports as well.
    Additionaly refer to the below discussion
    http://scn.sap.com/thread/3153289
    As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
    http://scn.sap.com/community/crystal-reports-for-eclipse
    The above space is dedicated for the issues with crystal reports for ecllipse.
    Thanks,
    Prithvi

  • I want to launch Crystal report using jsp

    Hello All...
    I try to launch Crystal reports from jsp.
    i install crystal report and create one static report .
    and then i put all jar files related to that in my lib folder..
    which is in
    webapps/ ApplicationName/WEB-INF/lib..
    and write code to launch Crystal reports in jsp.
    <%@page import="com.crystaldecisions.reports.sdk.ReportClientDocument,
                   com.crystaldecisions.sdk.occa.report.lib.*,
                        java.sql.*,javax.sql.*,javax.naming.*,
                        com.crystaldecisions.report.web.viewer.CrPrintMode,
                        com.crystaldecisions.report.web.viewer.CrystalReportViewer,
                        com.crystaldecisions.sdk.occa.report.data.ConnectionInfos,
                        com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"
    %>
    <%// open the report rpt file
    String REPORT_NAME = "Report1.rpt";
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(REPORT_NAME, 0);
    // set up a viewer
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    // pass it the report source
    viewer.setReportSource(reportClientDoc.getReportSource());
    //Render the report.
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    %>
    i get an error when i run application or that page
    "ReportClientDocument cannot be resolved to a type"
    please give me solution ..
    Edited by: manojnikam on Jan 22, 2008 10:50 PM
    Edited by: manojnikam on Jan 24, 2008 5:00 AM

    ReportClientDocument So this class isn't found, probably because it's not in the server's classpath.
    If you really can't recognize a basic compilation error like this, you might re-consider your place in the JEE world.

  • Can't view Crystal Reports from BW

    Hi,
    I'm installing SAP Integration Kit XI 3.1 SP3 with IIS.  I am able to publish reports from BW to BOE but not able view them from BW.  I followed the documentation to use report/report_view.aspx to define the viewer application in Content Administration Workbench.  But it is giving me a "The page cannot be found" error when I try to view Crystal Reports from BW.  I tried looking for the file report/report.aspx but cannot find it.  I was able to locate the file in SAP_CrystalReport_View/report_view.aspx.  I repointed the system to this path but it still giving me the same error. 
    Anybody here encountered this before?
    Thanks,
    Elijah

    Hi Ingo,
    - has the report being saved to BW and then published to BusinessObjects enterprise ?
        Yes, the report is being published from BW to BOE successfully.
    - did you import the ABAP Transports to the BW system ?
        I imported all the transports that came with the Integration Kit.  I'm not sure if the ABAP transport is one of them.
    - has the viewing service in transaction SICF been configured ?
        Yes, the top entry in the handler list is /CRYSTAL/CL_BW_HTTP_HANDLER.
    I did notice that the BW system is on a different subdomain than the web application server.  For example,
       BW system        -  bw01.us.mydomain.com
       BOE web server -   boweb.mydomain.com
    Would that affect the single sign on?

  • Crystal report from JSP using the JRC

    Hi, I am trying to call crystal report from JSP using the JRC.
    But i am getting the Error as 'Logon Failed'. my web.xml entry is
    <env-entry>
    <env-entry-name>jdbc/Test</env-entry-name>
    <env-entry-value>!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@//10.0.0.1:1521/TestDB</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    i am setting the userid and password in the code. Please see the below code for your reference. Please help me to solve the issue.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSource" %>
    <html>
    <head>
    <title>Crystal Report with Database Logon information</title> </head>
    <body bgcolor="#ffffff">
    <%
    try
    String report = "/TEMPLATE.rpt";
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    JPEReportSource reportSource = (JPEReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setReportSource(reportSource);
    viewer.setHasRefreshButton(true);
    IConnectionInfo newConnInfo = new ConnectionInfo();
    newConnInfo.setUserName("TEST");
    newConnInfo.setPassword("TEST");
    ConnectionInfos newConnInfos = new ConnectionInfos();
    newConnInfos.add(newConnInfo);
    viewer.setDatabaseLogonInfos(newConnInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    out.println("Connection Information: "+viewer.getDatabaseLogonInfos().getConnectionInfo(0).getAttributes().toString());
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),null);
    viewer.dispose();
    catch(Exception e)
    throw new JspException( e);
    %>
    </body>
    </html>

    I never really had much luck with this approach.
    Mind you I was using Crystal Reports 10, and as far as I recall it didn't allow setting/changing of database at this level.
    Things to check
    - can you create a database connection on your page with this URL/username/password?
    - what server are you using? Tomcat? WebLogic?
    I found this in your other post:
    Connection Information: {Server Name=ee6rpt, Connection String=DSN=s(ee6rpt);User ID=s(ee62test);Password=;UseDSNProperties=b(false), Database Name=, Database DLL=crdb_odbc.dll}That would indicate it is using odbc to connect to the database (crdb_odbc.dll). ODBC is a bad idea with java.
    The way I have got it to work for me (after much trial and error) was to in Crystal Reports to connect using the Oracle Driver, and specifying a tnsname - eg define REPORT_DS in tnsnames.ora.
    When running through the JRC, it looked for a JNDI datasource under that same name "REPORT_DS".
    Don't know if that will help you or not.
    Good luck,
    evnafets

  • Printing Problem in Crystal Report From JSP

    Hi,
    I m calling crystal report from JSP.Report is parameterized.I m passing parameters from JSP.Report is displaying on the page,but when I try to print or export the report by pressing Print or export Button ,it displays an error message "Some parameters are missing values".
    Please guide my,what should I do? Following is the code.
    Good Bye
    AQ
    Vector fieldVector = new Vector();
    SPParameters spParams = new SPParameters();
    ReportFactory     reportFactory = new ReportFactory();
    // Setteing the report Name (Path Appended)
    reportFactory.setReportName(ReportsCoreDataConstants.REPORT_PATH.concat("Test_Rep2.rpt"));
    //Setting the parameters for the report
    ParameterField paramFeilds = null;
    System.out.println("fiscalYearCode:"+fiscalYearCode);     
    paramFeilds = spParams.createParams("IPFISCALCODE",fiscalYearCode);
    paramFeilds.setReportName("");
    fieldVector.add(paramFeilds);
    //Creating the ReportSourceInstance
    reportFactory.setFields(fieldVector);
    String exp = "";
    try {
         ReportFactory l_reportFactory=null;
         l_reportFactory = reportFactory;
         if (l_reportFactory != null) {
         CrystalReportViewer viewer = new CrystalReportViewer();
         viewer.setParameterFields(l_reportFactory.getFields());
         viewer.setOwnPage(true);
         viewer.setDisplayGroupTree(false);
         viewer.setHasZoomFactorList(false);
         viewer.setHasLogo(false);
         viewer.setHasPrintButton(true);
         viewer.setHasRefreshButton(true);
         viewer.setHasToggleGroupTreeButton(false);
         viewer.setHasViewList(false);
         viewer.setPrintMode(CrPrintMode.ACTIVEX);
         viewer.setSeparatePages(true);
         viewer.setEnableParameterPrompt(false);
         viewer.setReuseParameterValuesOnRefresh(true);
         viewer.setReportSource(l_reportFactory.createReport( request.getLocale() ));
         viewer.refresh();
         viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),out);
         viewer.dispose();
    } catch(Exception e) {
         exp = e.toString();
         System.out.println("Exception in JSP : " + e.toString());
         e.printStackTrace();
    }

    I think ScreenRaghu is right. If you look at the generated source, your jsp becomes an action and processHttpRequest() method is invoked everytime some action happens. So when you click the export button, request object no longer has the values your report needs. Either put the values in session or via link or db or whatelse.

  • Crystal Reports 2008 - Blank page on server only

    Crystal Reports 2008 - Blank page on server only
    My report is developed in the Crystal Reports 2008 Report Designer 12.0.0.683.
    I have a .NET application that takes the report file, an ODBC connection and exports the resulting report to PDF. This application is deployed as an MSI and includes the Crystal Reports .msm merge module. The report uses multiple views and tables from a single database to create invoices in PDF format.
    Problem: For one particular invoice, a blank page is being added to the end of the invoice. This blank page contains the report's standard page header. There is no missing data and no missing sections on the invoice. This is only occurring when the pdf is generated on a Windows Server 2008 x64 server where the application is deployed using the merge modules.
    I have installed the application locally on my Windows Vista Business x86 system and the generated PDF does NOT contain the blank page at the end.
    The blank page is not generated when previewing the report in Report Designer. For the particular invoice this is occurring on, footer F and footer G are blank and therefore suppressed.
    Please bear in mind that this happens only for one particular invoice that uses this report file and does not happen from my local system using the same .rpt file.
    The report is constructed of the following sections:
    -Page Header (suppressed on page 1)
    -Grp1 header A (watermark conditionally suppressed based upon a parameter)
    -Grp1 header B (Keep together - always fits onto a single page)
    -Details
    -Grp1 footer A (Keep together)
    -Grp1 footer B (Conditionally suppressed based upon data)
    -Grp1 footer C (Keep together)
    -Grp1 footer D (Contains sub report(suppressed when blank). Keep together. Suppress blank section. New page before but (Not OnLastRecord))
    -Grp1 footer E (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer F (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer G (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Report footer (Always blank. Suppress blank section)
    -Page footer (Fixed static content, displayed on every page.)
    Edited by: alibaabaa on Oct 12, 2009 12:41 PM
    Edited by: alibaabaa on Oct 12, 2009 12:45 PM

    Thanks for responding, Jonathan.
    Is the same runtime installed on the 64 bit system? I notice from your version number that you do not have any service packs installed on the dev system. SP 2 is out and may help.
    I have installed SP1 and SP2 this morning, resaved the report file and tried again but the same problem remains.
    I'm not sure how to answer your runtime question. I am using the same application built with the same merge modules on both the dev machine and the production server. Of course, the dev machine has the additional complication of having Crystal Reports 2008 installed. Perhaps this is causing the difference?
    Compare the printer settings between the two systems. Try installing the same printer driver on the 64 bit system.
    Perhaps I am misinterpreting your suggestion, but I am not printing the invoices. I am only exporting them to PDF. It is the PDF that has the extra page. Is there a 'print to PDF' driver of some sort that I need?
    Also, was the .NET application compiled as 32 bit, or Any CPU? Whichever it was, try switching it then recompiling to see if that helps.
    I tried switching to Any CPU but this caused the Crystal Reports module not to load at all on the 64bit Windows server.
    Thank you for your suggestions, but my problem remains. Is it worth trying with the redistributable msi rather than using the merge modules? If so, could you recommend which one I should use? I am using Visual Studio 2008 Professional.

  • Crystal report add on installation error

    Hi ,
    While starting the crystal report addon  following the error is coming--> retrieving the COM class factory component with CLSID{3EBB7859-E4 E3-4D77-B ,our operting system -- windows 2003 server-- 64 bit ,
    Regards
    Naresh K

    Hi Naresh,
    You can find more information on the thread:
    SAP Business One and Crystal Reports
    There are quite few threads in 10 pages for Crystal Reports. You may post it there too.
    Thanks,
    Gordon

  • How to get the view tree from a jsp page

    Hi,
    I would like to get the view tree of a jsp page. The idea is to dynamically include the content of one or more jsf pages into a UIPanel during a "value changed" event.
    So, i could get from an arbitrary page like ...
    <%@ taglib uri="http://java.sun.com/jsf/core"   prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html"   prefix="h" %>
    <h:panelGrid columns="3" width="100%" rowClasses="gridTop">
        <h:outputText value="#{someBean.someValue}"/>
    </h:panelGrid>... the corresponding List of components...
    Any idea?

    Thanks for your answer Jayashri,
    The view tree can be retrieved by this way during the page is parsed, for example with scriptlets <%%>, or once the page has been parsed (the view has been builded and attached to the FacesContext).
    My problem is to get the view tree of a page from another Context.
    The idea is to build a dynamic layout of some pages that represents "views". I can imagine this like the concept of perspectives and views of Eclipse IDE.
    Because of the difficulty to build it with pure JSP (cannot use dynamic ID nor JSTL ForEach), I try to build it into my backing bean and to bind it with a <h:panelGrid/>. By this way, I'm not able to use the <jsp:include/> tag as I usually did to include some content into the view tree.
    Sorry for my english ;)
    - Renaud.

Maybe you are looking for

  • Samsung Galaxy S6 pre-order and demo unit?

    The pre-orders go up tomorrow for AT&T (and T-Mobile) but none of the stores around me have ANY information. They've also not heard anything about the demo units they are supposed to have tomorrow. According to the Samsung website both of my local st

  • Resolution via DVI lower then via VGA

    Hello, I need your support for my new HW composition. I have a new DELL Latitude E5440 and the fitting DockingStation DELL PR02X. Connecting my monitor via DVI I get a max. resolution of 1440x900. Connecting my monitor via VGA I get a max. resolution

  • Aperture/iPhoto issue

    some of my images in Aperture/iPhoto are appearing pixelated.  any idea on how to get the issue fixed

  • Text descenders along with moire patterns

    Photoshop CS2 Microsoft came by with a Vista auto update 10/28 and screwed things up (again). Now the bottoms of all the text on Photoshop CS2@ "file info" is gone. Also, my screen has moire "ripples" (non-moving) on many of the photo displays. The t

  • ICal deleting past appointments

    I'm hoping that someone can shed a little light on this problem. We are a small business using iCal for all our appointments and as a result it holds valuable information which is often used as passed reference. Last week I discovered that approx 6 m