Urgent help with simple BPEL process
Hello there,
I need help with BPEL project.
I'm new in JDeveloper&BPEL and i'd like to create process that we'll after sending employee ID return personal details of that employee.
I did create application, BPEL project and connection to the database properly but somehow i can't deal input and output variable.
Can someone please describe me step by step what i need to do, how to set up variable etc
Thx,
DI
Me again. This time i hope i'll get some help :(
Solution to my problem is change to the data-sources.xml and oc4j-ra.xml.
Since i have database on same machine with BPEL PM Server that uses Olite DB when i tried to make changes i found in tutorials, here on forum and rest of internet
BPEL PM Server just freeze, didn't start at all.
Here are data-sources.xml, oc4j-ra.xml and DBAdapter wsdl file. Plz can someone make changes to those files i'll appreciate that.
HOME\bpel\system\appserver\oc4j\j2ee\home\application-deployments\default\DbAdapter
oc4j-ra.xml
<?xml version="1.0"?>
<oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
<imported-shared-libraries>
<import-shared-library name="oracle.bpel.common"/>
<import-shared-library name="oc4j.internal"/>
<import-shared-library name="oracle.xml"/>
<import-shared-library name="oracle.sqlj"/>
<import-shared-library name="oracle.toplink"/>
<import-shared-library name="oracle.jdbc"/>
</imported-shared-libraries>
<connector-factory location="eis/DB/DBConn_XE" connector-name="Database Adapter">
<config-property name="xADataSourceName" value="jdbc/DBConn_XEDataSource"/>
<config-property name="dataSourceName" value="loc/DBConn_XEDataSource"/>
<config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
<config-property name="usesNativeSequencing" value="true"/>
<config-property name="sequencePreallocationSize" value="50"/>
<config-property name="defaultNChar" value="false"/>
<config-property name="usesBatchWriting" value="true"/>
<connection-pooling use="none">
</connection-pooling>
<security-config use="none">
</security-config>
</connector-factory>
<connector-factory location="eis/DB/BPELSamples" connector-name="Database Adapter">
<config-property name="xADataSourceName" value="jdbc/BPELSamplesDataSource"/>
<config-property name="dataSourceName" value=""/>
<config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
<config-property name="usesNativeSequencing" value="true"/>
<config-property name="sequencePreallocationSize" value="50"/>
<config-property name="defaultNChar" value="false"/>
<config-property name="usesBatchWriting" value="false"/>
<connection-pooling use="none">
</connection-pooling>
<security-config use="none">
</security-config>
</connector-factory>
</oc4j-connector-factories>
HOME \bpel\system\appserver\oc4j\j2ee\home\config
data-sources.xml
<?xml version="1.0" standalone='yes'?>
<!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources-9_04.dtd">
<data-sources>
<!-- Connection pool for oracle database -->
<!--
<connection-pool name="BPELPM_CONNECTION_POOL">
<connection-factory factory-class="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:[username]/[password]@[hostname]:[port]:[sid]" />
</connection-pool>
-->
<!-- Connection pool for oracle lite -->
<connection-pool name="BPELPM_CONNECTION_POOL">
<connection-factory factory-class="oracle.lite.poljdbc.POLJDBCDriver"
user="system"
password="manager"
url="jdbc:[email protected]:1531:orabpel" />
</connection-pool>
<managed-data-source name="BPELServerDataSource"
connection-pool-name="BPELPM_CONNECTION_POOL"
jndi-name="jdbc/BPELServerDataSource" tx-level="global"/>
<managed-data-source name="BPELServerDataSourceWorkflow"
connection-pool-name="BPELPM_CONNECTION_POOL"
jndi-name="jdbc/BPELServerDataSourceWorkflow" tx-level="local"/>
<managed-data-source name="BPELSamplesDataSource"
connection-pool-name="BPELPM_CONNECTION_POOL"
jndi-name="jdbc/BPELSamplesDataSource" />
</data-sources>
DBAdapter wsdl file
GetData_WS.wsdl
<?xml version="1.0" encoding="UTF-8"?>
<definitions
name="GetData_WS"
targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/GetData_WS/"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/GetData_WS/"
xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
xmlns:pc="http://xmlns.oracle.com/pcbpel/"
xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/GetDataWS"
xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/db/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/" location="DBAdapterOutboundHeader.wsdl"/>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/GetDataWS"
schemaLocation="GetDataWS_table.xsd"/>
</schema>
</types>
<message name="EmpDetailsViewCollection_msg">
<part name="EmpDetailsViewCollection" element="top:EmpDetailsViewCollection"/>
</message>
<message name="GetData_WSSelect_EMP_ID_inparameters">
<part name="GetData_WSSelect_EMP_ID_inparameters" element="top:GetData_WSSelect_EMP_IDInputParameters"/>
</message>
<portType name="GetData_WS_ptt">
<operation name="GetData_WSSelect_EMP_ID">
<input message="tns:GetData_WSSelect_EMP_ID_inparameters"/>
<output message="tns:EmpDetailsViewCollection_msg"/>
</operation>
</portType>
<binding name="GetData_WS_binding" type="tns:GetData_WS_ptt">
<jca:binding />
<operation name="GetData_WSSelect_EMP_ID">
<jca:operation
InteractionSpec="oracle.tip.adapter.db.DBReadInteractionSpec"
DescriptorName="GetDataWS.EmpDetailsView"
QueryName="GetData_WSSelect"
ReturnSingleResultSet="false"
MappingsMetaDataURL="GetDataWS_toplink_mappings.xml" />
<input>
<jca:header message="hdr:OutboundHeader_msg" part="outboundHeader"/>
</input>
</operation>
</binding>
<!-- Your runtime connection is declared in
J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml
These 'mcf' properties here are from your design time connection and
save you from having to edit that file and restart the application server
if eis/DB/DBConn_XE is missing.
These 'mcf' properties are safe to remove.
-->
<service name="GetData_WS">
<port name="GetData_WS_pt" binding="tns:GetData_WS_binding">
<jca:address location="eis/DB/DBConn_XE"
UIConnectionName="DBConn_XE"
ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
mcf.DriverClassName="oracle.jdbc.OracleDriver"
mcf.PlatformClassName="oracle.toplink.platform.database.oracle.OraclePlatform"
mcf.ConnectionString="jdbc:oracle:thin:@localhost:1521:xe"
mcf.UserName="hr"
mcf.Password="62C32F70E98297522AD97E15439FAC0E"
/>
</port>
</service>
<plt:partnerLinkType name="GetData_WS_plt" >
<plt:role name="GetData_WS_role" >
<plt:portType name="tns:GetData_WS_ptt" />
</plt:role>
</plt:partnerLinkType>
</definitions>
Thx,
DI
Similar Messages
-
Urgent help with simple BPEL process for reading data from database
Hello there,
I need help with BPEL project.
i have created a table Employee in Database.
I did create application, BPEL project and connection to the database properly using Database Adapter.
I need to read the records from the database and convert into xml fomat and it should to go approval for BPM worklist.
Can someone please describe me step by step what i need to do.
Thx,
DpsI have created a table in Database with data like Empno,name,salary,comments.
I created Database Connection in jsp page and connecting to BPEL process.
It initiates the process and it goes automatically for approval.
Please refer the code once which i created.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@page import="java.util.Map" %>
<%@page import="com.oracle.bpel.client.Locator" %>
<%@page import="com.oracle.bpel.client.NormalizedMessage" %>
<%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
<%@page import="javax.naming.Context" %>
<%@page import="java.util.Hashtable" %>
<%@page import="java.util.HashMap" %>
<%@ page import="java.sql.*"%>
<%@ page import= "jspprj.DBCon"%>
<html>
<head>
<title>Invoke CreditRatingService</title>
</head>
<body>
<%
DBCon dbcon=new DBCon();
Connection conn=dbcon.createConnection();
Statement st=null;
PreparedStatement pstmt=null;
Hashtable env= new Hashtable();
ResultSet rs = null;
Map payload =null;
try
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.PROVIDER_URL, "opmn:ormi://localhost:port:home/orabpel");//bpel server
env.put("java.naming.security.principal", "username");
env.put("java.naming.security.credentials", "password");//bpel console
Locator locator = new Locator("default","password",env);
IDeliveryService deliveryService =
(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
// construct the normalized message and send to Oracle BPEL Process Manager
NormalizedMessage nm = new NormalizedMessage();
java.util.HashMap map = new HashMap();
st=conn.createStatement();
out.println("connected");
String query1="Select * from EMPLOYEE";
rs=st.executeQuery(query1);
/*reading Data From Database and converting into XML format
so that no need of going to BPEL console and entering the details.
while (rs.next()){
String xml1 = "<AsynchBPELProcess1ProcessRequest xmlns='http://xmlns.oracle.com/AsynchBPELProcess1'>"+
"<Empno>"+rs.getString(1)+"</Empno>"+
"<EmpName>"+rs.getString(2)+"</EmpName>"+
"<Salary>"+rs.getString(3)+"</Salary>"+
"<Comments>"+rs.getString(4)+"</Comments>"+
"</AsynchBPELProcess1ProcessRequest>";
out.println(xml1);
nm.addPart("payload", xml1 );
// EmployeeApprovalProcess is the BPEL process in which human task is implemented
deliveryService.post("EmployeeApprovalProcess", "initiate", nm);
// payload = res.getPayload();
out.println( "BPELProcess CreditRatingService executed!<br>" );
// out.println( "Credit Rating is " + payload.get("payload") );
//Incase there is an exception while invoking the first server invoke the second server i.e lsgpas13.
catch(Exception ee) {
//("BPEL Server lsgpas14 invoking error.\n"+ee.toString());
%>
</body>
</html>
Its working fine.And i want it for Bulk approvals.please help me step by step procedure if any other way to implement this. -
Hello there,
I need help with BPEL project.
i have created a table Employee in Database.
I did create application, BPEL project and connection to the database properly using Database Adapter.
I need to read the records from the database and convert into xml fomat and it should to go approval for BPM worklist.
Can someone please describe me step by step what i need to do.
Thanks,
DpsRead the Demo examples given with Oracle BPEL Process Manager.
I am now at a proficient level in BPEL in the past 1 year,
still need to reach the excellent mark.
Thanks & Regards,
Gopal D. Kalsekar
Sr. Software Developer
Business Solutions (eGroup)
M.H. Alshaya Company W.L.L.
www.alshaya.com
Jai Maharashtra
P :- (965) 224 3598
F :- (965) 224 2488
E :- [email protected] -
How to make a simple BPEL-process with database access
I hope somebody can help me.
I want to make a BPEL process that get a message via MEDIATOR. That message has to update a database table.
So far as I know : start in composite with mediator - bpel process and database adaptor.
What have to be done in the bpel process ?
I hope somebody can help me, Thnx, CarelIn a nutshell -
Create a Database Adapter in the composite.xml UI. Drag a wire from BPEL process to that db adapter you just created. Go to BPEL process (double click), use invoke activity after the initial receive activity, and drag a wire to make the connection to the partner link on the right hand side swim lane (which is your DB Adapter).
On doing that, you will be seeing the input/output variables generated in the Invoke Activity (should be of type expected by DB adapter).
Next - drop an assign activity between Receive and Invoke and make the transformations from the "message from the mediator" to this Input Variable (created as part of the invoke activity).
You are good to go!
Regards
Swgt -
Hi all,
I'm working on Petri Nets verification and I'm new to BPEL but I need a simple BPEL process to proceed and I'm running out of time.
The needed function in BPEL is a one that takes x and y and returns z=y/x.
Your help is highly appreciated.
Thanks.That gave me a syntax error when I tried to parse it to PNML (Petri Net Markup Language) using BPEL2OWFN tool (http://www.gnu.org/software/bpel2owfn/). It said: syntax error , unexpected K_FROM.
I know this simple example process that I've used before:
+<process name="exampleprocess" targetNamespace="www.gnu.org/software/bpel2owfn">+
+<partnerLinks>+
+<partnerLink name="PL" partnerLinkType="PLT"+
myrole="exampleprocess" partnerRole="exampleuser" />
+</partnerLinks>+
+<sequence>+
+<receive partnerLink="PL" operation="req" createInstance="yes" />+
+<reply partnerLink="PL" operation="ack" />+
+</sequence>+
+</process>+
I need to plugin the function that gets 2 numbers and return z=x/y in that bpel code. The function must be a free one written in the code, and not a one got from another place (using <from> tage for example).
I hope I'm clear.
Thanks in advance. -
Error while deploying a simple bpel process
Hello All,
I have installed jdeveloper 11.1.1.3.0 and created a simple bpel process using string concat function and when I tried to deploy the same BPEL to process to a SOA server, I am getting the below error.
(The connection to remote weblogic server is successful)
java.lang.NoSuchMethodError: oracle.jdevimpl.deploy.dt.wizard.DefaultDeployAppServersToolkit: method <init>()V not found
o.tip.tools.ide.fabric.deploy.wizard.AppServerWizardStateProvider.newDeployAppServersToolkit(AppServerWizardStateProvider.java:78)
o.tip.tools.ide.fabric.deploy.wizard.AppServerWizardStateProvider.create(AppServerWizardStateProvider.java:67)
o.j.deploy.tk.spi.AbstractToolkitProvider.recognize(AbstractToolkitProvider.java:55)
o.j.deploy.tk.spi.AbstractToolkitProvider.recognize(AbstractToolkitProvider.java:35)
o.j.deploy.meta.pattern.builder.OBSpiRecognizer.createOBBuilder(OBSpiRecognizer.java:72)
o.j.deploy.meta.pattern.builder.OBSpiRecognizer.createOBBuilder(OBSpiRecognizer.java:58)
o.j.deploy.meta.pattern.builder.OBStager.builders(OBStager.java:127)
o.j.deploy.meta.pattern.builder.OBStager.types(OBStager.java:82)
o.j.deploy.meta.pattern.builder.OBFramework.createBuilder(OBFramework.java:67)
o.ji.deploy.tk.ToolkitRegistryImpl.getBuilder(ToolkitRegistryImpl.java:94)
o.j.deploy.dt.wizard.spi.AbstractWizardStateProvider$MainTkRegistryNarrowBuilder.build(AbstractWizardStateProvider.java:194)
o.j.deploy.dt.wizard.spi.AbstractWizardStateProvider.resolveTransition_(AbstractWizardStateProvider.java:171)
o.j.deploy.dt.wizard.spi.AbstractWizardStateProvider.resolveTransitions_(AbstractWizardStateProvider.java:119)
o.j.deploy.dt.wizard.spi.AbstractWizardStateProvider.resolveTransitions(AbstractWizardStateProvider.java:136)
o.tip.tools.ide.fabric.deploy.wizard.PrepackageStateProvider.create(PrepackageStateProvider.java:93)
o.j.deploy.tk.spi.AbstractToolkitProvider.recognize(AbstractToolkitProvider.java:55)
o.j.deploy.tk.spi.AbstractToolkitProvider.recognize(AbstractToolkitProvider.java:35)
o.j.deploy.meta.pattern.builder.OBSpiRecognizer.createOBBuilder(OBSpiRecognizer.java:72)
o.j.deploy.meta.pattern.builder.OBSpiRecognizer.createOBBuilder(OBSpiRecognizer.java:58)
o.j.deploy.meta.pattern.builder.OBStager.builders(OBStager.java:127)
o.j.deploy.meta.pattern.builder.OBStager.types(OBStager.java:82)
o.j.deploy.meta.pattern.builder.OBFramework.createBuilder(OBFramework.java:67)
o.ji.deploy.tk.ToolkitRegistryImpl.getBuilder(ToolkitRegistryImpl.java:94)
o.j.deploy.dt.wizard.spi.AbstractWizardStateProvider$MainTkRegistryNarrowBuilder.build(AbstractWizardStateProvider.java:194)
o.j.deploy.dt.wizard.spi.AbstractWizardStateProvider.resolveTransition_(AbstractWizardStateProvider.java:171)
o.j.deploy.dt.wizard.spi.AbstractWizardStateProvider.resolveTransitions_(AbstractWizardStateProvider.java:119)
o.j.deploy.dt.wizard.spi.AbstractWizardStateProvider.resolveTransitions(AbstractWizardStateProvider.java:136)
o.tip.tools.ide.fabric.deploy.wizard.SOADeployActionsWizardStateProvider.create(SOADeployActionsWizardStateProvider.java:63)
o.j.deploy.tk.spi.AbstractToolkitProvider.recognize(AbstractToolkitProvider.java:55)
o.j.deploy.tk.spi.AbstractToolkitProvider.recognize(AbstractToolkitProvider.java:35)
o.j.deploy.meta.pattern.builder.OBSpiRecognizer.createOBBuilder(OBSpiRecognizer.java:72)
o.j.deploy.meta.pattern.builder.OBSpiRecognizer.createOBBuilder(OBSpiRecognizer.java:58)
o.j.deploy.meta.pattern.builder.OBStager.builders(OBStager.java:127)
o.j.deploy.meta.pattern.builder.OBStager.types(OBStager.java:82)
o.j.deploy.meta.pattern.builder.OBFramework.createBuilder(OBFramework.java:67)
o.ji.deploy.tk.ToolkitRegistryImpl.getBuilder(ToolkitRegistryImpl.java:94)
o.ji.deploy.tk.ToolkitRegistryImpl.getBuilder(ToolkitRegistryImpl.java:86)
o.ji.deploy.dt.wizard.spi.DeployWizardBuilderProvider.create(DeployWizardBuilderProvider.java:57)
o.j.deploy.tk.spi.AbstractToolkitProvider.recognize(AbstractToolkitProvider.java:55)
o.j.deploy.tk.spi.AbstractToolkitProvider.recognize(AbstractToolkitProvider.java:35)
o.j.deploy.meta.pattern.builder.OBSpiRecognizer.createOBBuilder(OBSpiRecognizer.java:72)
o.j.deploy.meta.pattern.builder.OBSpiRecognizer.createOBBuilder(OBSpiRecognizer.java:58)
o.j.deploy.meta.pattern.builder.OBStager.builders(OBStager.java:127)
o.j.deploy.meta.pattern.builder.OBStager.types(OBStager.java:82)
o.j.deploy.meta.pattern.builder.OBFramework.createBuilder(OBFramework.java:67)
o.ji.deploy.tk.ToolkitRegistryImpl.getBuilder(ToolkitRegistryImpl.java:94)
o.ji.deploy.tk.ToolkitRegistryImpl.getBuilder(ToolkitRegistryImpl.java:86)
o.j.deploy.dt.wizard.DeployWizard.getWizardBuilder(DeployWizard.java:158)
o.j.deploy.dt.wizard.DeployWizard.invoke(DeployWizard.java:125)
o.ji.deploy.DeployMenuManager$ProfileAction.actionPerformed(DeployMenuManager.java:429)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.AbstractButton.doClick(AbstractButton.java:357)
jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
j.a.Component.processMouseEvent(Component.java:6263)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6028)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4630)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4460)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4460)
j.a.EventQueue.dispatchEvent(EventQueue.java:599)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)Hi,
please try the SOA forum: SOA Suite
Frank -
Problem with calling AQ JMS Adapter with Asynchronous BPEL Process
I have a AQ JMS Adapter and i'm invoking the adapter in my BPEL process.
I'm passing an xml as payload to AQ JMS adapter. When i post the xml in the BPEL Control, i'm getting the follwoing message:
"Cannot find the specified instance". I have tried 3-4 times but getting same message all the time.
However, i'm able to publish xml to JMS Topic with synchronous BPEL process.
I want to use asynchronous BPLE process.
Please let me know if there is a way to overcome this issue.
Thanks in advance.
Thanx in Advance.I am experiencing the exact same issue while configuring for Tibco EMS!!!
I have also checked the oc4j-xa.xml file etc and I am also unable to find any guidance on the steps required from XML config files through to adapter wizard entries! -
BUSINESS RULES WITH SYNCHRONOUS BPEL PROCESS
Hi
I want to know whether i can use Business Rules with Synchronous BPEL process. Actually i developed an example synchronous BPEL process but while invoking decision service it generated an error stating RECEIVE TIMEOUT fault. But when i created identical process in ASYNCHRONOUS mode it went through without any error.
Thanks and Regards
VishnuJust in case, here is some documentation about changing the syncMaxWaitTime
http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28980/bpel_install.htm
Jan Kettenis -
Eclipse BPEL Designer with Oracle BPEL Process Manager
Gurus,
I am tryting to develop a BPEL 2 process using Eclipse Helios BPEL Designer (v0.5).
Request your help with a problem that I am facing, which is as follows:
I am trying to create a Partner Link (PL) in my BPEL process, using the Partner Link Type (PLT) provided by TaskService (for user interactions) in BPEL Process Manager 11g integration services.
However, the PLT is not recognized by Eclipse BPEL Designer. The Port Types in the WSDL show up but not the PLTs.
I noticed that the PLT namespace being used in the TaskService WSDL is BPEL v1 namespace (namely, http://schemas.xmlsoap.org/ws/2003/05/partner-link/). I am able to work with PLTs from WSDLs with BPEL v2 namespce (namely, http://docs.oasis-open.org/wsbpel/2.0/plnktype)
Is there anyway I can work with v1 PLTs using Eclipse BPEL 2 Process?
Many Thanks,
Pulkit SharmaHi,
I believe the Eclipse BPEL Designer is not a supported tool to create SOA composites. I suggest using Oracle JDeveloper 11g as it is a supported tool for development and is Oracle's go-forward IDE strategy.
Hope this helps! -
Help with SimpleApproval BPEL sample
Hi,
I'm having trouble with the last step of setting up SimpleApproval, "Create S2S Trusted Application", and also activating the BPEL process within Content DB.
Here is my setup. Everything is on one Windows XP machine:
- OAS Infrastructure 10.1.4
- Oracle Content Database 10.2
- Oracle SOA Suite 10.1.3.1
How is runS2S.sh supposed to work on Windows? Is this step necessary? Is there any way to create the application entity with Enterprise Manager?
When the user "matt" uploads a document in the folder "Development", it doesn't trigger the workflow and the BPEL process isn't activated. The file domain.log has the following message (see below). Is this because there's no S2S trusted application?
Can anyone help?
Thanks,
Tom
ORABPEL-05002
Error in message routine.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage" The following exception was thrown. Block could not handle the exception. Der Versuch des Blocks "BpPrc0", die Business Exception für die Instanz "20001" zu behandeln, war nicht erfolgreich. Es wurde folgende Exception gemeldet: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {null}
parts: {{code=oracle.xml.parser.v2.XMLElement@b759bb, summary=oracle.xml.parser.v2.XMLElement@164317d, detail=oracle.xml.parser.v2.XMLElement@ed3da6}}
Wenn dieser Block für den Prozess eine benutzerdefinierte Codierung hat, überprüfen Sie die Implementierung.
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor50.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.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)Hi ChristianRoth,
Take a look at this tutorial; it addresses how to change the duty cycle dynamically. I hope it is helpful,
Ana P
National Instruments
Applications Engineer -
Need urgent help with Ifs1.1 on Solaris
We have installed IFS 1.1 with Oracle 8.1.7 on a three tier System (two Suns). We use JWS as WebServer. When we start IFS and JWS everything seems to work fine. But after some time (irregulary) we are not able to contact the JSP-Sites via a bowser. After restarting JWS, everything works fine for some time.
Sometimes it happens (about one times a day), that the whole JWS crashes (JWS-Admin doesn't work). So we have to restart the whole IFS.
What can be the problem? We need urgent help, because the deadline for our project is Wednesday.
By the way:
Where do I have to start CTX on the IFS- or the Oracle-Side?
nullYes, we tried the Oracle HTTP - Server, but we weren4t able to get it to work. We didn4t get our JSP-Files to work with it. But that is another issue. I think it4s not a problem of JWS, but IFS.
Additionally it is strange, that we are still able to connect to the database via SqlPlus.
IFS works fine for about 15 minutes, than it crashes, nothing works anymore. We found following errors in the IfsAgents.log:
maybe it can help?!
Mon Dec 04 23:12:20 CET 2000
Server STARTED: IfsAgents(19944) not managed
Attempting to load agent EventExchangerAgent
Agent EventExchangerAgent loaded
Server STARTED: IfsProtocols(19945) not managed
Attempting to start agent EventExchangerAgent
EventExchangerAgent: Start request
Agent EventExchangerAgent started
Attempting to load agent ExpirationAgent
Agent ExpirationAgent loaded
EventExchangerAgent: starting timer
Attempting to start agent ExpirationAgent
ExpirationAgent: Start request
Agent ExpirationAgent started
Attempting to load agent GarbageCollectionAgent
Agent GarbageCollectionAgent loaded
ExpirationAgent: computed initial delay (in ms) is: 10024504
ExpirationAgent: starting timer
Attempting to start agent GarbageCollectionAgent
GarbageCollectionAgent: Start request
Agent GarbageCollectionAgent started
Attempting to load agent ContentGarbageCollectionAgent
Agent ContentGarbageCollectionAgent loaded
GarbageCollectionAgent: computed initial delay (in ms) is: 11816890
GarbageCollectionAgent: starting timer
Attempting to start agent ContentGarbageCollectionAgent
ContentGarbageCollectionAgent: Start request
Agent ContentGarbageCollectionAgent started
Attempting to load agent DanglingObjectAVCleanupAgent
Agent DanglingObjectAVCleanupAgent loaded
ContentGarbageCollectionAgent: starting timer
Attempting to start agent DanglingObjectAVCleanupAgent
DanglingObjectAVCleanupAgent: Start request
Agent DanglingObjectAVCleanupAgent started
Attempting to load agent OutboxAgent
Agent OutboxAgent loaded
DanglingObjectAVCleanupAgent: computed initial delay (in ms) is: 5500105
DanglingObjectAVCleanupAgent: starting timer
Attempting to start agent OutboxAgent
OutboxAgent: Start request
Agent OutboxAgent started
Attempting to load agent ServiceWatchdogAgent
Agent ServiceWatchdogAgent loaded
OutboxAgent: Done processing
Attempting to start agent ServiceWatchdogAgent
ServiceWatchdogAgent: Start request
Agent ServiceWatchdogAgent started
Attempting to load agent QuotaAgent
Agent QuotaAgent loaded
ServiceWatchdogAgent: Initializing ServerWatchdogTable with 9 entries
ServiceWatchdogAgent: starting timer
Server STARTED: FtpServer(20082) managed by IfsProtocols(19945)
ServiceWatchdogAgent: New Server being watchdogged
Attempting to start agent QuotaAgent
QuotaAgent: Start request
Agent QuotaAgent started
QuotaAgent: starting timer
Server STARTED: CupServer(20124) managed by IfsProtocols(19945)
ServiceWatchdogAgent: New Server being watchdogged
Server STARTED: ImapServer(20130) managed by IfsProtocols(19945)
ServiceWatchdogAgent: New Server being watchdogged
Server STARTED: SmtpServer(20150) managed by IfsProtocols(19945)
ServiceWatchdogAgent: New Server being watchdogged
ServiceWatchdogAgent: Unlocked Server Detected in checkServer
ServiceWatchdogAgent: Unlocked Server Detected in checkServer
ServiceWatchdogAgent: Unlocked Server Detected in checkServer
ServiceWatchdogAgent: Unlocked Server Detected in checkServer
ServiceWatchdogAgent: Unlocked Server Detected in checkServer
ServiceWatchdogAgent: Unlocked Server Detected in checkServer
ServiceWatchdogAgent: Unlocked Server being investigated
ServiceWatchdogAgent: Unlocked Server being investigated
ServiceWatchdogAgent: Unlocked Server being investigated
ServiceWatchdogAgent: Unlocked Server being investigated
ServiceWatchdogAgent: Unlocked Server being investigated
ServiceWatchdogAgent: Unlocked Server being investigated
ServiceWatchdogAgent: Freeing unlocked server 19687
ServiceWatchdogAgent: Freeing unlocked server 19666
Server STOPPED: CupServer(19687) managed by IfsProtocols(19519)
ServiceWatchdogAgent: Freeing unlocked server 19723
ServiceWatchdogAgent: Freeing unlocked server 19520
Server STOPPED: FtpServer(19666) managed by IfsProtocols(19519)
Server STOPPED: SmtpServer(19723) managed by IfsProtocols(19519)
ServiceWatchdogAgent: Freeing unlocked server 19519
Server STOPPED: IfsAgents(19520) not managed
ServiceWatchdogAgent: Freeing unlocked server 19712
Server STOPPED: IfsProtocols(19519) not managed
Server STOPPED: ImapServer(19712) managed by IfsProtocols(19519)
ServiceWatchdogAgent: Freed Server removed from watchdog list
ServiceWatchdogAgent: Freed Server removed from watchdog list
ServiceWatchdogAgent: Freed Server removed from watchdog list
ServiceWatchdogAgent: Freed Server removed from watchdog list
ServiceWatchdogAgent: Freed Server removed from watchdog list
ServiceWatchdogAgent: Freed Server removed from watchdog list
QuotaAgent: Timer event: 0 active; 0 exceeded
ContentGarbageCollectionAgent: Freed 5 unreferenced ContentObjects
QuotaAgent: Timer event: 0 active; 0 exceeded
ServiceWatchdogAgent: IfsException publishing timer details:
ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-11012: Unable to get events from other services
java.sql.SQLException: ORA-03114: not connected to ORACLE
ServiceWatchdogAgent: IfsException in checkForDeadServices():
ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
java.sql.SQLException: ORA-03114: not connected to ORACLE
ServiceWatchdogAgent: IfsException in handle loop; continuing:
ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
java.sql.SQLException: ORA-03114: not connected to ORACLE
ServiceWatchdogAgent: IfsException publishing timer details:
ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
java.sql.SQLException: ORA-03114: not connected to ORACLE
ServiceWatchdogAgent: IfsException publishing timer details:
ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
java.sql.SQLException: ORA-03114: not connected to ORACLE
ServiceWatchdogAgent: IfsException publishing timer details:
ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
java.sql.SQLException: ORA-03114: not connected to ORACLE
ServiceWatchdogAgent: IfsException publishing timer details:
ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
java.sql.SQLException: ORA-03114: not connected to ORACLE
ServiceWatchdogAgent: IfsException publishing timer details:
ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
java.sql.SQLException: ORA-03114: not connected to ORACLE
null -
Create Lead with Oracle BPEL process using Siebel CRMOD web service
I'm trying to create a lead in the siebel OD (hosted) with a oracle BPEL process and using the siebel web service (2.0). In my bpel process I've been able to
1. Login to OD and get a session id
2. create the partner link using Siebel OD (version 2.0) wsdl for Lead
3. Assign the session id to the partner link
4. Assign the inputs (lastname, firstname, leadowner, viewMode=Personal, lovLanguageMode=LDC) to lead
5. Call the leadInsert operation on the partner link
However, when I deploy and execute the bpel process it breaks after calling the leadInsert with the following error message:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Server</code>
</part><part name="summary"><summary>The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)</summary>
</part><part name="detail"><detail><detail>
<siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:logfilename xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">OnDemandServicesObjMgr_enu_138636.log</siebelf:logfilename>
<siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:error xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:errorcode xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">(SBL-DAT-00494)</siebelf:errorcode>
<siebelf:errorsymbol xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
<siebelf:errormsg xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)</siebelf:errormsg>
</siebelf:error>
</siebelf:errorstack>
</siebelf:siebdetail>
</detail>
</detail>
</part></remoteFault>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Any feedback as to what I'm doing worng woull be greatly appreciated.
Thanks,
--manojHi,
We are also using BPEL to send data out to SIEBEL CRMOD.
I've created a proxy that deals with authentication and session management.
All you have to do is to deploy the proxy as a war file and refrence it as the end-point of your partner link.
Code is here:
http://another-soa-blog.blogspot.com/2010/02/oracle-siebel-on-demand-session-and.html
Regards,
Fred. -
Urgent help with Pages 5.0 needed
Hi guys,
I need urgent help! I deleted Pages 5.0 (as I HATED it) but now can't open a very important document. Can someone please tell me how to reinstall it??
Thanks
KellieDownloading again is not as easy as that. you must find the app in the "Purchased" section of the
app store and I think you then must hold down the option key to reinstall it.
BTW, I only worked with one document as a trial for Pages 5 and then imported it to Word and saved it. I then deleted Pages 5 (I can't believe anyone who works with software would think that piece of worthless junk would sufice for anyone who uses a word processor professionally), reopened the Word document and saved it in Pages 09.
I hope this helps -
hi guys
Need urgent help before i throw my macbook pro retina 15'' 2013 out the window.
Ive installed Windows 7 onto my macbook via bootcamp, everything ok, but it doesnt recognise anything i put in external disc drive, so i cant install and drivers or find my network or anything, im so sorry if its so simple but im such a novice, and installing windows 7 is an accomplishment in itself, can someone please help me?
many thankshttp://www.amazon.co.uk/Integral-32GB-Courier-Flash-Drive/dp/B007ZSLZ5E/ref=sr_1 _12?s=computers&ie=UTF8&qid=1363213300&sr=1-12#productDetails
this work? -
Urgent Help with Planning Book
Hello Gurus,
Need your help with a very urgent issue. I cannot see my key figure values in my planning book(Interactive Planning). I could sucessfully generate my CVC, then initialised my planning area. Then when I go the interactive planning I can see all my characteristics -Ex Material master( has all values), Prod type has values, etc. Iam in DEV system and have to move the whole config to QA now. I have to validate that the config works in QA. Its works ok in the sandbox but I cannot figureout why I can not see the values for key figs that Iam loading from a Flat File. Please help!!!!!!Hello Suresh,
I have one more question for you. Let me tell you my scenario. I have the client giving me a rough forecast for the future. I have to do stat forecast based on the history and check that against the initial forecast given by them. But, the problem I realised now is that when I go to my planning books I can see the values for 2008 in mothly buckets since I have 0calmonth. But the client gave me another file with forecast for 2008 in monthly buckets and for 2009 and 2010 in quarter buckets. So, i have a planning buck profile defined to meet that but, how do I upload the file with both 0calmonth and 0calquarter in a single file. Please let me know!! Urgent task.
Thanks again,
Chinna.
Maybe you are looking for
-
Can you purchase from a US iTunes store if you are in Australia???
I just want to rent or buy a movie that is available in the US iTunes store, but not available over here in Australia.. Does anybody know how I'd go about doing that or if it's even possible?? Thanks heaps... Paula
-
New Contacts on the Phone, and problem syncing with Outlook.
I have an iPhone4 with the iOS5 software. I recently did a sync with my phone (regular sync using iTunes and not iCloud). I had added some new contacts to my phone, but after the sync was complete, the contact was removed from my phone. I assume b
-
Naming reference to an applet component in an ADF faces?
Hi, There might be two possible way to retrieve an applet in a adf page. One is using UIComponent.findComponent("namePath") of ADF faces. The other is use javascript with document.appletName. The applet tag has a name attribute which enables javascri
-
How do I get word file to convert to pdf
How do I get word to convert to pdf? It worked yesterday and not working today.
-
Where can I get JSF 1.1_02-b08 ?
Hi, I've seen this version number used by third party open source provider but, I can't find it anywhere. Why isn't on the Sun website? Can someone direct me to a site where I could download it and read the release notes. Thanks