Oracle Fusion Middleware Disaster Recovery Poll

Advertisements

Hudson Server: Access denied User is missing the Read permission

Recently, i have been evaluating Hudson Server V 2.2  to build continuous integration for a SOA/ADF infrastructure.

The overall experience was “interestingly challenging”!!

One fine day, i messed-up the security configuration while doing a prototype for role-based security strategy for different stakeholders in the project.

Having locked-out myself, i get the below error after successful login  – “Access denied User is missing the Read permission.”

Finally manage to break-in after updating “false” to "useSecurity" element in config.xml.

 

BPEL Persistence Properties – 11g

Tags

, , , , ,

BPEL Persistance properties are used to control, when a process need to dehydrate. Below are the properties which we can use to control it for BPEL Component in a Composite.

inMemoryOptimization

This property indicates to Oracle BPEL Server that this process is a transient process and dehydration of the instance is not required. When set to true, Oracle BPEL Server keeps the instances of this process in memory only during the course of execution. This property can only be set to true for transient processes (process type does not incur any intermediate dehydration points during execution).

  • false (default): instances are persisted completely and recorded in the dehydration store database for a synchronous BPEL process.
  • true: Oracle BPEL Process Manager keeps instances in memory only.

completionPersistPolicy

This property controls if and when to persist instances. If an instance is not saved, it does not appear in Oracle BPEL Console. This property is applicable to transient BPEL processes (process type does not incur any intermediate dehydration points during execution).

This property is only used when inMemoryOptimization is set to true.

This parameter strongly impacts the amount of data stored in the database (in particular, the cube_instance, cube_scope, and work_item tables). It can also impact throughput.

  • on (default): The completed instance is saved normally.
  • deferred: The completed instance is saved, but with a different thread and in another transaction, If a server fails, some instances may not be saved.
  • faulted: Only the faulted instances are saved.
  • off: No instances of this process are saved.

<component name="mybpelproc">
...
<property name="bpel.config.completionPersistPolicy">faulted</property>
<property name="bpel.config.inMemoryOptimization">true</property>
...
</component>

oneWayDeliveryPolicy

This property controls database persistence of messages entering Oracle BPEL Server. Its used when we need to have a sync-type call based on a one way operation. This is mainly used when we need to make an adapter synchronous to the BPEL Process.

By default, incoming requests are saved in the following delivery service database tables: dlv_message

  • async.persist: Messages are persisted in the database.
  • sync.cache: Messages are stored in memory.
  • sync: Direct invocation occurs on the same thread.

<component name="UnitOfOrderConsumerBPELProcess">
...
<property name="bpel.config.transaction" >required</property>
<property name="bpel.config.oneWayDeliveryPolicy">sync</property>
...
</component>

General Recommendations:

1. If your Synchronous process exceed, say 1000 instances per hour, then its better to set inMemoryOptimization to true and completionPersistPolicy to faulted, So that we can get better throughput, only faulted instances gets dehydrated in the database, its goes easy on the purge (purging historical instance data from database)

2. Do not include any settings to persist your process such as (Dehydrate, mid process receive, wait or Onmessage)

3. Have good logging on your BPEL Process, so that you can see log messages in the diagnostic log files for troubleshooting.

Error creating PL/SQL Object WRITE_LINE:PROCEDURE ~ RCU – ofm_rcu_win_11.1.1.5.0

Error while create the database schemas of SOA Suite using RCU – ofm_rcu_win_11.1.1.5.0

ERROR rcu: oracle.sysman.assistants.rcu.backend.action.AbstractAction::handleNonIgnorableError: Received Non-Ignorable Error: Error creating PL/SQL Object WRITE_LINE:PROCEDURE

ERROR rcu: oracle.sysman.assistants.rcu.backend.action.AbstractAction::handleNonIgnorableError: Received Non-Ignorable Error: Error creating PL/SQL Object DEBUG_PURGE:PROCEDURE

Resolution

  1. Before running rcu, the variable RCU_JDBC_TRIM_BLOCKS should be set to TRUE in the OS Level. In windows, before running rcu.bat, run the below statement should be executed.

      %DCU_HOME%> set RCU_JDBC_TRIM_BLOCKS = TRUE

2.  Ensure you use “sys” user while connecting from RCU. If you are using the any other user like system, then following grant should be given.

    SQL> grant execute on sys.dbms_lock to system with grant option

Error:ServletContainerAdapter manager not initialized correctly ~ Weblogic Startup

Error

When using the Weblogic Administration Console, you may notice below error

<Error> <org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000> <ServletContainerAdapter manager not initialized
correctly.>

Resolution

This error can be safely ignored in the development environment. For production environment, consult with Oracle support. The reference on this error is also available in the weblogic documentation- CR#361988 HERE