BPEL deployment automation
Hi all.
I've been reading about the efforts regarding esb deployment automation:
Dealing with changing service wsdl locations in the ESB
Now, I'd like to know about the latest best practices regarding BPEL deployment automation for different environments.
I was wondering if there's some already tested ant configuration for deploying multiple BPEL projects at the same time using a specific bpel.xml
Thanks
Denis
I created an article on this issue:
http://orasoa.blogspot.com/2006/08/using-ant-in-bpel-environment.html
Similar Messages
-
Bpel deployment fails for all processes that have revision other than 1.0.
Using: Release *10.1.3.3.1*
Hello All,
Bpel deployment fails for all processes that have revision other than *1.0*.
We have been attempting to deploy several BPEL projects via ANT script to a target environment and are encountering failures to deploy for every project which isn’t a (revision 1.0). We are getting the following error whenever we try to deploy a process with a revision other than 1.0:
D:\TJ_AutoDeploy\BPEL_AutoDeploy_BETA\build.xml:65: BPEL archive doesnt exist in directory "{0}"
at com.collaxa.cube.ant.taskdefs.DeployRemote.getJarFile(DeployRemote.java:254)
at com.collaxa.cube.ant.taskdefs.DeployRemote.deployProcess(DeployRemote.java:409)
at com.collaxa.cube.ant.taskdefs.DeployRemote.execute(DeployRemote.java:211)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
The structure of our automated deployment script is as follows:
First, a batch script calls (Jdeveloper_BPEL_Prompt.bat) in order to set all necessary environment variables i.e. ORACLE_HOME, BPEL_HOME, ANT_HOME, etc for ant.
Next, the script lists every .jar file within the directory to an .ini file called BPEL_List.ini. Furthermore, BPEL_DIR, ADMIN_USER and ADMIN_PSWD variables are set and initialized respectively to:
- “.” – point to directory where script is running from because all the BPEL processes are located here
- “oc4jadmin”
- “*********” (whatever the password for out environment is)
We’ve developed a method to have the script prompt the user to select the target environment to deploy to. Once the user selects the appropriate environment, the script goes through the BPEL_List.ini files and a loop tells it that for every BPEL process listed:
DO ant
-Dprocess.name=%%b
-Drev= !Rev!
-Dpath=%BPEL_DIR%
-Ddomain=default
-Dadmin.user=%ADMIN_USER%
-Dadmin.password=%ADMIN_PWD%
-Dhttp.hostname=%HOST%
-Dhttp.port=%PORT%
-Dverbose=true
(What’s happening is that the variables in the batch file are being passed on to the ANT script where *%%b* is the process name, !rev! is revision #, and so on…)
The loop goes through each line in the BPEL_List.ini and tokenizes the BPEL process into 3 parts *(%%a, %%b, and %%c)* but we only extract 2 parts: *%%b* (process name) and *%%c* which becomes !Rev! (revision number).
Example:
Sample BPEL process:
bpel_ThisIsProcess1_1.0.jar
bpel_ThisIsProcess2_SOAv2.19.0.001B.jar
After tokenizing:
%%a %%b %%c
bpel ThisIsProcess1 1.0.jar
bpel ThisIsProcess2 SOAv2.19.0.001B.jar
*!Rev!* and not *%%c* because *%%c* will return whatever the revision number is + the “.jar” file extension as illustrated above. So to circumvent this, we parse *%%c* so that the last 4 characters are stripped. Such is done like this:
set RevN=%%c
set RevN=!RevN:~0,-4!
Hence, the usage of !Rev!.
Below is a screenshot post of the ANT build.xml that goes with our script:
<!--<?xml version="1.0"?>-->
<!--BUILD.XML-->
<project name="bpel.deploy" default="deployProcess" basedir=".">
<!--
This ant build file was generated by JDev to deploy the BPEL process.
DONOT EDIT THIS JDEV GENERATED FILE. Any customization should be done
in default target in user created pre-build.xml or post-build.xml
-->
<property name="process.dir" value="${basedir}" />
<!-- Set BPEL process name -->
<!--
<xmlproperty file="${process.dir}/bpel/bpel.xml"/>
<property name="process.name" value="${BPELSuitcase.BPELProcess(id)}"/>
<property name="rev" value="${BPELSuitcase(rev)}"/>
-->
<property environment="env"/>
<!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
<condition property="bpel.home" value="${env.BPEL_HOME}">
<available file="${env.BPEL_HOME}/utilities/ant-orabpel.xml" />
</condition>
<!-- show that both bpel and oracle.home are located (TESTING purposes ONLY) -->
<!-- <echo>HERE:${env.BPEL_HOME} ${env.ORACLE_HOME}</echo> -->
<!-- END TESTING -->
<!--If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
<property name="oracle.home" value="${env.ORACLE_HOME}" />
<property name="bpel.home" value="${oracle.home}/bpel" />
<!--First override from build.properties in process.dir, if available-->
<property file="${process.dir}/build.properties"/>
<!--import custom ant tasks for the BPEL PM-->
<import file="${bpel.home}/utilities/ant-orabpel.xml" />
<!--Use deployment related default properties-->
<property file="${bpel.home}/utilities/ant-orabpel.properties" />
<!-- *************************************************************************************** -->
<target name="deployProcess">
<tstamp>
<format property="timestamp" pattern="MM-dd-yyyy HH:mm:ss" />
</tstamp>
<!-- WRITE TO LOG FILE #tjas -->
<record name="build_verbose.log" loglevel="verbose" append="true" />
<record name="build_debug.log" loglevel="debug" append="true" />
<echo></echo>
<echo>####################################################################</echo>
<echo>BPEL_AutoDeploy initiated @ ${timestamp}</echo>
<echo>--------------------------------------------------------------------</echo>
<echo>Deploying ${process.name} on ${http.hostname} port ${http.port} </echo>
<echo>--------------------------------------------------------------------</echo>
<deployProcess
user="${admin.user}"
password="${admin.password}"
domain="${domain}"
process="${process.name}"
rev="${rev}"
dir="${process.dir}/${path}"
hostname="${http.hostname}"
httpport="${http.port}"
verbose="${verbose}" />
<sleep seconds="30" />
<!--<echo message="${process.name} deployment logged to ${build_verbose.log}"/>
<echo message="${process.name} deployment logged to ${build.log}"/> -->
</target>
<!-- *************************************************************************************** -->
</project>
SUMMARY OF ISSUE AT HAND:
~ Every bpel process w/ 1.0 revision deploys with no problems
~ At first I would get an invalid character error most likely due to the “!” preceding “Rev”, but then I decided to set rev=”false” in the build.xml file. That didn’t work quite well. In another attempt, I decided to leave the –Drev= attribute within the batch script blank. That still led to 1.0s going through. My next thought was deploying something other than a 1.0, such as 1.2 or 2.0 and that’s when I realized that if it wasn’t a 1.0, it refused to go through.
QUESTIONS:
1. IS THERE A WAY TO HAVE ANT LOOK INTO THE BPEL PROCESS AND PULL THE REVISION ID?
2. WHAT ARE WE DOING WRONG? ARE WE MISSING ANYTHING?
3. DID WE GO TOO FAR? MEANING, IS THERE A MUCH EASIER WAY WE OVERLOOKED/FORGOT/OR DON’T KNOW ABOUT THAT EXISTS?
Edited by: 793292 on Jul 28, 2011 12:38 PMOnly thing i can think of is instead of using a MAC ACL , u cud jus use the default class
Policy Map Test
class class-default
police 56000 8000 exceed-action drop
Class Map match-any class-default (id 0)
Match any
You would be saving a MAC-ACL ;-). -
BPEL deployment plan in 10.1.3.4
Hello guys,
I've downloaded the MLR patch to upgrade to 10.1.3.4 and wondering where to find and how to use the BPEL deployment plan.
According to Robert Zimmerman's presentation titled Oracle BPEL Process Manager Update - April 22 (http://www.oracle.com/technology/tech/soa/cab/oraclesoacab-webinar-04-22-08bpel_10_1_3_4_update.pdf), this release includes the new BPEL deployment plan, similar to the "old" ESB deployment plan.
Any help is appreciated.
Kind regards,
HHello Heidi,
Thanks for the quick reply.
That chapter is not quite what I was looking for, but nevertheless you pointed me to the right document. I was looking for chapter 3.10.10 "Automatically changing URLs and properties for Dev, Test and Prod.-environments".
Cheers,
Harm -
Hi All,
Getting the following error while deploying the BPEL process having DB Adaptor...
Could not initialize activation agent. An error occured while initializing an activation agent for process "pollingprocesstest2", revision "v2009_08_11__6784". Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml). oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
However the same process was running find earlier. Actually I got virus in my system so I formatted it after taking backup of everything. Then I installed BPEL server again. Now when I tried to deploy the same processes again, it is giving the above error. Installation path etc. everything is same as the paths before formatting. Exception details is...
Could not initialize activation agent.
An error occured while initializing an activation agent for process "pollingproc
esstest2", revision "v2009_08_11__6784".
Please ensure that the activation agents are configured correctly in the bpel de
ployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.Invocation
TargetException
at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents
*(BaseCubeProcess.java:354)*
at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultR
evision(DeploymentManager.java:1446)
at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevisi
on(DeploymentManager.java:1405)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(De
ploymentManager.java:821)
at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(D
eploymentManager.java:670)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDo
mainManagerBean.java:445)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSI
nterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAAS
Interceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAA
SInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invo
ke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSI
nterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContex
tPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(S
tatelessSessionEJBObject.java:87)
at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHand
le.java:317)
at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandl
e.java:339)
*at deployProcess.jspService(_deployProcess.java:131)*
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:5
*9)*
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(ResourceFilterC
hain.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(ServletReque
stDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:368)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forwar
d(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletR
equestDispatcher.java:50)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRe
questDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequ
estDispatcher.java:198)
at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterC
hain.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(ServletReque
stDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
*<2009-08-10 13:23:37,718> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::l*
ogError> Error while invoking bean "domain manager": Could not initialize activa
tion agent.
An error occured while initializing an activation agent for process "pollingproc
esstest2", revision "v2009_08_11__6784".
Please ensure that the activation agents are configured correctly in the bpel de
ployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.Invocation
TargetException
ORABPEL-09903
Could not initialize activation agent.
An error occured while initializing an activation agent for process "pollingproc
esstest2", revision "v2009_08_11__6784".
Please ensure that the activation agents are configured correctly in the bpel de
ployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.Invocation
TargetException
at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents
*(BaseCubeProcess.java:354)*
at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultR
evision(DeploymentManager.java:1446)
at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevisi
on(DeploymentManager.java:1405)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(De
ploymentManager.java:821)
at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(D
eploymentManager.java:670)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDo
mainManagerBean.java:445)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSI
nterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAAS
Interceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAA
SInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invo
ke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSI
nterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContex
tPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(S
tatelessSessionEJBObject.java:87)
at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHand
le.java:317)
at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandl
e.java:339)
*at deployProcess.jspService(_deployProcess.java:131)*
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:5
*9)*
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(ResourceFilterC
hain.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(ServletReque
stDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:368)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forwar
d(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletR
equestDispatcher.java:50)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRe
questDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequ
estDispatcher.java:198)
at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterC
hain.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(ServletReque
stDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
*<2009-08-10 13:23:37,781> <INFO> <default.collaxa.cube.activation> <AdapterFrame*
work::Inbound> JCAActivationAgent::uninit Shutting down the JCA activation agent
*, processId='bpel://localhost/default/pollingprocesstest2~v2009_08_11__6784/', a*
*ctivation properties={portType=pollingAdaptor_ptt}*
Please help me.
Thanks.log message continued...
* at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:566)*
* at oracle.tip.adapter.fw.agent.jca.JCAActivationAgent.performEndpointActivation(JCAActivationAgent.java:1073)*
* at oracle.tip.adapter.fw.agent.jca.JCAActivationAgent.activateInboundJcaEndpoint(JCAActivationAgent.java:1056)*
* at oracle.tip.adapter.fw.agent.jca.JCAActivationAgent.initiateInboundJcaEndpoint(JCAActivationAgent.java:961)*
* at oracle.tip.adapter.fw.agent.jca.JCAActivationAgent.init(JCAActivationAgent.java:516)*
* at com.collaxa.cube.engine.core.BaseCubeProcess$ActivationObserver.init(BaseCubeProcess.java:900)*
* ... 66 more*
Caused by: ORABPEL-11622
Could not create/access the TopLink Session.
*This session is used to connect to the datastore. [Caused by: loc/DBConnection1DataSource not found]*
*See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by Exception [TOPLINK-7060] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 060920)): oracle.toplink.exceptions.ValidationException*
*Exception Description: Cannot acquire data source [loc/DBConnection1DataSource].*
Internal Exception: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found.
* at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:369)*
* at oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:171)*
* at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:598)*
* at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:351)*
* at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:230)*
* at oracle.tip.adapter.db.InboundWork.<init>(InboundWork.java:184)*
* at oracle.tip.adapter.db.DBEndpoint.<init>(DBEndpoint.java:89)*
* at oracle.tip.adapter.db.DBResourceAdapter.endpointActivation(DBResourceAdapter.java:155)*
* at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:541)*
* ... 71 more*
*Caused by: Exception [TOPLINK-7060] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 060920)): oracle.toplink.exceptions.ValidationException*
*Exception Description: Cannot acquire data source [loc/DBConnection1DataSource].*
Internal Exception: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found
* at oracle.toplink.exceptions.ValidationException.cannotAcquireDataSource(ValidationException.java:275)*
* at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:100)*
* at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)*
* at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)*
* at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:220)*
* at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)*
* at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:82)*
* at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:98)*
* at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:435)*
* at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:503)*
* at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:858)*
* at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:373)*
* ... 77 more*
Caused by: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found
* at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)*
* at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255)*
* at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)*
* at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:381)*
* at javax.naming.InitialContext.lookup(InitialContext.java:355)*
* at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:94)*
* ... 87 more*
*<2009-08-10 17:24:21,281> <DEBUG> <default.collaxa.cube.engine.deployment> <DeploymentManager::activateDefaultRevision>*
ORABPEL-09903
Could not initialize activation agent.
An error occured while initializing an activation agent for process "pollingprocesstest2", revision "v2009_08_10__62408".
Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
* at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:354)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1446)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1405)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:821)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)*
* at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)*
* 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 DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)*
* at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)*
* at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)*
* at deployProcess.jspService(_deployProcess.java:131)*
* 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)*
*<2009-08-10 17:24:21,359> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::release> Released lock for pollingprocesstest2-v2009_08_10__62408*
*<2009-08-10 17:24:21,359> <ERROR> <default.collaxa.cube.engine.deployment> <DeploymentManager::deploySuitcase>*
ORABPEL-09903
Could not initialize activation agent.
An error occured while initializing an activation agent for process "pollingprocesstest2", revision "v2009_08_10__62408".
Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
* at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:354)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1446)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1405)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:821)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)*
* at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)*
* 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 DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)*
* at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)*
* at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)*
* at deployProcess.jspService(_deployProcess.java:131)*
* 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)*
*<2009-08-10 17:24:21,453> <DEBUG> <default.collaxa.cube.engine.deployment> <LockManager::release> Released lock for pollingprocesstest2_v2009_08_10__62408_7ed76049f6b734747ebf349fbe977c1a*
*<2009-08-10 17:24:21,546> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "domain manager": Could not initialize activation agent.*
An error occured while initializing an activation agent for process "pollingprocesstest2", revision "v2009_08_10__62408".
Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
ORABPEL-09903
Could not initialize activation agent.
An error occured while initializing an activation agent for process "pollingprocesstest2", revision "v2009_08_10__62408".
Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
* at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:354)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1446)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1405)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:821)*
* at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)*
* at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)*
* 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 DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)*
* at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)*
* at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)*
* at deployProcess.jspService(_deployProcess.java:131)*
* 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)*
*<2009-08-10 17:24:21,640> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnection> CLOSE TX CONNECTION 0*
*<2009-08-10 17:24:21,640> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::insert> Received batch message, 1 messages [[email protected]b90c1]*
*<2009-08-10 17:24:21,640> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message [[email protected]b90c1] for set system*
*<2009-08-10 17:24:21,640> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message [[email protected]b90c1] for set invoke*
*<2009-08-10 17:24:21,640> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message [[email protected]b90c1] for set engine*
*<2009-08-10 17:24:21,656> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::adjustThreadPool> Allocating 1 thread(s); pending threads: 1, active threads: 0, total: 46* -
ESB Deployment Automation Fault
I'm using the ant ESB Deployment Automation tasks authored by Doug Gschwind and referenced in other threads. I get a build failed error when trying to extract an ESB deployment plan. The error states that the output file already exists but the directory where it resides cannot be written or the filename does not have a .xml extension.
My set up is:
D:\temp - contains ESBMetadataMigrationTaskdefs.xml, ESBMetadataMigration.jar, my ant project file and the output file (PMSProto1Plan.xml). Both the directory and file are not read only.
I had to install commons-httpclient and also JAXB (from Sun Java Web Services Developer Kit). I did note that I had to find jsr173_1.0_api.jar under my JDeveloper home. I used your sample exampleBuild.xml as the basis of my ant file.
My extract file looks like:
<?xml version="1.0" encoding="UTF-8"?>
<project name="ESBMetadataDeployment" default="usage" basedir=".">
<property name="esbProjectToDeploy" value="D:\Oracle\JDeveloper\jdev\mywork\CVSTest\LR\PMSProto1"/>
<property name="deploymentPlanFilename" value="${basedir}/PMSProto1Plan.xml/"/>
<import file="${basedir}/ESBMetadataMigrationTaskdefs.xml"/>
<target name="test.ExtractESBDeploymentPlan">
<extractESBDeploymentPlan sourceDir="${esbProjectToDeploy}" deploymentPlanFile="${deploymentPlanFilename}"/>
</target>
<target name="usage">
<exec executable="ant" dir="${basedir}" vmlauncher="false">
<arg value="-projecthelp"/>
</exec>
</target>
</project>
My ESBMetadataMigrationTaskdefs.xml looks like:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- The import of this ant build file, by another ant build file, enables the
- use of the custom ant tasks present in ESBMetadataMigration.jar
- Doug Gschwind
- 12 Dec 2006
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<project name="ESBMetadataMigrationTaskdefs">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- PROPERTIES, Subject to the installation environment
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<property name="commons.httpclient.home" value="C:/Program Files/ApacheGroup/commons-httpclient-3.0.1"/>
<property name="jaxb.v2.0.2.home" value="C:/Sun/jwsdp-2.0"/>
<property name="soa.suite.home" value="D:/product/10.1.3.1/OracleAS_2"/>
<property name="JDev.home" value="D:/oracle/JDeveloper"/>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Custom ant task definitions, to enable import.
- This section should be treated as immutable upon installation.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<dirname property="imported.basedir" file="${ant.file.ESBMetadataMigrationTaskdefs}"/>
<taskdef resource="oracle/tip/esb/client/anttasks/antlib.xml">
<classpath>
<pathelement location="${imported.basedir}/ESBMetadataMigration.jar"/>
<pathelement location="${commons.httpclient.home}/commons-httpclient-3.0.1.jar"/>
<pathelement location="${soa.suite.home}/lib/xmlparserv2.jar"/>
<pathelement location="${soa.suite.home}/integration/esb/lib/commons-logging.jar"/>
<pathelement location="${soa.suite.home}/integration/esb/lib/commons-codec-1.3.jar"/>
<pathelement location="${soa.suite.home}/integration/esb/lib/oraesb.jar"/>
<pathelement location="${jaxb.v2.0.2.home}/jwsdp-shared/lib/activation.jar"/>
<pathelement location="${jaxb.v2.0.2.home}/jaxb/lib/jaxb-api.jar"/>
<pathelement location="${JDev.home}/integration/lib/jsr173_1.0_api.jar"/>
<pathelement location="${jaxb.v2.0.2.home}/jaxb/lib/jaxb-impl.jar"/>
</classpath>
</taskdef>
</project>
I'm using JDev 10.1.3.3.0.4157 and SOA Suite 10.1.3.3
Has anybody hit this issue before and hopefully a solution ? Thanks.For what it is worth I can confirm that what user531376 describes is the correct answer to the problem. Add this line:
<delete file="${deploymentPlanFilename}" verbose="true"/>
to the ExtractESBDeploymentPlan target and you should be fine.
Maybe this blog post (shameless self-promotion) adds to your knowledge: http://technology.amis.nl/blog/?p=2371.
Happy building, Sjoerd -
Process Modelling in Aris, generating BPEL & deployment to Oracle App Serve
Hi
We are considering using Aris to model some business process and using its functionality to generate BPEL for its deployment onto a Service Oriented Architecture i.e. Oracle App Server with BPEL Process Manager. Has anyone had any specific exposure to Aris and its BPEL deployment onto the Oracle App Server.
- Is there an approach (methodology) from previous experience that someone can recommend.
- How seamless/complex is the generation and deployment of the BPEL onto the Oracle BPEL Process Manager.
- Are there any issues or lessons learnt from people using Aris to generate BPEL to the Oracle BPEL Process Manager?
thanksHi,
I am dealing with the same problems. I did already some testings using the EPCs of ARIS and tried to establish the link with the BPEL Process Manager. Still it doesn't work seamlessly, maybe with the new realease of ARIS the link will be possible. I am not aware of any methodology in that context, it means we need to develop one.
Looking forward to hearing from you.
Best regards,
TMT -
My BPEL Deployment process, which until recently was working fine, appears to have broken. I'm getting messages like this when deploying from JDev 10.1.3.3.0:<p>
BUILD FAILED
Q:\TRIPS2\Dev\Java\Projects\trips-bpel\TripsExceptionHandling\build.xml:79: A problem occured while connecting to server "pcs-devportr3" using port "8888": <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /integration/services/deploy/deployHttpClientProcess.jsp was not found on this server.<P>
<HR>
<ADDRESS>Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at PCS-DEVPORTR3 Port 8888</ADDRESS>
</BODY></HTML><p>
I've tried several different BPEL's, and get a similar message for each. However, when I tried to deploy TripsExceptionHandling from the BPEL Console, it was successful.<p>I found somebody with a similar problem here: Re: Build Failed
but unfortunately no solution was posted. Does anybody have any suggestions?create new Application server and Integration server .
Deploy the process into this new server then ur problem may sloved... -
Azure package deployment automation
Hi All,
I am looking for Azure package deployment automation. Let me know if any article or any other stuffs will be great help..
Thanks,
Bhupi..There are several good resources about
Continuous Delivery for Azure by using TFS , works both for TFS Services and similarly for TFS on premise. I think this is a good starting point also if you look to develop something custom. -
Oracle Service Bus Configurations version control and deployment automation
Hi,
Currently we have OSB10gR3 installed and we use the web based sbconsole to create projects and proxy services. It's all working well and good!!
We are at the state where we need to think about source control, migration of artifacts from dev to test and to prod.
I'm looking for pointers to version control the artifacts of OSB projects, what could be version controlled (no binaries) and how do we extract those artifacts?
How do we customize those artifacts while migrating to different environments in an automated fashion?
Please point me to best practices and gotchas that we should be aware of while dealing with deploying OSB proejcts from test to Prod.
Thanks in Advance!!After reading the threads mentioned by Deba, I'm able to get this all worked out with SBConsole itself. Experts, please review my approach below and let me know if I have overlooked anything.
Simple advantage I see in using sbconsole is that it requires less maintenance, i.e. avoids rolling out another IDE (Eclipse -Workshop plug-in) to IT developers and at the same time provides the functionality that we are looking for. Currently, JDeveloper is our primary IDE, so we thought it's best to wait till OSB development gets integrated into JDev.
This is the deployment workflow which worked for us,
Developer:
1)Develops Proxy services using SBconsole in Dev environment.
2)Creates sbconfig.jar by using the export functionality available in System Administration link in sbconsole
3)Checks-in ALL the files present in the above jar into version control under the proxy service project name
4) Creates customization file using the customization file link in System Administration and modifies the value for each environment i.e. creates two files test_customfille, prod_customfile
5)Checks-in the customization files into version control under the same proxy service project
Promotion to Test and Prod
1) From the source control, service proxy is built (actually the jar file of all files including the custom file is created)
2) SCP proxy_sbconfig.jar file to Test or Prod box
3) Follow the steps mentioned in Auto deploy of ALSB/OSB artifacts - Proxy, WSDL and webservices...
4) Depending on the server, test or prod, pick the right customization file and deploy using ANT.
Thanks!! -
Problem: bpel deployment with xsd choice
hi!
i have the problem that after deploying my bpel process i dont see the choice defined in my xsd. with a very simple example the choice just dont show in the bpel console. (bpel processes => initiate => xml source just shows the xml without the choice)
i use jdeveloper 10.1.3.1.0.3984.
does anyone know a solution for this problem?
thanks
my xsd:
<?xml version="1.0" encoding="ISO-8859-15" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.example.org"
targetNamespace="http://www.example.org"
elementFormDefault="qualified">
<xsd:element name="exampleElement">
<xsd:annotation>
<xsd:documentation>
A sample element
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="element1" type="xsd:string"/>
<xsd:choice>
<xsd:element name="element3" type="xsd:string"/>
<xsd:element name="element4" type="xsd:string"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>the bpel process consists just of an assign-component.Is JAXB 1.0 used to generate the client code. xsd:choice is supported, but xsd:any is not supported by JAXB 1.0.
-
How to use the build file generated by Jdev to automate bpel deployment
Hi everyone I am trying to deploy bpel jar files and human task ear files using ant. When i use the ant which is generated by Jdev I am gettinng an error
C:\Documents and Settings\254876\Desktop\BPEL_ANT>ant
Buildfile: build.xml
deployTaskForm:
BUILD FAILED
C:\Documents and Settings\254876\Desktop\BPEL_ANT\build.xml:39: Could not create
task or type of type: deployTaskForm.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'deployTaskForm'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.Ensure JDEV and SOA versions are in sync.
-
Please Publish Announced Workaround to Bpel Deployment Nightmare
Oracle's own Product Director and Senior Product Manager describe the horror in their document published on Oracle's own site Kevin Clugage and Robin Zimmermann.
http://www.oracle.com/technology/products/ias/bpel/pdf/bpel-admin-webinar.pdf
They put my feelings best where they show a photo of a guy trying to pull his hair out on the one of the "Deployment Challenge" slides.
I do not know why Oracle has chosen to break three very fundamental rules most anyone has ever had to work with:
1. Never put machine or deployment specific code in a source file
2. Never tell a user NOT to modify a file and then tell him to modify that same file if he wants to deploy.
3. Never publish a known horror, announce that there is a workaround, and not publish the workaround in great detail.
It is even more confusing why there isn't a huge outcry from customers. The only conclusion I can come to is there aren't enough customers to even care, I just don't know. Either way, I need guidance, as
They cite in this document the standard deployment situation for ANYTHING built in any normal situation. It is always expected to be built and deployed on at least these machines
* developerOne's machine
* developerTwo's machine
* developerThree's machine
* test server
* QA server
* production server
What I need is for Kevin Clugage and Robin Zimmermann to produce documentation for the workaround they published in the above document, and especially how to do it in a way that respects the instructions found in my wizard built files. (" DONOT EDIT THIS JDEV GENERATED FILE") I don't want to fix one problem and create another.
It would embarrass Oracle and my employer both if it were documented how much time we have wasted attempting to address this ridiculously simple issue over the past several months. Some reasonable urgency would be in order.I have used this document to deploy my BPEL processes, and I didn't have to edit the build.xml.
For every BPEL process that calls a partner link I create a pre-build.xml and a post-build.xml. These scripts are called by default. You will also need to have a properties file for every environment you want to deploy to.
Here is an example of these files, please note these are specific to my environment by you will hopefully get an idea on how to achieve this.
pre-build.xml
<?xml version="1.0"?>
<project name="bpel.pre-build" default="pre-build" basedir="./bpel">
<property name="explicitErrorHandlerDeploy" value="http://${http.hostname}:{http.port}/orabpel/default/explicitErrorHandler/1.0/explicitErrorHandler?wsdl"/>
<property name="ConvertVariablesDeploy" value="http://${http.hostname}:{http.port}/orabpel/default/ConvertVariables/ConvertVariables?wsdl"/>
<property name="GetProfilesDeploy" value="http://${http.hostname}:{http.port}/orabpel/default/GetProfiles/1.0/GetProfiles?wsdl"/>
<target name="pre-build">
<bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="default" force="true">
<customize>
<partnerLinkBinding name="explicitErrorHandler">
<property name="wsdlLocation">${explicitErrorHandlerDeploy}</property>
</partnerLinkBinding>
<partnerLinkBinding name="ConvertVariables">
<property name="wsdlLocation">${ConvertVariablesDeploy}</property>
</partnerLinkBinding>
<partnerLinkBinding name="GetProfiles">
<property name="wsdlLocation">${GetProfilesDeploy}</property>
</partnerLinkBinding>
</customize>
</bpelc>
<copy file="bpel.xml" tofile="bpel_orig.xml" overwrite="true"/>
<copy file="_bpel.xml" tofile="bpel.xml" overwrite="true"/>
</target>
</project>
post-build.xml
<?xml version="1.0"?>
<project name="bpel.post-build" default="post-build" basedir="./bpel">
<target name="post-build">
<echo>
| Copying bpel_orig.xml to bpel.xml
</echo>
<copy file="bpel_orig.xml" tofile="bpel.xml" overwrite="true"/>
</target>
</project>
properties file
domain = default
rev = 1.0
admin.user = oc4jadmin
admin.password = password
http.hostname = server.domain
http.port = 7777
opmn.requestport = 6003
oc4jinstancename = oc4j_soa
Really the onlt thing that will change between BPEL processes is the pre-build.xml script, and this will be dependent on what partnerlink you are calling.
Please remember when deploying you need to right-click the build.xml file and choose Run Ant. Before you press OK choose the properties file you want to use dependent on the environment you are deploying to. You do this by selecting the properties tab in the Run Ant (Bottom Box).
Cheers
James -
BPEL deployment error in production server
Hi,
I am deploying my BPEL project on Web-logic server through my JDeveloper 11g. its working fine. but when I selected my different environment for deployment(new one) then I got the following error. Error is due to one of my BPEL prcess "TaskProcess1".
but the same setup when I deploy to my own server its deploying and running very fine.
code=500
[04:53:57 PM] Error deploying archive sca_RegistrationUpload_rev24.0.jar to partition "default" on server DAMS_Batch_Server1 [urasvr140.uradevt.gov.sg:8001, Cluster:DAMS_Batch_Cluster]
[04:53:57 PM] HTTP error code returned [500]
[04:53:57 PM] Error message from server:
#;There was an error deploying the composite on DAMS_Batch_Server1: Operation failed - Member(Id=1, Timestamp=2011-06-02 15:25:57.428, Address=172.16.10.45:8088, MachineId=46637, Location=site:uradevt.gov.sg,machine:urasvr140,process:3968, Role=WeblogicServer):Error occurred during deployment of component: TaskProcess1 to service engine: implementation.bpel, for composite: RegistrationUpload: ORABPEL-01005
#;Failed to compile bpel generated classes.
#;failure to compile the generated BPEL classes for BPEL process "TaskProcess1" of composite "default/RegistrationUpload!24.0*soa_f19c6537-e518-4c05-940c-688c1ddb2593"
#;The class path setting is incorrect.
#;Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
#;; . Please see the server diagnostic logs on DAMS_Batch_Server1 for details.Hi,
I also faced the same problem.
#;Failed to compile bpel generated classes.
#;failure to compile the generated BPEL classes for BPEL process "TaskProcess1" of composite "default/RegistrationUpload!24.0*soa_f19c6537-e518-4c05-940c-688c1ddb2593"
The class path setting is incorrect.
The problem was that I was using Base64Encoder and Base64Decoder classes in my java embedding . But I missed to import the class.
<bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>
<bpelx:exec import="oracle.soa.common.util.Base64Encoder"/>
Adding these lines before the java embedding solved my problem.
Sabari
Edited by: 906932 on Jan 22, 2012 1:14 AM -
I need to design a BPEL human taskflow which would be triggered from an ADF page. I suppose the BPEL taskflow (SOA server) & the ADF page (Application server) in real-time could be deployed in two separate servers (probably these servers could be running in separate physical machines also). In this deployment scenario, is it possible for the BPEL taskflow to reuse any of the ADF components (like Entity Object or View Object or Application Module) directly ?
Please correct me if such a deployment scenario is not possible in the first place.create new Application server and Integration server .
Deploy the process into this new server then ur problem may sloved... -
I have some question on the deployment of the BPEL process I would appreciate if you can spend some time to answer my questions. Following are my questions
I have developed BPEL process and compiled it on my local machine through J developer tool. Now I want to deploy the same to Unix box where BPEL PM is running. I have configured the Data source file through Oracle enterprise manager and oc4j-ra.xml file for Database adapter to point that data source. I know that there is ant utility to deploy the BPEL process on Unix. I am little confused about following things
1)What File I need to ftp on Unix box (i.e. Whole Project folder or just jar file? )
2)If jar file then do we have to unzip it and if yes then how to unzip Jar on Unix? I am using 'jar xf jar-file' command to unzip jar file it just created the META-INF folder.
3)Is it possible to deployed the process through my home directory like /home/vchokshi/projects.
4)Do I need to customize build.xml file to deploy the BPEL process?Yes you can Delete it. The purpose of this folder is a container of .jar files that Jdevolper generates after compilation of each Flow. So, It doesn't matter if you delete those .jar files, besides if your purpose is make a folder to pass your projects in order to migrate your development into a production environment or just other environment I suggest you to delete those files so that the size of the whole project will be small
Maybe you are looking for
-
How to 100% Protect PL/SQL Code By Wrapped in Oracle Database 10g R2
Hello, Is Possible to 100% Protect PL/SQL Code By Wrapped in Oracle 10g R2 ? If it is not possible by wrap in oracle 10g R2, Please, let me suggest, how i will be able to 100% protect PL/SQL code in Oracle Database 10g R2. Because, I have lot of func
-
Process Flow Execution of Mapping results in ORA-01403: no data found
Hi, When the Mapping is run standalone, it runs fine, but when run through a Process Flow, it generates ORA-01403 on a FILTER within the Mapping. What should be the debug steps. The RTE_ROWKEY is mentioned as 0 and does not help. OWB Version is 9.2.0
-
MacBook not charging is it time for a new one?
My MacBook is not taking a charge, is it time for a new battery? I know there are many variables but how long do they usually last? Thank you
-
Ipad is disable. please help
i try to connect it to itunes but it says device is unrecognised please help
-
HT2905 How to find and remove duplicate items in your iTunes library for iTunes 11
I found instructions for iTunes 10, not the same as 11. New to iTunes - have LOTS of duplicates. There must be a way to delete them besides one at a time! Please help...