Friday, August 15, 2008

BPEL context properties for Client API invocation

Java Class Locator

"Locator" class Java APIs are used to connect to oracle BPEL.
The locator requires a BPEL Context properties to be loaded as parameter as part of the Locator initialization. So I need to know what the properties looks like.

Properties looks like this

The propeties should look like
=================properties file START===========================================
orabpel.platform={Oracle Application Server Platform}
java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
java.naming.provider.url=opmn:ormi://{hostname}:{port}:{oc4jinstance}/orabpel
java.naming.security.principal={username}
java.naming.security.credentials={password}

=================properties file END=============================================


Sample properties
=================properties file START=======================================
orabpel.platform=ias_10g
java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
java.naming.provider.url=opmn:ormi://localhost:6003:home/orabpel
java.naming.security.principal=oc4jadmin
java.naming.security.credentials=welcome1

=================properties file END=========================================


Where do I find the property values?

There are multiple ways to identify what the these property values are.
One of the easiest wasy is through the BPEL Console. Here is how I do it.

Open the BPEL console --> Click Goto BPEL Admin --> Login to the Admin console

The default page that opens is SERVER --> under the tab Configuration
the following value correspond to the following property
"jndiProviderURL" = "java.naming.provider.url"
"bpelPlatform" = "orabpel.platform"

1 comment:

maximiliano guierrez said...

Hi! Im using API but in a cluster BPEL installed in a Group in of OC4Js SOA.
Which is the configuration for this enviroment?
Im using a LBR for this......
Thanks
maximiliano