cancel
Showing results for 
Search instead for 
Did you mean: 

Error encountered in DocumentInstance, need help

Former Member
0 Kudos

Post Author: usaitconsultant

CA Forum: JAVA

Hi Ted or to anyone encountered this, I Need help! Im trying to open a deski document to pass parameter and set report format then schedue to run. In this line: DocumentInstance documentInstance = reportEngine.openDocument(infoObject.getID()); Im encountering this error message:Entering getRASConnection()ExceptionError Message: No server was available to process the request. Please try again later. (Error: RFC 00101) Any idea? Though, RAS server is running. I hope you can help me on this.Thank you.

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

Post Author: Ted Ueda

CA Forum: JAVA

It's not clear from the stack trace.

You may want to create a support case with BusinessObjects Customer Support.

Sincerely,

Ted Ueda

Former Member
0 Kudos

Hi All,

Today while trying to open a BO report thru Java SDK, we are facing an error. Below is a line from the error log generated by tomcat.

SEVERE: Servlet.service() for servlet jsp threw exception

java.lang.NoSuchMethodError: com.crystaldecisions.sdk.occa.ras21.RASConnectionFactory.getRASConnectionObjectId(Ljava/lang/String;Ljava/util/Locale;Lcom/crystaldecisions/sdk/occa/security/internal/ISecuritySession;Ljava/util/Map;I)Lcom/crystaldecisions/sdk/occa/ras21/IRASConnection;

Does anyone have any idea what needs to be set up on Tomcat/BO to get rid of this please?

Thanks,

Former Member
0 Kudos

Hi this is now resolved. there were some .jar files missing. Once we put them, the app started working. thank you!

Former Member
0 Kudos

Post Author: usaitconsultant

CA Forum: JAVA

Hi Ted,I tried to switch to other BO XI server which infoView is working with pass parameter using my user ID. But when I tried to run my application. The same error I encountered. Though, the pdf was created but with no parameters so no records was displayed in the pdf except for header,footer, and other static data. See error below, Im just wondering which server/configuration should I checked if down/disable? Please advise. "Unable to find servers in CMS <Server path> and cluster @<Server path>

with kind dpscacheFullClient and extra criteria null. All such servers

could be down or disabled by the administrator. &#91;RASLIB9006&#93;"Please advise, I hope you can help me again here. Thank you. Stacktrace:documentInstance = reportEngine.openDocument(infoObject.getID())Entering getRASConnection()com.businessobjects.rebean.wi.ServerException: No server was available to process the request. Please try again later. (Error: RFC 00101) at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Encode.newSession(XMLviaRAS21Encode.java:972) at com.businessobjects.rebean.fc.internal.ras21.RAS21ReportEngineComAdapter.openDocument(RAS21ReportEngineComAdapter.java:87) at com.businessobjects.rebean.fc.internal.ReportEngineImpl.openDocument(ReportEngineImpl.java:249) at edu.uillinois.boxir2.BOXIR2ReportEngine.testRunReportWithParameters(BOXIR2ReportEngine.java:718) at edu.uillinois.boxir2.BOXIR2ReportEngine.main(BOXIR2ReportEngine.java:72)Exception encountered during setting parameter values. @Wed Apr 30 14:47:21 CDT 2008Error Message: No server was available to process the request. Please try again later. (Error: RFC 00101)Caused by: ErrorFailureUnable to find servers in CMS <Server path> and cluster @<Server path> with kind dpscacheFullClient and extra criteria null. All such servers could be down or disabled by the administrator. &#91;RASLIB9006&#93; at com.crystaldecisions.sdk.occa.ras21.RASConnection.a(Unknown Source) at com.crystaldecisions.sdk.occa.ras21.RASConnection.<init>(Unknown Source) at com.crystaldecisions.sdk.occa.ras21.RASConnectionFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.ras21.RASConnectionFactory.getRASConnectionObjectId(Unknown Source) at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Encode.newSession(XMLviaRAS21Encode.java:958) ... 4 moreCaused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServersDown: Unable to find servers in CMS <Server path> and cluster @<Server path> with kind dpscacheFullClient and extra criteria null. All such servers could be down or disabled by the administrator. at com.crystaldecisions.enterprise.ocaframework.aa.int(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.int(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.o.try(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.p.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(Unknown Source) ... 9 more

Former Member
0 Kudos

Post Author: usaitconsultant

CA Forum: JAVA

Thanks Ted.We will try to isolate problem in infoview and run the codes again. Worst case, we will take your advise to open a customer support case in BusinessObjects. Will let you know and post the result here. I hope it goes well.I really appreciate your help...thank you.

Former Member
0 Kudos

Post Author: Ted Ueda

CA Forum: JAVA

Hello,XI Release 2 InfoView displays both Desktop Intelligence and Web Intelligence documents using the ReportEngine Java (REBean) SDK, which is what you're using.I think you've isolated the issue as something gone wrong with the Desktop intelligence Report and Cache Servers. For some reason, they're not responding to requests. The question is one of server installation and deployment, and not code. Once you get the document working in Java InfoView on the same web app server, your code should work too - they're using the same SDK.It may be good to open a customer support case with BusinessObjects. Sincerely,Ted Ueda

Former Member
0 Kudos

Post Author: usaitconsultant

CA Forum: JAVA

Hi Ted,Thanks for the inputs, it helps a lot. My fault, the deski report is not working in infoview on local machine (w/c connects remotely on the server) and even server side. Im also encountering the same error message in infoview. However, its working when you run it thru Deski (local/server-side). I thought infoview is only for webi and not for deski? What could be the possible cause why my report is not working in infoview but ok in deski? And resolution to this? You think this is the main cause why Im encountering this error message? Is it correct to assume that once infoview is working with my deski report...instantiation of DocumentInstance could be resolve too?My program does not require to view the report. Instead, a batch process that will only open the report, set parameter values, set report format, run and save report into network drive. I can already run the report with no parameter. My only concern right now is passing parameter values during runtime. Please advise, I do really appreciate your help on this.Thank you!

Former Member
0 Kudos

Post Author: Ted Ueda

CA Forum: JAVA

You can try deploying Java InfoView on your development machine.Since the default deployment of InfoView is working, you can test if it works from your development machine. That will hopefully isolate the issue either server side or application server side.Sincerely,Ted Ueda

Former Member
0 Kudos

Post Author: usaitconsultant

CA Forum: JAVA

Hi Ted, You think Im missing something on the server/s I have? Which cause the error? Please advise.I really appreciate your help, thanks.

Former Member
0 Kudos

Post Author: usaitconsultant

CA Forum: JAVA

Hi Ted,Thanks for the clarification, it clears my confusion regarding RAS in Deski and Crystal Report. I already checked the report in infoView and its working properly. All BO XI servers are up and running, I'm already an administrator user here (full control). Below are the BO XI list of servers in CMC. Server <Server Name>.cacheserver Crystal Reports Cache Server Server <Server Name>.cms Central Management Server Server <Server Name>.ConnectionServer ConnectionServer Server <Server Name>.Desktop_IntelligenceCacheServer Desktop Intelligence Cache Server Server <Server Name>.Desktop_IntelligenceJobServer Desktop Intelligence Job Server Server <Server Name>.Desktop_IntelligenceReportServer Desktop Intelligence Report Server Server <Server Name>.destinationjobserver Destination Job Server Server <Server Name>.eventserver Event Server Server <Server Name>.ListOfValuesJobServer List of Values Job Server Server <Server Name>.pageserver Crystal Reports Page Server Server <Server Name>.programjobserver Program Job Server Server <Server Name>.RAS Report Application Server Server <Server Name>.reportjobserver Crystal Reports Job Server Server <Server Name>.Web_IntelligenceJobServer Web Intelligence Job Server Server <Server Name>.Web_IntelligenceReportServer Web Intelligence Report Server Server Input.<Server Name> File Repository Server Server Output.<Server Name> File Repository Server I hope you can help me on this. Thank you.

Former Member
0 Kudos

Post Author: Ted Ueda

CA Forum: JAVA

Desktop Intelligence documents opened with the ReportEngine SDK will use the Desktop Intelligence Cache Server and Desktop Intelligence Report Server.

The Report Application Server (RAS) is for Crystal Reports reports, and not for Desktop Intelligence documents.

To confuse things a bit, the internal name for the Desktop Intelligence Report Server is RAS21, but it's not RAS. So the getRASConnection() refers to the connection to the RAS21. Anyways, please do ensure that the Deski servers are running, and try running Deski docs in InfoView, to see that they're working ok.

Sincerely,

Ted Ueda