Purging of instances in BPEL domain

Hi,
If we choose to purge all instances in a BPEL Domain..BPEL console shows a message that ALL INSTANCES IN BPEL SERVER will be deleted, so does that mean the instances in other BPEL DOMAINS will also be deleted.
Please suggest,
TIA
Phani

Only in the domain. You can also partly purge instances:
http://orasoa.blogspot.com/2007/03/delete-bpel-instances.html
http://orasoa.blogspot.com/2007/02/delete-bulk-bpel-instances.html

Similar Messages

  • Delete Instances in BPEL console

    HI
    I am using Oracle SOA suite 10.1.3.1.0. So I will be having the Oracle lite as the dehydration store.
    I Have around 6400 instances in my BPEL console.
    What will happen when the number of instances are increasing.
    I am using a BPEL process to read xml and add data to SQL server database.
    When I deployed this process it was running properly. But now it is thrwoing the exceptions saying that the XPATH expression is failed.
    But when I process the same file it is not throwing any exceptions. Is this somewhere related to number of instances in the BPEL console??
    is there anyway to recreate the oracle lite database tables?
    Is there any way I can delete all the instances on a periodic basic without using another process or coding??
    Thanks
    V Kumar

    Well I have tried this crazy idea of using Oracle Lite with huge number of instance.
    I did this in performance test environment, not in Production.
    I could pump in huge number of transactions, and surprisingly Olite was able to take that.
    But the real bolt came when I tried to use "Purge All Instances" from BPEL console.
    The whole Olite crashed.
    But this was way back in the first version of BPEL and in the GA version of it.
    Never tried this in any version after that.
    Every Little Helps
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • How to create a new BPEL Domain

    Hi,
    Need a huge favor... thanks in advance..
    Database - 10.2.0.2.0
    BPEL (SOA Suite) -- 10.1.3.0
    a) Installation went fine
    b) Able to use the software using the url provided at the end of installtion
    c) I want to create a NEW BPEL domain.
    When I create new domain, it gives the below errors..
    Exception
    Operation failed because:
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.sql.SQLException: ORA-00942: table or view does not exist
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1029)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1126)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3043)
    at oracle_jdbc_driver_T4CPreparedStatement_Proxy.executeQuery()
    at com.collaxa.cube.admin.data.DomainConfigManager.loadProperties(DomainConfigManager.java:203)
    at com.collaxa.cube.engine.CubeEngine.load(CubeEngine.java:423)
    at com.collaxa.cube.admin.ServerManager.loadDomain(ServerManager.java:1111)
    at com.collaxa.cube.admin.ServerManager.createDomain(ServerManager.java:731)
    at com.collaxa.cube.admin.ServerManager.createDomain(ServerManager.java:617)
    at com.collaxa.cube.ejb.impl.ServerBean.createDomain(ServerBean.java:181)
    at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at ServerBean_RemoteProxy_4bin6i8.createDomain(Unknown Source)
    at com.oracle.bpel.client.Server.createDomain(Server.java:327)
    at _doCreateDomain._jspService(_doCreateDomain.java:89)
    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:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    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:396)
    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:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Handled As: com.collaxa.cube.CubeException
    THANKS
    Rgds
    Natrajan
    Also.. Here are the details of BPEL create domain screen..
    Create New BPEL Domain
    BPEL Domain is a logical grouping of processes, instances and activities. A domain may be accessed either by the domain or administrative password.
    Domain Id: <<Nattest>>
    Each domain requires access to a JDBC datasource to store instances and activities. Tx Datasource JNDI must refer to a datasource with JTA support. Datasource JNDI may refer to any datasource (JTA not required).
    Datasource JNDI: <<<<JUST took default..>>>
    Tx Datasource JNDI: <<JUST took default>>>

    I've seen this if the database is down or in a funky state. Try shutting down BPEL, and restart the database, then bring BPEL back up. If you're using Oracle Lite just use the "Stop SOA Suite" GUI from the Start Menu.

  • DisplayInstance.jsp gives 404 when viewing instances in BPEL Console

    Using soa suite 10.1.3.4 on WL 9.2
    In the /BPELConsole app, deployed bpel processes list their instances on the instances tab. But clicking on any of the links for the instances gives a 404
    https://our_host:our_port/BPELConsole/default/displayInstance.jsp?referenceId=bpel://localhost/default/process_name/30054&mode=manage
    Removing the parameters from the above to the following resolves correctly and just re-displays the page at
    https://our_host:our_port/BPELConsole/default/instances.jsp
    I don't see any errors thrown in the "SOA_HOME"/bpel/domains/default/logs/domain.log or in the WL managed server logs other than the actual 404 itself in the WL access log:
    [14/Oct/2009:10:08:04 -0400] "GET /BPELConsole/default/displayInstance.jsp?referenceId=bpel://localhost/default/process_name/30049&mode=manage HTTP/1.1" 404 1214
    I've checked the esb_parameter table, and the dt_oc4j_host & dt_oc4j_http_port rows are correctly set to the server's host & port
    Although all of our WL instances use explicit ListenAddress values which match their host names, I'm pretty sure it's not the localhost portion of "bpel://localhost" as our other environments show the same syntax in their BPELConsole pages but correctly display the instances. And /etc/hosts does have the localhost entry.
    Yet when a process is invoked within the BPELConsole, the Initiate tab shows icons for Visual Flow, Audit Instance & Debug Instance which use very similiar addresss - which work. Note a very different referenceId:
    https://our_host:our_port/BPELConsole/default/displayInstance.jsp?referenceId=7cde75f4b22c157a:4d690c8d:1243a74da38:-7ef0&mode=flow
    and this also works:
    https://our_host:our_port/BPELConsole/default/displayInstance.jsp?referenceId=7cde75f4b22c157a:4d690c8d:1243a74da38:-7ef0&mode=manage
    But when using the Instances tab, the links give 404. So why ?

    Hi,
    I don't understand this behaviour in detail, by now. Could you please state if this is correct?
    1. I call an async bpel process A.
    2. The message is put in the delivery queue.
    3. My client is free again, not blocking.
    4. Process A does not show up in Console by now. (If I would call checkpoint(), it would do).
    5. A worker takes the message and instantiates the Process A.
    6. Process A instance is running now, calling some sync processes.
    7. NO dehydration so far.
    8. Process A does not show up in Console by now. The called subprocess (sync) do show up, if they are completed.
    9. Loop to 6, until Process A ends and makes callback to client.
    10. After sending callback, Process A shows up in Console.
    11. Now I can monitor, what HAS happened.
    I understand, that you can't commit your process data, until a regular dehydration point is reached.
    But consequence: I can't even SEE that there exists a process instance from A, until it worked through all the steps above. I just see a swarm of sub processes without an existing parent.
    That's the behaviour, you call "intended"?
    Workaround would be to do dehydration after each bpel invoke activity. Do you see a problem in doing this?
    Thanks in advance!
    Torsten

  • How can I set BPEL server enviorment and create BPEL domain?

    Without use the http console, how can I set BPEL server enviorment and create BPEL domain?
    When I try to use API like below
    import com.oracle.bpel.client.Server;
    Server s = new Server(ServerAuthFactory.authenticate("oracle","localhost"));
    But I always got four exceptions and one warning like below:
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\security.properties (The system cannot find the path specified)
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\ejb.properties (The system cannot find the path specified)
    Warning: unable to read transaction.interoperability config property
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\security.properties (The system cannot find the path specified)
    java.lang.Exception: Failed to create "ejb/collaxa/system/ServerBean" bean; exception reported is: "javax.naming.CommunicationException: Can't find SerialContextProvider
    Is it right to use com.oracle.bpel.client.Server like this, please help me.
    Best regards,
    Vita

    Anyone can help me? Because I need deploy BPEL process on production server, so I need the Java funtion to create domain. Thank you very much if you can tell me the correct method of using com.oracle.bpel.client.Server API.

  • Error creating a new BPEL domain in a 2 server environment with common DS

    I want to create two new BPEL domains, one for production and one for test env
    instead of using the default domain.
    There are two application servers with BPEL PM (10.1.2.0.2) using the same
    Dehydration Store. Active-Active mode, no cluster.
    A new BPEL domain is created successfully with BPEL Admin Console in server A.
    The problem is the server B knows nothing about the new domain. I cannot select
    the new domain on BPEL Console login page on server B.
    When I tried to create the same domain in server B the following error
    occured:
    Exception
    Operation failed because:
    Error updating domain index.
    An exception occurred while writing the domain index (id"szolinfo", ref "1") to
    the datastore; the exception reported is: ORA-00001: unique constraint
    (ORABPEL.DOM_PK) violated
    Please check that:
    + the machine hosting the datasource is physically connected to the
    network.
    + the connection pool properties as defined in the application server
    startup properties are valid.
    + the database schema for the OraBPEL server has been installed in the
    datasource.
    This is because the two servers are using the same database.
    The new domain require a new folder and a lot of files also inside the domains
    folder on server A and B. On server A this is created by BPEL Admin Console.
    How to create the same domain in server B?
    Are there any scripts/tools to use for this reason?

    These steps on Server B resolved the problem:
    1: cp -r domains/default domains/<new-domain-name>
    2. cd domain/<new-domain-name>/config
    3. Edit the following files by replacing the string 'default' with the name of your
    new created domain in the following
    elements/attributes:
    archive-config.xml: <value>/home/mla/app/bpel101202/integration/orabpel/domains/de
    fault/archive</value>
    domain.xml: <bpel-domain-descriptor version="2.0.6" id="default">
    4: In the case that the password for the domain is different compared to the default domain, the file 'auth.properties' has
    to be copied over from the server where the domain was created.
    5. Restart the BPEL PM

  • The BPEL domain "services" cannot be found

    I get the following error while invoking a web service.
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>when invoking locally the endpoint 'http://..........', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "services" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</summary>
    </part>
    <part name="detail">
    <detail>ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "services" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</detail>
    </part>
    </remoteFault>
    Anyone with similar issues?

    bstn,
    here is why - services is reserved within bpel .. (for hw and idm) - can you pls redeploy you service with a different path and see if it works ..
    The reason is that optSOAPShortcut set to false, will cause performance loss, as everything (even local process to process calls) will use ws stack instead of in memory..
    Nevertheless if this is not the case, I'd really like to see what is the endpoint the ws stack is trying to call to ensure we are not running into the wrong direction..
    thx clemens

  • Best practice for using different BPEL domains

    Hi BPEL community,
    I'm interested in your experience of creating different BPEL domains for grouping your BPEL processes in an enterprise SOA way.
    Background is that we have different projects with many BPEL processes and want to find an ideal grouping for them.
    Some thoughts are:
    - group by project
    - group by business domain
    - group by characteristics and requirements (long-running, short-running, ...)
    Please post your recommendations and experiences!
    Best regards,
    Harald

    publish/subscribe, right?
    lots of subscribers, big messages == lots of network traffic.
    it's a wide open question, no?
    %

  • Cannot create BPEL domain in SoaSuite 10.1.3.5.0

    Hi all,
    I'm having problems creating BPEL domains.
    Here's my situation:
    I installed a fresh Soa Suite 10.1.3.1 on a Windows environment and upgraded to 10.1.3.5.0. Before patching to 10.1.3.5.0 creating BPEL domains works fine.
    However, after the upgrade to 10.1.3.5.0, when I try to create a new BPEL domain using the BPEL admin console I get an error: jsBundle is not defined.
    The error occurs when I hit the 'Create' button and the javascript calls the validation function (getLocalizedString).
    Has anyone else experienced this behaviour? Any help would be appreciated
    Thanks in advance,
    Rob de Haan
    Edited by: user10750516 on 16-feb-2010 23:56

    Are you trying out the non English version of the admin interface?
    Other users have problems and looks like localization bundles are missing in 10.1.3.5.
    Check this thread: {thread:id=1013311} and then metalink, oracle support is your next stop to search for the TAR SR:)
    Regards,
    Shanmu.

  • How to set  password for BPEL domain

    Hi,
    I am new to SOA.
    I want to setup client-server environment for few developers.
    I installed SOA 10.1.3.3 in the server machine.
    And I created few domains in BPEL, one for each developer.
    It didn't ask me to set the password while creation of the domain.
    Please let me know how to set password for newly created domain so that each developer login to his/her own domain and manage processes.
    Thanks!!!

    Thanks for the prompt response.
    What roles should I give to my developers to allow them to manage their services in ESB control, BPEL control, WSM control.
    And I would like to know how to set the password for a BPEL domain too.
    Message was edited by:
    user644377

  • Can I find how many instances of BPEL process is in running state ?

    Hi,
    How can I find how many instances of BPEL process is in running state ? Any code/API ? help ? Thanks

    Check the class com.oracle.bpel.client.Locator...
    u can use the method listInstances(WhereCondition wc) to get the required details
    Regards
    Albin I

  • Running several instances of BPEL PM on the same machine ?

    Hi,
    What is the best setup to run several conccurent instances of BPEL PM on the same machine (Middle Tier install) ? Of course I would like to minimize the number of components I would need to install.
    - Do I need to install several Oracle AS instances (1 Oracle AS = 1 Oracle Home for each BPEL PM instance) ?
    - Do I need several Oracle databases for teh dehydration ? (apparently not : http://clemensblog.blogspot.com/2006/02/using-oracle-xe-for-bpel-dehydration.html)
    Thanks

    Hi unfortunately it is NOT supported to run more then one container with BPEL / and the isntaller will refuse to install inta a midtier that already has BPELPM installed ..
    w/o is more j2ee webcache installs (they are basically just the container, em and webcache) and connect them to the DB (different schemas if needed, for failover against the same)
    hth clemens

  • Create New Bpel Domain

    Hi All-
    How to create a new BPEL domain, I have tried in 10.1.3.3 and 10.1.3.4 also in BPEL console but didn't found anything for creating new domain.
    Please help.
    Regards,
    Sreejit

    Hi Sreejit,
    Please note that you will have to give BPELConsole to log into your console, to initiate, view, manage the processes, see the sudit flow,...
    You have to loginto BPELAdmin(type in URL), to log into the admin page where you have server confi parameters, domain level loggers, manage domains,...
    Cheers
    A

  • BPEL domain Authentication problem

    I have written the following lines of code to authenticate to BPEL domain.
    Hashtable contextProps = new Hashtable();
    contextProps.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    contextProps.put(javax.naming.Context.SECURITY_PRINCIPAL, "admin");
    contextProps.put(javax.naming.Context.SECURITY_CREDENTIALS, "welcome");
    contextProps.put(javax.naming.Context.PROVIDER_URL, "ormi://xeondp2:23791/orabpel");
    String domain = "default";
    String password = "bpel";
    DomainAuth auth = DomainAuthFactory.authenticate(domain, password, request.getRemoteAddr(),contextProps);
    The above code throws
    java.lang.Exception: Invalid Login. Domain not specified.
         at com.collaxa.cube.fe.util.ServletUtils.getLocator(ServletUtils.java:80)
    Please do let me know if I am missing anything.

    Remember to check simple attributes in your Windows client in your wireless network connection. Under the Wireless Networks tab, look for the Use Windows to Configure My Wireless Networksetting. Be sure that this option is checked if you use the Windows Zero configuration. If you use a different client, be sure to refer to the documentation that came with that client in order to set up web authentication. Ensure the virtual interface is configured properly on the Controller > Interfaces page. Also, verify that you have specified this WLAN/SSID on the WLC, that you have enabled the WLAN/SSID, and that it is correctly set up for web authentication.

  • BPEL Process Manager Oracle BPEL Domain Initialization Failed

    I was able to login into BPEL Process Manager without any error. Then I changed one entry in the oc4j-ra.xml file and restarted the BPEL server and started getting the error message.
    Oracle BPEL Domain Initialization Failed
    The Oracle BPEL Domain default did not initialize successfully. The following error was detected during startup. Please contact the Oracle Support
    Team if you are not able to resolve this problem.
    Reported Error:
    Cannot lookup jdbc datasource.
    The process domain was unable to lookup the TX datasource "eis/DB/DBConnection1".
    Please check that the machine hosting the datasource is physically connected to the network. Additionally check that the
    connection pool properties as defined in the application server startup
    properties are valid.
    I put back the original oc4j-ra.xml back in appropriate dir , restarted the BPEL server and database server still getting the same errro message listed above, It's urgent can anybody post the possible solution/suggestion experience.
    Thanks

    I opened the file under
    ./application-deployments/default/DbAdapter/oc4j-ra.xml and it has the following entry
    <connector-factory location="eis/DB/DBConnection1" connector-name="Database Adapter">
    <config-property name="xADataSourceName" value="jdbc/DBConnection1DataSource"/>
    <config-property name="dataSourceName" value="loc/DBConnection1DataSource"/>
    <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="true"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    I opened that file (
    ./connectors/DbAdapter/DbAdapter/META-INF/oc4j-ra.xml) and it has no entry for
    <connector-factory location="eis/DB/DBConnection1" connector-name="Database Adapter">
    <config-property name="xADataSourceName" value="jdbc/DBConnection1DataSource"/>
    <config-property name="dataSourceName" value="loc/DBConnection1DataSource"/>
    <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="true"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    So I entered this and restarted the BPEL PM but still no luck,
    Is anything else I will be looking in that file let me know

Maybe you are looking for