BPM processing...
Hi all,
We have a BPM scenario in which the incoming file gets forked into 4 diff receivers. For small amount of data we have no issues. But when large data comes in, the outbound PE fails...Is it a timing issue as the messages per recordset get sorted according to receivers, and so there is a clog of messages at the fork level?? Or is it a good idea to do a fork at all for large messages??
-Teresa
Hi Teresa,
large data = large files or many files?
this is just a tip...but you may try looking at
<b>XI tuning guide</b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/sap exchange infrastructure tuning guide xi 3.0.pdf
and check parameters in the: <u><i>XI profile section</i></u>:
1.icm/HTTP/max_request_size_KB - in case of large messages
2. rdisp/max_arq - in case of many async messages
but you may also check out the rest:)
cause I'm not sure if changing them can help in your case
Regards,
michal
Similar Messages
-
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 -
Dynamic Filename in BPM process (SOAP with attachm. and PayloadSwapBean)
Hello together
I have the following BPM process:
1. IDoc=>WebServiceRequest
2. WebServiceResponse (payload) => IDoc
3. WebServiceResponse (attachment) => File
XI receivs an IDoc an map it to an WebService. The Webservice is called by XI and we receive the WebServiceResponse including a PDF attachment.
The challenge is to store the PDF attachment with a dynamic filename from the payload of WebServiceResponse.
We use the PayloadSwapBean to change the payload to the PDF attachment. But then we are not able to access the required information on the original WebService-XML-Response via variable substitution.
Is there a solution in the standard or have we to use a custom adapter module?
Thx
manukuHi Jayasimha,
We can do this by "Adapter Specific Message Properties" of ur comunication channels.
1.If u want to keep the output filename same as input filename, no need to use the UDF. only the 'adapter specific parameters' in both sender n receiver file adapter will do that.
In case if u want to get the filename inside our mapping we have to create a user defined function
which will return the filename and map it to one of our XML tags. 2nd point gives solution 4 that:
2. If u want to generate an output file taking some input from the payload,then u hav to use the UDF.There u hav to populate the name.
Pretty much.... if you set an attribute from the sender side, for example, you can use a UDF and access the particular attribute sent and use it in the mapping. In another example, where no attributes are sent from the sender, you can still actually set a particular attribute, say a filename derived from the payload, using a UDF, and enable the receiver attribute to use it. That's where the UDFs come in - either to get or set particular adapter specific message attributes.
This will be a very helpful blog which solves ur query:
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Regards,
Vinod. -
Cannot deploy BPM process from JDev into remote weblogic server
Hi all,
I have in a trouble!
I've built a simple BPM process but when i deploy it from JDeveloper to a remote weblogic server it have following error, pls give me solution
[02:16:27 PM] ---- Deployment started. ----
[02:16:27 PM] Target platform is (Weblogic 10.3).
[02:16:27 PM] Running dependency analysis...
[02:16:27 PM] Building...
[02:16:31 PM] Deploying profile...
[02:16:31 PM] Updating revision id for the SOA Project 'Project1.jpr' to '1.0'..
[02:16:31 PM] Wrote Archive Module to C:\JDeveloper\mywork\TestDeploy\Project1\deploy\sca_Project1_rev1.0.jar
[02:16:31 PM] Running dependency analysis...
[02:16:31 PM] Building...
[02:16:33 PM] Deploying 2 profiles...
[02:16:33 PM] Wrote Web Application Module to C:\JDeveloper\mywork\TestDeploy\Project2_UI\deploy\Project2_UI.war
[02:16:33 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\TestDeploy\deploy\TestDeploy.ear
[02:16:33 PM] Deploying sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
[02:16:33 PM] Processing sar=/C:/JDeveloper/mywork/TestDeploy/Project1/deploy/sca_Project1_rev1.0.jar
[02:16:33 PM] Adding sar file - C:\JDeveloper\mywork\TestDeploy\Project1\deploy\sca_Project1_rev1.0.jar
[02:16:33 PM] Preparing to send HTTP request for deployment
[02:16:33 PM] Creating HTTP connection to host:HP, port:7001
[02:16:33 PM] Sending internal deployment descriptor
[02:16:33 PM] Sending archive - sca_Project1_rev1.0.jar
[02:16:33 PM] Received HTTP response from the server, response code=503
[02:16:33 PM] Invalid logging line: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
[02:16:33 PM] Invalid logging line: <html><head>
[02:16:33 PM] Invalid logging level on line: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
[02:16:33 PM] Invalid logging line: <title>ERROR: The requested URL could not be retrieved</title>
[02:16:33 PM] Invalid logging line: <style type="text/css"><!--
[02:16:33 PM] Invalid logging line: /*
[02:16:33 PM] Invalid logging line: Stylesheet for Squid Error pages
[02:16:33 PM] Invalid logging line: Adapted from design by Free CSS Templates
[02:16:33 PM] Invalid logging line: http://www.freecsstemplates.org
[02:16:33 PM] Invalid logging line: Released for free under a Creative Commons Attribution 2.5 License
[02:16:33 PM] Invalid logging line: */
[02:16:33 PM] Invalid logging line: /* Page basics */
[02:16:33 PM] Invalid logging line: * {
[02:16:33 PM] Invalid logging level on line: font-family: verdana, sans-serif;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: html body {
[02:16:33 PM] Invalid logging level on line: margin: 0;
[02:16:33 PM] Invalid logging level on line: padding: 0;
[02:16:33 PM] Invalid logging level on line: background: #efefef;
[02:16:33 PM] Invalid logging level on line: font-size: 12px;
[02:16:33 PM] Invalid logging level on line: color: #1e1e1e;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* Page displayed title area */
[02:16:33 PM] Invalid logging line: #titles {
[02:16:33 PM] Invalid logging level on line: margin-left: 15px;
[02:16:33 PM] Invalid logging level on line: padding: 10px;
[02:16:33 PM] Invalid logging level on line: padding-left: 100px;
[02:16:33 PM] Invalid logging level on line: background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* initial title */
[02:16:33 PM] Invalid logging line: #titles h1 {
[02:16:33 PM] Invalid logging level on line: color: #000000;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: #titles h2 {
[02:16:33 PM] Invalid logging level on line: color: #000000;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* special event: FTP success page titles */
[02:16:33 PM] Invalid logging line: #titles ftpsuccess {
[02:16:33 PM] Invalid logging level on line: background-color:#00ff00;
[02:16:33 PM] Invalid logging level on line: width:100%;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* Page displayed body content area */
[02:16:33 PM] Invalid logging line: #content {
[02:16:33 PM] Invalid logging level on line: padding: 10px;
[02:16:33 PM] Invalid logging level on line: background: #ffffff;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* General text */
[02:16:33 PM] Invalid logging line: p {
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* error brief description */
[02:16:33 PM] Invalid logging line: #error p {
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* some data which may have caused the problem */
[02:16:33 PM] Invalid logging line: #data {
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* the error message received from the system or other software */
[02:16:33 PM] Invalid logging line: #sysmsg {
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: pre {
[02:16:33 PM] Invalid logging level on line: font-family:sans-serif;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* special event: FTP / Gopher directory listing */
[02:16:33 PM] Invalid logging line: #dirlisting tr.entry td.icon,td.filename,td.size,td.date {
[02:16:33 PM] Invalid logging level on line: border-bottom: groove;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: #dirlisting td.size {
[02:16:33 PM] Invalid logging level on line: width: 50px;
[02:16:33 PM] Invalid logging level on line: text-align: right;
[02:16:33 PM] Invalid logging level on line: padding-right: 5px;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* horizontal lines */
[02:16:33 PM] Invalid logging line: hr {
[02:16:33 PM] Invalid logging level on line: margin: 0;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: /* page displayed footer area */
[02:16:33 PM] Invalid logging line: #footer {
[02:16:33 PM] Invalid logging level on line: font-size: 9px;
[02:16:33 PM] Invalid logging level on line: padding-left: 10px;
[02:16:33 PM] Invalid logging line: }
[02:16:33 PM] Invalid logging line: body
[02:16:33 PM] Invalid logging level on line: :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }
[02:16:33 PM] Invalid logging level on line: :lang(he) { direction: rtl; float: right; }
[02:16:33 PM] Invalid logging line: --></style>
[02:16:33 PM] Invalid logging line: </head><body>
[02:16:33 PM] Invalid logging line: <div id="titles">
[02:16:33 PM] Invalid logging line: <h1>ERROR</h1>
[02:16:33 PM] Invalid logging line: <h2>The requested URL could not be retrieved</h2>
[02:16:33 PM] Invalid logging line: </div>
[02:16:33 PM] Invalid logging line: <hr>
[02:16:33 PM] Invalid logging line: <div id="content">
[02:16:33 PM] Invalid logging line: <p>The following error was encountered while trying to retrieve the URL: http://hp:7001/soa-infra/deployer</p>
[02:16:33 PM] Invalid logging line: <blockquote id="error">
[02:16:33 PM] Invalid logging line: <p><b>Unable to determine IP address from host name <q>hp</q></b></p>
[02:16:33 PM] Invalid logging line: </blockquote>
[02:16:33 PM] Invalid logging line: <p>The DNS server returned:</p>
[02:16:33 PM] Invalid logging line: <blockquote id="data">
[02:16:33 PM] Invalid logging line: <pre>Name Error: The domain name does not exist.</pre>
[02:16:33 PM] Invalid logging line: </blockquote>
[02:16:33 PM] Invalid logging line: <p>This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.</p>
[02:16:33 PM] Invalid logging level on line: <p>Your cache administrator is [email protected].</p>
[02:16:33 PM] Invalid logging line: <br>
[02:16:33 PM] Invalid logging line: </div>
[02:16:33 PM] Invalid logging line: <hr>
[02:16:33 PM] Invalid logging line: <div id="footer">
[02:16:33 PM] Invalid logging line: <p>Generated Tue, 20 Dec 2011 07:18:27 GMT by proxy.hipt.com.vn (squid/3.1.4)</p>
[02:16:33 PM] Invalid logging line: <!-- ERR_DNS_FAIL -->
[02:16:33 PM] Invalid logging line: </div>
[02:16:33 PM] Invalid logging line: </body></html>
[02:16:33 PM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
[02:16:33 PM] HTTP error code returned [503]
[02:16:33 PM] No error message is returned from the server.
[02:16:33 PM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
[02:16:33 PM] #### Deployment incomplete. ####
[02:16:33 PM] Error deploying archive file:/C:/JDeveloper/mywork/TestDeploy/Project1/deploy/sca_Project1_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
Thanks a lot!Hi, thanks for your reply,
I just check but soa-infra is up
Result:
Welcome to the Oracle SOA Platform on WebLogic
SOA Version: v11.1.1.5.0 - 11.1.1.5.0_110418.1550.0174 built on Mon Apr 18 18:05:14 PDT 2011
WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 (10.3.5.0)
I've deployed my process in local computer that good! but from remote JDev i've wrong
Help me pls! -
How to access/invoke Web Service from BPM Process
The following steps required to attach and invoke web service method from process:
1) Add a module in the catalog for ex WebServiceMO
2) Add WebService Catalog component demoWebService in WebServiceMO
3) Put ur WSDL address in WSDL address field like "http://localhost:8080/test/test?wsdl"
4) Click next to introspect the web service it will import required files and setting from the url to your project
5) Now for invoking webservice just call the method for ex.
@return as String[]
getTestStringList(TestInterfaceService, out @return : @return)
logMessage "web service calll result >>"+length(@return)+">>>"+@return[0]
Here @ return is the return from webservice call.
this way u can access web service from BPM process.
Edited by: Anurag Yadav on Jul 17, 2009 2:19 PMI have a web service which does not return any value but when I introspect the web service, I have an out parameter to it.. Not sure why?
For e.g.
TestServiceListener.addTestNotes(TestNotes : testNotes, out TestNoteResponse : testNoteResponse);
So here I see an out parameter, but my web-service has no out parameter...
Any idea why is this happening? -
Scheduling a bpm process on particular date
Hi all,
I'm working on SOA suite 11.1.1.5 version.I want to scheduling a bpm process on 7th date of every month.Please give me a suggestion on this.
Thanks!there are zillion of solutions, my favorite (I like primitive stuff, usually it works under all circumstances) is to use a cron job to run a WGET who triggers a HTTP enabled activator for the process.
Otherwise if you google for soa suite scheduler you will find endless discussions on this topic.... truth is that there is no simple solution AFAIK -
Task UWL and Warnings BPM process
Hi,
I have two questions about:
- Created Tasks in the UWL
- Warnings BPM process.
I have created a BPM process with a one human activitie. This human activity assigned to a task with one potential owner. When i start the process and open the portal UWL, two tasks has been generated!?. Both are the same because when i complete the first task and open the second task, i get the message: " Task has been already completed ".
Second question: when i open the created BPM process, the following warnings appears in the problem tab of NWDS:
Some of the data elements from input mapping of "Cancelled"is not initialized before used.
Some of the data elements from input mapping of "Completed"is not initialized before used.
How can i solve this warning?
Kind regards,
Martin GerritsenHi Martin,
Regarding the "double-task". How did you invoke the process? Via web service? Via NWA? Might it be possible that you submitted the request twice (e.g. double-click instead of a single click?) and that's the reason why 2 tasks are apparing? Or does this happen every time when you start the process?
Just a best guess.
Best regards,
Martin
Martin,
The process will be started by a web service. This service is created as a new WSDL in the BPM environment. This service is connected to the start event of the BPM process and contains a few import parameters. After that i called the service from a R/3 system which started the process.
The 2 tasks apparing everytime i start the process...
When i start the process from the process repository (Netweaver Administrator -> Configuration Management -> Processes and tasks), i get the same problem...
The process contains two human activity's. When the first activity is completed and the second human activity start, 2 tasks will be generated (both the same...) -
How to carry out an action on a task in a bpm process from another adf app?
Hi everyone,
We have a simple BPM process with only one human task with two actions: approve and reject.
We want to know if it is possible to approve or reject this task from another adf application; I mean by clicking a button on a different page - not using the Actions menu in workspace, can I change the status of the task to approved or rejected and remove the task from the workspace of the assignee?I think you can use ItemAdding event to update your fields. This works better for you instead of ItemAdded event.
Bala -
Bpm process is not shown on bpm workspace but i see exception on the server
Hi Gurus,
When i try to deploy a simple BPM composite i am getting below exception.
deployment goes fine but when you open BPM workspace to initiate a instance , bpm process is not shown on bpm workspace instead i see below below error can anybody help me on this
===================
ttp://www.omg.org/bpmn20}task>,<{http://www.omg.org/bpmn20}terminateEventDefinition>,<{http://www.omg.org/bpmn20}text>,<{http://www.omg.org/bpmn20}textAnnotation>,<{http://www.omg.org/bpmn20}throwEvent>,<{http://www.omg.org/bpmn20}timerEventDefinition>,<{http://www.omg.org/bpmn20}transaction>,<{http://www.omg.org/bpmn20}userTask>
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642)
at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:254)
at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:249)
at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:116)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1049)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:478)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:459)
at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1329)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.Abstrac
2013-05-19T03:09:26.301-05:00] [soa_server1] [TRACE] [] [] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: e44dcdbf35e56301:-9a14728:13ebbc2239d:-8000-00000000000016a2,0] [SRC_CLASS: oracle.bpel.services.workflow.client.config.ClientConfigurationUtil] [APP: OracleBPMWorkspace] [SRC_METHOD: getClientConfiguration] WorkflowServiceClientContext: Cannot find client configuration file: wf_client_config.xml
[2013-05-19T03:10:40.511-05:00] [soa_server1] [ERROR] [] [oracle.bpm.common] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: e44dcdbf35e56301:-9a14728:13ebbc2239d:-8000-0000000000001815,0] [APP: OracleBPMWorkspace] [[
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:514)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
at oracle.bpm.project.io.serializers.model.bpmn.BPMN20Loader.load(BPMN20Loader.java:110)
at oracle.bpm.project.io.serializers.model.DefaultModelFormat.loadBPMN20CompliantModel(DefaultModelFormat.java:383)
at oracle.bpm.project.io.serializers.model.DefaultModelFormat.loadInternal(DefaultModelFormat.java:399)
at oracle.bpm.project.io.serializers.model.DefaultModelFormat.load(DefaultModelFormat.java:62)
at oracle.bpm.project.io.serializers.model.DefaultModelFormat.parse(DefaultModelFormat.java:182)
at oracle.bpm.project.io.fs.loader.ProcessesLoader.loadObject(ProcessesLoader.java:89)
at oracle.bpm.project.io.fs.loader.ProjectModelLoader.loadObject(ProjectModelLoader.java:63)
at oracle.bpm.project.io.fs.loader.ProjectModelLoader.loadObject(ProjectModelLoader.java:29)
at oracle.bpm.project.io.fs.FileProjectLoader.createFromXml(FileProjectLoader.java:148)
at oracle.bpm.project.FuegoProject.createFromXml(FuegoProject.java:901)
at oracle.bpm.client.internal.processmodel.marshalling.ProcessModelLoader.parse(ProcessModelLoader.java:137)
at oracle.bpm.client.internal.processmodel.marshalling.ProcessModelLoader.unmarshall(ProcessModelLoader.java:72)
at oracle.bpm.client.internal.processmodel.ProcessModelServiceRemoteClient.getProcessModel(ProcessModelServiceRemoteClient.java:50)
at oracle.bpm.papi.ora.mgr.SessionProcessManager.getProcess(SessionProcessManager.java:317)
at oracle.bpm.papi.ora.mgr.SessionProcessManager.getProcess(SessionProcessManager.java:119)
at oracle.bpm.papi.ora.mgr.SessionProcessManager.getProcesses(SessionProcessManager.java:142)
at oracle.bpm.papi.ora.ProcessServiceSessionAdapter.processesGet(ProcessServiceSessionAdapter.java:1359)
at oracle.bpm.workspace.model.common.PapiBean.getProcesses(PapiBean.java:3099)
at oracle.bpm.workspace.adf.model.common.BaseViewBean.initProcesses(BaseViewBean.java:600)
at oracle.bpm.workspace.adf.model.common.BaseViewBean.getAvailableProcesses(BaseViewBean.java:316)
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:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
at com.sun.el.parser.AstValue.getValue(Unknown Source)
at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.ForEachTag.doStartTag(ForEachTag.java:117)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag12(__search_jsff.java:750)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag11(__search_jsff.java:712)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag10(__search_jsff.java:650)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag3(__search_jsff.java:310)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag2(__search_jsff.java:250)
at jsp_servlet._jsf._view._search.__search_jsff._jspx___tag0(__search_jsff.java:139)
at jsp_servlet._jsf._view._search.__search_jsff._jspService(__search_jsff.java:100)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag23(__viewpresentationnormal_jsff.java:1194)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag22(__viewpresentationnormal_jsff.java:1131)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag12(__viewpresentationnormal_jsff.java:734)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag5(__viewpresentationnormal_jsff.java:383)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag4(__viewpresentationnormal_jsff.java:326)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag3(__viewpresentationnormal_jsff.java:281)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag2(__viewpresentationnormal_jsff.java:233)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspx___tag0(__viewpresentationnormal_jsff.java:133)
at jsp_servlet._jsf._view.__viewpresentationnormal_jsff._jspService(__viewpresentationnormal_jsff.java:94)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspx___tag6(__viewpresentationfixed_jsff.java:407)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspx___tag5(__viewpresentationfixed_jsff.java:353)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspx___tag2(__viewpresentationfixed_jsff.java:238)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspx___tag0(__viewpresentationfixed_jsff.java:133)
at jsp_servlet._jsf._view.__viewpresentationfixed_jsff._jspService(__viewpresentationfixed_jsff.java:94)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag23(__masterdetails_jsff.java:1180)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag22(__masterdetails_jsff.java:1120)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag21(__masterdetails_jsff.java:1072)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag20(__masterdetails_jsff.java:1027)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag19(__masterdetails_jsff.java:982)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag18(__masterdetails_jsff.java:938)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag6(__masterdetails_jsff.java:414)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag5(__masterdetails_jsff.java:367)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag2(__masterdetails_jsff.java:252)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspx___tag0(__masterdetails_jsff.java:139)
at jsp_servlet._jsf._pagetemplates.__masterdetails_jsff._jspService(__masterdetails_jsff.java:100)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)The above issue is seen when we don't have proper FP patchset. after applying a patchset all issues sloved
-
Why can´t i have more than one initiator task on my bpm process
Hi All.
I am working with BPM 11g and would like to know:
Why can´t i have more than one initiator task on my bpm process
In this case, i will have two separeted process where each has its initiator task?
Regards,
DiovaniHi Diovani
Two different processes can have different task initiators...task initiator means creation of a process instance which can happen only once -
Getting error while Startting a BPM process programmatically
Hi Experts,
I am getting an error while trying to start the BPM process programmatically. What i have done till now is
1. Created a WS in process composer
2. Binded this ws with start of the process
3. Created input parameters
4. Testing it in WS Navigator
I am following this doc /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
and I am getting error while testing in WS Navigator. I am getting error at the last step i.e. in result step and the error is
Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Client" Fault String: "No operation found using soap keys [], [cn_comments]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: (BindingType=Soap, SEIName=NewWSDLFile, BindingQName=(http://www.example.org/NewWSDLFile/)NewWSDLFileSOAP, PortTypeQName=(http://www.example.org/NewWSDLFile/)NewWSDLFile, SoapVersion=SOAP11, Galaxy_SDO=true, InterfaceMappingID=45ffb27c:1237f972cd8:-7d7e)."
If possible can any one help me out.
Thanks and regards
PranavHi Arafat,
Thanks for replying. Yes i have completed the output mapping. Input parameters i need for this service are :
1. cn_comments
ca_comments
2. cn_planningGroup
ca_account
ca_serialnumber
and few more attributes
Now, what i did was i have created a complex type and added elements in it. But to my surprise i was not able to get these nodes and elements in output mapping. So, i changed the type of "parameter" from "new operation" to my complex type. By doing this i was able to get my nodes and elements in output mapping. Now i tested the entire thing in WS Navigator and i got that error.
Please suggest how o proceed.
Regards
Pranav -
Serialization Error after adding a new field to BPM Process
Hi,
I have a BPM Process to which I added a new attribute userid and consuming the BPM process in a web dynpro application, I created a model using the BPM Process's Web Service but getting a serialization error that the model does not have a mandatory field with name [userid]. see below.
FYI.. I can trigger my BPM process through the Web Service in wsnavigator , the error I am getting is while executing the BPM Process from the custom webdynpro.
Any idea how to resolve the issue?
XML Serialization Error. GenericObject [
<modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
] does not have a mandatory field with name [userid].
[EXCEPTION]
com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. GenericObject [
<modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
] does not have a mandatory field with name [userid].
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFieldContent(SerializationUtil.java:1546)
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFields(SerializationUtil.java:1431)
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericType(SerializationUtil.java:1383)
at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:168)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeParameter(SOAPTransportBinding.java:1731)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeRequest(SOAPTransportBinding.java:1683)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:254)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1272)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:952)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:907)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:49)
at com.sap.demo.wdpoc.wd.comp.wdpoc.Wdpoc.execute(Wdpoc.java:257)This question is not answered but I am marking it answered because I have to post more.
Sorry
-Ashwani -
Calling Oracle BPM Process Web Service from Oracle Service Bus
Hi
I am using Oracle Service Bus 10gR3.
I have developed simple BPM process through Oracle BPM studio 10.3.1.0.I then followed steps below
1. Create a Process.
2. Expose the Process as a Web Service.
3. Run the project. This starts the Process Execution Engine.
4. Create an ALSB External Resource of type Management Host.
5. Create a second ALSB External Resource for registration.
6. Register the End Point
Until this point everything is fine. Then I created one project through Oracle Service Bus console. Under that created WSDL, Proxy Service and Business Service Folders. I am using the web service created through BPM studio as teh Business Service in SB . I then created one proxy service to route the request to the Business Service.
Finally when I try to test the Proxy Service by launching test console, I get the
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380001</con:errorCode>
<con:reason>INTERNAL SERVER ERROR</con:reason>
<con:location>
<con:node>RouteNode1</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
I also tried to debug through "Oracle Workshop for WebLogic Version 10.3 " . But I am not getting enough details as to why this is failing.
Please help me . Thanks In advance.
Thanks
Nilay
Edited by: user8950019 on Feb 1, 2010 4:11 AMHi,
When im calling wsdl created when BPM exposed as webservice in SOAP-ui, i first hit the startSession
Request is:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<soapenv:Header/>
<soapenv:Body>
<exp:startSession>
<password>Employee</password>
<user>Employee</user>
</exp:startSession>
</soapenv:Body>
</soapenv:Envelope>
Response i Get is:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:startSessionResponse xmlns:ns1="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<return>3782hecq1s85h</return>
</ns1:startSessionResponse>
</soapenv:Body>
</soapenv:Envelope
but when i put this sessionId in main request:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<soapenv:Header/>
<soapenv:Body>
<exp:expenseReport>
<sessionId>3782hecq1s85h</sessionId>
<reportArg>
<!--Optional:-->
<comments>yes</comments>
<!--Optional:-->
<costCenter>jaa</costCenter>
<!--Optional:-->
<description>aa</description>
<!--Optional:-->
<isApproved>y</isApproved>
<!--Zero or more repetitions:-->
<items>
<!--Optional:-->
<elements>
<!--Optional:-->
<amount>700</amount>
<!--Optional:-->
<date>?</date>
<!--Optional:-->
<description>?</description>
<!--Optional:-->
<receiptChecked>?</receiptChecked>
</elements>
</items>
<!--Optional:-->
<reviewedBy>?</reviewedBy>
<!--Optional:-->
<submitDate>?</submitDate>
<!--Optional:-->
<submittedBy>?</submittedBy>
<!--Optional:-->
<total>?</total>
</reportArg>
</exp:expenseReport>
</soapenv:Body>
</soapenv:Envelope>
Response coming is :-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.</faultstring>
<detail>
<ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.
at fuego.lang.Invokeable.invokeImpl(Invokeable.java:244)
at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
at fuego.lang.Invokeable.invoke(Invokeable.java:160)
at fuego.soaptype.SoapListener.invokeDynamic(SoapListener.java:104)
at fuego.lang.Invokeable.invoke(Invokeable.java:160)
at fuego.fengine.FEngineWebServiceExecutor$2.execute(FEngineWebServiceExecutor.java:133)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.fengine.FEngineWebServiceExecutor$1.run(FEngineWebServiceExecutor.java:65)
at fuego.component.Message.process(Message.java:576)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.fengine.FEngineWebServiceExecutor$WebServiceExecutorPrincipal.processBatch(FEngineWebServiceExecutor.java:168)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "jaa"
at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:36)
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 fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
... 21 more
Caused by: java.lang.NumberFormatException: For input string: "jaa"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.valueOf(Unknown Source)
at fuego.util.Conversion.tojava_lang_Integer(Conversion.java:934)
at fuego.xobject.runtime.ConversionUtilities.fromString(ConversionUtilities.java:56)
at fuegoblock.xml.XmlElementDeserializer.deserializeElement(XmlElementDeserializer.java:175)
at fuegoblock.xml.XmlElementDeserializer.deserialize(XmlElementDeserializer.java:81)
at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:160)
at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:119)
at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:17)
... 28 more</ns1:stackTrace>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">D-113014550</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
can anyone explain why this error is coming.?
Edited by: user8937128 on May 19, 2010 6:58 AM -
How to find out what is causing an error in a BPM process
I have a very basic question and I can't figure it out from help.sap.com
I have a BPM process deployed to a SAP NW Java BPM 7.40 system. It can be triggered with a web service call.
It goes into error immediately. I go to NW Administrator > Operations > Process and Tasks > Manage Processes and see the process with status "Error". But the "Error log" tab below is grayed out. I can't see any error message anywhere.
How do I find out what is wrong?Ah, I didn't notice that on the history tab I can switch from Basic to Medium or Advanced, in Basic it was showing nothing. In Medium and Advanced it shows:
Mapping failed
com.sap.engine.services.jndi.persistent.exceptions720.NameNotFoundException: Object not found in lookup of test.sap.com.polreuse.ejbs.UUIDProviderLocal.
java.lang.IllegalArgumentException: Could not lookup 'test.sap.com/bpmear/LOCAL/UUIDProvider/test.sap.com.polreuse.ejbs.UUIDProviderLocal' bean
com.sap.mapping.lib.execution.api.exception.TExecutionException
at EJB::test.sap.com/bpmear/LOCAL/UUIDProvider/test.sap.com.polreuse.ejbs.UUIDProviderLocal( StandardInvocation:invoker )
at ( DeepExpression )
at UUID( TerminalPart:expression )
at result( BroadPart:child )
at ( NarrowMapping )
at com.sap.mapping.lib.execution.implementation.Compiler$StandardMappingFunction@241ade69( StandardInvocation:invoker )
at ( DeepExpression )
at MessageHeader( TerminalPart:expression )
at http://sap.com/xi/SAPGlobal20/Global:NewLBrdngFSCreateRequest( BroadPart:child )
at ( NarrowMapping )
What could this mean? I didn't deploy all parts correctly or something like that?
Also, where do I check the default trace? -
Processing large volume of idocs using BPM Processing
Hi,
I have a scenario in which SAP R/3 sends large volume say 30,000 DEBMAS Idocs to XI. XI then sends data to 3 legacy systems using jdbc adapter.
I created a BPM Process which waits for 4 hrs to collect all the idocs. This is what my BPM does:
1. Wait for 4 hrs Collect the idocs
2. For every idoc do a IDOC->JDBC Message transformation.
3. Append to a Big List
4. Loop at the Big list from step 4 and in the loop for
5. Start counter from 0 and increment. Append to a Small List.
6. if counter reaches 100 then send a Batch JDBC Message in send step.
7. Reset counter after every send.
8. Process remaining list i.e if there was an odd count of say 5300 idoc then the remaining 53 idocs will be sent in anther block.
After sending 5000 idocs to above BPM following problems are there:
1. I cannot read the workflow log as system does not respond.
2. In the For Each loop which loops through the big list of say 5000 idocs only first pass of 100 was processed after that the workflow item is not moving ahead. It remains in the status as "STARTED" but I do not see further processing.
Please tell me why certain Work Items are stuck is it becuase I have reached upper limit and is this the right approach? The Main BPM Process is also hanging from last 2 days.
I have concerns about using BPM for processing such high volume of idocs in production. Please advice and thanks in advance.
Regards
AshishHi Ashish,
Please read SAPs Checklist for proper usage of BPMs: http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
One point i'm wondering about is why do you send the IDocs out of R/3 one by one and don't use packaging there? From a performance stand point this is much better than a bpm.
The SAP Checklist states the following:
<i>"No Replacement for Mass Interfaces
Check whether it would not be better to execute particular processing steps, for example, collecting messages, on the sender or receiver system.
If you only want to collect the messages from one business system to forward them together to a second business system, you should do so by using a mass interface and not an integration process.
If you want to split a message up into lots of individual messages, also use a mass interface instead of an integration process. A mass interface requires only a fraction of the back-end system and Integration-Server resources that an integration process would require to carry out the same task. "</i>
Also you might want to have a look at the IDoc packaging capabilities within XI (available since SP14 i believe): http://help.sap.com/saphelp_nw04/helpdata/en/7a/00143f011f4b2ee10000000a114084/content.htm
And here is Sravyas good blog about this topic: /people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
If for whatever reason you can't or don't want to use the IDoc packets from R/3 or XI there are other points on which you can focus for optimizing your process:
In the section "Using the Integration Server Efficiently" there is an overview on which steps are costly and which steps are not so costly in their resource consumption. Mappings are one of the steps that tend to consume a lot of resources and unless it is a multi mapping that can not be executed outside a BPM there is always the option to do the mapping in the interface determination either before or after the BPM. So i would sugges if your step 2 is not a multi mapping you should try to execute it before entering the BPM and just handle the JDBC Messages in the BPM.
Wait steps are also costly steps, so reducing the time in your wait step could potentially lead to better performance. Or if possible you could omitt the wait step and just create a process that waits for 100 messages and then processes them.
Regards
Christine -
How to start BPM Process in Netweaver CE 7.1 from backend
Hi,
since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
The following systems are available in my Landascape:
- PI 7.1
- ERP 2005
- CE 7.1 EHP1 with ESR
Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
Greetings,
ManuelHi,
Netweaver BPM process can be started in two ways:
1. Using NWA by instantiating a process
2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
/people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
Hope this helps!!
Regards,
Arafat
Maybe you are looking for
-
I know there is a thread in the beta forum with a generic title "Safari acting strange" but I figured a more specific thread title might get more attention from those experiencing the same anomalies. Here is my problem: I'm using Safari 3.0.4 that ca
-
i Need help on how to setup the WINS part of DHCP can any one help ? what should my settings be for ? WINS/NBNS PRIMARY SERVER: WINS/NBNS SECONDARY SERVER: NBDD SERVER: NBT NODE TYPE: netBIOS SCOPE ID: i have DNS, SMB, AFP, Open Directory all setup j
-
1.This is pgm Execute it will take more time . how to less time ? please Sort out my problem? REPORT ZRPT_MM_006. TYPE-POOLS: slis. tables : likp, lips, bseg, bkpf, mara, t001w, makt,ekko,ekpo. DATA : gt_fieldcat TYPE slis_t_fieldcat_alv. DATA :
-
Dear Experts, what are the pre request for doing the BDC for F-04 transaction ? regards, Sanju
-
i want to buy the iphone 5s and i just want to make sure i can use it in portugal with my vodafone sim card