Tuesday, May 16, 2006

BPEL 10.1.2.0.0 Issues & Workarounds

1. Following error while invoking a web service:


when invoking locally the endpoint 'http://:/webservice/services/WebService', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "services" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.


ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "services" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.



Click here.


2. Following error while displaying tasks (notifications) :
500 Internal Server Error
java.lang.Error: Unresolved compilation problem: The method setRootElement(Element) is undefined for the type FacadeElem at org.example.www.facProxySchema.FacadeElemFactory.createFacade(FacadeElemFactory.java:65) at _listTasks._jspService(_listTasks.java:138)


Workaround - schemac again:(

3. Following error in sending emails (invoke for sendMail):


Unknown SMTP host: dlsun4254.us.oracle.com; nested exception is: java.net.UnknownHostException: dlsun4254.us.oracle.com



4. Following error while deploying webservices:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
oracle.xml.parser.v2.XMLDOMException: invalid namespace null for prefix null
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: oracle.xml.parser.v2.XMLDOMException: invalid namespace null for prefix null
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:


Solution/Workarounds:
-Place xmlparserv2.xml under bpel10.1.2.0.2/lib and put in bpel10.1.2.0.0/lib.

Monday, May 15, 2006

bpel.xml file

bpel.xml is the deployment descriptor. It has wsdl locations of all the web services the bpel process is invoking.

Also, other configurations may be set in this file (within tab).
Example:
1. Passing parameters from a jsp that invokes the bpel process.








]]>


2. Certain properties (like db prop) may be set in this file so that they dont need to be hardcoded in the bpel process itself. Click here for more information about setting properties in bpel.xml.

Friday, May 12, 2006

Reading properties from bpel.xml

You can define properties in bpel.xml file and then read these in the BPEL process using ora:getPreference("propname"). One of the adv being avoiding having any hard coded stuff in the bpel process.

Example - Define in bpel.xml
preferences
property name="sid"bpeldb/property
preferences

These may be read inside the bpel process:
String sidName= getPreference("sid");

Tuesday, May 09, 2006

BPEL Logging

Changes to the level of logging may be changed in the BPEL console >Manage BPEl Domains tab > Logging.

Logging level may be any one of the following:
--Debug
--Info
--Warn
--Error
--Fatal
--Off

Also, auditLevel (Under Configuration in Manage BPEL Domain) may also be set in the manage bpel domain to any of the following:
a. Off (no logging)
b. minimal (without any audit details)
c. production (all events logged, except assign activity)
d. development (all events logged, including assign activity)

Thursday, May 04, 2006

Time out with Notification Service

There is an issue with the notification service. It times out quite often.
There is a patch available for that (that may be obtained from metalink) - 5014466. However this patch works with only the 10.1.2.0.0 version.
There is no backport of the fix to 10.1.2.0.2 as of now.

With 10.1.2.0.2 version, it gives the following error:

+++++++++++++++++++++++++++++++
Oracle Interim Patch Installer version 1.0.0.0.52
Copyright (c) 2005 Oracle Corporation. All Rights Reserved..

We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com

Oracle Home = /opt/oraias/oas/obpel
Location of Oracle Universal Installer components = /opt/oraias/oas/obpel/oui
Location of OraInstaller.jar = "/opt/oraias/oas/obpel/oui/jlib"
Oracle Universal Installer shared library = /opt/oraias/oas/obpel/oui/lib/linux/
liboraInstaller.so
Location of Oracle Inventory Pointer = /etc/oraInst.loc
Location of Oracle Inventory = /opt/oraias/oas/obpel/inventory
Path to Java = /opt/oraias/oas/obpel/jre/1.4.2/bin/java
Log file = /opt/oraias/oas/obpel/.patch_storage//*.log


MISSING_COMPONENT : oracle.tip.pcbpel.runtime, 10.1.2.0.0 (found a component wit
h higher version)


This Oracle Home does not have components/versions required by the patch.

ERROR: OPatch failed during pre-reqs check.
++++++++++++++++++++++++++++++++++++++++++++++
A tar was opened on 2nd May 2006 with Oracle for this issue.