Initiate fails in BPEL Console for BPEL process connecting to JMS Adapter

We have a BPEL process picking up data from JMS Queue of TIBCO EMS server. When we try to run this process from BPEL Console Initiate tab, we get following error dump :
Oracle BPEL Process Manager Full Cycle
An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
Attachments:
Build Information:
Oracle BPEL Server version 10.1.3.1.0
Build: 0
Build time: Mon May 15 06:39:46 PDT 2006
Build type: release
Source tag: PCBPEL_SOABETA_GENERIC_060515.0600
Exception Message:
[javax.servlet.ServletException]
The system encounters errors while running as the authenticated identity.
Exception Trace:
javax.servlet.ServletException: The system encounters errors while running as the authenticated identity.
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:416)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:161)
     at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:50)
     at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:98)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
     at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:103)
     at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:395)
     at displayProcess.jspService(_displayProcess.java:857)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:590)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:514)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:392)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:406)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:260)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:194)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:199)
     at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:392)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:406)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:869)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:449)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:233)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:847)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Also the BPEL process containing JMS adapter is not able to pick up data from JMS queue.
The same adapter was used in ESB service as well, which is working fine. There are no issues in ESB JMS Adapter connecting to JMS Queue of TIBCO EMS server.
Your help is appriciated.

Try the BPEL / SOA forum, you'll get more help there.
-steve-

Similar Messages

  • What are username and password for BPEL Console of BPEL Process Manager 10g

    There was no hint for setting the username and password during installation.

    HELP!!After installation of BPEL Process Manager .I can enter the BPEL admin page ,but not BPEL console page the http://192.168.1.100:9700/BPELConsole/j_security_check for the invalid default name and pass,neither bpeladmin nor oc4jadmin could be checked at all.
    While,the BPEL PM SERVER console replyed me some messages like:invalid authorization method,should be CUSTOM_AUTH,but find FORM and realmLoginModule authentication failed
    I need your help!really!!please!!thank you all!!!!!

  • Authentication Failed :  BPEL Console and BPEL Admin

    Hi ,
    I am trying to log in to BPEL Console repeatedly. I am using the user oc4jadmin. I have logged in successfully previously using oc4jadmin.
    I read somewhere that a workaround is
    "Workaround is you take login_error.jsp off from URL http://<host>:<port>/BPELConsole/login_error.jsp, So your URL would look like http://<host>:<port>/BPELConsole/. This will automatically log you in. Since the problem was with redirection and not with your credentials"
    This is also not working for me.
    Could it be possible that I have locked this account ? Is so, how can I unlock it .
    Any suggestions on why I get repeatedly Authentication Failed ?

    Hi ,
    Thanks for the response .
    This the log from opmn/logs/default_group~oc4j_soa~default_group~1.log
    09/08/17 14:14:33 ############# statusFilter = ASSIGNED###########
    09/08/17 14:14:33 ############# session = oracle.portal.provider.v2.http.ServletProviderSession@1ee1212###########
    09/08/17 14:14:33 ############# wlCtxKey = _piref985378135.worklistContext###########
    09/08/17 14:14:33 ############# ctx = null###########
    09/08/17 14:14:33 ############# wlRmtUserKey = _piref985378135.remoteUser###########
    09/08/17 14:14:33 ############# sessionRemoteUser = null###########
    09/08/17 14:14:33 ############# currentRemoteUser = null###########
    09/08/17 14:14:33 ############# filterPredicate = ( wfn.State IN (?,?))############
    09/08/18 13:07:52 BI Beans Graph version [3.2.2.0.24]
    09/08/18 13:07:55 Tue Aug 18 13:07:55 CEST 2009 PROBLEM: In oracle.dss.thin.beans.graph.ThinGraph::setTabularData: all relational rows are null
    09/08/18 13:07:55 BI Beans Graph version [3.2.2.0.24]
    09/08/18 13:07:55 BI Beans Graph version [3.2.2.0.24]
    09/08/18 13:07:55 Tue Aug 18 13:07:55 CEST 2009 PROBLEM: In oracle.dss.thin.beans.graph.ThinGraph::setTabularData: all relational rows are null
    09/08/18 13:07:55 BI Beans Graph version [3.2.2.0.24]
    09/08/18 13:07:55 Tue Aug 18 13:07:55 CEST 2009 PROBLEM: In oracle.dss.thin.beans.graph.ThinGraph::setTabularData: all relational rows are null
    09/08/18 13:07:55 Tue Aug 18 13:07:55 CEST 2009 PROBLEM: In oracle.dss.thin.beans.graph.ThinGraph::setTabularData: all relational rows are null
    09/08/18 13:09:09
    ConnectionPoolManager uiauthpool intialized with url=jdbc:oracle:thin:@//SHK-ORADEVAPP02.HK.INDISKA.SE:1521/orcl.hk.indiska.se driver=oracle.jdbc.driver.OracleDriver user=ORAWSM maxConn=5
    [oraias@SHK-ORADEVAPP02 logs]$

  • Switching ON validate xml(Schema Validation) in BPEL Console for AIAtesting

    While we were testing Oracle O2B pip, we have recently switched on schema validation by turning it on to 'Strict' so that we can Validate
    XML in BPEL Console. Earlier when we were testing we had turned the schema validation as 'None' on BPEL console, and hence everything was working fine and
    no errors we popping out while creating sales order in Siebel CRM. But the moment we put validate xml to ' Strict' it starts throwing validation errors.
    So can you please help us to know whether it is right to test the Oracle O2B pip by putting validate xml to 'Strict'? If it is fair to test it by switching
    ON Validate XML(putting validate xml to 'Strict') then we are getting below error.
    We are creating a new sales order in Siebel CRM and when we check in BPEL console it was faulted at UpdateSalesOrderSiebelCommsProvABCSImpl (v. 1.0) .When we checked the BPEL flow it is throwing error at InvokeUpdateUpsert.
    Error is According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-complex-type.2.4.a: Invalid content was found starting with element 'xsdLocal1:Process_spcInstance_spcId'. One of '{"http://siebel.com/asi":Process_spcInstance_spcId}' is expected.
    Steps for Switching on Validation ?
    1)     Login to BPEL Console
    2)     Go To Configuration section
    3)     Schema Validation changes
    a.     ON: populate validateXML with value strict
    b.     OFF: populate validateXML with value none
    Really appreciate if you can help..

    hi
    Indeed, the "Validate XML" menu option only shows "Validate XML: 0 errors, 0 warnings.".
    But, if you look at the "Design" tab for your schema, the "invoices" element node contains an "xsd:invoice" sequence shown in red. If you change "xsd:invoice" to "invoice" this becomes white and the node can be expanded.
    One other thing, registering an XML Schema in JDeveloper like the one you posted, isn't possible without an "oracle.xml.parser.schema.XSDException" (without further details).
    regards
    Jan Vervecken

  • Esb parallel processing problems with jms adapter and bpel

    Hi,
    I have esb project which dequeues from a jms adapter and then the esb router calls a bpel process. This bpel process takes about 10 seconds. The first step this bpel does is to return true ( to the client) to the esb router so the ESB thinks he is ready. This does not work.
    Now if I use in the esb router asyn routing rule to the bpel ws then the esb dequeus all the messages from the queue. All the esb entries are green. But the esb starts one for one the bpel process and then updates the esb entry with a new start time ( very strange) .
    If I use a sync routing rule then it dequeues and call the bpel process one for one.
    How I can parallel proces the jms messages ,because I have 2 quad cores cpu's . Async routing rules looks like the solution.
    How can the esb detects the bpel is still running even with the first action in bpel is to return true. I expected when the esb retrieves true from the bpel ws it ends the current esb entry and goes on with the next. So the total esb time takes a few seconds and not so long as the last the bpel proces finishes.
    And why is he updating the starting time.
    Thanks Edwin
    Message was edited by:
    biemond

    I have esb project which dequeues from a jms adapter
    and then the esb router calls a bpel process. This
    bpel process takes about 10 seconds. The first step
    this bpel does is to return true ( to the client) to
    the esb router so the ESB thinks he is ready. This
    does not work. I am not sure if it can ever work, if you reply and then still proceed with your BPEL process.
    Here is something I would like to suggest:
    Can you try ESB -- (sync) --> BPEL, where BPEL process itself is Async. In that case, esb will consume all the messages very fast and BPEL will get that message and put in Delivery Queue and reply back to ESB. Now BPEL will process them simultaniously based Receiver/Worker threads defined in your env.
    HTH,
    Chintan

  • Configuration for sync/async bridge in Jms adapter

    Can someone give me a hint what I might be doing wrong?
    The scenario is: synchronous proxy to jms.
    Integration repository:
    Created synchronous outbound interface and synchronous inbound interface, message mapping, interface mapping.
    Integration directory:
    Created jms receiver communication channel and jms sender communication channel and configured them according "How to correlate jms messages".
    Created receiver determination, interface determination and receiver agreement.
    No sender agreement necessary for proxy sender.
    So far so good, but...
    Both the receiver and sender jms adapter have its own queue (the receiving system will get the request in one queue and put the response in another).
    <b>How does the waiting jms receiver adapter know where to expect the answer?</b>
    When I test this scenario the (outbound) message get the status "Log version" (abap moni) and "To be delivered" (java moni).
    PS:
    The testing is performed by using the tool rfhutil. With this tool you can read and write directly from/to the MQ queues where the jms adapters are pointing to.
    After receipt of the request in the queue of the reveicer jms communication channel, I manually put a message in the queue of the sender jms communication channel with the XI message ID filled in the correlation ID.

    More information, In the jms adapter the following error appears:
    XI inbound processing failed for message at time 2007-06-11|11:12:48.908+0100. JMS and XI identifiers for the message are ID:414d512052545849444556312020202045f55b6c20d73102 and 4e5bff20-1804-11dc-c2b4-00096b6ed15c respectively. The JMS adapter will rollback the database and JMS session transactions. If the session is transacted, the message is not lost and will be retried later. The exception stack trace is java.lang.Exception: Minimum address data not configured. Field InterfaceNamespace is empty.
         at com.sap.aii.af.service.jms.WorkerJMSReceiver.onMessage(WorkerJMSReceiver.java:1516)
         at com.ibm.mq.jms.MQMessageConsumer.receiveAsyncQ(MQMessageConsumer.java:2538)
         at com.ibm.mq.jms.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:4260)

  • Drivers for different Queuing series in JMS Adapter , Secutity Level..

    Plz can any one provide me JMS Adapter, drivers of different queuing series inTransport protocol.And also security levels in JMS
    Also tell me whn to use the particular queuing series.........

    Hi,
    The queuing series to be is based on the circumstances. If the client is already using MQ, then we need to go for MQ. Similarly for others too.
    For deploying the drivers, go thro this How To guide:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    About security levels, i think normal Message Level and Network level securities can be handled with JMS adapters.
    Regards,
    P.Venkat

  • Instance missing in BPEL console

    Hi,
    I have a process say "THIRD", it has database adapters and exception handling for each scope as well. In the case of any exception in "THIRD", the process calls the another process say "EMAIL" which is only meant for e-mail notification.
    Now the situation:
    When sometimes the process name "THIRD" is invoked from client(Oracle Apps/BES) first time in the morning and if any of the DB adapter throws exception, the instance of "EMAIL" is created and send the mail too. But if we try to find out the instance of "THIRD" which cause the problem is missing in BPEL Console.
    Moreover, it happens only first time in the morning and doesn't happen everyday.
    Thanks in advance.
    ---Janit

    Is your BPEL deployed on OC4J?
    Described property is here
    <ORAHOME>\integration\orabpel\system\appserver\oc4j\j2ee\home\config\server.xml
    restart OC4J. Check also BPEL domain parameter syncMaxWaitTime (From BPEL Console-> Manage BPEL Domain). syncMaxWaitTime should be less than transaction-config timeout. Otherwise it is not working properly.
    <snip>
    <?xml version="1.0"?>
    <!DOCTYPE application-server PUBLIC "-//Oracle//DTD OC4J Application-server 9.04//EN" "http://xmlns.oracle.com/ias/dtds/application-server-9_04.dtd">
    <application-server application-directory="../applications"
    check-for-updates="false"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    >
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <j2ee-logging-config path="./j2ee-logging.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <transaction-config timeout="60000" />
    </snip>

  • Strange problem: BPEL Console

    Hi all,
    We are facing a peculiar type of problem on BPEL Console.
    Scenario: I have created an empty BPEL process. That process gets initiated by a CSV file present in the specific folder (with the help of file adapter), and subsequently the values from that CSV file is used as an input parameter for calling a procedure (with the help of DB Adapter). The success or failure of the BPEL process is informed to particular set of people through Email. Everything is working perfectly fine including the process instance and the Email part.
    Problem: We are not able to see any instance created on BPEL console if we are passing more than 2000-3000 records in a CSV file. But the process is happening because procedure is doing its work and we are getting the success or failure Email also.
    Point to note, For less than 2000 its working perfectly fine.
    Any help in this case will be helpful for our team.
    Regards,
    Abhi...

    Hi JMehta,
    Thanks for the reply.
    We are not creating multiple bpel instances. Only one BPEL instance is there. We are not getting any error related to this. All the records (more than 2000/3000) are processed. The only concern is that the instance is not visible on console.
    Can you tell me exactly what config parameter you are trying to point out.
    I have checked some parameters on BPEL Console -> Manage BPEL Domain
    Some parameters and there respective values are listed below:
    1) auditDetailThreshold : 50000
    2) dspInvokeAllocFactor : 0.4
    3) dspMaxRequestDepth : 600
    4) dspMaxThreads : 100
    5) dspMinThreads : 5
    6) expirationMaxRetry : 5
    7) expirationRetryDelay : 120
    8) instanceKeyBlockSize : 10000
    9) largeDocumentThreshold : 50000
    10) processCheckSecs : 1
    11) statsLastN : 1000
    12) syncMaxWaitTime : 45
    Do I need to change any value here or any other place??
    Thanx in advance.
    Regards,
    Abhi..
    Message was edited by:
    Abhishek saurabh

  • Is there any way to see Console[DOS console] in BPEL/SOA Suite 10.1.3.1?

    Hi ALL,
    I downloaded JDeveloper 10.1.3.1 Studio And SOA Suite 10.1.3.1 Developer Previews.
    I created BPEL project and I deployed on SOA suite server.
    Now I want to see/monitor outputs on Console but console[DOS console] is not available. I have to login in into IE Console to check whether Instances generated or not and then when I have new instance then I can only check.
    Basically I need to put logger at some level and I want to monitor them.
    How can I get DOS kind Console for BPEL Process Manager or SOA Suite?
    Any Idea?
    Regards,
    Bhavesh Thaker.

    soa_suite_home/opmn/logs/defaultOC4J_SOAxxxx should do it .. aside opmn.log
    will help too.. (OC4J_SOA maps to the advance install, otherwise it's home)
    hth clemens

  • Error during deploy via BPEL Console

    I've downloaded BPEL Production version on May 27th.
    When I create a jar via 'bpelc' and I deploy via BPEL Console 'Deploy new process', I have this error every second in the system.out/system.err of BPEL:
    <2005-05-28 13:32:55,958> <ERROR> <default.collaxa.cube.engine.deployment> <Cube
    ProcessMonitorWork::run> Error fetching handle to domain manager
    Moreover I don't see the new process in the dashboard. If I restart BPEL, the new process appear in the dashboard and no error in System.out/System.err
    What can be?
    Thanks

    Could you please mail me your project file at [email protected] ( zip it, rename to .zipr) and please do let me know the steps to replicate the same.

  • No domain accessible to user logged in from BPEL Console

    I am unable to log in BPEL Console installed through SOA Suite 10.1.3.1.0.
    OC4Jadmin user integrated with OID. Unable to logged as oc4jadmin user to BPEL console or BPEL admin.

    I have exactly the same problem. The problem arose after deleting the directory ...j2ee/home/application-deployments and re-starting the soa suite. It's a really annoying problem. I've tried with oc4jadmin, bpeladmin, and default. My environment is also integrated with OID. My database, and my OID are working correctly.

  • Some failed BPEL processes are not tracked in BPEL Console (not hydrated)

    Hi all.
    I'm experiencing a problem at a customer which has a standalone BPEL install (they use BPEL 10.1.3.1 only)
    The customer is complaing that, due to some process errors, the BPEL process fails but, the process final state is not hydrated to database, so it's not possible to track the process execution.
    I built a simple test case and tested against BPEL 10.1.3.1 and 10.1.3.3. The test consists of:
    1 - A synchronous BPEL process using an Assign activity.
    2 - In the assign, I force an error condition, for example copying the expression parseEscapedXML('some bad xml string') to a variable.
    3 - I execute the BPEL process using the console
    4 - The process finishes with error, but you don't get any instance in the "Recently Completed BPEL Process Instances"
    This is a critical problem as we cannot track both what was successfully executed and what has failed.
    Failed instances like this one are obviously logged in appserver files, but this is not an accpectable monitoring alternative.
    This is even more critical because the customer does not have Enterprise Service Bus to mediate execution, where I could certainly track those failed ones.
    Any ideas?
    Is it possible to force hydration of all types of failed processes?
    Thanks
    Denis
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    Additional info: Having the process "In Flight" due to the checkpoint and subsequent "error", if I manually abort the instance and visualize the audit flow, I can see which activity has caused the error.
    For example:
    1 - I execute the process. It executes the checkpoint() and the ora:parseEscapedXML(), which causes the process to terminate unexpectedly.
    2 - The process remains "In-Flight". If I go to the audit flow, it shows that the process has reached the checpoint activity, and nothing further.
    3 - I manually abort the instance
    4 - I check the audit flow again. This time I can see the flow beyond the checpoint, until the activity that caused the process to terminate (in this case the assign containing the parseScapedXML)
    What I conclude is that, when I manually abort the instance, BPEL hydrates the process part that was only "in memory" (the actual point where the process has stoped)
    Denis
    Message was edited by:
    [email protected]

  • Bpel deployment fails for all processes that have revision other than 1.0.

    Using: Release *10.1.3.3.1*
    Hello All,
    Bpel deployment fails for all processes that have revision other than *1.0*.
    We have been attempting to deploy several BPEL projects via ANT script to a target environment and are encountering failures to deploy for every project which isn’t a (revision 1.0). We are getting the following error whenever we try to deploy a process with a revision other than 1.0:
    D:\TJ_AutoDeploy\BPEL_AutoDeploy_BETA\build.xml:65: BPEL archive doesnt exist in directory "{0}"
         at com.collaxa.cube.ant.taskdefs.DeployRemote.getJarFile(DeployRemote.java:254)
         at com.collaxa.cube.ant.taskdefs.DeployRemote.deployProcess(DeployRemote.java:409)
         at com.collaxa.cube.ant.taskdefs.DeployRemote.execute(DeployRemote.java:211)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at org.apache.tools.ant.Main.runBuild(Main.java:668)
         at org.apache.tools.ant.Main.startAnt(Main.java:187)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    The structure of our automated deployment script is as follows:
    First, a batch script calls (Jdeveloper_BPEL_Prompt.bat) in order to set all necessary environment variables i.e. ORACLE_HOME, BPEL_HOME, ANT_HOME, etc for ant.
    Next, the script lists every .jar file within the directory to an .ini file called BPEL_List.ini. Furthermore, BPEL_DIR, ADMIN_USER and ADMIN_PSWD variables are set and initialized respectively to:
    -     “.” – point to directory where script is running from because all the BPEL processes are located here
    -     “oc4jadmin”
    -     “*********” (whatever the password for out environment is)
    We’ve developed a method to have the script prompt the user to select the target environment to deploy to. Once the user selects the appropriate environment, the script goes through the BPEL_List.ini files and a loop tells it that for every BPEL process listed:
    DO ant
    -Dprocess.name=%%b
    -Drev= !Rev!
    -Dpath=%BPEL_DIR%
    -Ddomain=default
    -Dadmin.user=%ADMIN_USER%
    -Dadmin.password=%ADMIN_PWD%
    -Dhttp.hostname=%HOST%
    -Dhttp.port=%PORT%
    -Dverbose=true
    (What’s happening is that the variables in the batch file are being passed on to the ANT script where *%%b* is the process name, !rev! is revision #, and so on…)
    The loop goes through each line in the BPEL_List.ini and tokenizes the BPEL process into 3 parts *(%%a, %%b, and %%c)* but we only extract 2 parts: *%%b* (process name) and *%%c* which becomes !Rev! (revision number).
    Example:
    Sample BPEL process:
    bpel_ThisIsProcess1_1.0.jar
    bpel_ThisIsProcess2_SOAv2.19.0.001B.jar
    After tokenizing:
    %%a     %%b     %%c
    bpel     ThisIsProcess1     1.0.jar
    bpel     ThisIsProcess2     SOAv2.19.0.001B.jar
    *!Rev!* and not *%%c* because *%%c* will return whatever the revision number is + the “.jar” file extension as illustrated above. So to circumvent this, we parse *%%c* so that the last 4 characters are stripped. Such is done like this:
    set RevN=%%c
    set RevN=!RevN:~0,-4!
    Hence, the usage of !Rev!.
    Below is a screenshot post of the ANT build.xml that goes with our script:
    <!--<?xml version="1.0"?>-->
    <!--BUILD.XML-->
    <project name="bpel.deploy" default="deployProcess" basedir=".">
         <!--
         This ant build file was generated by JDev to deploy the BPEL process.
         DONOT EDIT THIS JDEV GENERATED FILE. Any customization should be done
         in default target in user created pre-build.xml or post-build.xml
         -->
         <property name="process.dir" value="${basedir}" />
              <!-- Set BPEL process name -->
              <!--
              <xmlproperty file="${process.dir}/bpel/bpel.xml"/>
              <property name="process.name" value="${BPELSuitcase.BPELProcess(id)}"/>
              <property name="rev" value="${BPELSuitcase(rev)}"/>
              -->
         <property environment="env"/>
         <!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
              <condition property="bpel.home" value="${env.BPEL_HOME}">
                   <available file="${env.BPEL_HOME}/utilities/ant-orabpel.xml" />
              </condition>
         <!-- show that both bpel and oracle.home are located (TESTING purposes ONLY) -->
         <!-- <echo>HERE:${env.BPEL_HOME} ${env.ORACLE_HOME}</echo> -->
         <!-- END TESTING -->
         <!--If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
         <property name="oracle.home" value="${env.ORACLE_HOME}" />
         <property name="bpel.home" value="${oracle.home}/bpel" />
         <!--First override from build.properties in process.dir, if available-->
         <property file="${process.dir}/build.properties"/>
         <!--import custom ant tasks for the BPEL PM-->
         <import file="${bpel.home}/utilities/ant-orabpel.xml" />
         <!--Use deployment related default properties-->
         <property file="${bpel.home}/utilities/ant-orabpel.properties" />
         <!-- *************************************************************************************** -->
         <target name="deployProcess">
              <tstamp>
                   <format property="timestamp" pattern="MM-dd-yyyy HH:mm:ss" />
              </tstamp>
              <!-- WRITE TO LOG FILE #tjas -->
              <record name="build_verbose.log" loglevel="verbose" append="true" />
              <record name="build_debug.log" loglevel="debug" append="true" />
              <echo></echo>
              <echo>####################################################################</echo>
              <echo>BPEL_AutoDeploy initiated @ ${timestamp}</echo>
              <echo>--------------------------------------------------------------------</echo>
              <echo>Deploying ${process.name} on ${http.hostname} port ${http.port} </echo>
              <echo>--------------------------------------------------------------------</echo>
              <deployProcess
                   user="${admin.user}"
                   password="${admin.password}"
                   domain="${domain}"
                   process="${process.name}"
                   rev="${rev}"
                   dir="${process.dir}/${path}"
                   hostname="${http.hostname}"
                   httpport="${http.port}"
                   verbose="${verbose}" />
              <sleep seconds="30" />
              <!--<echo message="${process.name} deployment logged to ${build_verbose.log}"/>
              <echo message="${process.name} deployment logged to ${build.log}"/> -->
         </target>
         <!-- *************************************************************************************** -->
    </project>
    SUMMARY OF ISSUE AT HAND:
    ~ Every bpel process w/ 1.0 revision deploys with no problems
    ~ At first I would get an invalid character error most likely due to the “!” preceding “Rev”, but then I decided to set rev=”false” in the build.xml file. That didn’t work quite well. In another attempt, I decided to leave the –Drev= attribute within the batch script blank. That still led to 1.0s going through. My next thought was deploying something other than a 1.0, such as 1.2 or 2.0 and that’s when I realized that if it wasn’t a 1.0, it refused to go through.
    QUESTIONS:
    1.     IS THERE A WAY TO HAVE ANT LOOK INTO THE BPEL PROCESS AND PULL THE REVISION ID?
    2.     WHAT ARE WE DOING WRONG? ARE WE MISSING ANYTHING?
    3.     DID WE GO TOO FAR? MEANING, IS THERE A MUCH EASIER WAY WE OVERLOOKED/FORGOT/OR DON’T KNOW ABOUT THAT EXISTS?
    Edited by: 793292 on Jul 28, 2011 12:38 PM

    Only thing i can think of is instead of using a MAC ACL , u cud jus use the default class
    Policy Map Test
    class class-default
    police 56000 8000 exceed-action drop
    Class Map match-any class-default (id 0)
    Match any
    You would be saving a MAC-ACL ;-).

  • BPEL Console not showing input fields for process

    I'm having a problem with our BPEL processes. When testing them in the BPEL Console the form for entering the input fields does not appear, even when switched to XML entry instead of HTML.
    The problem seems to occur in processes which take their input schemas from a different directory from the BPEL process. This was working fine in Oracle 10.1.2. We can successfully load the schema by entering its URL, and if the process is started without entering any data, the input message is correctly generated, just with all fields empty. So it seems like the schema is being found.
    When both the input and output schemas are specified inline in the project WSDL file, it works correctly. The problem occurs when referencing the schema in a different location. We have numerous projects which share common schemas, so specifying them all in-line is not a workable solution.
    Has anyone else encountered this problem, or found a solution to it?
    Thanks for your help.
    Howard

    I have similar process where I am able to see the instance incomplete process C, the issue is with the present process.
    actually process B and C are from production I have designed the new process A, which is calling B and B is calling C.
    I have also designed other process A1(new) which is calling B1(existing) and B1 is calling C1(existing), there I am able to see the instance of C1
    dont know why it is happening like this for process C
    please advice
    thanks
    yatan

Maybe you are looking for

  • How to remove my credit card information from my apple I'd?

    Guys, I received the receipt of a wrong transaction that I didn't initiate on I tunes. I need to either remove my credit card information completely, so that every time I buy anything I'll put it manually. Please provide a solution. Thanks Ashish

  • Named Anchored Obj-Environment Failover

    Hi to all, We connect from EnvA to EnvB giving the user directory parameter as / and set the Environment Search Path as EnvA:EnvB. From both environments we start and register '/glob/obj1' named anchored objects with the same name. From a client we c

  • Dbx : terminated by signal SEGV (no mapping at the fault address)

    hi everyone when I use dbx to analyze a core it shows : terminated by signal SEGV (no mapping at the fault address) but how to directly show the value of fault address ? I know that it can be calculated by $pc , but is there any direct way? is there

  • Web Services from Azure timing out a lot?

    Hi there I'm working on some WCF  Web Service based software using Azure Cloud. I am frequently finding that it the callbacks time out. Sometimes they run quickly and return and everything is cool and other times they hang and time out and i have to

  • How to schedule a mapping?

    Hi .... how can I schedule a mapping ???? Can external tools be used to schedule a mappin ?.....like tibco,autosys etc ? thnx s