Default Sort in Presentation in Oracle BPM 10

I have a sortable (sort enabled) table in a presentation
And I want my table to be loaded with a default sort.
How can I do that?

Hi user9293762,
To pass the BPM object to the JSP page, please follow the below steps:
1) Place an interactive activity after the method execution.
2) Right click on the Interactive activity and select Main Task
3) In the Main Task wizard select Implementation Type as BPM Object Interactive Call
4) Select the BPM Object Variable, here you can pass your BPM object to the jsp page but make sure that the object you want to pass is an instance variable of type your BPM object
5) Click on the Use JSP Presentation and choose for your jsp page you want to attach with the interactive activity.
6) Finally click on OK
Now you can access the BPM object in your jsp page.
Bibhu

Similar Messages

  • Default sorting order used by oracle

    Can anyone please let me know whether oracle uses any default sort order or not when executing an sql which does not have any sort order/ order by clause?
    I have a sql query where no sort order is specified.
    Now if I add some more columns in the select clause and execute the same query, the number of records returned are same and also the records are same.
    But the order in which they are displayed is different from the previous query.
    Could anyone please let me know whether oracle uses any default sort order or not when executing an sql which does not have any sort order/ order by clause
    or does it depend on the columns of the table?
    Thanks in advance.

    To answer your direct question "why the order in the previous example differ".
    When you added additional columns to the select list, that changed the query plan generated for the query. This caused Oracle to pick up the rows in a different order. There are a number of reasons this could happen, the new selected columns caused a different index (or no index) to be used for one of the tables in the query, it caused a different table to be be used as the "driving" table (i.e. the first one accessed), it caused a different join method to be used.
    HTH
    John

  • Oracle BPM presentations in OpenWorld 2009

    Hi,
    Does anyone know where I can download the presentations about "Oracle BPM" in "Oracle OpenWorld 2009" this year ? I did not have a chance to attend it but I feel that it is very interesting to know all of the new features and the direction of our Oracle BPM
    Many Thanks in advance
    Pearapon S.

    Hi,
    If you were a Full Conference attendee, access here - http://www.eventreg.com/sb221/loginOD.jsp?exitURL=null
    If you were a registered attendee but didn’t have a Full Conference pass, you can purchase access as an add on - http://www.oracle.com/us/openworld/registration.htm#addons
    There were several sessions labeled "BPM", but the two that you might want to look at were:
    "BPM Roundtable: Lessons Learned and Best Practices for Maximizing Success"
    "Best Practices for Oracle Business Process Management Deployments"

  • Oracle BPM Composer Authentication Failing.

    Hi,
    I have installed the Oracle BPM in our server,but facing some problem while login..
    1)Installed Software.
    Database Oracle 119 version (11.1.0.7.0) ---64bit Release1 and (11.2.0.1.0) ---64bit Release2
    Weblogic Server wls1033_oepe111150_win32
    Repository Creation Utility (11.1.1.3.3)
    BPM Suite & Patch SOA Suite (11.1.1.2.0) and SOA Suite (11.1.1.3.0)
    Oracle JDeveloper 11 g (11.1.1.3.0) (Build 5660)
    Able to Browse
    Oracle EM FMW Control ......... http://localhost:7001/em Able to login with weblogic id and pwd
    Oracle WLS Console ............ http://localhost:7001/console Able to login with weblogic id and pwd
    Oracle BPM Workspace .......... http://localhost:7001/bpm/workspace Not Able to login with weblogic id and pwd
    Oracle Process Composer ....... http://localhost:7001/bpm/composer Not Able to login with weblogic id and pwd
    I am not able to login into the composer and workspace ,i try adding the users in the securityrelam but also this is not helping..
    Please suggest a way to debugg and rectify this issue.
    Thanks in advance for your help.
    Regards,
    Shyam

    If you are using managed server (default), the URLs will be:
    Oracle BPM Workspace .......... http://localhost:8001/bpm/workspace
    Oracle Process Composer ....... http://localhost:8001/bpm/composer
    That is port 8001 instead of 7001

  • Oracle BPM 10.3: Pass Object from Presentation to JSP

    Hi,
    I am using Oracle BPM 10.3 . Can anybody tell me that in the presentation when a user clicks a button
    then i call a method. This method have an object. How i can pass this object to a JSP Page so that
    jsp can access this object.
    Thanks
    Edited by: user9293762 on Sep 3, 2010 2:33 AM

    Hi user9293762,
    To pass the BPM object to the JSP page, please follow the below steps:
    1) Place an interactive activity after the method execution.
    2) Right click on the Interactive activity and select Main Task
    3) In the Main Task wizard select Implementation Type as BPM Object Interactive Call
    4) Select the BPM Object Variable, here you can pass your BPM object to the jsp page but make sure that the object you want to pass is an instance variable of type your BPM object
    5) Click on the Use JSP Presentation and choose for your jsp page you want to attach with the interactive activity.
    6) Finally click on OK
    Now you can access the BPM object in your jsp page.
    Bibhu

  • Oracle BPM 10.3 File Save Dialog Box

    Hi,
    I am using Oracle BPM 10.3. Can anybody tell me that how to get a File Save Dialog box in the method. On the method call i want to call Save Dialog box which will save the file on the local computer.
    Thanks
    Edited by: user9293762 on Sep 2, 2010 9:35 AM

    The compilation within Studio works with a bit smaller (like 35MBytes) project, thus I think the problem is some sort of memory handling.
    The problem comes up while it is trying to compie/load 'external resources': it still works with 512M or even 256M of heap before this operation.
    Some weird thing is that I cannot set Xmx >640M, nor launcher.XXMaxPermSize > 1024M (winXP SP2, 2G RAM). While I'm sure that nothing is hacked around the memory allowance of Windows (i.e. how much memory does it allow for particular executables), I think this operation should be tested to work even on 256M heap...
    On the other hand, the ANT compilation works well.
    Well, almost well.
    I have had some errors in my project, which ALBPM6.0 said to be OK, like defining a String array attribute 'not null' and setting no default value; or defining some object to be abstract and instantiating it.
    However these errors are not always reported, e.g. during catalog compilation: XY must be explicitly instantiated before being used since it does not have a default initialization... thus made it static (however, it has been used as static all the time).
    I had to hack CatalogPublisher a bit so that I can read them on stdout, and correct those syntax errors.
    For this possibility, iterate over the non-empty foCheckerListener.getPresentationErr() in CatalogPublisher after checkXO().

  • Want to change the default sort order of a Advanced table

    Hi all ,
    Hope all of you doing good.
    I am trying to change the deafult sort order of a " View Applicants" advanced table on Irecruitment selfservice page , using personalization feature but its not sorting as expected.
    The default sort order is asc by the name of the applicants. I wanted to override it by " Date Applied " desc using personalizing the advanced table.
    But its not sorting by Date applied and still shows the sort by applicant name.
    Any inputs will be greatly helpful
    I am using the Oracle Apps 11.5.10 version.

    Hey guys m I got the answer for the below question.
    Oracle have few Restriction and limitation on such Advanced table in sorting the data,
    Few of them are as mentioned below ...
    1. Sorting is not allowed for tables that allow inserts.
    2. Sorting is not supported for tables containing updateable columns
    3. Sorting is disabled when the Select column is checked for a row in a table or when Hide/Show is present in a table.
    Because of the above limitations , we cannot sort or override the existing alphabetical name sort order to Date applied sort order on the View Applicant advanced table.
    You can observe that , View Applicant page is having an option called "Update Status" which allow us to update applicant’s status or rating in the Advanced table.
    On such updatable advanced tables, oracle does not allow us to override the sort order on any of the table columns.
    Keeping it in a nutshell , I can say it's does not allow us to change the sort order of the view applicant advanced table ( which is having updateable columns ) to sort them in Date applied instead of Name( which is default ).

  • What is the difference btw Oracle bpm 10gr3 vs albpm 6.0.5 version

    What is the difference btw Oracle bpm 10gr3 vs albpm 6.0.5 version
    Are the build number common to them?

    Projects built in ALBPM 6.0 can be used directly in Oracle BPM 10g, but the reverse is not true.
    It's sometimes thought that Oracle BPM 10g was just a relabeling of the predecessor BEA product ALBPM. This is not the case.
    In Studio, standards are better supported:
    <li> By default, new processes now use horizontal swim-lanes. You can change the swim-lanes orientation individually for each process. You can define the default orientation for each project and for your Studio installation.
    <li> It uses more sophisticated BPMN icons. BPMN is the new default process diagram theme. BPMN constructs now include Gateways (AND, OR (new in 10g), XOR, Multiple Instance (previously Split-N)). A new Timer event was added. Loop conditions for automatic activities and groups were added.
    <li> Studio now supports Mac/OS 10.4 Tiger and Mac/OS 10.5 Leopard.
    <li> Studio now supports Windows Vista.
    <li> Studio now supports CVS and Subversion version control systems.
    <li> The Studio UI incorporates Eclipse 3.3 improvements such as the following:
    <li> New Minimize/Maximize behavior: When minizing view stacks in Studio, the view icons are placed on the nearest trim area. If a view is maximized, all other views are minimized, rather than hidden.
    <li> Interactive tasks provide a new "previewable" property. The new Application Display Panel and Task Execution Panel of WorkSpace automatically start the execution of previewable tasks without locking the process instance. Enabled by default for Dashboards.
    <li> New type of Activity: Time Activity. A process instance that arrives to this activity just sits idle until a timed event occurs.
    <li> Option Process Notification Immediately on Termination Wait activities has been deprecated. Now both the Wait activity and the first activity in the interruption flow always execute in the same transaction.
    <li> Although I'm not wild about it, there is an auto-layout feature re-arranges all visual elements of a process diagram automatically, minimizing superpositions and aligning the flow as much as possible. Only available for processes with horizontal lane orientation.
    <li> New process property (Greedy Execution Mode) indicates the Process Execution Engine to collapse contiguous automatic tasks in a single transaction. This mode of execution provides better performance for some processes. Disabled by default.
    <li> A new Process-Level debugger allows developers to introduce breakpoints and debug complete processes running in Studio. When the execution reaches a breakpoint, the Engine pauses and Studio's debugging view appears. You can inspect variables, add new breakpoints, resume and continue execution.
    User Interface
    <li> The Business Analyst and Business Architect profiles provide a simpler set of menu options and toolbars.
    <li> New editor for BPM Object Presentations. It's easier to use, provides a WYSIWYG drag and drop interface, improved CSS support and a new Drag & Drop toolbar.
    <li> You can now interrupt a running Simulation started with the Run to the End button.
    <li> New BETWEEN operator added to Business Rules editor (on both Studio and WorkSpace). This operator works with Time and numeric types.
    <li> The Documentation View now displays read-only documentation for the standard Fuego.* components.
    <li> New on-line help book Oracle BPM Components Reference provides reference documentation for the standard Fuego.* components. Only available for the developer profile.
    <li> This version introduces Project Dependency, which allows you to re-use components and role definitions from a common base project.
    In the WorkSpace:
    <li> WorkSpace has an edit mode which allows users to change and save the configuration and layout of panels.
    <li> A new tabbed interface allows you to define multiple pages, each with its own set of panels. You can export the layout configuration to an XML file and re-import it on a different environment or as a different user. Administrators can define layouts for all users in a certain Role.
    <li> You can export the data in the Worklist panel to a PDF or CSV
    <li> You can see an OOTB chart representation of the distribution of items in the Worklist panel.
    <li> WorkSpace includes the following new panels: Task Panel: Renders the execution of interactive tasks within the panel, instead of using the default modal dialogs. Dashboard Display Panel: Provides a way to display Dashboards within a Panel. View Chart Panel: Provides predefined graphical reports about process performance, work items distributions and workload. Application Panel: This panel contains an application (the execution of a Global Interactive). Applications can respond to work item selections or run independently.
    <li> The user can now do re-assignment operations on multiple instances at once.
    <li> The Business Rules editor shows additional auditing information, including who and when a rule was modified.
    <li> WorkSpace now (optionally) stores session-specific information as client-side cookies. This allows load-balancing on a cluster environment without affecting the user experience.
    Integration:
    <li> New timeout property added to external resources of type HTTP Server. Use this setting to control timeouts on web service invocations.
    <li> Authentication information added to external resources of type JMS (Java Messaging System)
    <li> Processes exposed as Web Services can now provide a runProcess operation, which synchronously executes the complete process (from begin to end). Only meaningful on fully automated processes.
    Enterprise:
    <li> New Ant tasks to rebuild the Oracle BPM web applications for container-security.
    <li> Configuration Wizard adds option Generic JNDI to the list of available LDAP servers. When using this option, you must provide a custom configuration file defining the mapping of object classes, attributes and filters. This new feature is also the new mechanism for integrating with AquaLogic Interaction 6.5, replacing the old Identity Service.
    <li> Configuration Wizard can now be run without user interaction ("silent mode"). You specify all configuration values in an XML file.
    <li> Oracle BPM client applications (including WorkSpace, PAPI-WS and custom PAPI apps) are now able to connect to multiple environments (BPM Directories) simultaneously.
    <li> Added Sybase as a new provider for the Engine database and BPM Directory database.
    <li> More information added for auditing of Business Rules, including who and when a rule was modified.
    <li> Updated bundled JDBC drivers to their latest version.
    <li> The Engine now logs warning messages when it detects rogue threads. A new preference allows the administrator to disable automatic re-starts when the Maximum Number of Rogue Component Executions is reached. In addition, in the case of an automatic re-start the Engine now logs a complete thread dump.
    <li> Simplified procedures for deploying BPM WorkSpace on WebLogic Portal. BPM Process Administrator now generates the WorkSpace EAR file as a WLP library module.
    <li> Authentication information added to external resources of type JMS (Java Messaging System).
    Dan

  • Oracle BPM Process Data mart

    I am required to create audit reports on BPM workflows.
    I am new to thid & need some guidance on configuring BPM Process Data mart. What are the pre-requisites for configuring it & what are the steps to do it.
    Also, need some inputs on BAM database. What is the frequency of data upload. Is it data update or insert in BAM.

    Hi,
    You might want to check out the Administration and Configuration Guides on http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html.
    I suspect you might find the BAM and Data Mart portions of this documentation a bit terse, so I've added the steps below that provides more detail. I wrote this for ALBPM 6.0, but believe it will still work for Oracle BPM 10g. It was created from an earlier ALBPM 5.7 document Support wrote called "ALBPM 5_7 Configuring and Troubleshooting the BAM and DataMart Updater.pdf.
    You can define how often you want the contents in both databases updated (actually inserted) and how long you want to persist the contents of the BAM database during the configuration.
    Here's the contents of the document:
    1. Introduction
    The use of BAM (Business Activity Monitoring) and Data Mart (or Warehouse) information is becoming more and more widespread in today’s BPM project implementations for the obvious benefits they bring to the management and tuning of processes.
    BAM is basically composed by a collection of measurements of current processes load and execution times. This gives us an idea of how the business is doing at this moment (in a pseudo real-time fashion).
    Data Mart, on the other hand, is a historical view of the processes load and execution times. And this gives us an idea of how the business has developed since the moment the projects have been put in place.
    In this document we are not going to describe exhaustively all configuration aspects of the BAM and Data Mart Updater, but rather we will quickly move from one configuration step to another paying more attention to subjects that have presented some difficulties in real-life projects.
    2. Creating the Service Endpoints
    The databases for BAM and for Data Mart first have to be defined in the External Resources section of the BPM Process Administrator.
    In this following example the service endpoint ‘BAMJ2EEWL’ is being defined. This definition is going to be used later as BAM storage. At this point nothing is created.
    Add an External Resource with the name ‘BAMJ2EEWL’ and, as we use Oracle, select the Oracle driver, then click <Next>:
    On the following screen, specify:
    ·     the hostname – here I have used ‘localhost’ as I am just setting this up to work on my laptop
    ·     the port for the Oracle service
    ·     the SID – here I have use Oracle Express so the SID is ‘XE’
    ·     the new user to create / use in Oracle for this database – here I have specified ‘BPMBAM’. This user, and its database, will be created later
    ·     the password for the user
    Scroll down to the bottom of the page and click <Save>.
    In addition to a standard JDBC connection that is going to be used by the Updater Service, a remote JDBC configuration needs to be added as the Engine runs in a WebLogic J2EE container. This Data Source is needed to grant the Engine access over BAM tables thru the J2EE Connection Pool instead of thru a dedicated JDBC. The following is an example of how to set this up.
    Add an External Resource with the name ‘BAMremote’ and select the Oracle driver, then click <Next>
    On the following screen, specify:
    ·     the Lookup Name that will be used subsequently in WebLogic - here I have given it the name ‘XAbamDS’
    Then click <Save>.
    In the next example the definition ‘DWHJ2EEWL’ is created to be used later as Data Mart storage. If you are not going to use a Data Mart storage you can skip this step.
    Add an External Resource with the name ‘DWHJ2EEWL’ and select the Oracle driver, then click <Next>:
    On the following screen, specify:
    ·     the hostname – here I have used ‘localhost’ as I am just setting this up to work on my laptop
    ·     the port for the Oracle service
    ·     the SID – here I have use Oracle Express so the SID is ‘XE’
    ·     the new user to create / use in Oracle for this database – here I have specified ‘BPMDWH’. This user, and its database, will be created later
    ·     the password for the user
    3. Configuring BAM Updater Service
    Once the service endpoint has been created the next step is to enable the BAM update, select the service endpoint to be used as BAM storage and configure update frequency and others. Here the “Updater Database Configuration” is the standard JDBC we configured earlier and the “Runtime Database Configuration” is the Remote JDBC as we are using the J2EE Engine.
    So, here’s the example of how to set up the BAM Updater service….
    Go into ‘Process Monitoring’ and select the ‘BAM’ tab and enter the relevant information (using the names created earlier – use the drop down list to select):
    Note that here, to allow me to quickly test BAM reporting, I have set the update frequency to 1 minute. This would not be the production setting.
    Once the data is input, click <Save>.
    We now have to create the schema and related tables. For this we will open the “Manage Database” page that has appeared at the bottom of the BAM screen (you may have to re-select that Tab) and select to create the database and the data structure. The user required to perform this operation is the DB system administrator:
    Text showing the successful creation of the database and data structures should appear.
    Once we are done with the schema creation, we can move to the Process Data Mart configuration screen to set up the Common Updater Service parameters. Notice that the service has not been started yet… We will get to that point later.
    4. Configuring Process Data Mart Updater Service
    In the case that Data Mart information is not going to be used, the “Enable Automatic Update” checkbox must be left off and the “Runtime Database Configuration” empty for this service. Additionally, the rest of this section can be skipped.
    In the case it is going to be used, the detail level, snapshot time and the time of update should be configured; in addition to enabling the updater and choosing the storage configuration. An example is shown below:
    Still in ‘Process Monitoring’, select the ‘Process Data Mart’ tab and enter the name created earlier (use the drop down list to select).
    Also, un-tick the Generate O3 Cubes (see later notes):
    Then click <Save>.
    Once those properties have been configured the database and the data structure have to be created. This is performed at the “Manage Database” page for which the link has appeared at the bottom of the page (as with BAM). Even when this page is identical to the one shown above (for the BAM configuration) it has been opened from the link in the “Process Data Mart” page and this makes it different.
    Text showing the successful creation of the database and data structures should appear.
    5. Configuring Common Updater Service Parameters
    In the “Process Data Mart” tab of the Process Monitoring section -along with the parameters that are specific to the Data Mart - we will find some parameters that are common to all services. These parameters are:
    • Log directory: location of the log file
    • Messages logged from Data Store Updater: severity level of the Updater logs
    • Language
    • Generate Performance Metrics: enables performance metrics generation
    • Generate Workload Metrics: enables workload metrics generation
    • Generate O3 Cubes: enables O3 Cubes generation
    In this document we are not going to describe in detail each parameter. But we will mention a few caveats:
    a. the Log directory must be specified in order for the logs to be generated
    b. the Messages logged from Data Store Updater, which indicates the level
    of the logs, should be DEBUG for troubleshooting and WARNING otherwise
    c. Performance and Workload Metrics need to be on for the typical BAM usage and, even when either metric might not be used on the initial project releases, it is recommended to leave them on in case they turn out to be useful in the future
    d. the Generation of O3 Cubes must be off if this service is not used, otherwise the Data Mart Updater service might not work properly .
    The only changes required on this screen was to de-select the ‘Generate O3 Cubes’ as shown in the last section.
    6. Set up the WebLogic configuration
    We need to set up the JDBC data source specified above, so go to Services / JDBC / Data Sources.
    Click on <Lock and Edit> and then <New> to add a New data source.
    Specify:
    ·     the Name – use the name you set up in the Process Administrator
    ·     the JNDI Name – again use the name you set up in the Process Administrator
    ·     the Database Type – Oracle
    ·     use the default Oracle Database Driver
    Then click <Next>
    On the next screen, click <Next>
    On the next screen specify:
    ·     the Database Name – this is the SID – for me that is XE
    ·     the Host Name – as I am running on my laptop, I’ve just specified ‘localhost’
    ·     the Database User Name and Password – this is the BAM database user specified in the Process Administrator
    Then click <Next>
    On the next screen, you can test the configuration to make sure you have got it right, then click <Next>
    On the next screen, select your server as the target server and click <Finish>:
    Finally, click <Activate Changes>.
    7. The Last Step: Starting Up and Shutting Down the Updater Service
    ALBPM distribution is different depending on the Operating System. In the case of the Updater Service:
    -     For Unix like Operating Systems the service is started or stopped with the albpmwarehouse.sh shell script. The command in this case is going to look like this:
    $ALBPM_HOME/bin$ ./albpmwarehouse.sh start
    -     For Windows Operating Systems the service is installed or uninstalled as a Windows Service with the albpmwarehouse.bat batch file. The command will look like:
    %ALBPM_HOME%\bin> albpmwarehouse.bat install
    After installing the service, it has to be started|stopped from the Microsoft Management Console. Note also that Windows will start automatically the installed service when the computer starts. In either case the location of the script is ALBPM_HOME/bin Where ALBPM_HOME is the ALBPM installation directory. An example will be:
    C:\bea\albpm6.0\j2eewl\bin\albpmwarehouse.bat
    8. Finally: Running BAM dashboards to show it is Working
    Now we have finally got the BAM service running, we can run dashboards from within Workspace and see the results:
    9. General BAM and Data Mart Caveats
    a. The basic difference between these two collections of measurements is that BAM keeps track of current processes load and execution times while Data Mart contains a historical view of those same measurements. This is why BAM information is collected frequently (every minute) and cleared out every several hours (or every day) and why Data Mart is updated infrequently (once a day) and grows indefinitely. Moreover, BAM measurements can be though of as a minute-by-minute sequence of Engine Events snapshots, while Data Mart measurements will be a daily sequence of Engine Events snapshots.
    b. BAM and Data Mart table schemas are very similar but they are not the same. Thus, it is important not to use a schema created with the Manage Database for BAM as Data Mart storage or vice-versa. If these schemas are exchanged by mistake, the updater service will run anyway but no data will be added to the tables and there will be errors in the log indicating that the schema is incorrect or that some tables could not be found.
    c. BAM and Data Mart Information and Services are independent from one another. Any of them can be configured and running without the other one. The information is extracted directly from the Engine Database (PPROCINSTEVENT table is the main source of info) for both of them.
    d. So far there has not been a mention of engines, projects or processes in any of the BAM or Data Mart configurations. This is because the metrics of all projects published under the current Process Administrator (or, more precisely, FDI Directory) are going to be collected.
    e. It is also important to note that only activities for which events are generated are going to be measured (and therefore, shown in the metrics). The project default is to generate events only for Interactive activities. This can be changed for any particular activity and for the whole process (where the activity setting, when specified, overrides the process setting). Unfortunately, there is no project setting for events generation so far; thus, remember to edit the level of event generation for every new process that is added to the project.
    f. BAM and Data Mart metrics are usually enriched with Business Variables. These variables are a special type of External Variables. An External Variable is a process variable with the scope of an Instance and whose value is stored on a separate column in the Engine Instances table. This allows the creation of views and filters based on this variable. A Business Variable, then, shares all the properties of an External Variable plus the fact that its value is collected in all BAM and Data Mart measurements (in some cases the value is shown as it is for a particular instance and in others the value is aggregated).
    The caveat here is that there is a maximum number of 256 Business Variables per FDI. Therefore, when publishing several projects into a single FDI directory it is recommendable to reuse business variables. This is achieved by mapping similar Business Variables of different projects with a unique real Variable (on the variable mapping performed at publish time).
    g. Configuring the Updater Service Log
    In section 5. Configuring Common Updater Service Parameters we have seen that there are two common Updater properties related to logging. These properties are “Log directory” and “Messages logged from Data Store Updater”, and they specify the location and level of these two files:
    - dwupdater.log: which is the log for the Data Mart updater service
    - bam-dwupdater.log: which is the log for the BAM updater service
    In addition to these two properties, there is a configuration file called ‘WarehouseService.conf’ that allows us to modify these other properties:
    - wrapper.console.loglevel: level for the updater service log
    - wrapper.logfile.loglevel: level for the updater service log
    - wrapper.java.additional.n: additional argument to the service JVM
    - wrapper.logfile.maxsize: maximum size of the updater service log files
    - wrapper.logfile.maxfiles: maximum number of updater service log files
    - wrapper.logfile: updater service log file name (the default value is dwupdater-service.log)
    9.1. Updater Service Log Configuration Caveats
    a. The first three parameters listed above have to be modified when increasing the log level to DEBUG (since the default is WARNING). The loglevel parameters have to be set to DEBUG and a java.additional.n (where n is a consecutive integer to the already used ones) has to be set to –ea to enable asserts, since without this option no DEBUG message is going to be generated.
    b. Of the other arguments, maxfiles might need to be increased to hold a few more days of data when the log level is set to DEBUG (with the default value up to two days are stored).
    c. The updater service has to be stopped, uninstalled, installed and then started for any of these changes to take effect.
    Hope this helps,
    Dan

  • OutOfMemoryError when running Oracle BPM Enterprise's Configuration Wizard

    Hi,
    I was trying to configure Oracle BPM Enterprise via Oracle BPM Admin Center. I left most of the settings to their respective default values; only adding in passwords for the Directory, Engine, etc. However an error was encountered when it is trying to deploy the '01-eng-bpmengine' EAR file. A 'OutOfMemoryError: Java heap space' was logged after running the configuration for a while. Below is the full error log:
    AdmCenterConsole.log
    FuegoLauncher.main()
    fix classpath: C:\OraBPMwlHome\bin;C:\OraBPMwlHome\bin\lax.jar;
    new classpath: C:\OraBPMwlHome\bin\lax.jar;FuegoLauncher.main() - 2
    arg[0] = C:\OraBPMwlHome\bin\obpmadmcenter.properties
    StreamLogOutput: No log file specified in property 'fuego.log.admcenter.file'.
    Defaulting to System.err.
    [<I> 03/03/09 20:54:12]
    [<I> 03/03/09 20:54:12] CLASSPATH=C:\bea\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\bea\WLSERV~1.3\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\bea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\modules\ORGAPA~1.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    [<I> 03/03/09 20:54:12]
    [<I> 03/03/09 20:54:12] PATH=C:\bea\patch_wlw1030\profiles\default\native;C:\bea\patch_wls1030\profiles\default\native;C:\bea\patch_cie660\profiles\default\native;C:\bea\WLSERV~1.3\server\native\win\32;C:\bea\WLSERV~1.3\server\bin;C:\bea\modules\ORGAPA~1.5\bin;C:\Java\JDK16~1.0_1\jre\bin;C:\Java\JDK16~1.0_1\bin;C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Java\jdk1.6.0_10\bin;C:\apache-ant-1.6.5\bin;C:\bea\WLSERV~1.3\server\native\win\32\oci920_8
    [<I> 03/03/09 20:54:12]
    [<I> 03/03/09 20:54:12] Your environment has been set.
    [<I> 03/03/09 20:54:12]
    [<I> 03/03/09 20:54:12] CLASSPATH=C:\bea\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\bea\WLSERV~1.3\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\bea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\modules\ORGAPA~1.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\bea\WLSERV~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\bea\WLSERV~1.3\common\eval\pointbase\lib\pbtools57.jar;C:\bea\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar
    [<I> 03/03/09 20:54:13]
    [<I> 03/03/09 20:54:13] Initializing WebLogic Scripting Tool (WLST) ...
    [<I> 03/03/09 20:54:13]
    [<I> 03/03/09 20:54:19] Welcome to WebLogic Server Administration Scripting Shell
    [<I> 03/03/09 20:54:19]
    [<I> 03/03/09 20:54:19] Type help() for help on available commands
    [<I> 03/03/09 20:54:19]
    [<I> 03/03/09 20:54:19] t3://SN-06-SHENGYUEN:7001
    [<I> 03/03/09 20:54:20] Connecting to t3://SN-06-SHENGYUEN:7001 with userid weblogic ...
    [<I> 03/03/09 20:54:22] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'oft'.
    [<I> 03/03/09 20:54:22]
    [<I> 03/03/09 20:54:22] Warning: An insecure protocol was used to connect to the
    [<I> 03/03/09 20:54:22] server. To ensure on-the-wire security, the SSL port or
    [<I> 03/03/09 20:54:22] Admin port should be used instead.
    [<I> 03/03/09 20:54:22]
    [<I> 03/03/09 20:54:22] Location changed to edit tree. This is a writable tree with
    [<I> 03/03/09 20:54:22] DomainMBean as the root. To make changes you will need to start
    [<I> 03/03/09 20:54:22] an edit session via startEdit().
    [<I> 03/03/09 20:54:22]
    [<I> 03/03/09 20:54:22] For more help, use help(edit)
    [<I> 03/03/09 20:54:22]
    [<I> 03/03/09 20:54:22] Starting an edit session ...
    [<I> 03/03/09 20:54:22] Started edit session, please be sure to save and activate your
    [<I> 03/03/09 20:54:22] changes once you are done.
    [<I> 03/03/09 20:54:22] creating mbean of type JMSServer ...
    [<I> 03/03/09 20:54:22] creating mbean of type JMSSystemResource ...
    [<I> 03/03/09 20:54:22] creating mbean of type SubDeployment ...
    [<I> 03/03/09 20:54:22] creating mbean of type Queue ...
    [<I> 03/03/09 20:54:22] creating mbean of type Topic ...
    [<I> 03/03/09 20:54:22] creating mbean of type ConnectionFactory ...
    [<I> 03/03/09 20:54:22] creating mbean of type ConnectionFactory ...
    [<I> 03/03/09 20:54:22] creating mbean of type JDBCSystemResource ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type JDBCSystemResource ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JMSServer
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JMSSystemResource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type SubDeployment
    [<I> 03/03/09 20:54:22] setting attributes for mbean type Queue
    [<I> 03/03/09 20:54:22] setting attributes for mbean type Topic
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JMSConnectionFactory
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JMSConnectionFactory
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCSystemResource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCConnectionPoolParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDriverParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDataSource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDataSource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCXAParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDataSourceParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCConnectionPoolParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDriverParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDataSourceParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCSystemResource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] Saving all your changes ...
    [<I> 03/03/09 20:54:22] Saved all your changes successfully.
    [<I> 03/03/09 20:54:22] Your edit session is not stopped, you can continue your edits.
    [<I> 03/03/09 20:54:22] Activating all your changes, this may take a while ...
    [<I> 03/03/09 20:54:22] The edit lock associated with this edit session is released
    [<I> 03/03/09 20:54:22] once the activation is completed.
    [<I> 03/03/09 20:54:23] Activation completed
    [<I> 03/03/09 20:54:23] Creating a user ...
    [<I> 03/03/09 20:54:23]
    [<I> 03/03/09 20:54:23] User already exist
    [<I> 03/03/09 20:54:23] Deploying application from C:\OraBPMwlHome\j2ee\weblogic\deployer\wlj2eedeployer.ear to targets AdminServer (upload=true) ...
    [<I> 03/03/09 20:54:23] <Mar 3, 2009 8:54:23 PM SGT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, wlj2eedeployer [archive: C:\OraBPMwlHome\j2ee\weblogic\deployer\wlj2eedeployer.ear], to AdminServer .>
    [<I> 03/03/09 20:54:27] .Completed the deployment of Application with status completed
    [<I> 03/03/09 20:54:27] Current Status of your Deployment:
    [<I> 03/03/09 20:54:27] Deployment command type: deploy
    [<I> 03/03/09 20:54:27] Deployment State : completed
    [<I> 03/03/09 20:54:27] Deployment Message : no message
    [<I> 03/03/09 20:54:27] Deploying application from C:\OraBPMwlHome\ears\engine\01-eng-bpmengine.ear to targets AdminServer (upload=true) ...
    [<I> 03/03/09 20:54:27] <Mar 3, 2009 8:54:27 PM SGT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, 01-eng-bpmengine [archive: C:\OraBPMwlHome\ears\engine\01-eng-bpmengine.ear], to AdminServer .>
    [<I> 03/03/09 20:54:43] Failed to deploy the application with status failed
    [<I> 03/03/09 20:54:43] Current Status of your Deployment:
    [<I> 03/03/09 20:54:43] Deployment command type: deploy
    [<I> 03/03/09 20:54:43] Deployment State : failed
    [<I> 03/03/09 20:54:43] Deployment Message : java.lang.OutOfMemoryError: Java heap space
    [<I> 03/03/09 20:54:43] weblogic.management.scripting.ScriptException: Error occured while performing deploy : Deployment Failed.
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.ExceptionHandler.handleException(ExceptionHandler.java:48)
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:185)
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.JSR88DeployHandler.deploy(JSR88DeployHandler.java:536)
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.WLScriptContext.deploy(WLScriptContext.java:429)
    [<I> 03/03/09 20:54:43]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [<I> 03/03/09 20:54:43] No stack trace available.
    [<I> 03/03/09 20:54:43] This Exception occurred at Tue Mar 03 20:54:43 SGT 2009.
    [<I> 03/03/09 20:54:43]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [<I> 03/03/09 20:54:43]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [<I> 03/03/09 20:54:43]      at java.lang.reflect.Method.invoke(Method.java:597)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyMethod.__call__(PyMethod.java:96)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyObject.__call__(PyObject.java:248)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyObject.invoke(PyObject.java:2016)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx17.deploy$8(<iostream>:223)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx17.call_function(<iostream>)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:208)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:404)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyFunction.__call__(PyFunction.java:184)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx16.deploy_Applications$61(C:\Documents and Settings\shengyuen\.configWizard\tmp\config.py:623)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx16.call_function(C:\Documents and Settings\shengyuen\.configWizard\tmp\config.py)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:208)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:256)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyFunction.__call__(PyFunction.java:169)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx16.f$0(C:\Documents and Settings\shengyuen\.configWizard\tmp\config.py:738)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx16.call_function(C:\Documents and Settings\shengyuen\.configWizard\tmp\config.py)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:208)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyCode.call(PyCode.java:14)
    [<I> 03/03/09 20:54:43]      at org.python.core.Py.runCode(Py.java:1135)
    [<I> 03/03/09 20:54:43]      at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
    [<I> 03/03/09 20:54:43]
    [<I> 03/03/09 20:54:43] Exiting WebLogic Scripting Tool.
    [<I> 03/03/09 20:54:43]
    [<I> 03/03/09 20:54:43]
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.WLST.main(WLST.java:129)
    [<I> 03/03/09 20:54:43]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [<I> 03/03/09 20:54:43]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [<I> 03/03/09 20:54:43]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [<I> 03/03/09 20:54:43]      at java.lang.reflect.Method.invoke(Method.java:597)
    [<I> 03/03/09 20:54:43]      at weblogic.WLST.main(WLST.java:29)
    [<I> 03/03/09 20:54:43] <Mar 3, 2009 8:54:43 PM SGT> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    Is there any way that I can increase the heap size of the Configuration Wizard? If not, is there any solution to this problem?

    Hi,
    It seems to be a Weblogic OOM (OutOfMemory).
    Why don't you try increasing the weblogic memory (you have to modify your domain scripts)
    I guess that after increasing your WLS domain memory settings you will be able to configure it using the config wizard.
    Hope this helps,
    Ariel

  • Oracle BPM 11.1.1.5 Performance issues

    Hi,
    I have 2 Node Cluster of Oracle SOA 11.1.1.5 installed. Have a separate cluster for SOA/BPM, BAM, OSB, WSM. Here are the OS and Java versions
    Java Vendor: HP
    Java Version: 1.6.0.14
    OS: HP-UX
    OS Version: B.11.31
    Running into an issue where Oracle BPM is performing very slow the task forms takes forever to come up and performing any actions takes too long to proceed som time it keeps timing out. I have over 100 SOA Process running plus some BPM Process but BMP Workspace application is running too slow as have customized tasks forms. But the same works a bit better in other instance which is non-clustered. Any idea what can be done on the server level to get around the performance issues. So far have modified Audit Levels and reduced soa-infra bpm log have the following settings in setDomainEnv.sh for USER_MEM_ARGS=-Xms2000m -Xmx6000m -XX:PermSize=1000m
    But not help. Any idea what else to look into to get around these bpm performance issues. Here is what I have in setSOADomainEnv.sh
    # 8395254: add -da:org.apache.xmlbeans... in EXTRA_JAVA_PROPERTIES
    EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES} -da:org.apache.xmlbeans..."
    XENGINE_DIR="${SOA_ORACLE_HOME}/soa/thirdparty/edifecs/XEngine"
    DEFAULT_MEM_ARGS="-Xms512m -Xmx1024m"
    PORT_MEM_ARGS="-Xms768m -Xmx1536m"
    if [ "${JAVA_VENDOR}" != "Oracle" ] ; then
      DEFAULT_MEM_ARGS="${DEFAULT_MEM_ARGS} -XX:PermSize=128m -XX:MaxPermSize=512m"
      PORT_MEM_ARGS="${PORT_MEM_ARGS} -XX:PermSize=256m -XX:MaxPermSize=512m"
    fi
    #========================================================
    # setup LD_LIBRARY_PATH if directory is present...
    #========================================================
    if [ -d ${XENGINE_DIR}/bin ]; then
       LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${XENGINE_DIR}/bin"
       export LD_LIBRARY_PATH
    fi
    #========================================================
    # setup platform specific environment variables
    #========================================================
    case ${PLATFORM_TYPE} in
      # AIX
      AIX)
        if [ -d ${XENGINE_DIR}/bin ]; then
           LIBPATH="${LIBPATH}:${XENGINE_DIR}/bin"
           export LIBPATH
        fi
        USER_MEM_ARGS=${PORT_MEM_ARGS}
        export USER_MEM_ARGS
        # Fix for 7828060
        POST_CLASSPATH=${POST_CLASSPATH}:${SOA_ORACLE_HOME}/soa/modules/soa-ibm-addon.jar
        # Fix for 7520915 and 8264518 and 8305217
        EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES} -Djavax.xml.datatype.DatatypeFactory=org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl -Djava.endorsed.dirs=${SOA_ORACLE_HOME}/bam/modules/org.apache.xalan_2.7.1"
        export EXTRA_JAVA_PROPERTIES
      # HPUX
      HP-UX)
        if [ -d ${XENGINE_DIR}/bin ]; then
           SHLIB_PATH="${SHLIB_PATH}:${XENGINE_DIR}/bin"
           export SHLIB_PATH
        fi
        LD_LIBRARY_PATH="${XENGINE_DIR}/bin:${LD_LIBRARY_PATH}"
        export LD_LIBRARY_PATH
        USER_MEM_ARGS="-d64 ${PORT_MEM_ARGS}"
        export USER_MEM_ARGS
        ;;And here is what I have in setDomainEnv.sh
    XMS_SUN_64BIT="256"
    export XMS_SUN_64BIT
    XMS_SUN_32BIT="256"
    export XMS_SUN_32BIT
    XMX_SUN_64BIT="512"
    export XMX_SUN_64BIT
    XMX_SUN_32BIT="512"
    export XMX_SUN_32BIT
    XMS_JROCKIT_64BIT="256"
    export XMS_JROCKIT_64BIT
    XMS_JROCKIT_32BIT="256"
    export XMS_JROCKIT_32BIT
    XMX_JROCKIT_64BIT="512"
    export XMX_JROCKIT_64BIT
    XMX_JROCKIT_32BIT="512"
    export XMX_JROCKIT_32BIT
    if [ "${JAVA_VENDOR}" = "Sun" ] ; then
         WLS_MEM_ARGS_64BIT="-Xms256m -Xmx512m"
         export WLS_MEM_ARGS_64BIT
         WLS_MEM_ARGS_32BIT="-Xms256m -Xmx512m"
         export WLS_MEM_ARGS_32BIT
    else
         WLS_MEM_ARGS_64BIT="-Xms512m -Xmx512m"
         export WLS_MEM_ARGS_64BIT
         WLS_MEM_ARGS_32BIT="-Xms512m -Xmx512m"
         export WLS_MEM_ARGS_32BIT
    fi
    if [ "${JAVA_VENDOR}" = "Oracle" ] ; then
         CUSTOM_MEM_ARGS_64BIT="-Xms${XMS_JROCKIT_64BIT}m -Xmx${XMX_JROCKIT_64BIT}m"
         export CUSTOM_MEM_ARGS_64BIT
         CUSTOM_MEM_ARGS_32BIT="-Xms${XMS_JROCKIT_32BIT}m -Xmx${XMX_JROCKIT_32BIT}m"
         export CUSTOM_MEM_ARGS_32BIT
    else
         CUSTOM_MEM_ARGS_64BIT="-Xms${XMS_SUN_64BIT}m -Xmx${XMX_SUN_64BIT}m"
         export CUSTOM_MEM_ARGS_64BIT
         CUSTOM_MEM_ARGS_32BIT="-Xms${XMS_SUN_32BIT}m -Xmx${XMX_SUN_32BIT}m"
         export CUSTOM_MEM_ARGS_32BIT
    fi
    MEM_ARGS_64BIT="${CUSTOM_MEM_ARGS_64BIT}"
    export MEM_ARGS_64BIT
    MEM_ARGS_32BIT="${CUSTOM_MEM_ARGS_32BIT}"
    export MEM_ARGS_32BIT
    if [ "${JAVA_USE_64BIT}" = "true" ] ; then
         MEM_ARGS="${MEM_ARGS_64BIT}"
         export MEM_ARGS
    else
         MEM_ARGS="${MEM_ARGS_32BIT}"
         export MEM_ARGS
    fi
    MEM_PERM_SIZE_64BIT="-XX:PermSize=128m"
    export MEM_PERM_SIZE_64BIT
    MEM_PERM_SIZE_32BIT="-XX:PermSize=128m"
    export MEM_PERM_SIZE_32BIT
    if [ "${JAVA_USE_64BIT}" = "true" ] ; then
         MEM_PERM_SIZE="${MEM_PERM_SIZE_64BIT}"
         export MEM_PERM_SIZE
    else
         MEM_PERM_SIZE="${MEM_PERM_SIZE_32BIT}"
         export MEM_PERM_SIZE
    fi
    MEM_MAX_PERM_SIZE_64BIT="-XX:MaxPermSize=512m"
    export MEM_MAX_PERM_SIZE_64BIT
    MEM_MAX_PERM_SIZE_32BIT="-XX:MaxPermSize=512m"
    export MEM_MAX_PERM_SIZE_32BIT
    if [ "${JAVA_USE_64BIT}" = "true" ] ; then
         MEM_MAX_PERM_SIZE="${MEM_MAX_PERM_SIZE_64BIT}"
         export MEM_MAX_PERM_SIZE
    else
         MEM_MAX_PERM_SIZE="${MEM_MAX_PERM_SIZE_32BIT}"
         export MEM_MAX_PERM_SIZE
    fi
    if [ "${JAVA_VENDOR}" = "Sun" ] ; then
         if [ "${PRODUCTION_MODE}" = "" ] ; then
              MEM_DEV_ARGS="-XX:CompileThreshold=8000 ${MEM_PERM_SIZE} "
              export MEM_DEV_ARGS
         fi
    fi
    # Had to have a separate test here BECAUSE of immediate variable expansion on windows
    if [ "${JAVA_VENDOR}" = "Sun" ] ; then
         MEM_ARGS="${MEM_ARGS} ${MEM_DEV_ARGS} ${MEM_MAX_PERM_SIZE}"
         export MEM_ARGS
    fi
    if [ "${JAVA_VENDOR}" = "HP" ] ; then
         MEM_ARGS="${MEM_ARGS} ${MEM_MAX_PERM_SIZE}"
         export MEM_ARGS
    fi
    if [ "${JAVA_VENDOR}" = "Apple" ] ; then
         MEM_ARGS="${MEM_ARGS} ${MEM_MAX_PERM_SIZE}"
         export MEM_ARGS
    fi
    if [ "${debugFlag}" = "true" ] ; then
         JAVA_OPTIONS="${JAVA_OPTIONS} -da:org.apache.xmlbeans... "
         export JAVA_OPTIONS
    fi
    export USER_MEM_ARGS="-Xms4g -Xmx6g -XX:PermSize=2g -XX:+UseParallelGC -XX:+UseParallelOldGC"Here is the output of the top command
    Load averages: 0.08, 0.06, 0.06
    315 processes: 205 sleeping, 110 running
    Cpu states:
    CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
    0    0.06   4.0%   0.2%   1.0%  94.8%   0.0%   0.0%   0.0%   0.0%
    2    0.07   3.6%   5.0%   0.2%  91.2%   0.0%   0.0%   0.0%   0.0%
    4    0.07   2.0%   0.2%   0.0%  97.8%   0.0%   0.0%   0.0%   0.0%
    6    0.07   2.4%   0.2%   0.8%  96.6%   0.0%   0.0%   0.0%   0.0%
    8    0.09   1.2%   0.2%  10.9%  87.7%   0.0%   0.0%   0.0%   0.0%
    10    0.12   3.0%   0.0%  11.1%  85.9%   0.0%   0.0%   0.0%   0.0%
    12    0.08   3.0%   0.2%   6.6%  90.3%   0.0%   0.0%   0.0%   0.0%
    14    0.09   4.2%   1.2%   0.8%  93.8%   0.0%   0.0%   0.0%   0.0%
    avg   0.08   3.0%   1.0%   3.8%  92.2%   0.0%   0.0%   0.0%   0.0%
    System Page Size: 4Kbytes
    Memory: 38663044K (38379156K) real, 149420048K (148978096K) virtual, 26349848K f
    ree  Page# 1/63
    CPU TTY  PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
    4   ?  3926 root     152 20   213M 70040K run    694:47 10.05 10.04 cimprovagt
    4   ?  6855 user1  152 20  7704M  1125M run      4:36  9.31  9.29 java
    0   ?  6126 user2  152 20  2790M  1863M run     22:57  4.16  4.15 javaHere is the Memory on the box
    Memory: 98132 MB (95.83 GB)
    Thanks

    After changing JVM settigns for soa cluster it's a bit better but still slow so wondering what other tweaks can be done on the JVM side. Here is what is for the SOA Cluster
    USER_MEM_ARGS="-server -Xms12928m -Xmx12928m -XX:PermSize=3072m -Xmn3232m -XX:+SXTElimination -XX:+UseParallelGC -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent -XX:-TraceClassLoading -XX:-TraceClassUnloading"
    We are running multiple instances on the same boxes and the total RAM on the machine is 95 GB on each box which is being shared across 4 cluster environments. For now other 3 cluster environments have the SOA Cluster JVM setting as
    USER_MEM_ARGS="-server -Xms4096m -Xmx4096m -XX:PermSize=1024m -Xmn1152m -XX:+SXTElimination -XX:+UseParallelGC -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent -XX:-TraceClassLoading -XX:-TraceClassUnloading"
    Any help on what else I can tweak or set in JVM to get a better performance.
    Thanks

  • How to get the papi wsdl of Oracle BPM Studio

    How to get the papi wsdl of Oracle BPM Studio. What is the url of the papi wsdl of Oracle BPM Studio

    Thanks to Lovin:
    There is an icon in the studio when the engine starts.. called as "Launch Deployed Webservice webapp"
    Also.. Need to go to Engine Preferences -> Engine -> Advanced Tab -> Startup and select Start PAPI Web Services.
    Default URL:http://localhost:8585/papiws/PapiWebServiceEndpoint?wsdl

  • How to Enable the Oracle BPM Worklist?

    Hi!
    Newbie here.
    So how do you enable the Oracle BPM Worklist?
    Sure there a tutorial for this found in http://docs.oracle.com/cd/E21764_01/doc.1111/e17366/chapter16.htm#BABHCICI
    and in section "16.2 How to Enable the Oracle BPM Worklist" it says
    "By default, Oracle BPM Worklist functionality is disabled. You can enable this functionality in AIAConfigurationProperties.xml.
    To enable the Oracle BPM Worklist:
    -Access AIAConfigurationProperties.xml located in <AIA_HOME>/aia_instances/$INSTANCE_NAME/AIAMetaData/config.
    -Set the EH.INVOKE.HWF property value to true.
    -Reload updates to the AIAConfigurationProperties.xml file."
    However upon searching for the file "AIAConfigurationProperties.xml" or even the directory "aia_instances" in our servers, I could not find them. Please help me!

    If you are talking about 11g Worklist app, then you won't be able to do that, since the source code is not shipped with the product. The better way is to create the custom worklist application using the Worklist APIs. Refer to the SOA Developers Guide.
    In case of 10g, you can access the source code of Worklist app, even in that case, you can do your requirement using the exposed APIs.

  • Priority for Automatic Proccesses in Oracle BPM 10.3

    Hi,
    I'm completely new to the BPM space, and I was just transferred to a team that's using Oracle BPM 10.3, so my apologies if this is a trivial question.
    Does anyone know how to implement priority for automatic activities in Oracle BPM 10.3? Basically, I want high priority instances to be processed before low priority ones.
    I tried kicking off several instances in a loop with the "priority" variable set to different values, with an automatic activity that would log the instance and its priority, and the begin state limiting the process to a single concurrent instance at a time. It did not look like these instance were processed in priority order.
    Thanks!

    The priority predefined variable is an integer that goes from 1 to 5. The visible corresponding values for these integer values when shown to the end user in the WorkSpace run from "Lowest" (1) to "Highest" (5).
    You typically use priority in a view or filter for the Workspace. You'd set the priority column in the WorkSpace to be sorted descending so that the higher the priority, the closer it is to the top of the end user's queue.
    Unless your view or filter is set to show all activity types currently in the process, the only work item instances shown in the WorkSpace are Interactive activities . The benefit to setting a priority to work item instances is that the end users are encouraged to work the interactive work item instances from the top of the list down.
    Bottom line is that the priority predefined variable helps end users sort / prioritize their work, but does not cause the engine to sort the work it has to do with work item instances running in Automatic activities.
    If you have a batch fully automatic process that takes a while to run, I could see a use case where you might want to sort the list of incoming work item instances. If it's a typical process with a mix of automatic and interactive activities, automatic actiivities take a much smaller percentage of time than the interactives do. Work item instances running inside automatic activities normally don't take much time and the need for prioritization doesn't come up. What's your use case where you need to prioritize them?
    Dan

  • Oracle BPM Composer and no ADF

    Hi Everyone,
    We are planning to use Oracle BPM as our BPM engine. But our organization doesn't support ADF. So could anyone help to answer the below questions. Thanks a lot for your time.
    1) Can we use Oracle BPM Composer... Does Oracle BPM composer require extended ADF Domain?
    2) Default BPM workspace can't be used. So we need to build our own workspace. Are they any predefined framework to build a MVC or any other java framework to build workspace.
    3)Could anyone let me know the additional things we should take care in case we don't use ADF domain.
    Thanks everyone for your time.

    Oracle BPM Studio (JDeveloper) is used by developers to create processes, human tasks, the process instance payloads, the composite services used by the processes, complex transformations, business rules and the ADF UIs.
    Composer is a business user oriented web based tool used by business analysts with similar capabilities.  Using Composer, business people can create and maintain processes, define process instance payloads, human tasks, process payloads, business rules.  Instead of creating ADF UIs, you create and test web forms using a web based UI web form designer tool that it comes with in 11.1.1.7. Because the forms built using Composer can only be viewed from the Workspace or WebCenter Spaces tools, and because you're not going to use the Workspace or WebCenter Spaces tools, you won't be able to use Composer to create your UIs.
    You might want to rethink your decision to not use the Workspace or WebCenter Spaces tools, but because you're not going to use either one you will instead be building your forms using the form design tool of your choice.
    Although I'd advise you against recreating it, you'll need to become comfortable using the different APIs Oracle BPM exposes if you're going to try to duplicate the Workspace and WebCenter Spaces tool functionality.
    Here's the API JavaDoc and a few blogs that will give you some tips on getting started:
    API JavaDoc reference -
    http://docs.oracle.com/cd/E28280_01/apirefs.1111/e25378/toc.htm
    http://docs.oracle.com/cd/E14571_01/apirefs.1111/e10660/oracle/bpel/services/workflow/query/ITaskQueryService.html
    http://docs.oracle.com/cd/E28389_01/apirefs.1111/e25378/oracle/bpm/services/instancequery/IInstanceQueryService.html
    Simple list example -
    http://soadev.blogspot.in/2011/07/querying-oracle-bpm-process-instances.html
    Aborting instances -
    http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e10659/oracle/soa/management/facade/package-tree.html
    Creating instances -
    http://niallcblogs.blogspot.com/2011/12/invoking-bpm-processes-via-java.html
    Building a custom worklist ap -
    http://redstack.wordpress.com/worklist/
    http://redstack.wordpress.com/2011/03/09/creating-the-domain-layer-for-the-worklist/
    http://redstack.wordpress.com/2011/03/09/implementing-task-initiation/
    Purging Instances -
    http://niallcblogs.blogspot.com/2011/12/soabpm-apis-manipulating-composites-and.html
    Instance Query -
    http://java.net/projects/oraclebpmsuite11g/downloads/directory/Samples/bpm-api-101-instance-query
    Human Workflow Services / Human Task API -
    http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_workflow.htm
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e10660/toc.htm
    Oracle BPM 11g Human Workflow Service Java API – Part 1
       http://niallcblogs.blogspot.com/2010/11/oracle-human-workflow-service-java-api.html
    Oracle BPM 11g Human Workflow Service Java API – Part 2
       http://niallcblogs.blogspot.com/2010/11/human-workflow-java-api-part-2.html
    Oracle BPM 11g Human Workflow Service Java API – Part 3 – ITaskQueryService.AssignmentFilter
       http://niallcblogs.blogspot.com/2010/12/oracle-human-workflow-part-3.html
    UMS API:
    http://docs.oracle.com/cd/E28280_01/apirefs.1111/e14011/toc.htm
    Dan

Maybe you are looking for