How to delete the BPEL instance in Java code
Hi all,
How to delete the BPEL instance which I initiate in Java code?
Thanks
Jayson
Hi,
take a look here
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/toc.htm
Interface IInstanceHandle
void delete()
Delete the instance from the process domain.
Similar Messages
-
How to find the System Dbtype in java code
How to find the System Dbtype in java code
I need various Db connection my project (oracle, sq l,sybase,db2),So How to find the System Dbtype in java codeWelcome to the Forums.
Please go through the FAQ of the Forum.
You has posted your query in the wrong Forum, this one is dedicated to Oracle Forms.
Please try {forum:id=1050}.
Regards, -
How to isolate the Sql Statement from Java Code
Hi
I Need to know that can we segregate the Sql Statements and convert them to Stored Procedures so as to isolate the Sql statements from Java Code.
So i have one static web page which uses four select Statements so what i want is to create a stored procedure encapsulating these queries. So that the Java Web Developer will simply call the Stored Procedure instead of using four different SQL Statements.
Suppose the developer has these four Statements
Select ename,empno,sal,job from emp;
select empno,ename,mgr from emp;
select deptno,dname from dept;
select emp.ename,emp.empno,emp.deptno,dept,dname fromemp,dept;
So can i encapsulate these four Sql Statements in one Procedure and the Web developer can call the Store procedure and dont need to write the Sql Statements in his code.
Can Anybody guide me how to write this Stored type of Store procedure.
Thankshttp://www.google.com/search?q=java+windows+registry
Next time, search yourself. It might be beyond your belief, but you're really, really not the first person to wonder about this. -
How to identify the bpel instance called by specific esb instance
Hello expets,
Greetings,
Is there any way to find out the instance of BPEL process invoked by an esb process.
In short i have a esb process invoking a bpel. I want to find out the Instance of Bpel process invoked by esb
Are there any tables which store this information
Thanks in advance
Best Regards,
naveenHi Justin,
Thanks for the response.
indeed i have looked cube instance table.
My scenario is esb picks message from AQ and calls a BPEL process.
When i looked up the root_id and parent_id in cube instance table those are same as that of the BPEL process instance id. That is because this is the first process in the transaction at BPEL layer.
Is there a way to find the instance of the process at one layer before
Tehanks
Naveen
Edited by: user12044731 on Nov 10, 2010 10:26 PM -
How to get the BPEL instances execution time from dehydration db by query
I want know list of BPEL instance takes more then 10seconds for execution between so and so time.
Could please provide the query to get this details
Thanks
Panneer SelvamTough and Tricky but here is the solution
select * from dev1_soainfra.cube_instance where
(select sum((extract(hour from MODIFY_DATE)-extract(hour from current_timestamp))*3600
+ (extract(minute from MODIFY_DATE)-extract(minute from current_timestamp))*60
+ extract(second from MODIFY_DATE)-extract(second from current_timestamp))*1000 from dev1_soainfra.cube_instance where
COMPONENTTYPE='bpel' and COMPOSITE_NAME='COMPOSITE_NAME' ) > 1000000
and COMPONENTTYPE='bpel' and COMPOSITE_NAME='COMPOSITE_NAME' ;
Replace COMPOSITE_NAME with your actual name of the composite.
Let me know if it works. -
How to track the information/error of java code while compiling.
Hi,
I want all the information or errors of java code during compilation.
So that I can use this information or I can show these errors with different style.
How to get the java syntax errors?Hi,
I want all the information or errors of java code
during compilation.
So that I can use this information or I can show these
errors with different style.
How to get the java syntax errors?Redirect the STDOUT/STDERR from the the JAVA/JAVAC command to a file is one way...
For instance at the commmand line:
javac myClass.java > STDOUT.txt 2> STDERR.txt (Works for Unix variants or Windows OS's)
Then you can do what ever you want with the data contained in the files.
Hope this helps -
How to Delete the configuration for Other comapny code in SAP system
Hi,
I am in deleteion of un-wanted company codes from Golden client.
1.I need to delete the profit centers,
2.but it is not accepting in that transaction code,it is giving the error.
Error message: you can not delete the profit center.because profit center accoutning is active.
How can i de-activate the profit center? please help me..
Thanks
prathimaHi,
You can de-activate PCA in OKKP (maintain controllin area).
Regards,
Eli -
How to delete the parallel currency of Company code
Hi,
I am facing some problem with parallel currency.now i need to delete the parallel currency.
kindly tell me the process to delete the parallel currency in the company code.
Thanks
KishoreAdditional currencies' assignment to company codes can be changed using transaction OB22.
-
How to find the Execution Time for Java Code?
* Hi everyone , i want to calculate the execution time for my process in java
* The following was the ouput for my coding,
O/P:-
This run took 0 Hours ;1.31 Minutes ;78.36 Seconds
*** In the above output , the output should come exactly what hours , minutes and seconds for my process,
but in my code the minutes are converted into seconds(It should not)...
* Here is my coding,
static long start_time;
public static void startTime()
start_time = System.currentTimeMillis();
public static void endTime()
DecimalFormat df = new DecimalFormat("##.##");
long end_time = System.currentTimeMillis();
float t = end_time - start_time;
float sec = t / 1000;
float min = 0, hr = 0;
if (sec > 60) {
min = sec / 60;
if (min > 60) {
hr = min / 60;
System.out.println("This run took " + df.format(hr) + " Hours ;"+ df.format(min) + " Minutes ;" + df.format(sec) + " Seconds");
}* How to Calcualte exact timing for my process....
* Thanks* Hi flounder, Is following code will wotk perfectly?
public static void endTime()
DecimalFormat df = new DecimalFormat("##.##");
long end_time = System.currentTimeMillis();
float t = end_time - start_time;
float sec = t / 1000;
float min = 0, hr = 0;
while(sec >= 60){
min++;
sec = sec -60;
if (min >= 60){
min = 0; //or min = min -60;
hr++;
System.out.println("This run took " + df.format(hr) + " Hours ;"+ df.format(min) + " Minutes ;" + df.format(sec) + " Seconds");
} -
How to delete the deployed composite in weblogic server 11g
Can someone tell me how to delete the deployed composite in weblogic server 11g ?I'm facing an issue where the weblogic server is getting started and immediately after sometime the server changes to "Force shutdown"..When i checked the logs,there is an error in one of the composite i deployed..So now i wanted to delete the deployed composite?Please help ....
ThanksHi
1. Deleting a domain will not hold any references. But make sure that under your user_projects/applications also remove the folder that matches with your domain. Basically under user_projects folder you will see 2 folders named applications and domains. When you create a domain say mySoaDomain, it will crate a folder with the same name under applications folder also with few files like em.ear. If you do this, then you can crate a new soa domain and use the same old name.
2. NOW comes the most important thing. If you create a new SOADomain, at one point, you had to give details for soainfra and mds schemas. If you give your current existing db details (that was used for your old deleted domain), then you may still have the issues. Because the soainfra db may still have the instances for your old process.
3. If you really want to have a full clean soa domain, here is what you do:
a) Run rcu and drop the existing schemas for soainfra and mds.
b) Run rcu again and create above schemas again.
c) Now create SOADomain using config wizard and refer above clean rcu db and you are all set.
3. Under your domain root folder, just searh for files named with your workflow and you should see the .jar location.
Thanks
Ravi Jegga -
How to delete the file with space in name
Hi
I want to delete the file "test ex.txt" file.
i run the following command in command prompt.i can delete the file successfully.
/bin/rm -f /mnt/"test ex.txt"
I want to run the command from java.So i am using the following code
String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
Runtime rt = Runtime.getRuntime();
process = rt.exec(cmd);
The file was not deleted.
How to delete the file with space in name?
Help meUse the form of exec that takes an array of command + args.
arr[0] = "/bin/rm"
arr[1] = "-f"
arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls. -
How to delete the specified line in file?
How to delete the specified line in file? In case of deleting a specified line in a file, how to do?
Line 1
Line 2
Line 3
Line 4
Line 5
The case is a file including the above content. Now I wanna to delete the "Line 3" and how to realize the action in Java?An alternative solution can be :
import java.io.LineNumberReader;
import java.io.IOException;
import java.io.File;
import java.io.FileReader;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.PrintWriter;
public class LineDeleter {
public static void main(String args[]){
try {
//suppose you want to delete line 3
int lineToBeDeleted = 3;
File f = new File("line.txt");
long fileSize = f.length();
//Wrap the FileReader with a LineNumberReader. It will help you
//identify the lines.
LineNumberReader lnr = new LineNumberReader( new FileReader(f));
//Wrap the FileWriter object with BufferedWriter object. Create it with the buffersize
//equal to the file size.
BufferedWriter bw = new BufferedWriter(new FileWriter(new File("line1.txt")),(int)fileSize);
//Wrap BufferedWriter object with PrintWriter so that it allows you
//to print line by line
PrintWriter pw = new PrintWriter(bw);
String s=null;
while ( (s=lnr.readLine())!=null ){
System.out.println(s);
int lineNumber = lnr.getLineNumber();
//match the line number
if(! (lineNumber==lineToBeDeleted)){
pw.println(s);
pw.flush();
lnr.close();
pw.close();
catch(Exception e){System.out.println(e);}
If you want you can rename the line1.txt to the original file name.
I hope this helps.Good luck!!!!!! -
How to delete the recon Taskresults in Sun IdM 7.1 thru automation
How to delete the recon Taskresults in Sun IdM 7.1 thru automation either thru workflows or using java programs...
We need to delete only recon Taskresults.Hi Dinesh,
Try using waveset.adminRoles
Thanks -
How to Delete the node from cluster when the machine crashed?
In an three nodes Rac of 11g r2,How to delete the node from cluster when the machine crashed?
There is now way to repair the machine and have to add a new one.
What is step to follow up?hi
IF YOU WANT TO DELETE RAC1 NODE
check $./olsnodes
1) delete the instance using dbca from any active nodes
crs_stat -t
srvctl stop asm -n rac1
2) delete listener
3) delete oracle_home from oracle user
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<db_home> "CLUSTER_NODES={RAC1}
4)delete asm home
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<asm_home> "CLUSTER_NODES={RAC1}
5) update cluster node
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<db_home> "CLUSTER_NODES={active nodes like rac2,rac3}
6) update ASm home
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<asm_home> "CLUSTER_NODES={active nodes like rac2,rac3}
cd $ORA_CRS_HOME
cd crs/opmn/conf
check for
$cat ons.config
remoteport=6200
cd crs_home/bin
$./racgons remove_config rac1:6200
$ go to crs home
and $ORA_CRS_HOME/crs/install/rootdelete.sh
$ORA_CRS_HOME/crs/install/rootdeletenode.sh
check for ./olsnodes -
Change the name of the bpel instance
Hi All,I want to change the name of the project,and also want to change the name of the bpel instance.How can i change these names?Thanks in advance.
Hi-
Check the below post and let us know if it helps
Best way to rename a SOA project
Maybe you are looking for
-
What connection options do I have in transfer of data from my macbook pro 13" to my iMac
What connection options do I have in transfer of data from my MacBook Pro 13" to my iMac?
-
Sorry for my English. Config: Lenovo S10-3 RAM:1024Mb HDD: WD 160Gb VIDEO ON BORAD: Forgot WiFI, CARD SLOT.// Case: I bough this notebook in local PC store of my country Moldavia, Chisinau. Mainly there was MeeGo OS. After few weeks I've installed W
-
How do you un encrypt a backup?
I encrypted the backup for my iPhone and the password doesn't work anymore....how do you either re-set the password or un encrypt it?
-
Hi, I want to create a partner number for banks. I went to WE20 and i choose partner type B. Which number i have to give in partner no to save. i tested with giving of bank no , acct id also. but it is giving errors Sateesh Kumar
-
Launch Outlook mail client from KM resource command menu
Hi, I'd like to launch the Outlook mail client by clicking on the command (eg. send mail) in the action menu related to a KM resource (in the KM explorer). I've been able to launch the Outlook mail client as an option in the Collaboration Launch Path