Symptom
The following issue was answered in the Crystal Reports Java Development forum.
Currently we are using Crystal Report XI with our application, it is working fine. Now we are updating to Crystal Report 2008. We have build our application in enterprise archive file.
There is a web archive file(.war) file in the EAR file which contains the crystal report. Inside the .war file we have reports folder which contain jsps and rpt folder. the jsps folder contains the crystalreportviewers12 folder and .jsp files. The rpt folder contain the.rpt files. The WEB-INF which is at the reports folder leavel contains the classes and lib folder. The crystal report jars are in the lib folder and the CRConfig.xml file inside the classes folder.
I replaced all the crystal report jar with Crystal Report 2008 jars, modified the web.xml and the CRConfig.xml file accordingly. When I opened the report it gave me an error. When the following line was execuated in the jsp: *reportClientDocument.open(report, 0);* it gave me following error:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.do(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
...
(ResultHandler.java:196) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
Read more...
Product
Keywords
forum thread , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.