Tuesday, February 11, 2014

SOA Suite - Disable B2B

Log on the Enterprise Manager and navigate to soa-infra.  Right click and open the SOA Infrastructure menu, then SOA Administration, then B2B Server Properties.



Click on the More B2B Configuration Properties link.

Go to the Operations tab. Click on the addProperty operation to define a new property.

In the key field, enter b2b.donot_initialize.  In the value field, enter true. Click on the Invoke button to add the property.

Restart server.

Also disable the DBMS job that refreshes the B2B materialized view by executing following command in database.

alter materialized view dev_soainfra.b2b_system_mv refresh on demand;

Monday, February 10, 2014

BPM 11g PS6 Installation - Tips

If you are planning to install BPM 11g PS6, please choose listen address as hostname instead of localhost. Some functionalities like BPM Composer won't work properly if you set listen address to localhost.

You will face login related issues/errors, if you set listen address to localhost.

Error Messages:
1. Could not deserialize session data. java.lang.IllegalStateException: HttpSession is invalid

2. javax.security.auth.login.LoginException: Operation exception.
Caused by: fuego.papi.OperationException: Operation exception.
... 61 more
Caused by: ORABPEL-10585

Service error.
Internal Error; Service error occurs in IdentityService in method lookupUser.
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.lookupUser(AbstractIdentityServiceClient.java:200)
Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect

3. Caused by: oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://abc-xyz:8001: Destination unreachable; nested exception is:

Solution:
If you have already installed BPM suite and facing issues, change localhost to hostname in following locaitons.
1. Login to Weblogic Console. Navigate to Environment --> Servers
2. Click on AdminServer. General --> Configuration. Set listen address to hostname or machine name
3. Navigate to Protocols --> HTTP. Set Frontend Host and Frontend HTTPPort respectively.
4. Repeat above steps for remaining managed servers where SOA/BPM installed
5. Login to EM console. Right click on soa-infra. SOA Administration --> Common Properties. Set Server URL and Callback Server URL. For Ex: http://abx-xyz:8001
6. Go to File system. Navigate to <DOMAIN_HOME>/bin directory. Open startManagedWebLogic.cmd or .sh file. Change ADMIN_URL property to proper hostname value instead of localhost.
7. Reboot complete Weblogic domain.