Error in compiling the BPEL process
Hi,
I am getting the following error while compiling the BPEL process. Its a simple process with a Pick activity and have two onMessage activities. One of the activity is having the correlation set and another one is not. Is that the problem ? If yes what should I do to resolve this.
Any thoughts ?
{color:#ff0000}[bpelc] classpath is: C:\apache-maven-2.0.9\boot\classworlds-1.1.jar;D:\workspace\Eclipse\ExternalUserWorkflow\src\test\resources\ContractorServiceFailureDeployment;D:\oracle\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-ant.jar;D:\oracle\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-boot.jar;D:\oracle\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;D:\oracle\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-exts.jar;D:\oracle\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar;D:\oracle\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;D:\oracle\product\10.1.3.1\OracleAS_1\bpel\lib\xmlparserv2.jar
[bpelc] C:\DOCUME~1\krishnaa\LOCALS~1\Temp\bpelc1637.tmp\BPEL-INF\src\bpel\test\BPEL_BIN.java:5656: nested class bpel.test.BPEL_BIN. $BPELC_BpRpl0 must be declared abstract. It does not define java.lang.String __getInitiateCorrelationSetNames()[] from class com.collaxa.cube.engine.ext.wmp.BPELReplyWMP.
[bpelc] public final static class $BPELC_BpRpl0 extends com.collaxa.cube.engine.ext.wmp.BPELReplyWMP
[bpelc] ^
[bpelc] 1 error
[bpelc] ORABPEL-01005
[bpelc]
[bpelc] Failed to compile classes.{color}
Thank you.
It looks to me that, you have manually changed something in the BPEL process code.
A process designed via Jdev/designer can only have one variable in inputHeaderVariable syntax.
While Bpel standard supports calling inputHeaderVariable with two variables, if the generated file was tinkered with to add an extra variable, then this is not Jdev bug and you need to use the latest JDev 10.1.3.4.
If you are not manually modifying or tinkering the process, then let me know what are the errors you get out of compiling that new BPEL project in JDeveloper 10.1.3.4 ?
Hope this helps!
Cheers
Anirudh Pucha
Similar Messages
-
Errors occured when compile the bpel process
Errors occurred when compile the bpel process using bpel designer for Eclipse:
(com.oracle.bpel.designer_0.9.13)
using PM: bpel_jboss_101200
More error infomation following:
Buildfile: E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml
main:
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: Invalid expression statement.
[bpelc] retun true;
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: ';' expected.
[bpelc] retun true;
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:208: Method setPartneLinkBinding(com.collaxa.cube.rm.suitcase.PartnerLinkBindingDescriptor) not found in class com.collaxa.cube.engine.types.bpel.CXPartnerLink.
[bpelc] __pl.setPartneLinkBinding(getProcessDescriptor().getPartnerLinkBindings().getPartnerLinkBinding(__pl.getName()));
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:584: Undefined variable: __ctx
[bpelc] __setOutgoingLinks(__sc, __ctx);
[bpelc] ^
[bpelc] 4 errors
BUILD FAILED
E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml:28: ORABPEL-01005
Error in java files auto-generated when compiling ,why?
Thanks!when compiled again without any change, the same errors like above are not occurs
more info.
Buildfile: E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml
main:
BUILD SUCCESSFUL
Total time: 9 seconds
BUT, some errors occurs in BPEL PM server and in Console the process is not available
more Info: Because I using Chinese version,some chinese Info occurs in the error infomation ,so i have translated some character into English.
process "AboutTest" (version "1.0") compiled sucessfully
15:49:15,718 INFO [STDOUT] <2007-05-11 15:49:15,718> <INFO> <default.collaxa.cu
be.engine.deployment> process "AboutTest" (version "1.0") loaded sucessfully.
16:25:25,265 INFO [STDOUT] <2007-05-11 16:25:25,250> <INFO> <default.collaxa.cu
be.compiler> validating "E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0.jar\
AboutTest.bpel" ...
16:25:35,015 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
.jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: Invalid expression statement.
16:25:35,015 INFO [STDOUT] retun true;
16:25:35,015 INFO [STDOUT] ^
16:25:35,031 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
.jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: ';' expected.
16:25:35,031 INFO [STDOUT] retun true;
16:25:35,031 INFO [STDOUT] ^
16:25:35,859 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
.jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:208: Method setPartneLinkBinding(com.col
laxa.cube.rm.suitcase.PartnerLinkBindingDescriptor) not found in class com.colla
xa.cube.engine.types.bpel.CXPartnerLink.
16:25:35,859 INFO [STDOUT] __pl.setPartneLinkBinding(getProcessDescript
or().getPartnerLinkBindings().getPartnerLinkBinding(__pl.getName()));
16:25:35,859 INFO [STDOUT] ^
16:25:35,859 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
.jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:584: Undefined variable: __ctx
16:25:35,859 INFO [STDOUT] __setOutgoingLinks(__sc, __ctx);
16:25:35,859 INFO [STDOUT] ^
16:25:35,859 INFO [STDOUT] 4 errors
16:25:36,343 INFO [STDOUT] <2007-05-11 16:25:36,312> <ERROR> <default.collaxa.c
ube.engine.deployment> <CubeProcessFactory::generateProcessClass>
process "AboutTest" (version "1.0") compiled failed.
16:25:36,359 INFO [STDOUT] <2007-05-11 16:25:36,359> <ERROR> <default.collaxa.c
ube.engine.deployment> <CubeProcessLoader::create> can not compile the class .
can not compile the bpel class generated from "AboutTest".
16:25:36,375 INFO [STDOUT] <2007-05-11 16:25:36,375> <ERROR> <default.collaxa.c
ube.engine.deployment> process "AboutTest" (version "1.0") loaded failed!!
16:25:37,281 INFO [STDOUT] <2007-05-11 16:25:37,265> <ERROR> <default.collaxa.c
ube> <BaseCubeSessionBean::logError>
if you have installed patched in server, please check whether the proriety "bpelcClasspath" contained the patch class.
16:25:37,343 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
sHolder.bind(CubeProcessHolder.java:1257)
16:25:37,343 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
sHolder.loadAndBind(CubeProcessHolder.java:870)
16:25:37,421 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
sHolder.loadArchive(CubeProcessHolder.java:812)
16:25:37,421 INFO [STDOUT] at com.collaxa.cube.engine.CubeEngine.loadProces
sArchive(CubeEngine.java:985)
16:25:37,421 INFO [STDOUT] at com.collaxa.cube.ejb.impl.BPELDomainManagerBe
an.loadProcessArchive(BPELDomainManagerBean.java:390)
16:25:37,421 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
16:25:37,421 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
16:25:37,421 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
16:25:37,421 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$Conta
inerInterceptor.invoke(StatelessSessionContainer.java:683)
16:25:37,421 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedCo
nnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanc
eInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
nvokeNext(AbstractTxInterceptor.java:84)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(TxInterceptorCMT.java:282)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:148)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.inv
oke(SecurityInterceptor.java:111)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
ogInterceptor.java:191)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInter
ceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer.inter
nalInvoke(StatelessSessionContainer.java:331)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java
:709)
16:25:37,437 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor81.invoke(
Unknown Source)
16:25:37,437 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
16:25:37,437 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispa
tch(ReflectedDispatcher.java:60)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:62)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:54)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:82)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:197)
16:25:37,453 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:473)
16:25:37,453 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invok
e(LocalInvoker.java:97)
16:25:37,453 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invok
e(InvokerInterceptor.java:90)
16:25:37,453 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke
(TransactionInterceptor.java:46)
16:25:37,453 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(Se
curityInterceptor.java:55)
16:25:37,453 INFO [STDOUT] at org.jboss.proxy.ejb.StatelessSessionIntercept
or.invoke(StatelessSessionInterceptor.java:100)
16:25:37,453 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(Client
Container.java:85)
16:25:37,453 INFO [STDOUT] at $Proxy146.loadProcessArchive(Unknown Source)
16:25:37,453 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
sMonitorWork.run(CubeProcessMonitorWork.java:129)
16:25:37,453 INFO [STDOUT] at oracle.tip.adapter.fw.jca.work.WorkerJob.go(W
orkerJob.java:51)
16:25:37,453 INFO [STDOUT] at oracle.tip.adapter.fw.common.ThreadPool.run(T
hreadPool.java:267)
16:25:37,453 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
16:25:37,453 INFO [STDOUT] <2007-05-11 16:25:37,453> <ERROR> <default.collaxa.c
ube.engine.deployment> <CubeProcessMonitorWork::run> Error while loading process
archive E:\OraBPELPM\domains\default\deploy\bpel_AboutTest_1.0.jar
why?
thanks -
Error While Deploying the BPEL Process using obant script
Hi All,
I am getting the following error while deploying the BPEL Process using obant script. we are using the BPEL Version 10.1.2.0.2.Any information in this regard will be really helpful.
Buildfile: build.xml
main:
[bpelc] file:/home5102/dibyap/saravana/Test/CreditRatingService.wsdl
[bpelc] validating "/home5102/dibyap/saravana/Test/CreditRatingService.bpel" ...
BUILD FAILED
/home5102/dibyap/saravana/Test/build.xml:15: ORABPEL-01002
Domain directory not found.
The process cannot be deployed to domain "default" because the domain directory "/opt02/app/ESIT/oracle/esit10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/default/deploy" cannot be found or cannot b
e written to.
Please check your -deploy option value; "default" must refer to a domain that has been installed locally on your machine.
Total time: 23 seconds
dibyap@ios5102_ESIBT:/home5102/dibyap/saravana/Test>
Thanks,
SaravanaIn 10.1.2.0.2 you need to create your own build.xml
I have found an example, it may be of some help. This does call a property file
cheers
James
<?xml version="1.0" ?>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run cxant on this file to build, package and deploy the
ASB_EFT BPEL process
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<project name="ASB_EFT" default="main" basedir=".">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Name of the domain the generated BPEL suitcase will be deployed to
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="deploy" value="default" />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What version number should be used to tag the generated BPEL archive?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="rev" value="1.0" />
<!-- BPEL Best Practices Properties -->
<!-- Defaults Properties for TARGET environments
# CHANGE THIS FILE TO REFLECT THE TARGET ENVIRONEMNT
# either dev, test, or prod.properties
-->
<property file="ebusd.properties"/>
<property name="env" value="${env.name}"/>
<property name="current.project.name" value="${project.name}"/>
<property name="target.project.name" value="${project.name}_${env}"/>
<property name="deployment.profile" value ="${env}.properties"/>
<property name="source.development.directory" location="${basedir}"/>
<property name="target.env.directory" location="${basedir}/deploy/${project.name}_${env}"/>
<property file="${deployment.profile}"/>
<property name="build.fileencoding" value="UTF-8"/>
<!-- Prints Environment
-->
<target name="print.env" description="Display environment settings">
<echo message="Base Directory: ${basedir}"/>
<echo message="Deployment Profile: ${deployment.profile}"/>
<echo message="target.env.directory: ${target.env.directory}"/>
<echo message="Deploy to Domain: ${deployToDomain}"/>
<echo/>
<echo message="os.name: ${os.name}"/>
<echo message="os.version: ${os.version}"/>
<echo message="os.arch: ${os.arch}"/>
<echo/>
<echo message="java.home: ${java.home}"/>
<echo message="java.vm.name: ${java.vm.name}"/>
<echo message="java.vm.vendor: ${java.vm.vendor}"/>
<echo message="java.vm.version: ${java.vm.version}"/>
<echo message="java.class.path: ${java.class.path}"/>
<echo/>
<echo message="env: ${env}"/>
<echo message="current.project.name: ${current.project.name}"/>
<echo message="target.project.name: ${target.project.name}"/>
<echo message="server.name: ${server.name}"/>
</target>
<!--
Copies the current directory structure along with
all the file into the target.env.directory and
change the name of the project
-->
<target name="create.environment">
<copy todir="${target.env.directory}">
<fileset dir="${basedir}"/>
<filterset begintoken="@" endtoken="@">
<filtersfile file="${deployment.profile}"/>
</filterset>
</copy>
<move file="${target.env.directory}/${current.project.name}.jpr" tofile="${target.env.directory}/${target.project.name}.jpr"/>
</target>
<target name="main">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the bpelc task compiles and package BPEL processes into versioned BPEL
archives (bpel_...jar). See the "Programming BPEL" guide for more
information on the options of this task.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
</target>
</project>
here is a property file
project.name=ASB_EFT
env.name=ebusd
deployToDomain=default
server.name=[server]
server.port=7788
ebusd\:7788=http://[server]:7788/
IntegrationMailAccount=OracleBPELTest
IntegrationMailAddress=[email]
IntegrationMailPassword=[password]
archivedir=[directory]
inbounddir=/[directory]
errordir=[directory]
outbounddir=[directory]
bpelpw=bpel
dbhost1=[dbserver]
dbhost2=[dbserver]
dbport=1523
dbservice=bpel
dbconnstr=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523))(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523)))(CONNECT_DATA=(SERVICE_NAME=ebusd))) -
Error while deploying the BPEL process
Hi All,
I’m getting the following error while deploying the BPEL process.
“Error:
[Error ORABPEL-10903]: failed to read wsdl
[Description]: in "bpel.xml", Error loading schemas from wsdl.
Error while loading schemas from wsdl file at location "http://ios0501e.idc.ikon.org:7720/vertex-ws/calculate-tax-wsdl.jsp?WSDL". The reason is .
Please verify the schemas defined in wsdl.
[Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
Kindly let me know if you have any pointers on the above.
Thanks in Advance.
Regards
SravanaCheck you proxy settings. Disable them in your deployment tool / JDeveloper
-
Getting Error While deploying the BPEL process
Hi All,
I am getting the following error while deploying the BPELProcess. The BPEL process is simple one which is having a Recieve from client and another Recieve from FTPAdapterfor Recieve Operation.
Help me in resolving this. Thankyou.
Process "BPELProcess3" (revision "v2009_02_02__34994") successfully compiled.
<2009-02-02 09:51:06,356> <INFO> <default.collaxa.cube.engine.deployment> Process "BPELProcess3" (revision "v2009_02_02__34994") successfully loaded.
<2009-02-02 09:51:18,088> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Correlation definition not registered.
The correlation set definition for operation "Get", process "BPELProcess3", has not been registered with the process domain.
Please try to redeploy your process to the process domain.
ORABPEL-03802
Correlation definition not registered.
The correlation set definition for operation "Get", process "BPELProcess3", has not been registered with the process domain.
Please try to redeploy your process to the process domain.
at com.collaxa.cube.engine.delivery.CorrelationRegistry.resolve(CorrelationRegistry.java:91)
at com.collaxa.cube.engine.delivery.DeliveryHelper.createCorrelationSet(DeliveryHelper.java:94)
at com.collaxa.cube.engine.delivery.SOAPProtocolHandler.calculateCorrelations(SOAPProtocolHandler.java:751)
at com.collaxa.cube.engine.delivery.SOAPProtocolHandler.receiveCallback(SOAPProtocolHandler.java:167)
at com.collaxa.cube.engine.delivery.DeliveryService.receiveCallback(DeliveryService.java:446)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.receiveCallback(CubeDeliveryBean.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.receiveCallback(Unknown Source)
at com.collaxa.cube.engine.delivery.DeliveryHandler.continuePostAnyType(DeliveryHandler.java:416)
at com.collaxa.cube.engine.delivery.DeliveryHandler.continuePost(DeliveryHandler.java:370)
at com.collaxa.cube.engine.delivery.DeliveryHandler.post(DeliveryHandler.java:88)
at com.collaxa.cube.ejb.impl.DeliveryBean.post(DeliveryBean.java:201)
at com.collaxa.cube.ejb.impl.DeliveryBean.post(DeliveryBean.java:156)
at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DeliveryBean_RemoteProxy_4bin6i8.post(Unknown Source)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:195)
at oracle.tip.adapter.fw.AdapterFrameworkListenerBase$DeliveryServiceMonitor.send(AdapterFrameworkListenerBase.java:2543)
at oracle.tip.adapter.fw.AdapterFrameworkListenerBase.executeDeliveryServiceSend(AdapterFrameworkListenerBase.java:569)
at oracle.tip.adapter.fw.AdapterFrameworkListenerBase.deliveryServiceSend(AdapterFrameworkListenerBase.java:625)
at oracle.tip.adapter.fw.jca.AdapterFrameworkListenerImpl.performSingleActivation(AdapterFrameworkListenerImpl.java:952)
at oracle.tip.adapter.fw.jca.AdapterFrameworkListenerImpl.onMessage(AdapterFrameworkListenerImpl.java:799)
at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:281)
at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:826)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:228)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:179)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
at java.lang.Thread.run(Thread.java:595)Yes you are right. I do have two recieves and I think I need to set the Correlation set is it so ?
here is the code from my bpel file
<!-- Receive input from requestor. (Note: This maps to operation defined in BPELProcess3.wsdl) -->
<receive name="receiveInput" partnerLink="client"
portType="client:BPELProcess3" operation="initiate"
variable="inputVariable" createInstance="yes">
</receive>
<!--
Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
-->
<receive name="Poll_For_Zip_File" partnerLink="FileBinaryRead"
portType="ns1:Get_ptt" operation="Get"
variable="Poll_For_Zip_File_Get_InputVariable"
createInstance="no" bpelx:headerVariable="MyInBoundHeader">
</receive>
Please let me know how can I add the correlation If I had to add in my bepl process. -
Error while deployoing the bPEL Process
Hi ,
I'm getting the below error when i'm trying to deploy a BPEL Process.
It got deployed and in the OPMN log i see the below error:
May 20, 2008 12:34:21 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Recoverable exception caught when processing request
May 20, 2008 12:34:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Recoverable exception caught when processing request
May 20, 2008 12:34:42 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Recoverable exception caught when processing request
May 20, 2008 12:34:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Recoverable exception caught when processing request
May 20, 2008 12:34:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
08/05/20 12:34:53 org.apache.commons.httpclient.IOTimeoutException: Read timed out
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpConnection$WrappedInputStream.handleException(HttpConnection.java:1338)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpConnection$WrappedInputStream.read(HttpConnection.java:1348)
08/05/20 12:34:53 at java.io.FilterInputStream.read(FilterInputStream.java:66)
08/05/20 12:34:53 at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:76)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:104)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1042)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1782)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1543)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:977)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:368)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:164)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:437)
08/05/20 12:34:53 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
08/05/20 12:34:53 at oracle.tip.esb.configuration.deployment.bpel.BPELSvcDeploymentManager.postZipFile(Unknown Source)
08/05/20 12:34:53 at oracle.tip.esb.configuration.deployment.bpel.BPELSvcDeploymentManager.onProcessDeploy(Unknown Source)
08/05/20 12:34:53 at oracle.tip.esb.configuration.deployment.bpel.BPELSvcDeploymentManager.update(Unknown Source)
08/05/20 12:34:53 at com.collaxa.cube.engine.observer.DomainObserverRegistry.notify(DomainObserverRegistry.java:272)
08/05/20 12:34:53 at com.collaxa.cube.engine.observer.DomainObserverRegistry.notify(DomainObserverRegistry.java:82)
08/05/20 12:34:53 at com.collaxa.cube.engine.observer.DomainObserverHelper.onProcessDeploy(DomainObserverHelper.java:60)
08/05/20 12:34:53 at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:767)
08/05/20 12:34:53 at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:639)
08/05/20 12:34:53 at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:452)
08/05/20 12:34:53 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08/05/20 12:34:53 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08/05/20 12:34:53 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08/05/20 12:34:53 at java.lang.reflect.Method.invoke(Method.java:585)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
08/05/20 12:34:53 at com.evermind.server.ThreadState.runAs(ThreadState.java:618)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
08/05/20 12:34:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
08/05/20 12:34:53 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
08/05/20 12:34:53 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
08/05/20 12:34:53 at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
08/05/20 12:34:53 at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:318)
08/05/20 12:34:53 at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:340)
08/05/20 12:34:53 at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
08/05/20 12:34:53 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
08/05/20 12:34:53 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
08/05/20 12:34:53 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
08/05/20 12:34:53 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
08/05/20 12:34:53 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
08/05/20 12:34:53 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
08/05/20 12:34:53 at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
08/05/20 12:34:53 at java.security.AccessController.doPrivileged(Native Method)
08/05/20 12:34:53 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
08/05/20 12:34:53 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
08/05/20 12:34:53 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
08/05/20 12:34:53 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
08/05/20 12:34:53 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
08/05/20 12:34:53 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
08/05/20 12:34:53 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
08/05/20 12:34:53 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
08/05/20 12:34:53 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
08/05/20 12:34:53 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
08/05/20 12:34:53 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
08/05/20 12:34:53 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
08/05/20 12:34:53 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
08/05/20 12:34:53 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
08/05/20 12:34:53 at java.lang.Thread.run(Thread.java:595)
08/05/20 12:34:54 >>>>>>>>>>>>>>>>>>>>>>>>>>>>> PROCESS GUID = MD5{aff5f97eb9cef4c782fc2910f143f14d}
08/05/20 12:34:54 >>>>>>>>>>>>>>>>>>>>>>>>>>>> SUITCASE ID = RevenueItemOperationsServiceCallback_1.0_dade4b4fc524e23a646e910212ef7e7e
08/05/20 12:34:54 @#############@##@ CLOB = oracle.lite.poljdbc.CLOB@11f0521
Any help is appreciated.
Thanks
PavanHi,
I tried to deploy it once agian but it i see only two lines of error lines instead of the above big error message. It is just pushing the below lines:
Process "RevenueItemOperationsServiceCallback" (revision "1.1") successfully compiled.
<2008-05-21 09:44:56,029> <INFO> <default.collaxa.cube.engine.deployment> Process "RevenueItemOperationsServiceCallback" (revision "1.1") successfully loaded.
May 21, 2008 9:45:06 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Recoverable exception caught when processing request
08/05/21 09:45:07 @#############@##@ CLOB = oracle.lite.poljdbc.CLOB@c6ce80
But Both the errors seems to be one and the same.
and when i post the XML message from BPEL Console it gives me a time out exception .
ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "delivery": Waiting for response has timed out. The conversation id is LocalGUID:8f79d87118a631bf:4a1f6408:11a0b9346ac:-7f62. Please check the process instance for detail.
com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is LocalGUID:8f79d87118a631bf:4a1f6408:11a0b9346ac:-7f62. Please check the process instance for detail.
Any idea whats happening? -
Urgent:Error while deploying the BPEL process
Hi,
I am doing a BPEL process to insert some data into employees table depending upon the employee Number. Means before inserting data, a check should be made whether that employee number already exists or not.If it exists then we have to update the existing record. If it is not existing then we have to insert the new data into table.
While I deploy it in server it is building successfully . But when I go and check in BPEL console, Its saying Cannot Find the Specified Instance.When I checked the domain.log file its showing the following error.
<2008-04-16 11:36:42,096> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "finder": Instance not found in datasource.
The process domain was unable to fetch the instance with key "154a319e5bf910cf:-228bed1a:1195573997c:-7f93" from the datasource.
Please check that the instance key "154a319e5bf910cf:-228bed1a:1195573997c:-7f93" refers to a valid instance that has been started and not removed from the process domain.
ORABPEL-02152 Instance not found in datasource.
The process domain was unable to fetch the instance with key "154a319e5bf910cf:-228bed1a:1195573997c:-7f93" from the datasource.
Please check that the instance key "154a319e5bf910cf:-228bed1a:1195573997c:-7f93" refers to a valid instance that has been started and not removed from the process domain.
at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:327)
at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:275)
at com.collaxa.cube.engine.data.AdminFinder.lookupInstanceByConversationId(AdminFinder.java:248)
at com.collaxa.cube.ejb.impl.FinderBean.lookupInstanceByConversationId(FinderBean.java:179)
at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:618)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at FinderBean_RemoteProxy_4bin6i8.lookupInstanceByConversationId(Unknown Source)
at com.oracle.bpel.client.Locator.lookupInstance(Locator.java:448)
at displayInstance.jspService(_displayInstance.java:109)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
I have searched in forum itself to find any solution for this . I found many people had same error. But its not given a solution for those posts..
It will be very helpful if anyone could resolve this issue.
Thanks,
NasiyaNow that error got solved. Thanks
I am using a switch case in my BPEL process.In the first case I am writing the condition
bpws:getVariableData('CheckEmployeeIdSelect_OutputVariable','EmpCollection','/ns2:EmpCollection/ns2:Emp/ns2:empno') = 'null'
and in the second case I am writing the condition
bpws:getVariableData('CheckEmployeeIdSelect_OutputVariable','EmpCollection','/ns2:EmpCollection/ns2:Emp') != 'null'
If it satisfies the first case then an insert to a table should be performed. And if it satisfies the second case an update should be performed in the table. But only the second case is working.
Can anyone suggest what could be the problem..
Thanks,
Nasiya -
How to get error message from the BPEL process
Hi,
We have some BPEL processes running in BPEL PM 10g. If any of these BPEL process fails, we would like to get the error message caused this process to fail.
Please let me know where does the BPEL proccess holds (table/file) these details. or is it possible to get the error message programatically.
ThanksYou can go through below link that can help
http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/faults.htm#sthref1186
http://bpelknowledge.blogspot.com/2010/07/error-conditions-that-cannot-be-handled.html
http://blog.whitehorses.nl/2009/11/03/error-handling-in-soa-suite-11g/
Hope it helps!!
Thanks
AJ -
AuthorizationFailure Error while executing the BPEL Process
Hi,
We have created BPEL Process with Partner Link, while executing BPEL Process we are facing the following error as
<Summary>AuthorisationFailure: User Not Authorised to execute Service. </Summary>
We are currently using SOA 10.1.3.0..
Please help me on this..
Thanks,
Durga.Hi,
Firstly, you should check whether you have grant your method to the user that you used in your web service header or not.
If yes, please follow steps bellow:
1. Clear the cache following steps below:
a. Log in to Self Service as system administrator.
b. Select Functional Administrator > Core Services > Caching Framework > Global Configuration.
c. Click "Clear All Cache".
2. Bounce Services:
a. Go to $ADMIN_SCRIPTS_HOME directory, please do the following:
• adoafmctl.sh stop
• adoafmctl.sh start
• adoacorectl.sh stop
• adoacorectl.sh start
b. Run “$ adopmnctl.sh status” to see all "Alive".
Edited by: 906988 on 2012-3-18 下午9:33 -
Unable to compile a BPEL process
Hi All,
When I am trying to compile the BPEL process I am getting the following error. There is nothing wrong with the BPEL process but still throwing an error.
Please help me in compiling my BPEL process.
[bpelc] The compiler has run out of memory. Consider using the "-J-mx<number>" command line option to increase the maximum heap size.
[bpelc] ORABPEL-01005
[bpelc]
[bpelc] Failed to compile classes.
[bpelc] Failed to compile the generated BPEL classes for "MyProcess".
Where can I set this -J-mx ??
Thank you.1. Restarting jdeveloper would fix the problem.
2. Or, close the jdeveloper --> remove system folder --> restart the jdeveloper --> try again.
--Prasanna -
"Could not initiate the BPEL process because the input xml is not well form
hi all,
i am new to BPEL and tring to create a BPEL WebServices. now i got struck up with one issue like below
"Could not initiate the BPEL process because the input xml is not well formed, the reason is : Error parsing envelope Please correct the input xml."
But according to BPEL compiler there are no errors in the design and deployment as well. when i tries to initiate the deployed WS i am facing the above issue.
can anybody help me to fix this issue. Thanks in advance.
Regards,
Kalyanhi' Kalyan,
The issue seems to be due to XSD file which you are importing while making the new BPEL process,
the XSD file is very sensitive even a simple upper case will create error, XSD file are many times used when you want
to pass some entries to be updated in the database.
use this XSD file:"discountflow.xsd"
<schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://www.autoloan.com/ns/autoloan"
xmlns:tns="http://www.autoloan.com/ns/autoloan"
xmlns="http://www.w3.org/2001/XMLSchema">
<!--<element name="Demo" type="tns:DemoType"/>-->
<element name="Order" type="tns:OrderType"/>
<complexType name="OrderType">
<sequence>
<element name="orderid" type="int"/>
<element name="tenantid" type="int"/>
<element name="orderstatusid" type="int"/>
</sequence>
</complexType>
</schema>
<complexType name="Discount">
<sequence>
<element name="approval" type="boolean"/>
<element name="discount" type="int"/>
<element name="quantity" type="int"/>
</sequence>
</complexType>
</schema>
-Yatan -
RequestTimeoutException error while invoking a BPEL process using RMI
Hi,
I am getting RequestTimeoutException error while invoking a BPEL process using this code:
Locator locator = LocatorFactory.createLocator(jndiProps);
String compositeDN = "default/"+processName+"!1.0";
Composite composite = locator.lookupComposite(compositeDN);
String serviceName = "client";
Service deliveryService = composite.getService(serviceName);
NormalizedMessage nm = new NormalizedMessageImpl();
nm.getPayload().put("payload", requestXml);
NormalizedMessage res = deliveryService.request("process", nm);
responseMap = res.getPayload();
The error stack trace is
weblogic.rmi.extensions.RequestTimeoutException: RJVM response from 'weblogic.rjvm.RJVMImpl@604f2d14 - id: '-361032376059206
2776S:10.67.232.164:[8001,-1,-1,-1,-1,-1,-1]:emaar_domain:soa_server1' connect time: 'Mon Jan 18 11:34:41 GST 2010'' for 'executeServiceMethod
(Loracle.soa.management.CompositeDN;Ljava.lang.String;Ljava.lang.String;[Ljava.lang.Object;) 'timed out after: 60000ms.
oracle.fabric.common.FabricInvocationException: weblogic.rmi.extensions.RequestTimeoutException: RJVM response from 'weblogic.rjvm.RJVMImpl@60
4f2d14 - id: '-3610323760592062776S:10.67.232.164:[8001,-1,-1,-1,-1,-1,-1]:emaar_domain:soa_server1' connect time: 'Mon Jan 18 11:34:41 GST 20
10'' for 'executeServiceMethod(Loracle.soa.management.CompositeDN;Ljava.lang.String;Ljava.lang.String;[Ljava.lang.Object;) 'timed out after: 6
0000ms.
at oracle.soa.management.internal.facade.ServiceImpl.request(ServiceImpl.java:135)
at com.gss.common.bo.BpelUtil.invokeBPELProcess(BpelUtil.java:81)
To add to it the BPEL process is executing successfuly and RMI call timeout is happening.
Can I know how to increase the related timeout value?Have got the same problem. Scenario at my end is little different though.
I am trying to invoke a BPEL process from an ESB Service.
I am trying to look into it..
However, would be grateful, if someone can give some insight into this since many are running into this issue without being able to fix.
Ashish. -
Error while initiating a bpel process through ESB....
Hi,
I initiated a BPEL process from ESB(which is a sync process)...which in turn calls a async process which contains the JMS queues....While running the process...i am getting the below mentioned error.....
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:ESBMessageProcessingFailed</faultcode><detail><EventName>DefaultSystem.RoutingService.outOfService</EventName><Cause>An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 83076650D00F11DDBFFD0151085C6DFB. Please check the process instance for detail.
at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
at __Proxy7.request(Unknown Source)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:104)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:67)
at oracle.tip.esb.server.service.impl.bpel.BPELService.processBusinessEvent(BPELService.java:380)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:212)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:197)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:82)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:314)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:187)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 83076650D00F11DDBFFD0151085C6DFB. Please check the process instance for detail.
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:534)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:457)
at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:131)
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
... 2 more
at oracle.tip.esb.server.service.impl.bpel.BPELService.processBusinessEvent(BPELService.java:473)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:212)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:197)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:82)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:314)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:187)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 83076650D00F11DDBFFD0151085C6DFB. Please check the process instance for detail.
at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
at __Proxy7.request(Unknown Source)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:104)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:67)
at oracle.tip.esb.server.service.impl.bpel.BPELService.processBusinessEvent(BPELService.java:380)
... 34 more
Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 83076650D00F11DDBFFD0151085C6DFB. Please check the process instance for detail.
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:534)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:457)
at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:131)
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
... 2 more
</Cause></detail></env:Fault></env:Body></env:Envelope>
kindly provide me the solution....
Regards,
Suresh KAs I stated in my previous post, there is an issue with the BPEL process not responding back to ESB in a timely manner.
Unfortunately I don't have your process infront of me so it will require some thinking on your behalf to undersatnd how and why this may be happening.
Things to ask yourself.
- Is the data getting past correctly from the ESB to BPEL
- What happend to the BPEL process that the ESB called
- Is the ESB calling the BPEL process you are expecting, check server, and bpel versions
- What does the opmn or domain logs say
cheers
James -
ESB errors not propagating to BPEL process
I am working in SOA Suite 10.1.3.3. I have an asynchronous BPEL process that is orchestrating a number of ESB services, most of which perform database operations. Occasionally an attempt is made to insert a record into a table which results in an error (e.g., null value inserted into a non-null field, record already exists, non-existent record in parent table upon which current table depends, etc.). This correctly results in an error in the ESB service that shows up in the ESB Control console.
The problem is that the error is NOT propagated upward to the invoking BPEL process (which contains all manner of fault catching branches to process the error, log it, send email notifications, and perform other database operations dependent upon the success or failure of the ESB operations). The BPEL process is therefore left "hanging" and never appears in the BPEL Control console as an instance. It shows up in the Manual Recovery queue as an essentially unrecoverable process.
I am assuming that this change in behavior (such errors formerly propagated to the calling BPEL) is a direct result of the new Fault Handling Framework. My question is: what do I have to do in order to restore the original behavior of the system (ESB service encounters an error and propagates the fault to the async BPEL process, which catches it and does whatever it needs to do to fulfill the requirements of the overall system)? Is this something that can be handled by changes to the BPEL/ESB system configuration, the BPEL process definition, the ESB service definitions, or some combination thereof?
Thanks for your time.
Paul CamannHello. We applied 10.1.3.3.1 MLR14 in late October 2008.
We are seeing large numbers of errors like this in the ESB log ($ORACLE_HOME/j2ee/oc4j_soa/log/oc4j_soa_default_group_1/oc4j/log.xml):
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2009-01-26T13:11:15.497-05:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>biwsvlbat027.gdbiw.com</HOST_ID>
<HOST_NWADDR>1.2.3.4</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.soap</MODULE_ID>
<THREAD_ID>98</THREAD_ID>
<USER_ID>oracle</USER_ID>
<SUPPL_ATTRS>
<ATTR NAME="J2EE_MODULE.name">provider-war</ATTR>
<ATTR NAME="J2EE_APP.name">esb-rt</ATTR>
<ATTR
NAME="WEBSERVICE_PORT.name">__soap_Router_ODS_STAGE_Insert_ODS_STAGE_I_PortType</ATTR>
<ATTR NAME="WEBSERVICE.name">ESB_Router_ODS_STAGE_Insert_Service</ATTR>
</SUPPL_ATTRS>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>1232993475:1.2.3.4:7097:0:307</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONT
EXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Exception while print response</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage
(EventOracleSoapProvider.java:215)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing
(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation
(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing
(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest
(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke
(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal
(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest
(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest
(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run
(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run
(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
which is possibly the message that would come back from ESB to BPEL failing?
Thank you. -
Error while compiling the composite through custom ant script
Hi,
I am getting the following error while compiling the composite through custom built ant scripts which are intern call the ant-sca-package.xml. And the composite is created by upgrading the 10g bpels. But the same composite is successfully compiling from Jdeveloper (11.1.1.4).
oad of wsdl "oramds:/soa/shared/workflow/NotificationService.wsdl" failed
oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/soa/shared/workflow/NotificationService.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:555)
at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:417)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:241)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:304)
at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:934)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:388)
at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:176)
at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:67)
at java.net.URL.openStream(URL.java:1010)
at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
... 9 more
Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:339)
And in the following blog, its recommended to check for the adf-config.xml. But when upgrading the bpels from 10g to 11.1.1.4, I don't see any such file created by Jdeveloper.
http://orasoa.blogspot.com/2010/08/ant-and-mds-composite-compile-error.html
Not sure if I am missing some properties to add in by custom script while compiling.
Thanks
Sree
Edited by: Sree on Jul 4, 2011 7:25 AMHi Hussain,
Thanks for the reply.
Were you able to compile the form at the client side successfully?
1) Were you able to compile the form at the client side successfully?:
Ans: Yes, I was able to compile the form successfully at client side.
2) Are you logged in as applmgr user? Have you sourced the application env file before compiling the form?
Ans: No, I have not logged by applmgr user, i am using my own login. Yes I have sourced the application env file before compiling the form
3) What does "echo $FORMS_PATH" return?
Ans: echo $FORMS_PATH on server gives this path
/u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource:/u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource/stub
Can you please advise?
Thanks,
Maybe you are looking for
-
I have three device: Macbook Pro (OSX 10.7.5) for work; an iPad and a Blackberry for mobile. I used mail, iCal, and Address Book combine with mobileme (iCloud) to exchange data such as contact, calendar and task from my Mackbook Pro to my iPad but ne
-
Bridge Keywords driving me nuts! Please help......
I've been directed here by the good people at Elements Village as I have a Bridge specific question that you guys may be able to help with. I've been using Bridge (CS3, I think) with PSE V4 Mac for several years and have multiple and extensive keywor
-
How to get airdrop on my MBP and my iPad
Hi. I am trying to find a way to drag & drop files from my MBP Google Drive to my iPad into a different Google Drive account. I started keeping files in my main Drive but need to keep things separated between accounts now as records are growing. I
-
After upgrading my N95 software to v12.0.013 then i got problem that the number appeare instead of the name which is stored in the cotact list . Anybody can help ?
-
Error - browser incompatibility?
I've huge query and it's placed in a function and region calls this function and returns query string. When I login first time, it gives the following error, but after refresh and subsequent page visits it works fine. This is the problem ONLY on IE 6