Enumeration on BPM
Hi , I am starting to work with BPM Suite and got this problem : modeling human Task ,seldom I have encountered some costants data type , for example I have created a BO based on XSD into witch I have defined an Enumeration.
Now ,when I working with UI self created page I need some of these contants and enumerations , for example to expose as combo list of values.
There is a way to declare these costants/enums in just one place as if some value or description need to be changed , this work doesn't create dependency problem ?
thanks.
Hi,
There are so many steps invovled in BPM.
First, try with simple scenarios like File-RFC-File (async-sync-async) involving less number of steps.https:///people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Examples for BPM scenarios are given in this help link
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm
and there are so many blogs about the use of BPM steps in SDN.
These practices will give u proficiency in BPM.
Good luck.
Regards,
Uma
Similar Messages
-
Oracle BPM Studio 10g R3 cataloging Web Services strips special characters
Hi folks,
I have a Web Service that I'd like to invoke from an activity in my process.
When I catalog the WSDL, BPM Studio creates the associated External Resource just fine except for one small problem, namely all Simple Types that have 'special characters' in their enumerated String values are stripped clean.
Example 1:
ADSL1
ADSL2
ADSL2+
--> The plus is stripped from ADSL2+, causing BPM Studio to flag two problems caused by duplicate 'ADSL' values
Example 2:
adsl1#foo/123
--> Everything to the left of 123 is stripped leaving only '123' as a value
In fact in the BPM Studio's Editor, the only special character that is allowed is the underscore. Everything else e.g. \ # etc etc cannot be keyed in.
Has anyone come across this before? Thanks for reading :-)
cheers
jm -
Mapping enumeration (multiple values) to a 1..n field
Hi Experts,
I try to pass an enumeration (with three values) to a field of type string (1..unbounded). Therefor I have created an XSD file with this three values:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns="http://XXXX.net/Reservation/Sharepoint"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://XXXX.net/Reservation/Sharepoint">
<xsd:complexType name="SubscribeEventTypes">
<xsd:sequence>
<xsd:element name="EventTypes">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="EventType">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CreatedEvent" />
<xsd:enumeration value="ModifiedEvent" />
<xsd:enumeration value="DeletedEvent" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
The XSD based on the Microsoft Web Service Interface for Exchange Server (OLX).
Another try of myself was the string-joing extraction (but did not worked for me):
string-join("CreatedEvent,ModifiedEvent,DeletedEvent",",")
Without this values, I can't start the accordant operation.
Many Thanks for help.
Cheers,
CengizNo, it's not a part of response what I'm talking about. I try to pass three values to an enumeration field which belongs to the request object. Microsoft has a Web Service interface to access the content of the MS Exchange (OLX) server. If you want to start this operation, you need to pass these values to the request object's parameter named "EventTypes":
"CreatedEvent", "ModifiedEvent" and "DeletedEvent"
I have tried to do this with the BPM exclusion "single-join". Here you can define these three values and a separater (e. g. a comma), but has not worked for me.
Cheers,
Cengiz -
Business Rules Error when Decision Function surfaced as WebService in BPM
To use a BusinessRule as from a Business Rules activity,it needs to be surfaced as a WebService.
I've run into an issue where as soon as I check that box and save, the BusinessRule in question goes into a error mode when viewed from the BPM Project Manager (which is why this question is posted here).
The scenario is this:
My types are defiend in XSD. There is a SimpleType - FooStepTypeType - which is a retricted xs:string, the common way top create an enumeration. I import this as an XML fact, it creates a Enum bucketset, which is perfect. I create a decision function - DecisionFunction1 - which has an input parameter of this type and a boolean output. I set up a simple decision table to use the input and assert the output. The editor is happy.
At this point, I can't use the DF in my process, as it's not exposed a service, and won't be selectable via the the Properties/Implementation of a Business Rules activity.
A soon as I mark the DF as a WebService and save it, an the rule disappears from the Rules section of the Business Catalog and reappears at the root of the catalog in error. In some cases it can't be edited.
Hovering over the error file produced this error message:
The argument ‘step’ of decision function ‘DecisionFunction1’ could not build because of ‘BPM-71517: Unable to identify the parameter QName. Cause: ‘FooStepTypeType. Action: Make sure that the decision function parameter is of XML type and exactly one XML Schema Element exists that represents the parameter’.
My XSD previously did not contain a freestanding element of this type, but had elements defined in another complex type of this type. Adding a freestanding element didn't change anything. In fact it seems that elements are not avaialble to be imported as XMLFacts, only types.
At this point, if the Rules editor is still open, the DF can be "unserviced" and after saving may be recoverable with a JDev restart. If not, manually removing the DF from the .rules xml file can help recover the file so that it can be edited again.
SO: THE QUESTIONS.
Why can't I use a simpleType as an input parameter for a DF exposed as a WebService? What is BPM-71517 asking me to do exactly? I can't find any references to it via searching. Why does eveything seem fine until I expose it?
Addendum - using JDev 11.1.1.4.0 with BPM tools 11.1.1.4.0.5682
Addendum2 - upgraded to 11.1.1.5.0 and the problem is still there.....
TIA,
Bill
Edited by: wylderbeast on May 20, 2011 9:38 AM
Edited by: wylderbeast on May 20, 2011 10:09 AM
Edited by: wylderbeast on May 31, 2011 3:22 PMFurther invesitgation bears this problem out.
Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
This is a bit messy.
To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
As a side note, it seems that HumanTasks have a similar limitation
Edited by: wylderbeast on May 31, 2011 3:27 PM -
Hi,
I am fairly new to coding with BPM. I am trying to create a presentation that will allow a user to upload a file to the server. I do not where to start.
Dose anyone know how to do this? I am using BPM 5.7 w/ALUI 6
Any help in the matter will greatly appreciated
LilachIf you have used the FileChooser correctly with all the JSP's attached..in ur screenflow..u shud be able to see the attachments in the inbox....
Remember u have to use the following function:-
(Attachment).create(contents : null, name : "", description : "");
So that the attachment is seen in the inbox...
Check...
Fuego.Lib.Attachment in the catalog....
Also make sure, u are using the key - value pair as shown in the FileChooser example...
Also, the FileChooser uses enumerations..Make sure u go to advanced properties when u attach the JSP to the activity inside the screenflow to set it....
I am talking abt ... Inside Screenflow --> Interactive Component Call ---> Main Task ----> Advanced (Properties---at the bottom) ----> showOut.. -
Hello everybody,
we poll via file adapter. The files we read are processed in BPM.
Is it possible to access the value of a file name in BPM?
Regards MarioHi Mario,
yes,
set the Set Adapter-Specific Message Attributes indicator at communication channel and choose file name to store adapter attribute "file name" in the message header of the XI message. Map the value into the message to have it at BPM containter.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">SAP Library: Configuring the Sender File/FTP Adapter</a>
Regards,
Udo -
BPM Process chain takes long time to process
We have BI7, Netweaver 2004s on Oracle and SUN Solaris
There is a process chain (BPM) which pulls data from the CRM system into BW. The scheduled time to run this chain is 0034 hrs. This chain should ideally complete before / around 0830 Hrs. <b>Now the problem is that every alternate day this chain behaves normally and gets completed well before 0830 hrs but every alternate day this chain fails </b> there are almost 40 chains running daily. Some are event triggered (dependent with each other) or some run in parallel. In this, (BPM) process chain, usually there are 5 requests with 3 Delta and 2 full uploads (Master Data). The delta uploads finishes in 30 minutes without any issues with very few record transfers. The first full upload is from 0034 hrs to approximately 0130 hrs and the 2nd upload is from 0130 hrs to 0230 hrs. Now if the 1st upload gets delayed then the people who are initiating these chains, stop the 2nd full upload and continue it after all the process chains are completed. Now this entire BPM process chain sometimes takes 17 -18 hrs to complete!!!!!
No other loads in CRM or BW when these process chains are running
CRM has background jobs to push IDOCS to BW which run every 2 minutes which runs successfully
Yesterday this chain got completed successfully (well within stipulated time) with over 33,00,000 records transferred but sometimes it has failed to transfer even 12,00,000 records!!
Attaching a zip file, please refer the 21 to 26 Analysis screen shot.doc from the zip file
Within the zip file, attaching Normal timings of daily process chains.xls the name explains it .
Also within the zip file refer BPM Infoprovider and data source screen shot.doc please refer this file as the infopackage (page 2) which was used in the process chain is not displayed later on in page number 6 BUT CHAIN GOT SUCESSFULLY COMPLETED
We have analyzed:--
1) The PSA data for BPM process chain for past few days
2) The info providers for BPM process chain for past few days
3) The ODS entries for BPM process chain for past few days
4) The point of failure of BPM process chain for past few days
5) The overall performance of all the process chains for past few days
6) The number of requests in BW for this process chain
7) The load on CRM system for past few days when this process chain ran on BW system
As per our analysis, there are couple of things which can be fixed in the BW system:--
1) The partner agreement (transaction WE20) defined for the partner LS/BP3CLNT475 mentions both message types RSSEND and RSINFO: -- collect IDOCs and pack size = 1 Since the pack size = 1 will generate 1 TRFC call per IDOC, it should be changed to 10 so that less number of TRFCs will be generated thus less overhead for the BW server resulting in the increase in performance
2) In the definition of destination for the concerned RFC in BW (SM59), the Technical Setting tab says the Load balancing option = No. We are planning to make it Yes
But we believe that though these changes will bring some increase in performance, this is not the root cause of the abnormal behavior of this chain as this chain runs successfully on every alternate day with approximately the same amount of load in it.
I was not able to attach the many screen shots or the info which I had gathered during my analysis. Please advice how do I attach these files
Best Regards,Hi,
Normally index creation or deletion can take long time in case your database statistics are not updated properly, so can check stat after your data loading is completed and index generation is done, Do creation of database statistics.
Then try to recheck ...
Regards,
Satya -
Error while creating Attribute In BPM Object
Hi,
I am getting error while creating attributes in BPM Object.I am not able to open BPm object. while opening I am getting Below error.
Please suggest.
java.lang.StringIndexOutOfBoundsException: String index out of range: 28
at java.lang.String.charAt(Unknown Source)
at fuego.type.TypeFactory.createFromName(TypeFactory.java:482)
at fuego.type.TypeFactory.forNameLazy(TypeFactory.java:263)
at fuego.lang.CollectionTypeDescription.getIndexTypeRef(CollectionTypeDescription.java:146)
at fuego.compiler.type.TypeRenderer.renderArrayType(TypeRenderer.java:355)
at fuego.compiler.type.TypeRenderer.renderType(TypeRenderer.java:261)
at fuego.compiler.type.TypeRenderer.renderArrayType(TypeRenderer.java:344)
at fuego.compiler.type.TypeRenderer.renderType(TypeRenderer.java:261)
at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:106)
at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:94)
at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:78)
at fuego.designer.XObjectComponentStructurePanel$CellTypeRenderer.getText(XObjectComponentStructurePanel.java:612)
at fuego.designer.XObjectComponentStructurePanel$CellTypeRenderer.getText(XObjectComponentStructurePanel.java:605)
at fuego.ui.peer.swt.SwtTable$SwtTableModel.getColumnText(SwtTable.java:956)
at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:70)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:135)
at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:386)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:466)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2026)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:695)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:633)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:620)
at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1433)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1368)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1431)
at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:536)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1390)
at fuego.ui.peer.swt.SwtViewer.repaint(SwtViewer.java:59)
at fuego.ui.peer.swt.SwtColumn.setLabelProvider(SwtColumn.java:89)
at fuego.ui.Column.setLabelProvider(Column.java:82)
at fuego.designer.XObjectComponentStructurePanel.buildUI(XObjectComponentStructurePanel.java:299)
at fuego.designer.AbstractEditor.build(AbstractEditor.java:542)
at fuego.designer.AbstractEditor.init(AbstractEditor.java:133)
at fuego.designer.XObjectComponentStructurePanel.<init>(XObjectComponentStructurePanel.java:126)
at fuego.eclipse.studio.multipageeditor.BPMObjectMultipartEditor.createStructurePage(BPMObjectMultipartEditor.java:581)
at fuego.eclipse.studio.multipageeditor.BPMObjectMultipartEditor.addDefaultPages(BPMObjectMultipartEditor.java:464)
at fuego.eclipse.studio.multipageeditor.ExtendedMultiPageEditorPart.createPages(ExtendedMultiPageEditorPart.java:399)
at fuego.eclipse.studio.multipageeditor.eclipse.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:253)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2737)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2557)
at fuego.eclipse.ui.DefaultEditor.open(DefaultEditor.java:65)
at fuego.eclipse.studio.EclipseWorkbench.createEditorFromResource(EclipseWorkbench.java:529)
at fuego.eclipse.studio.EclipseWorkbench.createEditor(EclipseWorkbench.java:297)
at fuego.designer.action.OpenCatalogNodeAction.open(OpenCatalogNodeAction.java:91)
at fuego.designer.action.OpenCatalogNodeAction.run(OpenCatalogNodeAction.java:55)
at fuego.eclipse.ui.EclipseAction.run(EclipseAction.java:180)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)When you say you're having trouble "opening" the BPM Object, is it possible you instead mean you're having trouble expanding the BPM Object?
Just a guess, but if you're having trouble expanding the BPM Object I'd suspect that the object's xcdl contents might be corrupted. You might want to consider exporting and saving a backup of the project and then try deleting the object from the Project Navigator. Rebuild the BPM Object once you've deleted it.
Dan -
Error while calling ejb service call from BPM service
Hi,
We are using the Oracle 11.1.1.5.0
We are calling ejb service call from BPM service to update the data to Oracle database.
We are getting the below error when we executing the ejb service call from BPM Service.
<Error> <EJB> <BEA-010026> <Exception occurred du
ring commit of transaction Name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliver
yBean.handleCallback(java.lang.String,java.lang.String,java.lang.String,int,bool
ean)],Xid=BEA1-45B91984D57960994897(30845116),Status=Rolled back. [Reason=javax.
transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a p
articipant in two-phase commit. To force this participation, set the GlobalTrans
actionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhas
eCommit for the Data Source = EBSConnection],numRepliesOwedMe=0,numRepliesOwedOt
hers=0,seconds since begin=1,seconds left=60,XAServerResourceInfo[SOADataSource_
base_domain]=(ServerResourceInfo[SOADataSource_base_domain]=(state=rolledback,as
signed=soa_server1),xar=SOADataSource,re-Registered = false),XAServerResourceInf
o[ArCnTaskForms@EBSConnection@EBSConnection_base_domain]=(ServerResourceInfo[ArC
nTaskForms@EBSConnection@EBSConnection_base_domain]=(state=rolledback,assigned=s
oa_server1),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@fa5476,re-Registe
red = false),SCInfo[base_domain+soa_server1]=(state=rolledback),properties=({web
logic.jdbc.remote.EBSConnection=t3://192.168.10.114:8001, weblogic.transaction.n
ame=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(java.la
ng.String,java.lang.String,java.lang.String,int,boolean)]}),local properties=({w
eblogic.jdbc.jta.SOADataSource=[ No XAConnection is attached to this TxInfo ]}),
OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=soa
server1+192.168.10.114:8001+basedomain+t3+, XAResources={eis/tibjms/Queue, eis
/activemq/Queue, WLStore_base_domain_BPMJMSFileStore, WLStore_base_domain__WLS_s
oa_server1, eis/fioranomq/Topic, eis/jbossmq/Queue, eis/Apps/Apps, eis/websphere
mq/Queue, eis/AQ/aqSample, WLStore_base_domain_SOAJMSFileStore, eis/aqjms/Queue,
WSATGatewayRM_soa_server1_base_domain, eis/sunmq/Queue, eis/pramati/Queue, SSCo
nnectionDS_base_domain, eis/tibjms/Topic, eis/tibjmsDirect/Queue, eis/wls/Queue,
eis/tibjmsDirect/Topic, EDNDataSource_base_domain, eis/wls/Topic, eis/aqjms/Top
ic, RL3TST_base_domain, ArCnTaskForms@EBSConnection@EBSConnection_base_domain, S
OADataSource_base_domain, WLStore_base_domain_UMSJMSFileStore_auto_2},NonXAResou
rces={})],CoordinatorURL=soa_server1+192.168.10.114:8001+base_domain+t3+): weblo
gic.transaction.RollbackException: Could not prepare resource 'ArCnTaskForms@EBS
Connection@EBSConnection_base_domain
JDBC driver does not support XA, hence cannot be a participant in two-phase comm
it. To force this participation, set the GlobalTransactionsProtocol attribute to
LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source
= EBSConnection
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
TransactionImpl.java:1881)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
rverTransactionImpl.java:345)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
sactionImpl.java:239)
at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocal
Object.java:622)
at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetr
y(BaseLocalObject.java:455)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Sess
ionLocalMethodInvoker.java:52)
at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDelivery
LocalBeanImpl.handleCallback(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMes
sageHandler.handle(CallbackDeliveryMessageHandler.java:47)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
hHelper.java:140)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
hTask.java:88)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
k.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.transaction.xa.XAException: JDBC driver does not support XA, he
nce cannot be a participant in two-phase commit. To force this participation, se
t the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended)
or EmulateTwoPhaseCommit for the Data Source = EBSConnection
at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
a:83)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:1327)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:513)
at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
8)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
.>
<12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
0000> <failed to handle message
javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot
be a participant in two-phase commit. To force this participation, set the Globa
lTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateT
woPhaseCommit for the Data Source = EBSConnection
at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
a:83)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:1327)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:513)
at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
8)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
<12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
0000> <Failed to handle dispatch message ... exception ORABPEL-05002
Message handle error.
error while attempting to process the message "com.collaxa.cube.engine.dispatch.
message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
driver does not support XA, hence cannot be a participant in two-phase commit.
To force this participation, set the GlobalTransactionsProtocol attribute to Log
gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
SConnection
This error contained an exception thrown by the message handler.
Check the exception trace in the log (with logging level set to debug mode).
ORABPEL-05002
Message handle error.
error while attempting to process the message "com.collaxa.cube.engine.dispatch.
message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
driver does not support XA, hence cannot be a participant in two-phase commit.
To force this participation, set the GlobalTransactionsProtocol attribute to Log
gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
SConnection
This error contained an exception thrown by the message handler.
Check the exception trace in the log (with logging level set to debug mode).
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
hHelper.java:207)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
hTask.java:88)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
k.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
>
Could any body help on this issue.It is little bit urgent for us to resolve.
Thanks in advance.Thanks Sudipto Desmukh,
The link is helpful me to resolve this issue.
Thanks,
Narasimha E -
Problems to invoke a secure Web service from Oracle BPM Studio 10.3
Hi all
I'm trying to consume a web service through HTTPS protoloco Oracle BPM Studio v10.3, but I get the following error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Some help!!
ThanksWithout going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.
-
I have done 2 samples using fork and in both the cases it is not working. For each message new BPM is triggered and only one step (branch) gets completed and other branch steps remain in ready state forever.
1) I have tested standard BPM pattern BpmPatternCollectMultiIf
2) Simple process using fork - two branches using different inetrfaces (having different message types)
Integration process return code is 0 - runtime cache
I am testing on local sandbox (XI 3.0) with SP17.
Under SAP help only brief description available about fork. Please share if you have good references/samples about fork (BPM).Jai,
1)I expect following result in case of standard BPM pattern "BpmPatternCollectMultiIf"
Note: Here same message type for all 3 interfaces ( branches), no end condition, no of branches = 3
As all message types are same when I send first message only one branch will be executed and outbound status under sxmb_moni with be clock (Message being sent). When I send 2 message, second branch will be completed and status will be clock again. And when I send 3 rd message all branches will be completed and outbound status will be success flag (Message successful on outbound side). Under one process id three messages will be displayed
Actual result is every time status as clock. and for each message new fork instance is created. below are the processids for 3 messages
133721
133726 -
unexpected
133731 -
unexpected
Ideally when you send 3 messages all should be process under process ids 133721 to 133725
2) I have tried fork with 3 branches with different message types. When I send 3 messages ( here each payload is different as per message type ) I expect success flag after 3rd message. But in this case also always the status as clock. and every time new fork instance.
Is anybody successful to test BPM pattern -> BpmPatternCollectMultiIf? -
The following error is occurring while initiating the workflow in P6 R8.2 of Web Access (My Workflows tab is not working).
ERROR com.primavera.infr.srvcs.bpm.BPMNServiceImpl ?:? BPM service could not connect to BPM Identity service provider for database 1
ORABPEL-10585
Service error.
Internal Error; Service error occurs in BPMIdentityService in method authenticateUser.
Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1111)
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1122)
at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:226)
at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:330)
at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:417)
at com.primavera.bpm.BPMConnectorImpl.getBPMProcessNodes(BPMConnectorImpl.java:387)
at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$1.command(Unknown Source)
at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$1.command(Unknown Source)
at com.primavera.bpm.common.BPMCommandRunner$a.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.xml.ws.WebServiceException: Could not determine wsdl ports.
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:287)
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.authenticateUser(IdentityServiceSOAPClient.java:622)
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1093)
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1123)
at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:226)
at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:332)
at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:419)
... 5 more
Caused by: javax.xml.ws.WebServiceException: Could not determine wsdl ports.
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:166)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:429)
at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:275)
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.createDispatch(IdentityServiceSOAPClient.java:231)
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:271)
... 11 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
at oracle.j2ee.ws.common.wsdl.WSDLHelper.getWsdlReader(WSDLHelper.java:88)
at oracle.j2ee.ws.common.wsdl.WSDLHelper.getWsdlReader(WSDLHelper.java:85)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.readWsdlDefinition(WSDLMetadata.java:354)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPortsFromWsdl(WSDLMetadata.java:197)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:164)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:429)
at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:275)
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.createDispatch(IdentityServiceSOAPClient.java:233)
... 12 more
Caused by: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
... 21 more
*[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR com.primavera.pvweb.pm.workflows.BPMAjaxProvider ?:? Failed loading BPM processes.*
com.primavera.bpm.common.BPMServiceException: BPM service could not connect to BPM Identity service provider for database 1
at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:233)
at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:332)
at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:419)
at com.primavera.bpm.BPMConnectorImpl.getBPMProcessNodes(BPMConnectorImpl.java:387)
at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$1.command(Unknown Source)
at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$1.command(Unknown Source)
at com.primavera.bpm.common.BPMCommandRunner$a.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Caused by: ORABPEL-10585
Service error.
Internal Error; Service error occurs in BPMIdentityService in method authenticateUser.
Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1111)
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1122)
at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:226)
at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:330)
at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:417)
... 5 more
Caused by: oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.xml.ws.WebServiceException: Could not determine wsdl ports.
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:287)
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.authenticateUser(IdentityServiceSOAPClient.java:622)
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1093)
at oracle.bpel.services.identity.client.AbstractIdentityServiceClient.authenticateUser(AbstractIdentityServiceClient.java:1123)
at com.primavera.bpm.BPMServiceManager.getIdentityService(BPMServiceManager.java:226)
at com.primavera.bpm.BPMConnectorImpl.getInitiatableProcesses(BPMConnectorImpl.java:332)
at com.primavera.bpm.BPMConnectorImpl.getCompositesForDefaultPartition(BPMConnectorImpl.java:419)
... 5 more
Caused by: javax.xml.ws.WebServiceException: Could not determine wsdl ports.
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:166)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:429)
at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:275)
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.createDispatch(IdentityServiceSOAPClient.java:231)
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.invoke(IdentityServiceSOAPClient.java:271)
... 11 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
at oracle.j2ee.ws.common.wsdl.WSDLHelper.getWsdlReader(WSDLHelper.java:88)
at oracle.j2ee.ws.common.wsdl.WSDLHelper.getWsdlReader(WSDLHelper.java:85)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.readWsdlDefinition(WSDLMetadata.java:354)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPortsFromWsdl(WSDLMetadata.java:197)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:164)
at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:429)
at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:275)
at oracle.bpel.services.identity.client.IdentityServiceSOAPClient.createDispatch(IdentityServiceSOAPClient.java:233)
... 12 more
Caused by: java.lang.ClassNotFoundException: oracle.webservices.wsdl.WSDLFactoryImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
... 21 more
Edited by: user4883812 on Feb 1, 2012 6:09 AMLooks like you are missing wsclient.jar .
See this - Problem instatiating factory implementation when invoking a service in java -
Logical system name for acknowledgement in BPM
Hi,
I have a szenario:
IDOC --> BPM --> MAIL
Inside BPM I check the message and depending on an xml-element I stop the process or I send the message by mail.
When I stop the process the BPM sends back an acknowledgement and in SXMB_MONI I can see an error of the acknowledgement:
"Sender Test_BPM_IDOC_TO_MAIL kann nicht in ein ALE Logisches System umgeschlüsselt werden" (Sender can not convert in a ALE logical system)
What can I do?
Possible Solution 1:
I can define my BPM "Test_BPM_IDOC_TO_MAIL" as a logical system (including WE20 for ALEAUD).
Possible Solution 2:
I can enter an existing logical system name in the "adapter specific attributes".
BUT it is not use the same logical system name twice (BAD ... or is there a workaround?
Is Solution 1) a common way?
Thanx
Regards
Wolfgang HummelHi,
there are many ways:
some for aleaud are described in my book:
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
>>>>Is Solution 1) a common way?
no this is not good a good idea
BTW
you can also supress aleaud raport IDX_NOALE
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Store Filename in Container Operation of BPM?
Hi,
Is it possible to store filename in Container Operation of BPM step? I know that using mapping and assigning that field to Container Operation can be done.
But, is it possible to do without using payload field assignment?
Regards,
AshishThat seems to be the only possible way. Bcoz the filename in the dynamic header is lost when the message enters BPM.
Regards,
Prateek -
hi,
wht is box in bpm .. and how it is used.
thanks in advance,
jp.Hi Jp,
still not sure which box u r refering to..but plz go thru this docs. Hope this will clearify ur doubts..
Walkthrough with BPM:
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
If you are refering to the steps that we drag n drop in BPM:
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
Can chk out these too:
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
If ur query is resolved, kindly close the thread n giv points to the relevant ans..
kanan
Maybe you are looking for
-
128 MB video ram on a macbook pro - enough to drive the new 30"?
128 MB video ram on a macbook pro - enough to drive the new 30"? meaning, can it do this well???
-
I have asked this question several times and have never gotten a response.
-
Setup for an iMac G5, a MacBook Pro, and an AirPort Extreme
Any experience I've had with computers was in the early 80s, yes, it is very sad. I purchased a G5, the laptop, and the AirPort and have been able to set everything up and get everything going. Just amazing. I've only run into one issue. I have acces
-
Hi! I'm moving out and I need a box for my 27' iMac. I don't know what should I do like... can we call Apple to buy an empty box with styrofoam in it to protect it? That'd be great.. Any ideas? Please
-
Creative Suite 5.5 Master Collection.. HELP
I have the disks for Creative Suite 5.5 and the key, however the new computer I have does not have a DVD/CD drive on it, How can I download this suite to my new computer?? It does have a spot for Flash drive and Memory Card, Am I allowed to download