The java client SDK blocks and ulimately times out when trying to retrieve the ReportClientDocument object from report server (XI)
ReportClientDocument clientDoc = reportAppFactory.openDocument(reportInfo.getID(), 0, java.util.Locale.getDefault());
On the client side get the following error message
com.crystaldecisions.sdk.occa.managedreports.ras.internal.a: Cannot initialize report application session. --- The request timed out because there has been no reply from the server for 600,000 milliseconds.
cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The request timed out because there has been no reply from the server for 600,000 milliseconds.---- Error code:-2147217385 Error code name:requestTimeout
detail:Cannot initialize report application session. --- The request timed out because there has been no reply from the server for 600,000 milliseconds.
The exception originally thrown was com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The request timed out because there has been no reply from the server for 600,000 milliseconds.---- Error code:-2147217385 Error code name:requestTimeout
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
On the RAS server log file
ErrorLog 2010 4 16 15:48:52.766 2316 4760 (.\dts\corbaclientrequestcommadapter.cpp:419): CORBA communication failure: reason[error number WSAETIMEDOUT] minor[1330577418] reqType[154] agentId=[""]
[Fri Apr 16 19:48:53 2010] 2316 4760 (.\dts\dts.cpp:1794): trace message:
The firewall between client and server have been deactivate. The server does not create socket connection to the client SDK listener port but some port that is not open on client and thus the server netstat displays the connection in TIME_WAIT since it is trying to establish connection to the client on a port that is not open on client. My understanding is that the client listen port is specified by
System.setProperty("ooc.iiop.port", "6402");
The client is listening on this port but the server is not connecting back to this port.
The server is running on a VM.
Edited by: rawal1 on Apr 19, 2010 4:12 PM