Crystal Report XI u2013 Multi Thread - function PEOpenEngineEx failed. Reason:

In Crystal Report XI u2013 Multi Thread - function PEOpenEngineEx failed. Reason: Report engine not opened
Hi
I am using Crystal report XI with Delphi 7
OS: Windows XP.
Delphi 7
CR Version: Crystal Report XI
In Crystal Report XI While calling PEOpenEngineEx() by setting Engine option as multi thread, It failed with error message u201CError:512 Report Engine Not Openedu201D
Code Change in Delphi 7 UCrpe32.pas (Crystal Reports XI Release 1 - Service Pack 3 and Service Pack 4)
aEngineOptions.openEngineType := PE_OE_MULTI_THREADED;
FEngineOpened := FCrpeEngine.PEOpenEngineEx(EngineOptions);
I tried the same with Crystal Report 8.5 (above mentioned code change) Function PEOpenEngineEx() working fine.
How to overcome this error to make work Multi Thread using CR XI?

I found that it is bug Release 2 and the script server_patch_xir2 resolved it.

Similar Messages

  • The function PEOpenEngineEx fail

    Hi,
    I have BO XI SP 2 installed on linux server.
    In /var/log/messages all the time below errors are writing:
    Sep 11 15:19:26 stcrep2 boe_pagesd[30273]: The function PEOpenEngineEx failed. Reason: Report engine not opened..
    Sep 11 15:19:26 stcrep2 boe_pagesd[5889]: Error in the report processing unit.
    Sep 11 15:19:26 stcrep2 boe_pagesd[5889]: A Page Server subprocess was forced to terminate.
    Sep 11 15:19:26 stcrep2 boe_pagesd[5889]: A Page Server subprocess was forced to terminate.
    Sep 11 15:19:26 stcrep2 boe_pagesd[5889]: An error occurred while creating a Page Server subprocess.
    Sep 11 15:19:36 stcrep2 boe_pagesd[30307]: The function PEOpenEngineEx failed. Reason: Report engine not opened..
    How to correct BO server?
    I will appreciate for help.
    Regards
    Aneta

    I found that it is bug Release 2 and the script server_patch_xir2 resolved it.

  • Crystal Reports 8.5 Multi-Selection Formulas

    Let me start by saying that I am fairly new to Crystal Reports design, so I appreciate your patience as I try to describe my issue to you.
    I am using Crystal Reports 8.5 with an Oracle database.  The database contains a field that I refer to as a multi-selection field, meaning that end-users have the ability to select zero, one, or all values available to them in that field.
    I am designing a Crystal Report which has a checkbox for each of the selection values within the multi-selection field. So, if the end-user selects three of the values in that field, then three checkboxes appear checked, while all the others checkboxes remain empty.  I have no problem getting the checkboxes to appear; that's not the issue.
    I have tried using direct table linking and views, subreports, formulas and running totals in a number of different combinations,
    to no avail. The results have been mixed; most of the time, only one of the values gets a checked box, while all the other checkboxes are blank. Other times (with some of the subreports) it returns a full set of checkboxes with only one box checked, for each selection value that is chosen in the record.
    My basic formula for the field looks like the following, and the formula is repeated for each checkbox (country).
    if {TW_V_COUNTRY.S_VALUE} = "Japan" then chr(253) else chr(168)
    The closest I've gotten to this report working correctly is when I link an alias of the view for each country.  If I have a view for two countries and select those two values in a record, both checkboxes appear checked.  However, if I add more views for additional countries and select those values within the record, only one checkbox appears checked.
    Has anyone ever done something like this successfully? I'd appreciate any help I can get. Thank you in advance.

    Okay, I know I've said this before, but this time it really works!
    I saw something online about how crystal processes null fields - that if it reaches a null value, it will stop processing it altogether.  Here's what I saw online about null fields: http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.businessobjects.integration.eclipse.designer.doc/designer/Crystal_Syntax47.html
    I have successfully created a report that will display all of the appropriate checkboxes - blank or checked.  This method does NOT use custom views.
    My report uses a separate subreport for each selection value in the multiselection field.  The subreports are located in the Group Footer of the main report.  Each subreport has PR.ID left outer linked to the VIEW.PR_ID.  Each subreport is grouped by PR.ID.  Each subreport contains a formula for the corresponding selection value:
    WhilePrintingRecords;
    global StringVar VarCH;
    If VarCH = "" then
    VarCH:= if IsNull({VIEW.S_VALUE}) then chr(168) else
    if {VIEW.S_VALUE} = "Swiss Confederation - CH" then chr(253)
    else chr(168);
    WhilePrintingRecords;
    global StringVar VarCH;
    VarCH
    Each selection value has an abbreviation: AT, BE, BU, CH, CY, CZ, etc.  So, in the above formula, the only difference for each selection value is the name of the variable: VarAT, VarBE, VarBU, etc., and the actual selection value itself: Republic of Austria - AT, Swiss Confederation - CH, etc.  However, it may work with one universal variable throughout, like VarCountries. 
    The formula field is placed into the Group Footer within each subreport, formatted with Wingding font.  All other subreport sections are suppressed.  The subreport is placed next to its corresponding text object on the main report.  The subreports are linked to the main report: PR.ID --> VIEW.PR_ID.

  • Crystal Reports Charting Issue with SAP Function Module

    I created a custom SAP Function module that returns 2 tables. The first table (summary table) contains two columns, column "a"  contains a grouping and column "b" is a quantity.  The second table is the detail and is linked to the first table by the grouping, column "a" , in both tables.  I can bring the function module into Crystal Reports, but cannot create a drill down using a pie chart off the summary table.  When I go into the Chart Expert - Data Tab only the Advance button is active and the Group, Cross-Tab, and OLAP buttons are deactivated.  First of all, is it possible to do this using a SAP Function Module, if yes, what am I doing wrong.

    hello Jhess,
    i am not sure if you found an answer for your question yet. if you have a Group and a Summary on your report (i.e. the Sum of your Quantity field) then group charts should be enabled.
    cheers,
    jamie

  • Crystal Report 10 and Visual Basic 6 - logon failed in crystal report viewe

    Guyz,.
    Report viewer is showing logon failed, pelase help me, i can able to view the data from rs1(recorset).
    please hellp me to fix this issue, i need to pass the sql query to my pre designed Crystal report which has all the field as same as SQL query.
    Please suggest me if any other alternate way to do this , my code is below.
    Environment : Crystal Report 10, Visual Basic 6
    cr_preview -> CrystalActiveXReportViewer
    RepName  -> Fiename and path of the Crystal report is designed from Crystal Report Designer.
    Function show_rep(Sql As String, RepName As String)
    Dim crystal As CRAXDRT.Application
    Dim report As New CRAXDRT.report
    Dim rs1 As New ADODB.Recordset
        If rs1.State Then rs1.Close
        rs1.Open Sql, cn, adOpenStatic, adLockReadOnly
        Set crystal = New CRAXDRT.Application
        Set report = crystal.OpenReport(RepName)
        report.DiscardSavedData
        report.Database.SetDataSource rs1
        'cr_preview.Refresh
        cr_preview.ReportSource = report
        cr_preview.Visible = True
        cr_preview.ViewReport
        Do While cr_preview.IsBusy
            DoEvents
        Loop
        cr_preview.Zoom 100
        If rs1.State Then rs1.Close
        Set rs1 = Nothing
    Set crystal = Nothing
    Set report = Nothing
    End Function

    Hi,
    Please refer to the link for the list of example, [click here|http://pscode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?optSort=Alphabetical&lngWId=1&B1=QuickSearch&txtCriteria=crystalreport+10&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE]
    Regards,
    Clint

  • Error in Crystal report( built  on Universe) preview in CMC - Failed to load DB credentials or Failed to open Connection

    Hi,
          I created a Crystal Report (CR XI r2) using Universe and database is Db2.
         My report is working fine in Crystal report ,.But when i am uploading this report (Save AS ->enterprise) to repository ,and then trying to preview this report from CMC/Infoview,it throws error "Failed to load DB credentials  "or sometimes it throws" Failed to open Connection" .
    I have given DB user credentials correctly and used both option "prompt user for DB logo" as well as "use same database logon" .
    I am not sure why it is throwing this error.I checked both "Bo server machine as well as Client machine ,both  are having DB2 cleint installed and configured.
    Is this an issue with Service Packs ?
    As my machine configuration is -
         BO Client - BO XI R2 RTM + SP1+SP2
         BO Server (Linux) - BO XI R2 RTM
    If anybody faces the same issue ,please share the solution with me,as it is very urgent .
    Thanks
    Nitin

    Hello,
    Thank you for your post.
    Based on your description, your issue is out of support of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I suggest that you can consult your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
      for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Linux - Oracle - Crystal Report Server XI : Error in File Report1: Failed to load database information.

    I am using Crystal Reports Server XI on Linux Server with Oracle Server 10g.
    I did install Oracle Client on Report Server and config Oracle SID in tnsnames.ora also. It works well with tnsping command. Then, I published a report which was created in Crystal Reports developer on this server.
    When I preview the report on Report Server. I got the following error message:
    Error in File Report1: Failed to load database information.
    Try to fix the problem I ran web Central Management Console -> Objects ->Report1->Process -> Database and set there the following parameters:
    Database driver: Oracle
    Server: servers_host_name
    Database: (tried both ORACLE_SID and tns_name)
    User: oracle_user_name
    Password: oracle_pw
    It still got the same problem.
    I will appreciate any help.
    Tham.

    I was having a similar problem in Crystal Reports Server 2008 v1, and had to install the full client to resolve it, which I didn't like.  I poked around some, and was able to get the Instant Client working with a few minor changes.  Note that I tried it only with the 32-bit Instant Client even though I was on a 64-bit system because that was what SAP recommended when I talked to them.
    The changes I had to do was initialize the Oracle environment variables (the instant client doesn't have a script to do this for you) and to create a soft-link which is included in the full client, but not in the instant client.
    To setup the environment variables I created a file called env.sh and put it in /opt/crystal/bobje/setup/oracle/, where /opt/crystal was my install path.  This ensured that it got called by the /opt/crystal/bobje/setup/env.sh script which runs as part of the System init scripts to initialize the environment.  The following is what I put in my file (again for the 32-bit 11g R2 instant client):
         export ORACLE_SID=summitdb
         export ORACLE_HOME='/usr/lib/oracle/11.2/client'
         export ORACLE_BASE='/usr/lib/oracle/'
         export TNS_ADMIN='/usr/lib/oracle/11.2/client/network/admin'
         export PATH="$:/usr/lib/oracle/11.2/client/bin"
         export LD_LIBRARY_PATH="$$/usr/lib/oracle/11.2/client/lib"
    After that, I created the missing soft link using this command:
         ln -s "$/lib/libclntsh.so.11.1" "$/lib/libclntsh.so.10.1"
    Once I had done those two things, and restarted the service using the /etc/init.d script, it worked fine.

  • Crystal Reports Server 2008 - RAS API ReportAppSession.initialize() fail

    Hi,
    We have a servlet (running on Websphere 6.1 container) trying to connect to Crystal Reports Server 2008 using RAS Java API to open unmanaged reports.
    It fails at the very beginning of ReportAppSession.initialize() with error message:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: HQ-ROSIE03. - Connection refused: connect-- Error code:-2147217387 Error code name:connectServer
    HQ-ROSIE03 is the server name hosting CRS 2008. I try to pass in either HQ-ROSIE03 or HQ-ROSIE03:1566 to setReportAppServer(), but no help.
    On CRS2008, I checked from Central Management Console that all servers are up and running. I also add "-ipport 1566" to the commandline of ReportApplicationServer from CMC. It does not help either.
    Would you please tell me what might cause the problem based on the error code and message? Thank you.
    Here is the code.
            try
              ReportAppSession reportAppSession = new ReportAppSession();
              reportAppSession.createService(
              "com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
              //HQ-ROSIE03 is the server name that hosts Crystal Reports Server 2008.
              //I tried to pass in the port number, i.e "HQ-ROSIE03:1566". But it got the same exception.
              reportAppSession.setReportAppServer("HQ-ROSIE03");
              // This is where the exception is thrown.
              reportAppSession.initialize();
              ReportClientDocument lo_ReportClientDoc = new ReportClientDocument();
              lo_ReportClientDoc.setReportAppServer(reportAppSession.getReportAppServer());
              lo_ReportClientDoc.open(asReportName,OpenReportOptions._openAsReadOnly);
              ReportServerControl control = new ReportServerControl();
              control.setReportSource(lo_ReportClientDoc.getReportSource());
            catch(Exception exc)
                System.out.println( exc);
    Edited by: Lijing Lin on Mar 27, 2009 12:39 AM

    There is a typo when adding -ipport 1566 to the RAS server command from CMC.
    It is now resolved.

  • Crystal report runtime 13.0.2 passive upgrade fail

    Hi,
    my configuration is:
    - Windows 7 ultimate 32 bit.
    - Crystal report (13.0.1) installed
    If i upgrade product (Crystal Report) manually all work fine.
    If i install in passive mode, instead, with below command line, the upgrade fails and product remain unchanged.
    msiexec /i CRRuntime_32bit_13_0_2.msi /passive
    Can you verify this problem ?
    Thanks in advance for your response.
    Best Regards.
    Niko Furioso

    Hello,
    CR for Vs 2010 requires an uninstall first. I'll check with out build team to see if this is supported.
    In the mean time you could add this to your installer:
    Update Options
    The Windows Installer command line can apply or remove updates (patches for example) through these options:
    msiexec.exe [/update][/uninstall[/package<product_code_of_package>]]
    <path_to_package>/update - apply updates (if there are multiple updates, you can separate them through the ";" character)
    /uninstall - remove an update for a product (if there are multiple updates, you can separate them through the ";" character)
    /package - specifies the package for which the update is removed
    Sample command lines:
    msiexec.exe /update "C:\MyPatch.msp"
    msiexec.exe /uninstall {1BCBF52C-CD1B-454D-AEF7-852F73967318}
    /package {AAD3D77A-7476-469F-ADF4-04424124E91D}
    Don

  • Crystal Reports For Eclipse - Multi-values not showing on page..

    Tried two different ways to set params, but to no avail.  Values seems to be set, but only one value appears on the report.The value is updated, so not an old value or anything.
    Also if I look at the values I can see the values are set!  The Field is set to multi=true and the height is big enough to display lots of date grow=true.
    <%@page import="com.businessobjects.samples.JRCHelperSample" %>
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer" %>
    <%@page import="com.crystaldecisions.reports.sdk.ReportClientDocument" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.Fields" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.ParameterField" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.Values" %>
    <%@page import="com.crystaldecisions.reports.sdk.*" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Report1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // ****** BEGIN LOGON DATASOURCE SNIPPET **************** 
                        //     Database username and password
                        String connectString = "jdbc:oracle:thin:@localhost:1521:XE";
                        String driverName = "oracle.jdbc.OracleDriver";
                        String JNDIName = "";
                        String userName = "darren";
                        String password = "darren";
                        // logon to database
                        //JRCHelperSample.logonDataSource(clientDoc, userName, password);
                        // Switch all tables on the main report and sub reports
                        JRCHelperSample.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
                   // ****** END LOGON DATASOURCE SNIPPET ****************           
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                        // Create the CrystalReportViewer object
                        CrystalReportViewer viewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        viewer.setReportSource(reportSource);
                        // set viewer attributes
                        viewer.setOwnPage(true);
                        viewer.setOwnForm(true);
                        // MyParameter
                        String paramName = "MyParameter";
                        String theValue1 = "Hello";
                        String theValue2 = " World!";
    // Method 2
                        //We will be using the ParameterFieldController quite a bit through-out the rest of this function.
                        ParameterFieldController paramFieldController = clientDoc.getDataDefController().getParameterFieldController();
                        // MULTI-VALUE DISCRETE PARAMETERS.
                        Object[] multiVals = {theValue1, theValue2};
                        // sReportName - the report that contains the specified parameter field.
                        // sFieldName - the parameter field name.
                        // newValue - the collection of values to be stored in the parameter field.
                        paramFieldController.setCurrentValues("", paramName, multiVals);
    // Method 1
                        Values values = new Values();
                        values.add(theValue1);
                        values.add(theValue2);
                        ParameterField paramField = new ParameterField();
                        paramField.setName(paramName);
                        paramField.setAllowMultiValue(true);
                        paramField.setAllowCustomCurrentValues(true);
                        paramField.setCurrentValues(values);
                        Fields parameterFields = new Fields();
                        parameterFields.add(paramField);
                        viewer.setParameterFields(parameterFields);
                        viewer.setEnableParameterPrompt(true);
    // Show parameter values to console          
                        Fields fields = viewer.getParameterFields();
                           for (int i = 0; i < fields.size(); i++) {
                           ParameterField pf = (ParameterField)fields.get(i);
                           Values v = pf.getCurrentValues();
                           if (v.isEmpty()) {
                                System.out.println(pf.getName());
                           } else {
                                System.out.println("v.size(): " + v.size());
                                for (int j = 0; j < v.size(); j++) {
                                     ParameterFieldDiscreteValue pfdv = (ParameterFieldDiscreteValue)v.get(j);
                                    System.out.println(pf.getName() + " - " + pfdv.getValue());     
                        // Apply the viewer preference attributes
                        viewer.refresh();
                        // Process the report
                        viewer.processHttpRequest(request, response, application, null);
    Thanks in advance!

    This is not a support site but a community forum. For direct help purchase a case on line

  • Is Crystal Report's 8.5 help functionality supported in Citrix?

    Post Author: queengeek
    CA Forum: Older Products
    I have a Windows 2003 Server, std running Citrix Metrafram XP, FR3.  I have CR 8.5.0.2175 installed but when I recently added the "help" options, it doesn't appear to work.  I can click on the help button but nothing ever happens.Is there something weird about this version & Citrix? T

    I do know that, but I do not think that Crystal 10 (with which Sybase guy assured me everything is OK )
    does include that either, moreover when using old Sybase 12.5.1 ODBC SYODASE.DLL everything is OK.

  • Crystal Reports 2008 - C-ISAM/ODBC Error 42000 Failed to retrieve data

    I'm hoping someone out there has a solution to this problem.
    I have a bunch of reports which I've converted from CR8.5 to CR2008 (SP2 + HotFixPack 2.7 Installed)
    Our server is currently running SCO UNIX OpenServer 5.0.7 with a C-ISAM Database serving our accounting software.
    Some of the more basic reports have converted with no problem (daily sales figures etc...), but some reports such as customised purchase orders, and complex sales histories etc... continue to have this problem.
    Note, all my reports functioned perfectly under CR8.5.
    This error occurs within seconds of executing the report.
    FAILED TO RETRIEVE DATA FROM THE DATABASE
    Details: 42000:ERROR  Syntax Error - Database Vendor Code: -1
    After which, the winsock comms need to be reset.
    One example SQL query is as follows (on a report re-designing my purchase order for imported products.
    SELECT purchase_order.po_order_no, purchase_order_line.stock_code, purchase_order.po_backorder_flag,
    purchase_order_line.po_line_description, stock_master.stk_desc_line_3, stock_master.stk_description,
    stock_master.stk_desc_line_2
    FROM   (purchase_order_line purchase_order_line INNER JOIN purchase_order purchase_order ON
    (purchase_order_line.po_order_no=purchase_order.po_order_no) AND (purchase_order_line.po_backorder_flag=purchase_order.po_backorder_flag))
       INNER JOIN stock_master stock_master ON purchase_order_line.stock_code=stock_master.stock_code
    Does anyone have any idea??? Really driving me insane... Is it the order of my links, type of links, grouping??????
    Strangely, some other similarly linked reports work perfectly.
    Cheers in advance,
    Steve

    Hi Steve,
    If you open the Report and then click on DataBase, Log on and connect first. Then open your report, then Database, Set Location and once it's done then Verify the Database. Fix any errors or warnings that may pop up.
    Lots of changes between 8.5 and 2008. CR detects that the report is the old format and it then goes through an series of internal report upgrade routines to convert all functions to the current format.
    Also, all of the database drivers were re-written to take advantage of the updated functionality and Client enhancements. As well as we removed any "custom hacks" that we did back then to fix "issues" int he DB client drivers at the time. All of those "fixes" were removed, to much work to maintain them all, now if there are issues it's usually due to the DB Client not following ANSII 92 Standards.
    One issue that does show up from time to time is that the order you inserted the tables can have an affect on how CR generates the SQL, may not be the case for your issue though, just something to watch for.
    What happens if you create a new report and use that same SQL, save it, close all, re-open the report and run it. Do you get the same errors?
    Also note: you did not say if you also updated the ODBC driver? As of CR 9 we are UNICODE compliant, may be your client needs to be updated also. Also verify it's using ODBC 3 and not ODBC 2 standards.
    Thank you
    Don
    Edited by: Don Williams on May 6, 2010 7:21 AM

  • Multi-threaded transactions for performance reasons

    Hi,
    I need to be able to perform a number (20 - 30) reads and updates from \ to
    a huge (500 million records) Oracle database within the same transaction
    context within a set time limit. In order to meet the time limit I suspect I
    may need to perform a lot of the SQL operations in parallel. I'm using
    weblogic version 7 and Oracle 8.1.7 on hardware with a huge number of CPUs..
    a) Ideally I would like to do this using the standard EJB bean components
    but can't think of a possible way of doing it. Is there any way to do this
    while executing within the scope of an EJB container?
    b) Assuming the answer to a is no, could I do it by invoking an RMI server
    which could then set up a UserTransaction in a controlling thread and start
    a number of SQL slave threads (hopefully inheriting the parent threads
    transaction context). The controlling thread could then wait for the slave
    threads to finish before commiting. Hopefully though the slave threads would
    get the chance to perform a setRollbackOnly if anything went wrong.
    c) It the answer to b above is yes would there be any problem invoking the
    RMI server from within a session bean. For example would the transaction
    context of the session bean affect the behaviour of the RMI server and is it
    legal to create threads in the RMI server even though it is invoked from a
    session bean?
    Thanks for any help in advance.
    Chris.

    Oracle doesn't want you using threads in the Java Stored Procedures in the
    database. If you read on a bit further in the Oracle doc, you come to this
    passage at :
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96659/01_intro.htm#21254
    <quote>
    As a database server, Oracle9i efficiently schedules work for thousands of
    users. The Oracle JVM uses the facilities of the RDBMS server to concurrently
    schedule Java execution for thousands of users. Although Oracle9i supports Java
    language level threads required by the Java Language Specification (JLS) and
    Java Compatibility Kit (JCK), using threads within the scope of the database
    will not increase your scalability. Using the embedded scalability of the
    database eliminates the need for writing multithreaded Java servers. You should
    use the database's facilities for scheduling users by writing single-threaded
    Java applications. The database will take care of the scheduling between each
    application; thus, you achieve scalability without having to manage threads. You
    can still write multithreaded Java applications, but multiple Java threads will
    not increase your server's performance.
    </quote>
    So, YMMV if you spawn your own threads in the Oracle JVM.
    Bill
    Gordon Twaddell wrote:
    Chris,
    I'm not sure this fits your problem, but you may investigate
    writing a Oracle stored procedure in java. I believe its possible
    to use threading inside that procedure to perform your concurrent reads /
    updates.
    I haven't done this personally and I forsee many hurdles (just brain
    storming).
    From the Oracle 8.1.6 Docs
    "The JServer JVM provides a run-time environment for Java objects. It fully
    supports Java data structures, method dispatch, exception handling, and
    language-level threads. It also supports all the core Java class libraries
    including java.lang, java.io, java.net, java.math, and java.util"
    Something else to consider is Message Driven Beans (although this would
    violate your same transaction context requirement) and combining the results
    would be challenging.
    Any of your WLS side solutions are going to be problematic, because I
    believe that
    there is a JDBC restriction that a transaction can only have one outstanding
    SQL call.
    You might get around this on the DB side by managing a pool of
    sub-transactions in a stored procedure
    and have your managing thread commit or rollback all sub-transactions.
    Any possiblity of doing some SQL magic and combining several reads into one
    or setting up a View to do this for you?
    Gordon
    "Chris" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I need to be able to perform a number (20 - 30) reads and updates from \to
    a huge (500 million records) Oracle database within the same transaction
    context within a set time limit. In order to meet the time limit I suspectI
    may need to perform a lot of the SQL operations in parallel. I'm using
    weblogic version 7 and Oracle 8.1.7 on hardware with a huge number ofCPUs..
    a) Ideally I would like to do this using the standard EJB bean components
    but can't think of a possible way of doing it. Is there any way to do this
    while executing within the scope of an EJB container?
    b) Assuming the answer to a is no, could I do it by invoking an RMIserver
    which could then set up a UserTransaction in a controlling thread andstart
    a number of SQL slave threads (hopefully inheriting the parent threads
    transaction context). The controlling thread could then wait for the slave
    threads to finish before commiting. Hopefully though the slave threadswould
    get the chance to perform a setRollbackOnly if anything went wrong.
    c) It the answer to b above is yes would there be any problem invoking the
    RMI server from within a session bean. For example would the transaction
    context of the session bean affect the behaviour of the RMI server and isit
    legal to create threads in the RMI server even though it is invoked from a
    session bean?
    Thanks for any help in advance.
    Chris.

  • Crystal Report XI – MultiThread failed - PEOpenEngineEx Error:512

    In Crystal Report XI u2013 Multi Thread - function PEOpenEngineEx failed. Reason: Report engine not opened
    Hi
    I am using Crystal report XI with Delphi 7
    OS: Windows XP.
    Delphi 7
    CR Version: Crystal Report XI
    In Crystal Report XI While calling PEOpenEngineEx() by setting Engine option as multi thread, It failed with error message u201CError:512 Report Engine Not Openedu201D
    Code Change in Delphi 7 UCrpe32.pas (Crystal Reports XI Release 1 - Service Pack 3 and Service Pack 4)
      aEngineOptions.openEngineType := PE_OE_MULTI_THREADED;
      FEngineOpened := FCrpeEngine.PEOpenEngineEx(EngineOptions);
    I tried the same with Crystal Report 8.5 (above mentioned code change) Function PEOpenEngineEx() working fine.
    How to overcome this error to make work Multi Thread using CR XI?
    Regards,
    Jamson.

    I would make verify the database within Crystal report and then re publish it again. It seems it doesn't get the connection to the db.
    Have you refreshed the database within Crystal Reports?
    As Graham said, does it open in Crystal Viewer?
    another thing would be to add the DSN (System DSN) onto your client machine as well. Maybe it is not getting a right connection.
    Try it and let us know.
    Kind Regards
    Jehanzeb

  • Multi-Thread - Utilizing Multicores

    Does Crystal Report XI do multi-threading?  I upgrading computers at work and I'm trying to get as much speed out ofthe computers as possible.  The main mfg computer using Crystal Reports Daily and I'm looking at upgrading it to Quad Core 2.66Ghz.  But I have found out that many of the software packages we use are unable to utilize the core.
    Will Crystal Reports?

    Thanks,
    I use a piece of software called Planit Solid which uses Crystal Reprts to create is cut sheets with in Solid.  So I'm limited.

Maybe you are looking for

  • STATIC IP issues from outside of firewall

    Hi I’m having one issue, we have static IP and we NAT the same to some local IP for our internal needs. Whenever we tried to reach the static IP from outside of firewall(some other network), it is working properly. But when we try to ping or use that

  • HT3371 Battery charge has drastically decreased in last month or so...

    It's gone from holding a 6-7 hour full charge to a 2-3 full charge. Furthermore, it's jumping from estimated time range. One minute it can say I have 2+ hours, five minutes later, 1:30 minutes. This is with display at just level 6 brightness, and all

  • Anyone know how to make this character?

    I have had no luck finding it in the glyphs. Thanks Ian

  • Just like Third Party Sales

    Hi Friends I am working in SD support project ,still budding . Please guide me , I had a scenario that is We recieve the raw material from a customer ( X ) and we process it and deliver the finished good to ( Y ) recomended by ( X ) and send invioce

  • Muse update will not install

    I am  a Creative Cloud member. I tried to update Muse and get the message "The application could not be installed because the installer file is damagaed. Try obtaining a new installer file from the application author." I am on a Mac 10.7.4 2.66GHz Qu