cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect to the server: <serverName>.ReportApplicationServer

Former Member
0 Kudos

Hello all.

I want to deploy a Crystal Report to the CMS server from a little web application using the jsp sample from the page http://scn.sap.com/docs/DOC-6321 and when i execute the IReport.refreshProperties line this error comes out (after a while, maybe 10 minutes).

<log4j:event logger="com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.ReportAddServiceHelper" timestamp="1365086946396" level="ERROR" thread="http-bio-8080-exec-3">

<log4j:message><![CDATA[ReportAddServiceHelper.sendRequestToServer: sendOneRequest threw an SDKException]]></log4j:message>

<log4j:throwable><![CDATA[com.crystaldecisions.sdk.occa.managedreports.ras.internal.ManagedRASException: Cannot initialize report application session. --- Unable to connect to the server: qldev00d.ReportApplicationServer. - Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)

cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: qldev00d.ReportApplicationServer. - Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)---- Error code:-2147217387 Error code name:connectServer

detail: Unable to connect to the server: qldev00d.ReportApplicationServer. - Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)

    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.sendOneRequest(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.a.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.d.refreshReportObjectProperties(Unknown Source)

    at com.crystaldecisions.sdk.plugin.desktop.report.internal.n.refreshProperties(Unknown Source)

    at mio.PublishClass.publish(PublishClass.java:100)

    at org.apache.jsp.otraPrueba_jsp._jspService(otraPrueba_jsp.java:68)

    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

    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:722)

    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:472)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: qldev00d.ReportApplicationServer. - Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)---- Error code:-2147217387 Error code name:connectServer

    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.connect(Unknown Source)

    ... 29 more

Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)

    at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:671)

    at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:1099)

    at com.crystaldecisions.enterprise.ocaframework.ManagedSession.redirectServer(ManagedSession.java:352)

    at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:264)

    at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:297)

    at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:702)

    ... 30 more

]]></log4j:throwable>

</log4j:event>

I look the server configuration and the ReportApplicationServer (rptappserver) is up and running and enabled.

The CMS is in a Linux.

Can somebody help me, Please.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Is your application server on a different physical machine than your BO servers?

If yes, is there a firewall present in between.

It looks like a communication problem, where your application server is not able to communicate with the RAS servers.

Make sure that there is a two way communication between the app server and RAS server.

For this assign a static port to RAS servers and open the firewall on this port for a two way communication.

Also for testing, to make sure that there is a communication problem, deploy your code to an application server to the same machine where BO servers are installed and check whether you get the same exception.

The above test will give you a clear picture about where exactly the issue is.

Thanks,

Prithvi

Former Member
0 Kudos

Thanks Prithviraj.

I'll go to try it and let you know.

Former Member
0 Kudos

Prithviraj.

It was exactly that what you said. Thank you very much.

Answers (0)