Infinte loop is going on how to kill the instance
Hi friends
In leave workflow instead of wait step i added loop and a condition container when wait step condition is put inside the conditional container and loop is set a flag when set a flag come out of the loop. The condition inside the condational container is REQ.Status = posted. But this condition is met. But still the loop is going on. I have generatated new version and deleted all the old version. Still loop is on. I also tried swwl and deleted the 1st workitem of the workflow. But still the instance is on. How to delete or kill the instance. This is the problem in development.
Regards
vijay
Hi vijay kumar,
Yes, you are correct, since the endless loop will be procesed by the background user, it may or may not be displayed in SM50.
The other way to kill the process is.
1. go to sm12 with the user id wf-batch delete the running section and immediately do the process with reddy has informed you.
Thanks and Regards
Balaji K.
Similar Messages
-
hi,
I have question how to kill the process chain during running.
thank you.Hi
If the process chain is running in background,
goto <b>SM37</b>
Give * in the jobname
Give the username who scheduled the process chain
Job status - check the check boxes - SCHED, relased, ready, active
click <b>execute</b>.
It displays all the process chains that, scheduled & running.
You can select the process chain that need to be stopped & click STOP active job or ctrl+F1.
Hope this helps!
Kindly award points for all useful answers.
If you post the BW related queries in the <b>BI general</b> forum, you will get more answers.
Best regards,
Thangesh -
How to kill the hanged JFrame in swing?
How to kill the hanged frame in swing?
I am opening multiple JFrame and working on them.These frames are plcaed in JDesktopPane.
If one frame is hanged up then i could not work on others .
I need to kill the hanged frame.
Assist me.am opening multiple JFrame and working on them.These frames are plcaed in JDesktopPaneWell, a JFrame, can't be added to a JDesktopPane, so your question doesn't even make sense.
As was suggested earlier, if your GUI is unresponsive, then that means you are blocking the GUI EDT and the GUI can't respond to events. Don't do this.
Read the Swing tutorial on Concurrency to understand why this happens and to learn the proper way to write GUI code so it won't happen. -
how to kill the applet which in the browser.
With Regards
Santhoshmy code.. this is main program for my applet. can find out errors. if not i will send the code to u.
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import java.net.*;
import java.io.*;
public class StyleEditor extends Applet implements ItemListener ,ColorListener
public ImageButton imgBold,imgItalic;
public ColorButton colorButton;
public Choice fontFace,fontSize;
public TextArea textArea;
public Panel toolBar,textPanel;
public String content;
public Font font = new Font("Arial",Font.ITALIC,16);
public ColorDialog dialog;
public Frame f;
public String sColor;
public InputStream in;
private int size[] = {8,10,12,14,18,24,36};
private Label textLabel;
public void init()
try
setLayout(new BorderLayout());
toolBar = new Panel();
toolBar.setBackground(Color.lightGray);
Toolkit toolkit = getToolkit();
in = StyleEditor.class.getResourceAsStream("bold.gif");
byte bin[] = new byte[in.available()];
in.read(bin);
Image ibold = toolkit.createImage(bin);
in = StyleEditor.class.getResourceAsStream("italic.gif");
byte binc[] = new byte[in.available()];
in.read(binc);
Image iitalic = toolkit.createImage(binc);
imgBold = new ImageButton(ibold);
imgItalic = new ImageButton(iitalic);
fontFace = new Choice();
fontSize = new Choice();
colorButton = new ColorButton();
f = new Frame();
dialog = new ColorDialog(f,"Color Chooser",true,StyleEditor.this);
textLabel = new Label(" Edit Style ",Label.CENTER);
textLabel.setFont(new Font("Arial",Font.BOLD,18));
String editColor= getParameter("editcolor");
if(editColor!=null)
int eValue = Integer.parseInt(editColor,16);
textLabel.setForeground(new Color(eValue));
String fontArray[] = toolkit.getFontList();
content = getParameter("style");
String fname = getParameter("fname");
String fsize = getParameter("fsize");
Boolean bBold = new Boolean(getParameter("bold"));
Boolean bItalic = new Boolean(getParameter("italic"));
sColor= getParameter("oldcolor").substring(1);
int value = Integer.parseInt(sColor,16);
colorButton.setColor(new Color(value));
boolean bold = bBold.booleanValue();
boolean italic = bItalic.booleanValue();
imgBold.setSelected(bold);
imgItalic.setSelected(italic);
for(int i=0;i<fontArray.length;i++)
fontFace.addItem(fontArray);
fontFace.addItemListener(this);
for(int i=0;i<size.length;i++)
fontSize.addItem(size[i]+"");
fontSize.addItemListener(this);
toolBar.setLayout(new FlowLayout(FlowLayout.LEFT));
toolBar.add(imgBold);
toolBar.add(imgItalic);
toolBar.add(fontFace);
toolBar.add(fontSize);
toolBar.add(colorButton);
toolBar.add(textLabel);
textPanel = new Panel();
textPanel.setLayout(new BorderLayout());
textArea = new TextArea(content);
textArea.setEditable(false);
textArea.setBackground(Color.white);
textArea.setForeground(new Color(value));
if(fname!=null && fsize!=null)
setStyleFont(fname,fsize,bold,italic);
textPanel.add(textArea);
add(toolBar,BorderLayout.NORTH);
add(textPanel,BorderLayout.CENTER);
imgBold.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
boldActionPerformed(ae);
imgItalic.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
italicActionPerformed(ae);
colorButton.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
if(!dialog.isVisible())
dialog = null;
dialog = new ColorDialog(f,"Color Chooser",true,StyleEditor.this);
dialog.setLocation(colorButton.getLocation());
dialog.setLocation(200,200);
dialog.pack();
dialog.setVisible(true);
}catch(Exception e)
System.out.println(e);
public void setStyleFont(String fname,String fsize,boolean bold,boolean italic)
int s = sizeValue(Integer.parseInt(fsize));
fontFace.select(fname);
fontSize.select(s+"");
if(bold && italic)
font = new Font(fname,Font.BOLD+Font.ITALIC,s);
textArea.setFont(font);
return;
}else
if(bold)
font = new Font(fname,Font.BOLD,s);
textArea.setFont(font);
return;
}else
if(italic)
font = new Font(fname,Font.ITALIC,s);
textArea.setFont(font);
return;
}else
font = new Font(fname,Font.PLAIN,s);
textArea.setFont(font);
return;
public void itemStateChanged(ItemEvent e)
String f = fontFace.getSelectedItem();
String s = fontSize.getSelectedItem();
font = new Font(f,font.getStyle(),Integer.parseInt(s));
textArea.setFont(font);
public void boldActionPerformed(ActionEvent ae)
if(imgBold.isSelected())
if(imgItalic.isSelected())
font = new Font(font.getName(),Font.BOLD+Font.ITALIC,font.getSize());
textArea.setFont(font);
return;
font = new Font(font.getName(),Font.BOLD,font.getSize());
textArea.setFont(font);
return;
}else
if(imgItalic.isSelected())
font = new Font(font.getName(),Font.ITALIC,font.getSize());
textArea.setFont(font);
return;
font = new Font(font.getName(),Font.PLAIN,font.getSize());
textArea.setFont(font);
return;
public void italicActionPerformed(ActionEvent ae)
if(imgItalic.isSelected())
if(imgBold.isSelected())
font = new Font(font.getName(),Font.BOLD+Font.ITALIC,font.getSize());
textArea.setFont(font);
return;
font = new Font(font.getName(),Font.ITALIC,font.getSize());
textArea.setFont(font);
return;
}else
if(imgBold.isSelected())
font = new Font(font.getName(),Font.BOLD,font.getSize());
textArea.setFont(font);
return;
font = new Font(font.getName(),Font.PLAIN,font.getSize());
textArea.setFont(font);
return;
public boolean isBold()
return imgBold.isSelected();
public boolean isItalic()
return imgItalic.isSelected();
public void colorSelection(Color currentColor)
colorButton.setColor(currentColor);
textArea.setForeground(currentColor);
int r = currentColor.getRed();
String red = Integer.toHexString(r);
if(red.length()==1)
red = 0+red;
int g = currentColor.getGreen();
String green =Integer.toHexString(g);
if(green.length()==1)
green = 0+green;
int b = currentColor.getBlue();
String blue =Integer.toHexString(b);
if(blue.length()==1)
blue = 0+blue;
sColor = red+green+blue;
public String getName()
return font.getName();
public int getFSize()
switch(font.getSize())
case 8 : return 1;
case 10 : return 2;
case 12 : return 3;
case 14 : return 4;
case 18 : return 5;
case 24 : return 6;
case 36 : return 7;
default : return 0;
public int sizeValue(int value)
switch(value)
case 1 : return 8;
case 2 : return 10;
case 3 : return 12;
case 4 : return 14;
case 5 : return 18;
case 6 : return 24;
case 7 : return 36;
default : return 0;
public void stop()
System.out.println("Stop");
destroy();
public void destroy()
imgBold=null;
imgItalic=null;
colorButton = null;
fontFace =null;
fontSize=null;
textArea=null;
toolBar=null;
textPanel=null;
content=null;
font = null;
dialog=null;
f=null;
sColor=null;
in=null;
textLabel=null;
super.destroy(); -
How to get the Instance Name of Creator
Hi all.
I have an idea but I don't how to implement it. I have tried about two days.
the simplified concept that what I wnat is as follows
class classA {
classB objB = new classB();
class classB {
puclic void showObjName(){
//How can I the Instance Name of Creator here?
//In this Example. The name is objA.
public class showCreator {
public static void main(String[] args) {
classA objA = new classA();
I try to instanciate an Throwable Object and use the getStackTrace method.
but all information in the stack I got Do Not contain the Instances Name.
Does any one have idea to implements this...
Thanks.Yes. hashcode is not absolutely unique. I know this.
I had took this idea into my consideration. But it failed finally.
Thanks
To JN_.
Maybe I still have some misunderstood descripte my question.
neither the name not an "instance name" nor an "object name".
So now, I really do not know how to call this.
Can you tell me? Then I will not make the same fault next time.
thanks. -
How to save the instance in standard lead from custom business object
Hi Experts,
I am unable to save the instance(Record) in standard Lead business object from custom business object.
Steps:
created one custom business object with mandatory fields for creating instance in standard lead.
in quick create screen i bind data elements to standard lead business object elements.
issue:
when i click on preview i am getting exception as Arguments not found
can you please tell me that How to save the instance in standard lead from custom business object with step by step .Hi Vijay,
Please refer this link under that mentioned that how to create lead using ABSL code
Web 2 Lead in SAP Cloud for Customer, step by step - Part 1 - myCloudDoor myCloudDoor
Under the "Action-CreateLead.absl" mentioned how to create lead
the above link for convert web 2 lead functionality and under they create lead using web data from ABSL code.
Regards,
Mithun -
How to Separate the Instances?
Hi All,
Please let me know How to separate the instance (CI & DB in one Cluster and DI in Failover )
Thanks in Advance,
Jayakumar CHi ,
Can you please explain the present scenario. Is your SAP running in clusture? do u have 2 seperate boxes for Primary and Failover and now you want to run all services in primary and you want your FO to act as a DI? -
How to kill the blocking session
hi expert,
when i m going to run the below query
Update rcv_transactions_interface rti set rti.processing_mode_code ='BATCH' where rti.interface_transaction_id = 3671265
it gives the error:
ORA-00054 resource busy and acquire with NOWAIT specified.
i find out the blocking session by using the blow query;
SELECT a.SESSION_ID, a.SESSION_SERIAL#, min(A.SAMPLE_TIME) start_time,max(A.SAMPLE_TIME) end_time,a.inst_id, a.blocking_session,a.user_id,s.sql_text,A.EVENT,O.OBJECT_NAME,max(A.SAMPLE_TIME) - min(A.SAMPLE_TIME)
FROM GV$ACTIVE_SESSION_HISTORY a ,gv$sql s, dba_objects o
where a.sql_id=s.sql_id
and A.CURRENT_OBJ# = O.OBJECT_ID
and blocking_session is not null
and a.user_id != 0 -- exclude SYS user
and a.sample_time > sysdate - 7
and a.event = 'enq: TX - row lock contention'
group by a.SESSION_ID, a.SESSION_SERIAL#, a.inst_id,a.blocking_session,a.user_id,s.sql_text,A.EVENT,O.OBJECT_NAME
it gives the output
SESSION_ID
SESSION_SERIAL#
START_TIME
END_TIME
INST_ID
BLOCKING_SESSION
USER_ID
SQL_TEXT
EVENT
OBJECT_NAME
MAX(A.SAMPLE_TIME)-MIN(A.SAMPLE_TIME)
369
45,849
9/4/2013 8:29:33.119 AM
9/4/2013 11:40:27.508 AM
1
554
173
SELECT POL.UNIT_PRICE FROM PO_LINES POL WHERE POL.PO_LINE_ID = :b1
enq: TX - row lock contention
PO_LINES_ALL
+00 03:10:54.389000
554
18,872
9/4/2013 8:29:33.119 AM
9/4/2013 11:40:27.508 AM
1
365
173
SELECT POL.UNIT_PRICE,POL.QUANTITY,POL.UNIT_MEAS_LOOKUP_CODE,POL.AMOUNT FROM PO_LINES POL WHERE POL.PO_LINE_ID = :b1
enq: TX - row lock contention
JA_IN_PO_LINE_LOCATION_TAXES
+00 03:10:54.389000
572
168
9/4/2013 8:29:33.119 AM
9/4/2013 11:40:27.508 AM
1
554
173
select line_location_id into :b0 from po_line_locations_all where line_location_id=:b1 for update of line_location_id
enq: TX - row lock contention
PO_LINE_LOCATIONS_ALL
+00 03:10:54.389000
581
4,973
9/4/2013 10:49:38.157 AM
9/4/2013 10:50:39.259 AM
1
572
173
Update rcv_transactions_interface rti set rti.processing_mode_code ='BATCH' where rti.interface_transaction_id = 3671265
enq: TX - row lock contention
RCV_TRANSACTIONS_INTERFACE
+00 00:01:01.102000
my problem is in the above output among 4 which i have to delete so sove my issue.
its very urgent for me.
plz plz suggest me and how can i kill the session.
thanks & regards
pritesh ranjanpriteshranjan wrote:
hi expert,
when i m going to run the below query
Update rcv_transactions_interface rti set rti.processing_mode_code ='BATCH' where rti.interface_transaction_id = 3671265
it gives the error:
ORA-00054 resource busy and acquire with NOWAIT specified.
i find out the blocking session by using the blow query;
SELECT a.SESSION_ID, a.SESSION_SERIAL#, min(A.SAMPLE_TIME) start_time,max(A.SAMPLE_TIME) end_time,a.inst_id, a.blocking_session,a.user_id,s.sql_text,A.EVENT,O.OBJECT_NAME,max(A.SAMPLE_TIME) - min(A.SAMPLE_TIME)
FROM GV$ACTIVE_SESSION_HISTORY a ,gv$sql s, dba_objects o
where a.sql_id=s.sql_id
and A.CURRENT_OBJ# = O.OBJECT_ID
and blocking_session is not null
and a.user_id != 0 -- exclude SYS user
and a.sample_time > sysdate - 7
and a.event = 'enq: TX - row lock contention'
group by a.SESSION_ID, a.SESSION_SERIAL#, a.inst_id,a.blocking_session,a.user_id,s.sql_text,A.EVENT,O.OBJECT_NAME
it gives the output
SESSION_ID
SESSION_SERIAL#
START_TIME
END_TIME
INST_ID
BLOCKING_SESSION
USER_ID
SQL_TEXT
EVENT
OBJECT_NAME
MAX(A.SAMPLE_TIME)-MIN(A.SAMPLE_TIME)
369
45,849
9/4/2013 8:29:33.119 AM
9/4/2013 11:40:27.508 AM
1
554
173
SELECT POL.UNIT_PRICE FROM PO_LINES POL WHERE POL.PO_LINE_ID = :b1
enq: TX - row lock contention
PO_LINES_ALL
+00 03:10:54.389000
554
18,872
9/4/2013 8:29:33.119 AM
9/4/2013 11:40:27.508 AM
1
365
173
SELECT POL.UNIT_PRICE,POL.QUANTITY,POL.UNIT_MEAS_LOOKUP_CODE,POL.AMOUNT FROM PO_LINES POL WHERE POL.PO_LINE_ID = :b1
enq: TX - row lock contention
JA_IN_PO_LINE_LOCATION_TAXES
+00 03:10:54.389000
572
168
9/4/2013 8:29:33.119 AM
9/4/2013 11:40:27.508 AM
1
554
173
select line_location_id into :b0 from po_line_locations_all where line_location_id=:b1 for update of line_location_id
enq: TX - row lock contention
PO_LINE_LOCATIONS_ALL
+00 03:10:54.389000
581
4,973
9/4/2013 10:49:38.157 AM
9/4/2013 10:50:39.259 AM
1
572
173
Update rcv_transactions_interface rti set rti.processing_mode_code ='BATCH' where rti.interface_transaction_id = 3671265
enq: TX - row lock contention
RCV_TRANSACTIONS_INTERFACE
+00 00:01:01.102000
my problem is in the above output among 4 which i have to delete so sove my issue.
its very urgent for me.
plz plz suggest me and how can i kill the session.
thanks & regards
pritesh ranjan
According to the above, your session_id is 581 which is blocked by session_id 572 so you need to kill the 3rd session in the list.
Thanks,
Hussein -
How to kill an instance process in BPM studio 6.0
Hi i'm Fabio.
I'm working on BPM Studio 6.0 and i need to complete a task.
I have an instance id process, and i need to create a new process in order to kill this istance id.
I read how to create a PAPI client (http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi/index.html?t=modules/papi/c_Writing_Your_First_Java_PAPI_Program.html) but it doesn't work for my purpose.
First of all, i understood that i have to follow these step:
* Import the required libraries.
* Create a process service.
* Create a process service session.
* Perform operations with PAPI.
* Close the process service.
Now, i'm working on my xpdl file and i'm using the Standard Module "Fuego" and my plan is to create a process servcie, a process service session and then operate with PAPI.
But using the PAPI module include in the BPM studio 6.0 i'm no able to load the library for the session import fuego.papi.ProcessServiceSession;
so i'm worng something. Could you tell me how can menage this problem? Really do i need a session? Is possible to abort an istance process in BPM studio or i need to load my ear project in Enterprise environment and then kill my instance process? Thanks, regards Fabio.Thanks Dan, i read your suggestion but my boss was to implement a different solution:
package hp.abort.process;
import fuego.boot.*;
import fuego.papi.CommunicationException;
import fuego.papi.InstanceInfo;
import fuego.papi.InstanceId;
import fuego.papi.ProcessService;
import fuego.papi.ProcessServiceSession;
import fuego.papi.OperationException;
import java.util.Properties;
import javax.transaction.*;
import java.lang.Exception;
public class AbortProcess {
public static void main(String[] args) {
/////////////////// API Initialization ///////////////////
Properties configuration = new Properties();
configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
configuration.setProperty(ProcessService.PROJECT_PATH, "C:/Documents and Settings/Administrator/AlbpmWorkspace/EarOMatic");
configuration.setProperty(ProcessService.WORKING_FOLDER, "C:/tmp");
try {
ProcessService processService = ProcessService.create(configuration);
/////////////////// Establish a session ///////////////////
ProcessServiceSession session = processService.createSession("adminEarOMatic", "adminEarOMatic", "localhost");
/////////////////// Operate with PAPI ///////////////////
for (String processId : session.processesGetIds()) {
System.out.println("\n Process: " + processId);
for (InstanceInfo instance : session.processGetInstances(processId) ) {
System.out.println(" -> " + instance.getId());
System.out.println("ActivityName -> " + instance.getActivityName());
System.out.println("ActivityId -> "+ instance.getActivityId());
//Problema: nn vuole ActivityId ma Process Id
session.activityAbort("/CreateEurekaSRService#Default-1.0/eomWait","/CreateEurekaSRService#Default-1.0/1/0@EarOMatic");
/////////////////// Close the session ///////////////////
session.close();
/////////////////// Release API Resources ///////////////////
processService.close();
} catch (CommunicationException e) {
System.out.println("Could not connect to Directory Service");
e.printStackTrace();
} catch (OperationException e) {
System.out.println("Could not perform the requested operation");
e.printStackTrace();
Now, i got the following exception:
Local folder C:/tmp\system\Schema-4154784351820594721\catalogs found.
Loading catalogs from local folder: C:/tmp\system\Schema-4154784351820594721\catalogs
0 jars found locally.
[CatalogMgrCache] =======================
Registering CatalogMgr [EarOMatic] ...CatalogManagerCache 10390580:
Managers:
Counters:
[CatalogMgrCache] =======================
CatalogMgr [EarOMatic] REGISTERED!CatalogManagerCache 10390580:
Managers:
{EarOMatic=fuego.util.LocalCatalogManager@106df95}
Counters:
Process: /AbortInstanceProcessService#Default-1.0
Unreachable Engine Tolerance (seconds):
by default: 0
to be used: 0
This papi client will not cache exceptions which imply that an engine could not be reached.
Changing InstanceCache Entry[processId=/AbortInstanceProcessService#Default-1.0, state=0] to 3
Changing InstanceCache Entry[processId=/AbortInstanceProcessService#Default-1.0, state=3] to 2
Process: /CreateEurekaSRService#Default-1.0
Changing InstanceCache Entry[processId=/CreateEurekaSRService#Default-1.0, state=0] to 3
Changing InstanceCache Entry[processId=/CreateEurekaSRService#Default-1.0, state=3] to 2
-> /CreateEurekaSRService#Default-1.0/1/0
ActivityName -> eomWait
Adding local catalog for project: 1
ActivityId -> /CreateEurekaSRService#Default-1.0/eomWait
Exception in thread "main" fuego.server.exception.InvalidIdRuntimeException: Invalid identification.
Detail:Invalid identification (Identification value: /CreateEurekaSRService#Default-1.0/eomWait)
at fuego.server.ActiveProcessImpl.getActivity(ActiveProcessImpl.java:632)
at fuego.server.execution.microactivity.AbstractProcessExecutionHandler.getExecutableActivity(AbstractProcessExecutionHandler.java:58)
at fuego.server.AbstractProcessBean.abortActivity(AbstractProcessBean.java:3262)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:587)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:778)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:248)
at fuego.component.ExecutionThread.work(ExecutionThread.java:837)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
at fuego.component.CustomExecution.next(CustomExecution.java:172)
at fuego.component.ExecutorClient.invoke(ExecutorClient.java:118)
at fuego.papi.impl.rmi.ProcessControlProxy.abortActivity(ProcessControlProxy.java:407)
at fuego.papi.impl.rmi.ProcessControlProxyWrapper.abortActivity(ProcessControlProxyWrapper.java:683)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
at fuego.papi.impl.rmi.RMIProcessControlHandler.invoke(RMIProcessControlHandler.java:165)
at $Proxy23.abortActivity(Unknown Source)
at fuego.papi.impl.ProcessInstanceOperation.abortActivity(ProcessInstanceOperation.java:726)
at fuego.papi.impl.ProcessServiceSessionImpl.activityAbort(ProcessServiceSessionImpl.java:184)
at hp.abort.process.AbortProcess.main(AbortProcess.java:45)
Caused by: fuego.metadata.exception.InvalidIdException: Activity '/CreateEurekaSRService#Default-1.0/eomWait' was not found in process '/CreateEurekaSRService#Default-1.0'.
at fuego.metadata.Process.getActivity(Process.java:261)
at fuego.server.ActiveProcessImpl.getActivity(ActiveProcessImpl.java:629)
at fuego.server.execution.microactivity.AbstractProcessExecutionHandler.getExecutableActivity(AbstractProcessExecutionHandler.java:58)
at fuego.server.AbstractProcessBean.abortActivity(AbstractProcessBean.java:3262)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:587)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:778)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:248)
at fuego.component.ExecutionThread.work(ExecutionThread.java:837)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
I understood that tha activity id's format is not valid, but i obtained it just using the following function: instance.getActivityId()
Are you abel to give me some suggestion? Is it good this method to kill instance?
Thanks a lot, regard Fabio. -
How to kill the yellow outline when using setFocus?
Hi...
I tried using:
btnname._focusrect = false;
It did kill the yellow outline but then I can't navigate using the up/down/right/left key anymore. How to solve this problem? I have been researching days on this.
Please help!
Thks!Hi Kartik,
I tried:
_root._focusrect = false;
It did remove the outline but I could not navigate using the arrow keys anymore, I can only "tab" through the buttons. I need to use the arrow keys as this is for a presentation using a remote control.
As for:
_global._focusrect = false;
It didn't work.
I still don't understand why removing the yellow outline also means removing the arrows functions?...mmmm
Thks... -
How to kill the process running on specific port in Solaris 10
Hi
As I want to kill the proces running on port 8080 in my solaris 10 box. is there any command to do the same.
Thanks
RajanA quick google, found lots of scripts... I found the script below @ Christopher Hubbell's blog - I've modified it to pump out the command name.
---->>>>>>BUT let's just say it would be quicker to got to sunfreeware.com and download lsof.
the 'lsof -i " option will give you the process id, which you can use kill _pid_ to kill the id.
Christopher's modded script (my edits in bold):
#!/bin/sh
if [ `/usr/xpg4/bin/id -u` -ne 0 ]; then
echo "ERROR: This script must run as root to access pfiles command."
exit 1
fi
if [ $# -eq 1 ]; then
port=$1
else
printf "which port?> "
read port
echo "Searching for processes using port $port...";
echo
fi
for pid in `ps -ef -o pid | tail +2`
do
foundport=`/usr/proc/bin/pfiles $pid 2>&1 | grep "sockname:" | egrep "port: $port$"`
if [ "$foundport" != "" ];
then
pname=`ps -ef -o pid -o comm |grep $pid| awk '{print $2}'`
echo "process name: $pname, $foundport"
fi
done
exit 0
Tom de -
How to kill the apps process?
Is my Yoga tab 2 1050F In this few weaks, after turn on the tab 2-3 hours, RAM has 500m onlyand cannot kill the apps process at all... WHY? Standby under than 24hours ... few weaks before that is 1 week standby times. I was turn on ALL power save function. WHY? I need help pls Look at picture, Aweak has never stop. Thx
Hi
If the process chain is running in background,
goto <b>SM37</b>
Give * in the jobname
Give the username who scheduled the process chain
Job status - check the check boxes - SCHED, relased, ready, active
click <b>execute</b>.
It displays all the process chains that, scheduled & running.
You can select the process chain that need to be stopped & click STOP active job or ctrl+F1.
Hope this helps!
Kindly award points for all useful answers.
If you post the BW related queries in the <b>BI general</b> forum, you will get more answers.
Best regards,
Thangesh -
How to create the instance of a class and to use this object remotely
I have to change a standalone program to do it working on a local net.
the program is prepared for this adjustment, because the only problem for this change came from the use of the database; and, in the application, all the accesses to the database come from only a class that supplies a connection to the database.
In this way I think that I could have (in a local net) a "server application" that has the database embedded inside it.
Furthermore, some client applications (running in different computers of the net) could get access to the database through the connection that comes from an instance of the class that, in the "server application", is made to provide the connection to the database.
I think this could be a good idea...
But I don't have practice with distributed applications and I would ask some suggestion about the way to realize my modification.
(in particular how to get and use, in the "client applications", the instance of the class that give the connection to the database from the "server application").
I would have some help..
thank in advance
regards
tonyMrsangelo.tonyMrsangelo wrote:
I have to change a standalone program to do it working on a local net.
the program is prepared for this adjustment, because the only problem for this change came from the use of the database; and, in the application, all the accesses to the database come from only a class that supplies a connection to the database.
In this way I think that I could have (in a local net) a "server application" that has the database embedded inside it.
Furthermore, some client applications (running in different computers of the net) could get access to the database through the connection that comes from an instance of the class that, in the "server application", is made to provide the connection to the database.
I think this could be a good idea... Which is why JEE and implementations of that exist.
But I don't have practice with distributed applications and I would ask some suggestion about the way to realize my modification.
(in particular how to get and use, in the "client applications", the instance of the class that give the connection to the database from the "server application").
You can't pass a connection from a server to a client. Nothing will do that.
As suggested you can create a simple RMI server/client set up. Or use a more feature rich (and much more complex) JEE container.
RMI is simple enough for its own tutorial
[http://java.sun.com/docs/books/tutorial/rmi/index.html]
JEE (previously called J2EE) is much more complex and requires books. You can get a brief overlook from the following
[http://java.sun.com/javaee/] -
How to retreive the instance name of a class
Hello,
Does anyone know how you can retreive the instance name of a
class ?
For example my class is:
class Example{
public static var createdClasses:Array;
function Example() {
createdClasses.push(this);
trace("how can i trace the original name of the class ?");
and in my fla file i have:
var someName:Example = new Example();
var anotherName:Example = new Example();
So, what i would like to know is, the name of the class.. in
this case it is 'someName' and 'anotherName'.
Does anyone know how?
Thanks,
Micheal.there is no instance name of a class. class members can have
instance names and that's an assignable property for classes that
have instance names. -
How to get the instance name from the SWFLoader?
Hi Guys,
I am new to Flex. i need help from u.
i load the swf file through the SWFLoader in Flex 3.
Than how to get the instace(button,text,etc.,) of the loaded
swf.
Please help me.Yes. hashcode is not absolutely unique. I know this.
I had took this idea into my consideration. But it failed finally.
Thanks
To JN_.
Maybe I still have some misunderstood descripte my question.
neither the name not an "instance name" nor an "object name".
So now, I really do not know how to call this.
Can you tell me? Then I will not make the same fault next time.
thanks.
Maybe you are looking for
-
NC Log Complete webservice error
Hello, Before opening an OSS message, the rule is first ask the forum... So I have trouble with NC Log Complete webservice. When trying to invoke it from SOAP UI, I got the following error : No enum const class com.sap.me.nonconformance.ScrapOption W
-
The target costs in target cost version 0 are missing
Dear Experts, I am getting following error while running Varience cost through KKS2: Only remaining var. in version 0 - no target costs for 000001061683 0001 Message no. KV151 Diagnosis For the calculation of variances with 000001061683 0001, the tar
-
A swf showing a trace on the next page
Hello, I've got a problem with a SWF which shows a ghost in the next page. When i'm reading a PDF document, if i've got a SWF on a page, when i go on the next page, i've got a square (trace) showing the place where was the swf on the previous page. I
-
One or more post-processing actions failed. Consult the OPP service log
When i run the report i got WARNING in the status...But my XML file was generated correctly. when i saw the OOP Log file, i got this message, [5/2/13 9:56:45 AM] [OPPServiceThread0] Post-processing request 5875515. [5/2/13 9:56:45 AM] [2063716:RT5875
-
Why is my MacBook Air running so slow? What can I do to make it run faster?
Mac OS X Lion 10.7.5 (11G63b) Processor 1.6GHz Intel Core 2 Duo, Speed 1.6GHz Memory 2GB 667MHz SDRAM