Process implementation

I'm creating a process like this.:
Process proc = null;
try {
Runtime rt = Runtime.getRuntime();
     try{
     proc = rt.exec("cmd /c dir");
     catch(SecurityException e){
          System.out.println("SecurityException!");
     catch(IOException e){
          System.out.println("IOException!");
     catch(NullPointerException e){
          System.out.println("NullPointerException!");
     catch(IllegalArgumentException e){
          System.out.println("IllegalArgumentException!");
     if (proc!=null){
          proc.waitFor();
} finally {
if (proc != null) {
proc.destroy();
So , the problem is:
-the handles for proc , for the input , output and err files associated with the process are not closed.So the destroy method doesn't do anything.
If i'm closing the input,output and err files associated with the process like this:
finally{
//add this
InputStream in = proc.getInputStream();
OutputStream out = proc.getOutputStream();
InputStream err = proc.getErrorStream();
The handles associated with in,out and err are closed(like expected) .
But the question is: How can i close the handle of the process.
Thanks.
I'm asking all this question because at I get the message "Too many open files"(on a java project on HP-UX)- When this message is written to the logs, it indicates that all available file handles for the process have been used. In a majority of cases, this is the result of file handles being leaked by some part of the application. This technote explains how to collect output that identifies what file handles are in use at the time of the error condition - taken from ibm docs.

sorinL wrote:
Thanks ,I have read the doc . Hard :d . But there is no util information about releasing all the resources(handles).I suspect that if you implement the recommendations then you won't need to release the resources. I have never ever had to release file handles working on Linux, Solaris and Windows XP.
Your call.
P.S. Please fix that exception handling.

Similar Messages

  • Workflow Process Implementation not found

    Hello,
         I've created a workflow process in AEM 5.6.  When I initiate the workflow, the workflow is not completed and in the Inbox Console, I see 'process implementation is not found'.
    Here is the sample workflow process:
    package com.test.workflowtest;
    import org.apache.felix.scr.annotations.Component;
    import org.apache.felix.scr.annotations.Properties;
    import org.apache.felix.scr.annotations.Property;
    import org.apache.felix.scr.annotations.Service;
    import org.osgi.framework.Constants;
    import org.apache.felix.scr.annotations.Reference;
    import com.day.cq.workflow.WorkflowException;
    import com.day.cq.workflow.WorkflowSession;
    import com.day.cq.workflow.exec.WorkItem;
    import com.day.cq.workflow.exec.WorkflowData;
    import com.day.cq.workflow.exec.WorkflowProcess;
    import com.day.cq.workflow.metadata.MetaDataMap;
    import com.adobe.granite.workflow.WorkflowException;
    import com.adobe.granite.workflow.WorkflowSession;
    import com.adobe.granite.workflow.exec.WorkflowProcess;
    import com.adobe.granite.workflow.exec.WorkItem;
    import com.adobe.granite.workflow.metadata.MetaDataMap;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import org.apache.sling.api.resource.ResourceResolverFactory;
    import org.apache.sling.api.resource.ResourceResolver;
    @Component
    @Service
    @Properties({
            @Property(name = Constants.SERVICE_DESCRIPTION, value = "Test Process."),
            @Property(name = Constants.SERVICE_VENDOR, value = "TEST"),
            @Property(name = "process.label", value = "Test WF Process")})
    public class Test implements WorkflowProcess{
       private static final Logger log = LoggerFactory.getLogger(Test.class);
              @Reference
              private ResourceResolverFactory resourceResolverFactory;
              public void execute(WorkItem item, WorkflowSession session, MetaDataMap args)
            throws WorkflowException {
            log.debug("======== Test Process ===========");
            ResourceResolver resolver = null;
            try{
                                  resolver = resourceResolverFactory.getAdministrativeResourceResolver(null);
            }catch(Exception e)
                e.printStackTrace();
    =============
    Exception:
    02.05.2013 11:25:23.305 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test
              at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)
              at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)
              at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
    02.05.2013 11:25:25.333 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test
              at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)
              at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)
              at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
    02.05.2013 11:25:27.361 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test
              at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)
              at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)
              at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
    02.05.2013 11:25:29.389 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test
              at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)
              at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)
              at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
    =======
    Findings:  Gettting exception only when I use below code in the workflow process.
    @Reference
      private ResourceResolverFactory resourceResolverFactory;
    Any help would be more helpful..
    Thanks
    Siva

    one of the workaround is by adding -XX:-UseSplitVerifier option to the JVM .This issue seems to be an with CQ 5.6 and java 7

  • Turnaround/Shutdown Process implementation using PS/PM modules

    We are a larger Size Fertilizer Industry, currently in the process of SAP Implementation. We carry out Annual Turnarounds each year for annual maintenance / overhauling of our equipment / machines.
    The total numbers of maintenance jobs are around 1500. Each Job has an average 25 Operations. The Total duration of Turnaround is 15 Days max. Due to extensive number of jobs being handled in a very short time span, we require Planning with respect Job Execution and also related to material planning / Manpower / other internal & external services resource Planning. Moreover the Budget planning / control of the Turnaround is also part of our business.
    The Planning of Turnaround starts 10 months before commencement of Turnaround. Starting from finalization of maintenance Jobs, material reservations, Budget Planning, Maintenance jobs scheduling in such a way to fit in all jobs within 15 days time span and develop a logical / technical viable links (relationship) between various operations within one job as well as between different jobs. Based on this relationship critical path is identified and activity Bar Chart is generated. The entire planned Project is then freeze as our target / base line and Planned S-Curve is generated. Before commencement of Turnaround, the material availability is ensured through monitoring of material procurement from Purchase requisition to Goods receipt.
    Thereafter during Turnaround, the actual progress of maintenance jobs is monitored against the target plan on 12 hourly basis. Based on this monitoring we identify the activities lagging behind the Plan so that effective actions may be taken to expedite job progress. The daily progress is updated in terms of earned progress percentage. Moreover for management overview, Planned Vs actual S-Curve is generated.
    IN SAP Scenario we are planning to configure our above process through PM / PS integration. Maintenance Work orders will be created for all jobs with reference to equipment Tag number to maintain history. Moreover, material and other resources will be attached to relevant orders / operations. Relationship between orders and their operations will be maintained. We intend to attach these orders Operations to PS Moreover we require bottom up scheduling using PS Planning board as mentioned below :
    Operations       Order     Activity       Network Header       WBS element        Project
    We find ourselves handicapped to incorporate progress in terms of percentages, although we have managed to get percentage by putting duration of work completed on order operations level. However, getting percentage progress through duration input will not serve the purpose. Please refer following example:
    u2022     An operation is planned for 100 hours.
    u2022     During execution, 50% job completed in 20hours.
    u2022     Remaining duration should appear as 50hours not as 80hours.
    u2022     On contrary in SAP (as far as we know), if I put 50 hours in operation to get 50% progress , this will reflect wrong information as 50% job has been completed in 20 hours.
    Can anybody suggest a solution in either PM,PS or combination of both modules.

    you will need to use PM/PS as follows
    Create a Shut down project
    Create network activities for scheduling your shut down project
    Create PM orders - which could be corrective action, planned, unplanned or preventive
    Assign the order headers to network activity
    Now you can use the PS scheduling functionality (bottom up planning as you require) - you will also see the PM orders on the planning board
    For confirmation of activites you should use the forecast hours and this will correct the POC
    The POC can be rolled up using Progress Analysis for your S Curves

  • OIM 11g process implementation

    Hi All,
    We have a requirement where some roles(priviliges in the target app) are getting provisioned. Each role is considered as a separate resource instance and getting provisioned for users.And we have automated this process using schedulers where each role is getting provisioned based on a specific attribute of a user. But now we are going for Request Based approach having the earlier one in place. In this process, A user will raise a request where he/she can select a set of roles (not the individual roles )in the request dataset which will be provisioned as a single resource(but group of roles not the individual roles as in the earlier process ...number of roles would be 10 or 20).
    In the earlier implementation we have created the processform with all the fileds as the sinlgle valued.So when it comes to request based it will not serve the purpose. we can go ahead and create the role filed as the multivalued we can save the roles(set of roles). But where the problem comes is that we want to invalidate each role at times. In that case we are deprovisiong this role (resource instance) from users in the earlier implementation. But in the request based since a bunch of roles are provisioned as a single resource instance we cannot deprovision a single role.
    I need help where we can select n roles in a single request and provision them as a n resources for the user or not? If that is not the case please sugget us the solution. It should not impact the existing scheduler implemenation. Any help would be appreciated.
    Thanks.

    Hi All,
    We have a requirement where some roles(priviliges in the target app) are getting provisioned. Each role is considered as a separate resource instance and getting provisioned for users.And we have automated this process using schedulers where each role is getting provisioned based on a specific attribute of a user. But now we are going for Request Based approach having the earlier one in place. In this process, A user will raise a request where he/she can select a set of roles (not the individual roles )in the request dataset which will be provisioned as a single resource(but group of roles not the individual roles as in the earlier process ...number of roles would be 10 or 20).
    In the earlier implementation we have created the processform with all the fileds as the sinlgle valued.So when it comes to request based it will not serve the purpose. we can go ahead and create the role filed as the multivalued we can save the roles(set of roles). But where the problem comes is that we want to invalidate each role at times. In that case we are deprovisiong this role (resource instance) from users in the earlier implementation. But in the request based since a bunch of roles are provisioned as a single resource instance we cannot deprovision a single role.
    I need help where we can select n roles in a single request and provision them as a n resources for the user or not? If that is not the case please sugget us the solution. It should not impact the existing scheduler implemenation. Any help would be appreciated.
    Thanks.

  • DP process implemented as process chain or jobs

    Hello sapiers:
    I would like to get some examples of how to define PC for DP process like CVC creation, Forecast calculation, snp release.
    I know these are new functionalities but dont know if incopatible with ver 3.5 (that I am using) or the difference (adv/disadv) to define them simply as jobs
    please if possible email me  to [email protected]
    tia
    KCA

    Hi,
    What is the scheduling option that you have selected in the start variant of your process chain? If the chain has been successfully scheduled then you can see that in t-code SM37 under your id, the job for process chain should show as scheduled. If you cannot see anything there then please maintain the start variant properly and rechedule the process chain.
    Regards,
    Arminder singh

  • Virsa CC Implementation Process

    Hi all,
    Is there anybody out there who would be willing to share his Virsa implementation experience. I am moving to a new employer who is soon going to implement Virsa and wants me to take part in the implementation process. I am not new to using it but would like to know the process and the ground work involved.  Thank you.
    Joe

    Hello, I have performed quite a few implementations of this nature.  The methodology that I typically follow consists of the following main tasks:
    Review/Implement an Internal Controls Framework covering all risks associated with the applicable Business Processes and all mitigating controls.
    Extrapolate the SOD type controls, and critical access from the Internal Controls Framework
    Implement the controls from scratch into Compliance Calibrator (I do not use the default rule-set as quite frankly, it's more wrong than it is right and provides false assurance + false positives)
    If it's a global roll-out, I then work on regional-specific controls based on local regulatory compliance requirements, and repeat the process, implementing them as rule-sets.
    I then implement Role Expert, and perform a security redesign (if applicable) based on the CC faciliated Internal Controls Framework.
    I then review/implement the Security Governance Framework and Security Procedures
    i implement Access Enforcer to support the above frameworks.
    This methodology has never been documented as part of the Virsa documentation (as far as I can tell), but it is the typical methodology for the implementation of a Security Framework (Governance, Design, Procedures), which is what Virsa is really supporting.

  • Accessing BPEL processes via a proxy web service performance issues

    Hello,
    I have more BPEL processes implemented, each such a process implementing business functionality in a certain domain (generally, a domain has more business processes).
    The request was to provide a single web service for each domain. It means that all the business methods (processes) in the same domain should be accessed through the same web service. This request doesn't make possible to expose the BPEL processes themselves as web services that could be directly consumed by different clients of the application.
    The alternative will be to implement the "domain" web services through a Java class, for instance. With this approach, the Java based domain web services will expose the needed business methods to the clients. And the Java class will get the request input parameters and will call the corresponding BPEL process via SOAP. This scenario would be fine, but... this approach would imply a supplementary marshalling/unmarshalling process at the domain web service level. The data returned by the BPEL processes could be very large and in such a situation the Java based domain web service will introduce an important performance drawback.
    Is there any other solution to this case that will allow the using of a "proxy" domain web services that will not introduce any important drawback via marshalling/unmarshalling?
    Many thanks in advance!
    Regards,
    Marinel

    Hello,
    First, thank you Sandor for your answer.
    I understand that it is possible to create a BPEL process that exposes multiple operations/messages. This would be exactly what I need: a single process (web service) that will expose many operations. Could anyone, please, point me to such an example?
    So far I thought that there is possible to have only one operation exposed with a BPEL process, what is delimited between the receive/reply blocks (in the synchronous case).
    Regards,
    Marinel

  • What is Business Process Monitoring Tool (BPMT)?

    Dear colleagues
    There is also a strange tool named Business Process Monitoring Tool (BPMT), provided as an Add-on installation within SAP Netweaver 701 SP06
    [Note 1453759 - BPMT 701 Business Process Monitoring Tool: Installation|https://service.sap.com/sap/support/notes/1453759]
    What is it, and how it is connected with SAP NW BPM?
    Any explanation would be much appreciated

    Hi,
    this tool is to provide a business process monitoring within the ABAP stack. So you're able to get information about "how many processes of process X have not been finished, yet". This is based on several agents listening to the business process implementations (e.g. SAP Business Workflow) and provides those generated events to a monitoring engine.
    As far as I know this component has not been released, yet. I don't know the delivery date (maybe in QII or QIII 2011) --> who know's?
    Cheers
    Martin

  • Trigger GP process by giving  process URL in Interface View outbound plug

    Hi,
    My Requirement is,
    I have 1 GP process implemented in webdynpro.
    From 1 of my view I am calling the process completeion(executionContext.processingComplete();) code, written in interface controller.
    After this code I need to start the same process once again, without clicking any link.
    For this I have created 1 outbound plug in the interface view of my window(out blug for WebDynproCOInterfaceView with parameter "Url").
    Then after calling executionContext.processingComplete();, I gave
    wdThis.wdGetWebDynproCOInterfaceViewController().wdFirePlugGotoUrl("Process Instantiation URL"); in my view.
    but it is giving error,"WDRuntimeException: Cannot navigate from view WebDynproCOInterfaceView via non-existent outbound "
    Also I tried to start the gp process througn coding also
    what I tried is,
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
    IUser user1 = wdUser.getSAPUser();
    IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user1);
    IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate("EB0B28E08B6011DB0145EB416E0",userContext);
    EB0B28E08B6011DB0145EB416E0 is the process ID.
    This code I have tried by giving before and after the completion of the previous process(process9executionContext.processingComplete();)
    But this also didn't work..No error came. But process didn't start again after thecompleted once.
    Please help me out.
    Thanks
    smitha

    Hi Rupam,
    thanks for the reply
    I have given EXIT type of  outbound plug only. But it won't work if the view is  in portal.
    When I tried to create the process using GP API the process is creating in Background. For me , after the completion of one process , automatically next should trigger and the corresponding view should be visible for the user.
    Process is triggering using GP API but, the view is not visible to user.
    Please help me
    Thanks
    Smitha

  • Own workflow process step (java) not listed in the generic Process step component

    Based on the description Extending Workflow Funtionality I have used this sample to create a bundle with the CRXDE Development Environment. Almost just copying the code from the page (had to make some adjustments to correct program errors in this sample) an then build bundle. According to Note 2 this program should be seen in the list supplied by Process step Component when editing a workflow. But it is not there.
    @Component
    @Service
    public class MyWorkflowProcess implements WorkflowProcess {
        @Property(value = "An example workflow process implementation.")
        static final String DESCRIPTION = Constants.SERVICE_DESCRIPTION;
        @Property(value = "Adobe")
        static final String VENDOR = Constants.SERVICE_VENDOR;
        @Property(value = "My Sample Workflow Process")
        static final String LABEL="process.label";
    What do I need to do else?
    Thanks,
    Ulrich

    Ulrich,
    CRXDE does not support the Java annotations which are listed in the documentations. When you want to leverage CRXDE (which is for development ... discouraged), you need to migrate to JavaDoc style annotations.
    For documentation how you can setup a development workflow based on a Java IDE and maven please see [0].
    kind regards,
    Jörg
    [0] http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apac he-maven.html

  • Rogue Processes and Control Panel

    I have rogue processes implemented but I need the users to be able to
    access a couple things in the control panel. They click on the Display
    icon in the control panel and it of course give them the rogue error
    for rundll32.exe. I've added rundll32.exe to the exception list, but
    it still does not work. Any ideas?
    jv
    johnnyv5

    johnnyv5,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Payment Card processing

    Hi Everybody,
    We have payment card processing implemented and we havebeen noticing that when an order has been placed on credit hold, the backgroung job for authorization is authorizing the order multiple times. As soon as I release the order, it stops authorizing it if a valid authorization is found. But the worrying fact is that, it is authorizing multiple times and teh customer is charged as many times. This is very worrying. Any help wouold be appreciated.
    Also, SAP does not default the credit card number from the customer master into the sales order. Our intention is to mark a card as default and if it is default, it has to copy into the sales order. Has anybody come across a suitabel user exit for this?
    Thanks & Regards,
    Vidya Sagar
    Edited by: VIDYA SAGAR DADI on Oct 13, 2009 4:41 AM

    df

  • Pcard Statement Processing

    We currently have PCard processing implemented on BBPCRM 4.0. 
    We are moving to SRM on 5.5 Server. 
    The present processing of PCard statement is quite cumbersome and we would like to evaluate different options.  Current process…
    - Manually access PCard provider's web-site
    - Extract current month's procurement card transactions. 
    - The data is massaged and put into a .txt format file.
    - File is placed on to an ftp server.
    - A batch program is setup in B2B to pick up the file on the ftp server
    - File is converted into the PCard IDOC BBP_PCSTAT01 structure
       (using IDOC_INPUT_BBP_PCSTAT function module
       (as well as generates the invoice IDOC with associated FI invoice in R/3)
    Processing monthly statements and testing is an administrative nightmare trying to line up appropriate data in the text file.
    Also, we currently only create one document for the entire month's file.
    So the 1 document consists of multiple lines for the multiple PCard #'s and multiple transactions.
    I would be interested in how others process the PCard Statements from their PCard Providers.
    - How they receive data from the Pcard provider.
    - How they bring it into their system
    - If they process one document for a statement, 1/PCard# or 1/Pcard transaction.
    - And any additional information that may assist us in this process.
    Thank you!
    Heather Keating / Capgemini / Toronto
    SAP Module Expert / New Horizon System Solutions
    Office: +1 416 207 6446 / www.ca.capgemini.com
    800 Kipling Ave, Etobicoke, ON, M8Z 5S4
    Email: [email protected]

    Hi
    <u>We have done similar work long time back. In that case, we have created a custom program as per our business requirements.</u>
    <b>Here are some related links on P-Card Process Flow -></b>
    <u>P-Card Process Flow</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/61/2ff300787411d2b41d006094b92d37/frameset.htm
    P-Card Settlement
    Re: Implementing PCARDS
    Procurement card Settlement
    Help needed: Cannot use zero rate tax code (V0) with p-card IDOC
    Note 781149 XML Procedure for IDOC BBP_PCSTAT01
    Note 610088 - Report BBPPCRECN without local purchase orders
    Note 594228 - PCard: Admission of the address
    Note 214429 Tax postings in procurement cards
    Note 414087 Pcard. Credit memo in bank file with settlement data
    Note 176025 Procurement card:Field f.Transaction ID too short
    Help needed: Cannot use zero rate tax code (V0) with p-card IDOC
    http://www.dataxstream.com/doclib/ALESuccessfullyLeverageIDocs.pdf
    Do let me know, incase you need more details.
    Regards
    - Atul

  • XML Processing Implementaion

    Hi,
    While studying, I found the following sentence :
    The Java API for XML Processing (JAXP) enables applications to parse and transform XML documents independent of a particular XML processing implementation.
    In the above sentence, what is a "XML processing implementation"?
    Regards

    I think an SAP man should answer here, but my common sense and SAP knowledge suggests me:
    A1: yes, evidently
    A2: the fact that DOM4J is quoted in a weblog doesn't mean it's officialy supported by SAP, it's  just an option, just like Apache Xerces and others. You can use them in interface dev, it's up to you, but an Adapter is a completly different story: SAP wants to make sure it has full control over a Certified Adapter, and the only way to do that is to have full control on the additional libraries that this Adapter uses. SAP can have this control on SAP XML Toolkit, but not on DOM4J or Xerces, obviously.
    A3: no difference, except that logically and pragmatically is much more convenient to package and deploy everyhting your stuff needs in order to work properly.
    Regards,
    Alex

  • HttpServlet and BPEL processes

    Hi!
    I've created a Http Servlet in my web application (in Jdeveloper, using ADF BC, application is deployed to Oracle AS 10.1.3.3 where BPEL PM is also runnig) that has doPost method implemented. This servlet is 'listening' on defined URL for http POST calls and recieves an XML message. Now I'd like to pass these XML to different BPEL processes. What is the best way to do it?
    I can set two more direct questions:
    1. Since I don't have any Data Controls access in my http servlet class (there aren't any jspxs or PageDefs linked to this servlet and I can't get the reference on Faces Config instance), how can I invoke my BPEL processes. I already have calls to my BPEL processes implemented but from a jspx and that is not that difficult.
    2. Is it possible to 'listen' to some url for POST method with BPEL PM without using http servlet in my web application? This way I wouldn't need my servlet and an answer to my 1st question.
    Hope I made myself clear and someone can answer any of the questions.
    Regards,
    BB.

    Hi,
    When you deploy a new BPEL process on the BPEL PM, the process will have an endpoint address http://bpelhost:bpelport/orabpel/default/Your_Process_Name/1.0 (which is the address that the process is "listening to" for POST requests) and it will have a WSDL file at the url http://bpelhost:bpelport/orabpel/default/Your_Process_Name/1.0/Your_Process_Name?wsdl . Therefore, when a web service request which conforms to the WSDL of the process is received at the endpoint URL, your BPEL process will start executing.
    Hope this short explanation helps..

Maybe you are looking for