Report Engine SDK: CommunicationException when accessing IReportEngine members

Hello,
I have installed BOXI 3.1 SP3, including the .NET SDK, and I am trying to use the Report Engine SDK part to navigate through a WebIntelligence document (analyse its structure, etc.), via a Console App.
I built my console app targeting .NET framework 3.5, and compiled it in 32 bits mode (x86 platform). I can access the standard SDK without any problem and log in to the CMS then retrieve any InfoObject instances from my enterprise server.
My problem occurs when I try to access my BusinessObjects.ReportEngine.IReportEngine instance's members. Sample lines of code:
SessionMgr sessionManager = new SessionMgr();
EnterpriseSession session = sessionManager.Logon(login, password, cmsName, authType);
InfoStore infoStore = (InfoStore)session.GetService("InfoStore");
UserInfo userInfos = session.UserInfo;
string logonToken = session.LogonTokenMgr.CreateWCAToken("", 1, -1);
ReportEngines reportEngines = new ReportEngines(logonToken);
IReportEngine reportEngine = (IReportEngine)reportEngines.getService(ReportEngineType.WI_ReportEngine);
bool test = reportEngine.IsReady; // or any other member of reportEngine, like reportEngine.OpenDocument(...)
An exception of type 'BusinessObjects.ReportEngine.CommunicationException' occured.
Message:
The Web Intelligence server could not be reached. Contact your Business Objects administrator. (Error: RWI 00236), Session Init Failure,
Stacktrace:
   à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub.Connect(Boolean forceNewInstance)
   à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub..ctor(OCCAServerConnection connection, Boolean forceNewInstance)
   à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerConnection.get_Stub()
   à BusinessObjects.ReportEngine.WI.Internal.Server.ServerCaller.SetupStub()
   à BusinessObjects.ReportEngine.WI.Internal.Server.ServerCaller..ctor(IServerSession session, IServerProtocol protocol, IServerConnectionInfo info)
   à BusinessObjects.ReportEngine.WI.Internal.WIDocumentInstance..ctor(WIReportEngine engine, Int32 documentId, OpenDocumentParameters parameters)
   à BusinessObjects.ReportEngine.WI.Internal.WIDocumentInstance..ctor(WIReportEngine engine, Int32 documentId)
   à BusinessObjects.ReportEngine.WI.Internal.WIReportEngine.GetAnyServerInstance()
   à BusinessObjects.ReportEngine.WI.Internal.WIReportEngine.get_IsReady()
What do you suggest?

Hi,
Enterprise / ReportEngine SDK is not supported / tested / compatible with desktop / console apps.
Could you try the same logic with a web services sdk, as WebServices SDk is the only SDK which could be used to develop thick client apps.
- Bhushan
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.

Similar Messages

  • Report Engine SDK sample code questions

    Hello,
    I've been able to view a boxi report in an iframe via the Enterprise SDK by modifying the sample code in the HowToViewWebiReports_VB example.
    I'm not totally happy with the way that's working, so I'm looking at using the Report Engine SDK, although I understand it's performance and scalability isn't quite as good as the Enterprise SDK.
    I'm a VB.NET guy, not a C# guy, and I'm not clear on how the wssdk_net2.0_portal_sample_12.0_en example is supposed to work.
    I don't have one and my CMS server is running Tomcat, not IIS so there's not going to be an ASP.NET web service running there.
    In the dsws.config for the wssdk_net2.0_portal_sample_12.0_en example I put the name of the CMS server, but it's looking for a web service at http://cmsservername:8080/dswsbobje/services/Session, but I get a 404 when i try to hit that. 
    I'm not familiar with Tomcat, but in searching around on the server, I see a dswsbobje directory under the webapps in my Tomcat installation, but I don't see a services or a Session folder underneath that.  In the dswsbobje folder I see the following folders:
    BOAR-INF
    META-INF
    WEB-INF
    xsd
    Is there something else that needs to be installed on the Tomcat server to get the web service running?
    -Eric

    It looks like I have something there.  When I launch launch http://servername:8080/dswsbobje,  I see:
    Apache-AXIS
    Hello! Welcome to Apache-Axis.
    What do you want to do today?
    Validate the local installation's configuration
    see below if this does not work.
    To enable the disabled features, uncomment the appropriate declarations in WEB-INF/web.xml in the webapplication and restart it.
    Validating Axis
    If the "happyaxis" validation page displays an exception instead of a status page, the likely cause is that you have multiple XML parsers in your classpath. Clean up your classpath by eliminating extraneous parsers.
    I clicked on the "Validate" link and I see:
    Axis Happiness Page
    Examining webapp configuration
    QaaWS Configuration
    QaaWS Servlet is not valid.
    ErrorServer servername not found or server may be down
    See Web Application log to get more info or read QaaWS v2 documentation starting with section
    Perhaps this environment needs some additional configuration?

  • Report Engine SDK - Rbean usage in standalone java application

    Post Author: Berndb
    CA Forum: JAVA
    In BOXI the rebean sdk is available in the Report Engine SDK.
    I remember that in the 6.5 world one could use RBEAN interface in a standalone java application.
    Is this still possible in BOXI R2?
    If yes can you supply a sample classpath which shows all libraries that needs to be assigned.
    Thanks in advance.
    bernd

    Post Author: datahog
    CA Forum: JAVA
    Ted's right, but for fun, take what you need from:
    <installation drive>:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\lib
    and de-reference what's not needed when your project's done, but be careful.
    I've actually done some standalone Swing-based webi report renderers using https://xhtmlrenderer.dev.java.net/ + docHTMLView.getStringpart + TagSoup

  • BO edge 3.1 howto Report Engine SDK sample

    Hello,
    I'm trying to install any report engine SDK sample on a BO Edge 3.1 installation.
    The webserver is WACS (Web Application Container Server).
    I don't know how to set up a web application that uses the SDK, and I cannot find any useful documentation.
    Has anyone done this?

    Hello,
    Crystal and Xcelsius are client tools so you don't need to install them on the server.
    It might be useful to install them on it when you are troubleshooting issues which might be related to network (firewall, load balancer,...) but otherwise you can keep them on the clients machine.
    The client machines connect to the server by specifying the server details (CMS name and valid user account) when you try to export the reports to the repository.
    Regards,
    Philippe

  • Report Engine SDK Performance

    What are the recommended settings for businessobjects xI (version 11.5)
    Are there any tips to improve performance and reliability of the Report Engine SDK?
    It is very slow. We are using a Java client to interact with the dswsbobje libraries.
    Calls to " reportEngine.getDocumentInformation" are not consistently working even from the same program.
    We supply the prompt info parameters to generate the report.
    It works for the first 3 times, then fails a couple of times, and then works again.
    Sometimes a report load in 3 seconds, and other times it loads in 30 seconds or not at all.

    Why not open a case with SAP Support?
    Sincerely,
    Ted Ueda

  • Is it possible to use the JAVA Report Engine SDK to modify DESKI reports?

    Post Author: Nadine
    CA Forum: JAVA
    Hi, is it possible to add a complex filter to a DESKI report using the JAVA report engine sdk?
    In the developer tutorials for this API, I've only found references to WEBI in terms of modifying reports, though it seems to be possible to view DESKI reports with this sdk.
    I am a bit confused in terms of the scope of this API and how I would use it in regard to DESKI.
    Many thanks for any suggestions!
    Nadine

    Post Author: Ted Ueda
    CA Forum: JAVA
    Current (XI R2) version of ReportEngine API only supports refreshing/viewing functionality for Desktop Intelligence documents.  Document modification/creation is only supported with Web Intelligence documents.  Queries aren't modifiable for Deski using ReportEngine API - you can only do so using Desktop Intelligence Reporter SDK, which is COM based.Sincerely,Ted Ueda

  • Please, help me with with Report Engine SDK!

    I am using Report Engine SDK. This is my code:
    <%@ page import="com.crystaldecisions.sdk.framework.*"%>
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException"%>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoStore"%>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoObject"%>
    <%@ page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr"%>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
                     com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
                     com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
                     com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat,
                     java.io.ByteArrayInputStream"
    %>
    <%@ page import="java.util.Iterator"%>
    <%
         // Reference to the Report Engine:
    %>
    <%@ page import="com.businessobjects.rebean.wi.*"%>
    <%!IInfoObjects getList(IInfoStore iStore) {
              IInfoObjects list = null;
              String query = "SELECT SI_ID, SI_NAME, SI_PARENTID," + " SI_KIND, SI_INSTANCE, SI_DESCRIPTION FROM"
                        + " CI_INFOOBJECTS";
              try {
                   list = iStore.query(query);
              } catch (SDKException sdke) {
                   list = null;
              return list;
         }%>
    <%!     void see_all_objects(IInfoStore iStore){          
              IInfoObjects webiDocs = getList(iStore);
              Iterator infoObjectsIter = webiDocs.iterator();
              while (infoObjectsIter.hasNext()) {
                   IInfoObject folder = (IInfoObject) infoObjectsIter.next();
                   System.out.println(folder.getID());
                   System.out.println(folder.getTitle());
                   System.out.println(folder.getDescription());
         %>
    <%
         String CMS = request.getParameter("cms");
         String userID = request.getParameter("user");
         String password = request.getParameter("password");
         String auth = request.getParameter("auth");
         if (CMS == null)
              CMS = "";
         if (userID == null)
              userID = "";
         if (password == null)
              password = "";
         if (auth == null)
              auth = "";
         IEnterpriseSession enterpriseSession;
         try {
              ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
              enterpriseSession = mySessionMgr.logon(userID, password, CMS, auth);
              if (enterpriseSession != null) {//Create and store useful objects for the session.
                   session.setAttribute("EnterpriseSession", enterpriseSession);
                   IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
                   session.setAttribute("InfoStore", iStore);
                   //see_all_objects(iStore);
                   //String folderQuery = "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='4.rpt'";
                        String folderQuery = "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='5.rpt'";
                   IInfoObjects folders = iStore.query(folderQuery);
                   IInfoObject folder = (IInfoObject)folders.get(0);
                   //Instantiation of a Report Engine:
                   ILogonTokenMgr iLManager = enterpriseSession.getLogonTokenMgr();
                   ReportEngines repEngines = (ReportEngines) enterpriseSession.getService("ReportEngines");
                   ReportEngine widocRepEngine = (ReportEngine) repEngines
                             .getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);//WI allows editing and creation
                   session.setAttribute("widReportEngine", widocRepEngine);
                   ReportEngine fcdocRepEngine = (ReportEngine) repEngines
                             .getService(ReportEngines.ReportEngineType.FC_REPORT_ENGINE); //FC just viewing
                   session.setAttribute("fcdReportEngine", fcdocRepEngine);
                   Opening documents:
                        1. Establish a BusinessObjects Enterprise session for the user
                        2. Get an identifier for the document
                        3. Retrieve the ReportEngine instance to open the document of desired type.
                        4. Open the document using the ReportEngine.openDocument method for Web
                        Intelligence or Desktop Intelligence documents.
                   int idReport = folder.getID();     
                   System.out.println("Document about to be opened "+idReport);
                   System.out.println("Name file: "+folder.getTitle());
                   DocumentInstance docInstance= widocRepEngine.openDocument(idReport);                
              //     DocumentInstance docInstance = fcdocRepEngine.openDocument(idReport);
                   System.out.println("Document opened");
                   String docToken = docInstance.getStorageToken();
                   //User perform actions on document
                   // Open the document using its repository ID
                   BinaryView docBinaryView = (BinaryView)docInstance.getView(OutputFormatType.PDF);
                   //Parameterize the response
                   response.setContentType("application/pdf");
                   response.setHeader("Content-Type", "application/pdf");
                   response.setDateHeader("expires", 0);
                   //output the binary stream via the response object
                   docBinaryView.getContent(response.getOutputStream());
                   System.out.println("Document converted");
                   //To view an individual report, call Report.getView
                   //Open the first version of the document and save.
                   DocumentInstance docToSave = repEngines.getDocumentFromStorageToken(docToken);
                   docToSave.save();
                   System.out.println("Document converted");
                   // Close of the reportEngine
                   repEngines.close();
                   response.sendRedirect("home.html");
              } else
                   response.sendRedirect("index.jsp");
         } catch (SDKException mySDKExept) {
              response.sendRedirect("index.jsp");
         Opening documents:
         //To view an entire document, call DocumentInstance.getView
    %>
    Edited by: Diego XMunch on Mar 10, 2011 3:41 PM

    But I have this error:
    com.businessobjects.rebean.wi.ServerException: Error interno al llamar a la API 'openDocumentMDP'. (Error: ERR_WIS_30270)
         at com.businessobjects.rebean.wi.occa.OccaDocumentComAdapter.checkOpenDocError(Unknown Source)
         at com.businessobjects.rebean.wi.occa.OccaDocumentComAdapter.openDocument(Unknown Source)
         at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.openDocument(Unknown Source)
         at com.businessobjects.rebean.wi.ReportEngineImpl.openDocument(Unknown Source)
         at com.businessobjects.rebean.wi.occa.WebiReportEngine.openDocument(Unknown Source)
         at org.apache.jsp.login_jsp._jspService(login_jsp.java:163)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:619)

  • Passing dynamic prompt value using Report Engine SDK

    Hello Experts,
    I have created a webi report which contains prompt. Using SDK, I would like to catch the value of prompt which is selected by a user at runtime.
    e.g. If prompt contains values year, quarter, month, etc and user has selected value of u2018Quarteru2019 at run time, then I would like to catch that value using Report Engine SDK.
    I tried to implement prompt.getCurrentValues(). However that is not working.
    Can someone please help me to figure out the way to catch this dynamic prompt value using Report Engine SDK?
    Thanks,
    John

    Where is the prompt values being set, and where are you trying to catch it?
    Workflow description is missing here.
    Sincerely,
    Ted Ueda

  • Report navigation not working when accessed through IFrame in mozilla

    Hi,
    We integrated a OBIEE report in our web application and displaying through IFrame.
    We have functionality to navigate and show a report when user clicks on graph.
    This is working fine in IE6 but it is not working in Mozilla firefoxv3.x.
    And the code snippet looks like below:
    <iframe src="http://10.4.10.10:9704/analytics/saw.dll?PortalPages&amp;PortalPath=/shared/Nexant123/_portal/DAC Exceptions&amp;nquser=Administrator&amp;nqpassword=Administrator" >     </iframe>
    Error we are getting:
    Error: Permission denied to get property Window.getAnswersWorkspaceSyndicate
    Source File: http://10.4.80.160:9704/analytics/res/b_mozilla/viewhelper.js
    Line: 653
    Line in viewhelper.js creating problem:
    653: if (bPortal && parent && parent.getAnswersWorkspaceSyndicate)
    654: {
    655: var tSyn = parent.getAnswersWorkspaceSyndicate();
    656: if (tSyn && tSyn.newWorkspaceModule(tForm.action + "&" + saw.convertFormToString(tForm)))
    657: return;
    658: }
         NQWSubmitFormWithView(tForm,tNavInfo.sViewID,null);
    -Gopal.

    Hi Joe,
    Thanks for the reply but after appending "Dashboard" in the URL instead of PortaPages this doesn't work.
    The actual URL is like this:
    http://10.6.90.120:9704/analytics/saw.dll?Dashboard&PortalPath=/shared/nexant123/_portal/usage&Page=Summary%20Report%20for%20Customer&NQUser=Administrator&NQPassword=Administrator&Action=Navigate&P0=1&P1=eq&P2='Service%20Delivery%20Point'.'SDP%20Id'&P3=1
    Could you please forward me the snippet you are using or some websites where I can find the OBIEE Iframe integration steps.
    -Gopal.
    Edited by: Gopal D on Jan 18, 2010 3:01 AM
    Edited by: Gopal D on Jan 18, 2010 3:01 AM

  • Trend micro rubotted reports malicious dns query when accessing and reading release note page for 3.6.7 update

    Trend Micro RUBotted.exe reports the above. The recommended scan, Trend Micro House Call, completes in 2:40 minutes and does not find a bot on my system. I have done the above action twice, (reading and opening release note fixes) and both times the same identical warnings appeared. My system appears to be clean. However, the RUBotted.exe program is designed to flag bot-like behavior, and I think this finding is correct, and not a false-positive.
    This only happens when this page is opened, and I therefore think there is an embedded link that cannot be seen, and is run when this page is opened.
    I did update to version 3.6.7, but scanned the system before and after I updated to 3.6.7. Results are identical.
    == This happened ==
    Just once or twice
    == I was looking at the latest fixes for Firefox 3.6.7

    Trend Micro has a record of "false positives". Report the problem to them and let them investigate. Please post your results back in this thread for information for other users.

  • Error: RWI 00236 in retrieving Recordset via XIR2 Java SDK Report Engine

    Hi,
    I use XIR2 Rebean Webi report engine SDK and I am trying to retrieve the recordset of a webi document. I can get all sorts of other properties like SQL, data providers etc but when it comes to retrieving the recordset I get the following error message:
    "Exceptio occurred  : com.businessobjects.rebean.wi.CommunicationException: The W
    eb Intelligence server could not be reached. Contact your Business Objects admin
    istrator. (Error: RWI 00236)"
    I first instantiate the ISessionMgr then I get the enterpriseSession by logging in
    Then I get the Infostore, and then I prepare my string for the webi doc to get the Infoobjects
    String queryStr
    // set queryStr  to your webi document
    String queryStr = "SELECT * FROM CI_INFOOBJECTS WHERE SI_KIND='" + CeKind.WEBI + "' AND  SI_INSTANCE=0 AND SI_NAME='" + "MyWebiDoc" + "'";
    IInfoObjects boInfoObjects = (IInfoObjects) boInfoStore.query(queryStr);
    IInfoObject infoObject = (IInfoObject) boInfoObjects.get(0);
    ReportEngines boReportEngines = (ReportEngines) enterpriseSession.getService("ReportEngines");
    ReportEngine boReportEngine = boReportEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
    DocumentInstance boDocumentInstance = boReportEngine.openDocument(infoObject.getID());
    DataProvider dp = null;
                                   dp = boDocumentInstance.getDataProviders().getItem(0);
    dp.runQuery();                         //SO FAR SO GOOD
    Recordset rs = null;
                       rs = dp.getResult(0); //THIS IS WHERE THE PROBLEM OCCURS
    It compiles fine and runs fine up until the point while I try to retrieve the recordset
    __>
    Exceptio occurred  : com.businessobjects.rebean.wi.CommunicationException: The W
    eb Intelligence server could not be reached. Contact your Business Objects admin
    istrator. (Error: RWI 00236)
    The query only retrieves 5 rows so I would tend to rule out that the problem is due to the size of the recordset.
    Am I missing something?
    Any idea would be very much appreciated.
    Thanks in advance
    Fabio
    Edited by: Fabio Sangirogi on Jul 30, 2009 1:25 PM

    I know that "Recordset"  is an interface therefore cannot be directly instantiated.
    With this in mind, would the following make sense in Java?
    Recordset rs = null;
                       rs = dp.getResult(0);
    (dp is a Dataprovider data type)
    I checked the object model: the Dataprovider class has got the method
    "getResult(in flowIndex: int): Recordset"
    so it looks like it can instantiate the Recordset interface.For a simple data provider I believe the index integer input parameter is 0.
    (1 would return array out of bound).
    I was also thinking of the QueryString I used
    String queryStr = "SELECT * FROM CI_INFOOBJECTS WHERE SI_KIND='" + CeKind.WEBI + "' AND SI_INSTANCE=0 AND SI_NAME='" + "MyWebiDoc" + "'";
    I would have thought it is fine since I can get other properites of the dataprovider but could there be something not right in the query string as far as the recordset is concerned? Any other ideas?
    Thanks in advance.
    Fabio

  • Report Engine API 4.0 (upgrade to 4.1)

    Hi,
    In the incoming days we will face the upgarde of our current SAP BI Platform (4.0 SP8) to next minor release (4.1). One of most challenging points is to ensure the proper behaviour of existing SDK customizations based on Report Engine API available at 4.0. I know that SAP is promoting use of Restful Web Services as a way to implement functionality previously delivered by JAVA API but my question is. Will current Report Engine API based developments work under in 4.1 release? In other words, has SAP planned an smooth transition from Report Engine API to restful Web Services scenario (compatibility scenario ) or code will have to be completely rewriten ?
    Thanks,

    Hi Alfons,
    As per the current situations Report Engines SDKs are still the same in BI 4.1 likewise in BI 4.0 all patches. You can perform the below functionalities with BI 4.x Report Engines SDK :
    - Export Webi Report to some other format.
    - View a Webi Report.
    - Partial drilling.
    - Save prompts in Webi reports etc.(Most of the functionalities are deprecated like schedule with prompts etc.)
    On the other hand with Webi Raylight REST SDKs you can leverage the workflow of legacy functional parity of BusinessObjects XI 3.1 Report Engines SDKs.
    By seeing as a future, it looks like most of the new development & enhancement are happens in the Webi REST world. So planning to rewrite the code in terms of REST SDKs is beneficial.
    As you are talking about the compatability, Report Engines Java SDKs are same upto BI 4.1 Patch 4 release. But it might be possible that in future Report Engines Java SDKs are totally deprecated. You can also refer the Object Model Digram of Report Engines SDKs which gives you list of deprecated interfaces, classes & methods.
    Hope it helps.
    Thanks,
    Shailendra

  • Report Engine rwEng-0 crashed when server startup

    I installed 9ias on RedHat Linux, and applied the latest patches(Core patch 2, NT patch 1, form&report patch 2).But when I start the report server(in-process server).
    The report server's log shows:
    ** 2003/5/19 8:51:9:297 -- Reports Server is starting up
    *** 2003/5/19 8:51:24:418 -- Reports Server started up engine rwURLEng-0
    *** 2003/5/19 8:51:31:892 -- Reports Server started up engine rwEng-0
    *** 2003/5/19 8:51:32:956 -- Engine rwEng-0 crashed
    Then I run a report with the web browser, after single sign-on login interface, the browser is hang, then shows
    REP-51026: No output for job 19
    Some new lines append in the log file:
    *** 2003/5/19 9:7:2:980 -- Reports Server started up engine rwEng-0
    *** 2003/5/19 9:7:9:633 -- Reports Server started up engine rwEng-1
    *** 2003/5/19 9:7:15:994 -- Reports Server started up engine rwEng-2
    *** 2003/5/19 9:7:23:226 -- Reports Server started up engine rwEng-3
    *** 2003/5/19 9:7:30:328 -- Reports Server started up engine rwEng-4
    *** 2003/5/19 9:21:24:827 -- Reports Server shut down engine rwURLEng-0
    *** 2003/5/19 9:21:30:413 -- Reports Server started up engine rwURLEng-0
    I sent the request again, the browser shows:
    REP-50125: Caught exception: org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
    Anyone can help me?

    Thanks for your advice,I try it , when startup, no error in the reportserver.trc file, but when I send a request from the web , it shows:
    [2003/5/20 2:59:7:975] Debug 56031 (ConnectionImpl:runJob): Job 1 is waiting for
    notification
    [2003/5/20 2:59:8:919] Info 56020 (EngineManager:spawnEngine): Launching engine
    rwURLEng-0
    [2003/5/20 2:59:8:919] Debug 50103 (EngineManager:spawnEngine): Start engine com
    mand line = /oracle/product/app/bin/rwengine.sh -cp /oracle/product/app/j2ee/hom
    e/lib/ojsp.jar:/oracle/product/app/reports/jlib/rwrun.jar:/oracle/product/app/jl
    ib/zrclient.jar -XX:+AllowUserSignalHandlers -XX:CompileThreshold=20000 -Xmx128M
    oracle.reports.engine.RWEngine name=rwURLEng-0 server=rep_app_server ORACLE_HOM
    E=/oracle/product/app engineimplclass=oracle.reports.urlengine.URLEngineImpl tra
    ceopts=trace_all tracefile=/oracle/product/app/reports/logs/rep_app_server-rwURL
    Eng-0.trc tracemode=trace_replace cacheDir=/oracle/product/app/reports/cache
    [2003/5/20 2:59:8:969] Info 56021 (EngineManager:spawnEngine): Engine rwURLEng-0
    has been launched
    [2003/5/20 2:59:8:970] State 56004 (EngineInfo:setState): Engine rwURLEng-0 stat
    e is: Initial
    [2003/5/20 2:59:19:841] Exception 50125 (exception oracle.reports.RWException {
    oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
    int errorCode=55103,
    java.lang.String errorString="API URLEngine:getEngineEnvs not applicable to URL
    engine",
    java.lang.String moduleName="REP"
    at oracle.reports.RWExceptionHelper.read(Unknown Source)
    at oracle.reports.engine._EngineClassStub.getEnvs(Unknown Source)
    at oracle.reports.server.EngineManager$TimedPingerThread.run(EngineManag
    er.java:1581)
    ): Internal error exception oracle.reports.RWException {
    oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
    int errorCode=55103,
    java.lang.String errorString="API URLEngine:getEngineEnvs not applicable to URL
    engine",
    java.lang.String moduleName="REP"
    [2003/5/20 2:59:19:842] Warning 50103 (EngineManager:registerEngine): REP-55103:
    API URLEngine:getEngineEnvs not applicable to URL engine
    report_server.log shows:
    *** 2003/5/20 2:56:53:703 -- Reports Server is starting up
    *** 2003/5/20 2:59:19:842 -- Reports Server started up engine rwURLEng-0
    *** 2003/5/20 2:59:25:94 -- Reports Server started up engine rwEng-0
    *** 2003/5/20 2:59:26:164 -- Engine rwEng-0 crashed
    *** 2003/5/20 2:59:32:439 -- Reports Server started up engine rwEng-0
    *** 2003/5/20 2:59:35:302 -- Engine rwEng-0 crashed
    *** 2003/5/20 2:59:42:88 -- Reports Server started up engine rwEng-0
    *** 2003/5/20 2:59:44:472 -- Engine rwEng-0 crashed
    I still get "REP-56048: Engine null crashed, job Id: 1
    " on the web.

  • Report Engine crashing on Solaris when report with graph is given.

    Hi,
    We are using following environment:
    Solaris 8
    Oracle 9i Report Sevices.
    When we try to execute reports having graphs then the report engine crashes with the following exception:
    REP-0177: Error while running in remote server
    REP-56048: Engine rwEng-0 crashed
    The complete crash log is also appendend in the end of this mail.
    When I remove the graph from the rdf then reports get exectued fine without any crash. The same rdg with graph works fine on windows NT.
    If somebody can help on this, it will be great.
    Thanks,
    Ashish
    The complete crash log is as follows:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xf017b350
    Function name=_Xm21FreeHashTable
    Library=/usr/lib/libXm.so.4
    Current Java thread:
         at sun.awt.motif.MWindowPeer.create(Native Method)
         at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:169)
         at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:86)
         at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:53)
         at sun.awt.motif.MToolkit.createFrame(MToolkit.java:138)
         at java.awt.Frame.addNotify(Frame.java:353)
         at java.awt.Window.pack(Window.java:369)
         at tdg.Perspective.<init>(Perspective.java:478)
         at oracle.dss.graph.PFJ.<init>(PFJ.java:47)
         at oracle.dss.graph.Graph.createPFJ(Graph.java:1190)
         at oracle.dss.graph.Graph._setupGraphView(Graph.java:353)
         at oracle.dss.graph.Graph.<init>(Graph.java:164)
         at oracle.reports.chart.Chart.<init>(Chart.java:51)
         at oracle.reports.chart.ChartRunner.<init>(ChartRunner.java:46)
         at oracle.reports.engine.EngineImpl.CRunReport(Native Method)
         at oracle.reports.engine.EngineImpl.run(EngineImpl.java:289)
         at oracle.reports.engine.EngineClassPOATie.run(EngineClassPOATie.java:84)
         at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:117)
         at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:62)
         at com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2355)
         at com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRecord.java:104)
         at com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java:492)
         at com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(ServerProtocolAdapter.java:64)
         at com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java:653)
         at com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TPDispatcherImpl.java:99)
         at com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool.java:76)
    Dynamic libraries:
    0x10000      /users/orarep9i/OraHome1/jdk/jre/bin/../bin/sparc/native_threads/java
    0xff350000      /usr/lib/libthread.so.1
    0xff390000      /usr/lib/libdl.so.1
    0xff200000      /usr/lib/libc.so.1
    0xff330000      /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
    0xfe480000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/client/libjvm.so
    0xff2d0000      /usr/lib/libCrun.so.1
    0xff1d0000      /usr/lib/libsocket.so.1
    0xff100000      /usr/lib/libnsl.so.1
    0xff0d0000      /usr/lib/libm.so.1
    0xff310000      /usr/lib/libw.so.1
    0xff0b0000      /usr/lib/libmp.so.2
    0xff080000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/native_threads/libhpi.so
    0xff040000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/libverify.so
    0xfe440000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/libjava.so
    0xfe410000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/libzip.so
    0xf3be0000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/libnet.so
    0xf3bc0000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/libioser12.so
    0xf39e0000      /usr/lib/nss_nis.so.1
    0xf2000000      /users/orarep9i/OraHome1/lib/librw90.so
    0xf1d00000      /users/orarep9i/OraHome1/lib/libobx90.so.0
    0xf36b0000      /users/orarep9i/OraHome1/lib/librws90.so.0
    0xf2a80000      /users/orarep9i/OraHome1/lib/libde90.so.0
    0xf2fc0000      /users/orarep9i/OraHome1/lib/libucol90.so.0
    0xf39b0000      /users/orarep9i/OraHome1/lib/libuicc90.so.0
    0xf2ea0000      /users/orarep9i/OraHome1/lib/libca90.so.0
    0xf35e0000      /users/orarep9i/OraHome1/lib/libmma90.so.0
    0xf2dc0000      /users/orarep9i/OraHome1/lib/libmmiw90.so.0
    0xf3860000      /users/orarep9i/OraHome1/lib/libmmov90.so.0
    0xf2f90000      /users/orarep9i/OraHome1/lib/libmmos90.so.0
    0xf2cc0000      /users/orarep9i/OraHome1/lib/libmmoi90.so.0
    0xf32e0000      /users/orarep9i/OraHome1/lib/libmmia90.so.0
    0xf2da0000      /users/orarep9i/OraHome1/lib/libmmft90.so.0
    0xf1fc0000      /users/orarep9i/OraHome1/lib/libmmcm90.so.0
    0xf1c00000      /users/orarep9i/OraHome1/lib/libvgs90.so.0
    0xf2ca0000      /users/orarep9i/OraHome1/lib/libuihx90.so.0
    0xf1b90000      /users/orarep9i/OraHome1/lib/libuc90.so.0
    0xf1b20000      /users/orarep9i/OraHome1/lib/libuipr90.so.0
    0xf1900000      /users/orarep9i/OraHome1/lib/libuimotif90.so.0
    0xf1ae0000      /users/orarep9i/OraHome1/lib/libot90.so.0
    0xf18a0000      /users/orarep9i/OraHome1/lib/librem90.so.0
    0xf1820000      /users/orarep9i/OraHome1/lib/libree90.so.0
    0xf1fa0000      /users/orarep9i/OraHome1/lib/librec90.so.0
    0xf17f0000      /users/orarep9i/OraHome1/lib/libuiimg90.so.0
    0xf17b0000      /users/orarep9i/OraHome1/lib/libuia90.so.0
    0xf2a60000      /users/orarep9i/OraHome1/lib/libtknqap90.so.0
    0xf1780000      /users/orarep9i/OraHome1/lib/libutt90.so.0
    0xf1750000      /users/orarep9i/OraHome1/lib/librod90.so.0
    0xf1720000      /users/orarep9i/OraHome1/lib/libror90.so.0
    0xf16f0000      /users/orarep9i/OraHome1/lib/libros90.so.0
    0xf16c0000      /users/orarep9i/OraHome1/lib/libuat90.so.0
    0xf16a0000      /users/orarep9i/OraHome1/lib/libdfc90.so.0
    0xf1680000      /users/orarep9i/OraHome1/lib/libutc90.so.0
    0xf1660000      /users/orarep9i/OraHome1/lib/libutj90.so.0
    0xf1630000      /users/orarep9i/OraHome1/lib/libutl90.so.0
    0xf1610000      /users/orarep9i/OraHome1/lib/libsl90.so.0
    0xf0c00000      /users/orarep9i/OraHome1/lib/libclntsh.so.9.0
    0xf15f0000      /users/orarep9i/OraHome1/lib/libwtc9.so
    0xf15d0000      /usr/lib/libsched.so.1
    0xf15b0000      /usr/lib/libaio.so.1
    0xf0a00000      /usr/lib/libXm.so.3
    0xf1540000      /usr/lib/libXt.so.4
    0xf0900000      /usr/lib/libX11.so.4
    0xf1520000      /usr/lib/libgen.so.1
    0xf1500000      /usr/lib/librt.so.1
    0xf14e0000      /usr/lib/libSM.so.6
    0xf14b0000      /usr/lib/libICE.so.6
    0xf1480000      /usr/lib/libXext.so.0
    0xf0bd0000      /usr/openwin/lib/libdga.so.1
    0xf0bb0000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/libawt.so
    0xf0280000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/motif21/libmawt.so
    0xf09b0000      /users/orarep9i/OraHome1/jdk/jre/bin/../lib/sparc/libmlib_image.so
    0xf0000000      /usr/lib/libXm.so.4
    0xf08e0000      /usr/openwin/lib/libXtst.so.1
    0xeff00000      /users/orarep9i/OraHome1/jdk/jre/lib/sparc/libfontmanager.so
    0xf07a0000      /usr/openwin/lib/libdps.so.5
    Local Time = Fri Apr 18 09:22:09 2003
    Elapsed Time = 110
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)

    Please try the following
    * Modify $ORACLE_HOME/bin/reports.sh, replace "classic"
    with "server" in the LD_LIBRARY_PATH for the JVM
    * Modify $ORACLE_HOME/bin/rwengine.sh, just before the exec
    command, insert the following line:
    export LD_PRELOAD=$ORACLE_HOME/jdk/jre/lib/i386/libawt.so
    In Linux there was a similar problem and the above workaround worked . You can give this a try .
    Thanks
    The Oracle Reports Team

  • Report Engine does not increase when there is a large no of reports queue

    Hello Everybody,
    Specifications:
    Product : Oracle Application Server Forms and Reports Services 10.1.2.0.2
    OS : Windows 2003 R2 Server
    Dual Core CPU 2600MHz
    6 GB RAM
    We are doing the sizing for our reports server. We have specified the following in our rep_server.conf
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="2" maxEngine="6" minEngine="2" engLife="50" maxIdle="30" callbackTimeOut="90000" engineResponseTimeOut="3" jvmoptions="-Xms64m -Xmx128m">
    Even when there are 5000 or more reports in the queue still the number of engines in the reports server remains at 2 though I have given that it can use upto a maximum of 6 engines. Can anybody please explain why this happens? Am I missing something here?
    Thank you for your reply in advance.

    Hello,
    Anybody has any idea why the report engine is behaving like this?
    Thanks in advance

Maybe you are looking for

  • I am trying to manage my website, why can't I cut and paste information or even url?

    I have only had this imac for 24 hours, it doesnt seem to have basic functions like cut and past even using the commands control c and V.  I run 2 websites and its completely frustrating, can anyone help please... otherwise its going back...

  • Array of clusters TAB next element

    I have an array of clusters and I want with the TAB key, when I am at the last element of the cluster i, move to the first element of the cluster i+1. Jean-Marc Jean-Marc LV2009 and LV2013 Free PDF Report with iTextSharp Attachments: Array of cluster

  • Oracle 8i - force connection with protocol encrytpion

    Hi, I would like all client connections via JDBC to my oracle database to use protocol encrytion this way a hacker can not see the data thru a sniffer. Is it possible ? and how? Thousand thanks -Dan

  • Drilling from summary report to detail report - possible?

    Hi All, I'm new to Business Objects and am currently using Web Intelligence with Business Objects 12.1. I'm writing a report that shows the % of males and % of females that like drinking Coca Cola. Is it possible for me to set the report to drill thr

  • Images not uploading

    I maintain my website with Muse, and it is hosted on Business Catalyst since it's included with my membership.  I changed out a banner today, but the new banner doesn't display when I go to my page after I have published it.