Skip to Content
author's profile photo Former Member
Former Member

RAS IReportAppFactory.openDocument hangs on

Hi Everyone,

I've a piece of code, where I open a crystal report using RAS, edit a particular formula, and save it back. Till yesterday it was running fine (from the same env.), but now the code just hangs on the openDocument method. I waited for more than 20 mins, and it was still the same, and it doesn't throw any exceptions. (Nothing has changed in the environment). The following is the piece of code that I use.

IReportAppFactory reportAppFactory = (IReportAppFactory) boeSession.getService("RASReportFactory");
ReportClientDocument rcd = reportAppFactory.openDocument(myInfoObj, 0, java.util.Locale.US);

The infoObject seems to be valid, and am able to print the attributes of it.

I restarted the server and the machine from which I execute this program. But no luck (All the BO servers are running fine)

Version details: BO XI R 3.1 SP3

Any info on this would help much.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 26, 2011 at 06:17 PM

    First thing I'd do is trace the RAS server.

    Sincerely,

    Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ted Ueda

      Thanks Ted for your inputs.

      I did a trace on the RAS and the following is the error message logged.

      ErrorLog 2011 5 30 5:46:15.772 4664 7528 (*:0) (.\dts\corbaclientrequestcommadapter.cpp:419): CORBA communication failure: reason[error number WSAETIMEDOUT] minor[1330577418] reqType[154] agentId=[""]

      ErrorLog 2011 5 30 5:46:16.850 4664 7528 (*:0) (.\dts\corbaclientrequestcommadapter.cpp:320): Resending result to client. reqType=154 agentId="" nRetryInterval=1000

      The above two messages got repeated, until I had stopped the server.

      And interestingly, even after I had stopped the SIA, the client code remained the same, and I had to force quit it.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.