killing a sub-process of its parent process

We know if ther is one way to kill a sub-process of its parent process?

You must find the child instance id of process and then get through getInstanceById(). Get your instance (assumed myInstance) just run myInstance.abort)

If you need details let me know.
Good bye

Tags: Fusion Middleware

Similar Questions

  • Notes for instance of work passed to a sub-process

    Is it possible to have the notes created in a process parent to be passed to an instance in a subprocess?

    Yes, there is a way...

    The Argument Mapping of the sub-process to the main process, there is some argument called notes you would to the map... to pass the notes, then Fuego.Lib.Note

  • Impossible to remove an unknown account, get the error 'cannot delete the unknown account because this object inherits permissions from its parent.

    I have several programs that when I go to security there is an unknown account and when I try to delete unknown account I get this message that you cannot delete the Unknown(S-1...) account because this object inherits from its parent perssions. To delete the Unknown(S-1...) account, you must prevent this object from inheriting permissions. Turn off the option for the inheritance of permissions and then try to delete the Unknown(S-1...) account again. I tried the edit and advance features in respect of security without success. Why have I not control over security permissions?

    Found a solution to this problem.

    Go to the folder parent of the folder that contains the files with this unknown account number:
    1. right click on the PARENT folder, and then click Properties.
    2. on the Security tab, go to the advanced options (bottom window)
    3. in the new window, click the button change the permissions in the bottom.
    4. Select the Group (NOT AUTHENTICATED, just of users USERS) users
    5. check "replace all permissions of child object with permissions inheritable of this object.
    6. click on the OK button or apply and done, fixed number.

    Hope this helps anyone else having this problem, for me it happened after reinstallation of win 7 on the same machine and keep my images on another partition, so it was spared by the new facility, so the old user account was always on the file permissions.

  • access to the region through its parent link layer

    Hello guys, I have a region lets say "r1" and his mother index.jsf I access to r1 link layer in its parent? I want to enter a setting of binding of r1 index.jsf, is - it possible? Thank you Saidi.

    Hi user,

    But your data sharing taskflow control instance? If so, then you can create a new connection in your index.jsf to the iterator as the region uses 1.

    Concerning

  • How to resize a textFrame, when resizing as its parent (a groupitem)?

    I am trying to find the smallest textframe within a group and then match that textframe font size to the minimum size allowed for printing. Everything works, except that I can't understand how to resize the textframe when resizing as its parent, the group.

    #target illustrator

    app.activeDocument = docRef;

    gpRef = docRef.groupItems [0];

    var gpHeight = gpRef.height;

    It's printing allowed minimum font size

    var minFntSize = 18;

    var garbLay;

    var txtFrmCount = gpRef.textFrames.length;

    var container = {};

    var i;

    put each prop textframe and height in json

    for (i = 0; i < txtFrmCount; i ++) {}

    container ["prop" + i] = {"gpTfHeight':gpRef.textFrames [i] .height / 72, 'gpTarget':gpRef.textFrames [i]"};

    }

    find the value prop textframe height min. I have the max in it too just in case I need it in the future

    var min = infinity;

    var max = - infinity;

    var x;

    for (x in container) {}

    If (container [x] ['gpTfHeight'] < min) {}

    min = container [x] ["gpTfHeight"];

    minTg = container [x] ["gpTarget"];

    }

    If (container [x] ['gpTfHeight'] > max) {}

    Max = container [x] ["gpTfHeight"];

    }

    }

    duplicate textframe, convert in way and get the actual height

    var txtFrmDup = minTg.duplicate ();

    txtFrmDup.position = [(minTg.position[0]-100), (minTg.position [1] - 100)];

    txtFrmDup.name = "garbage."

    var tOutline = txtFrmDup.createOutline ();

    tOutline.name = "garbage."

    var tLogHeight = Math.round (tOutline.height);

    garbLay = gpRef.groupItems.getByName ('garbage');

    This is the part where I need to convert it into percentage? tgSize is the size of the target and I thought I could get the different from the 2 and then use this amount to resize down...

    var tgSize = minFntSize - tLogHeight;

    var PERC = Math.round((tgSize/gpRef.height)*100);

    $.writeln (minFntSize);

    $.writeln (tLogHeight);

    $.writeln (tgSize);

    $.writeln (perc);

    resize gp so that font textframe min size meets minFntSize

    if(tLogHeight < minFntSize) {}

    gpRef.resize (perc, perc);

    $.writeln ('smaller');

    garbLay.remove ();

    } else if(tLogHeight > minFntSize) {}

    gpRef.resize (perc, perc);

    $.writeln ('bigger');

    garbLay.remove ();

    } else if(tLogHeight == minFntSize) {}

    $.writeln ('equal');

    }

    I do not know if I go about it the right way. Hoping a new set of eyes can take a look and see what I'm doing wrong or not done? Thank you!

    check this out, I changed it a bit

    // scale grouped text Frames to a minimum font size
    // http://forums.adobe.com/thread/1323065?tstart=0
    // carlos canto
    
    #target illustrator
    
    var docRef = app.activeDocument;
    var gpRef = docRef.groupItems[0];
    
    //this is the minimum print font size allowed
    var minFntSize = 18;
    
    var txtFrmCount = gpRef.textFrames.length;
    
    // make the first frame the one with the minimum font size
    var idx = 0;
    var minFrameFontSize = gpRef.textFrames[idx].textRange.characterAttributes.size;
    
    // see if the other frames have smaller font size than the first
    for(i = 1; i < txtFrmCount; i++) {
        var itext = gpRef.textFrames[i];
        var fontSize = itext.textRange.characterAttributes.size;
        if (fontSize		   
  • It is safe to kill the frmweb process

    Hi all

    some of the processes (frmweb, java) have been broadcast for sometimes and chose a lot of memory and cpu.

    question:

    It is safe to kill these prosesses

    CPU: 98.5%us, 1.5%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    MEM: 20238540 k total, 19801160 k used, 437380 k free, 1204692 k buffers
    Swap: 62914552 k total, 244 k used, 62914308 k free, 12916244 k cached

    PID USER PR NOR VIRT RES SHR S % CPU % MEM TIME + COMMAND
    17519 oracle 15 0 715 m 602 m 8916 S 348,3 3.0 java 12926:20
    17523 oracle 15 0 700 m 588 m 8916 S 149,5 3.0 java 7852:35
    22225 oracle 25 0 192 m 138 m 33 m R 87.0 0.7 5462:29 frmweb
    19110 oracle 25 0 123 m 76 m 22 m R 50.6 0,4 9411:11 frmweb
    23884 oracle 25 0 192 m 140 m 29 m R 50.0 0.7 2097:24 frmweb
    24180 oracle 25 0 112 m 66 m 20 m R 49.6 0.3 5409:44 frmweb
    25448 oracle 25 0 112 m 66 m 19 m R 49.6 0.3 3401:12 frmweb
    16322 48360 0 16 10 oracle m 4948 S 6.9 0.1 151:28.33 httpd

    [oracle@ap1 ~] $ ps - ef | grep 19110
    19110 16449 56 Aug27 Oracle? 6-12: 46:57 /u01/oracle/PROD/apps/tech_st/10.1.2/bin/frmweb Server webfile = HTTP-0, 0, 1, default, 10.188.0.103
    Oracle 30154 26740 0 12:20 pts/3 00:00:00 grep 19110
    [oracle@ap1 ~] $ lsof Pei 19110
    COMMAND PID USER FD TYPE SIZE NŒUD NOM_PERIPHERIQUE
    frmweb 19110 oracle cwd DIR 253.2 4096 16913010 /u01/oracle/PROD/inst/apps/PROD1_eprodap1/ora/10.1.2/forms
    frmweb 19110 oracle rtd DIR 253,0 4096 2 /.
    19110 oracle txt REG 253.2 18406027 14879418 /u01/oracle/PROD/apps/tech_st/10.1.2/bin/frmweb frmweb
    oracle frmweb 19110 REG 104.3 359396 1051702 /usr/lib/libXt.so.6.0.0 mem
    oracle frmweb 19110 REG 253,0 34620 125736 /lib/ld-2.5.so mem
    oracle frmweb 19110 REG 253,0 32787 1606808 /lib/libc-2.5.so mem
    oracle frmweb 19110 REG 253,0 125612 32857 /lib/libpthread-2.5.so mem
    oracle frmweb 19110 REG 253,0 32794 208352 /lib/libm-2.5.so mem
    oracle frmweb 19110 REG 253,0 16428 32802 /lib/libdl-2.5.so mem
    oracle frmweb 19110 REG 253,0 101404 34615 /lib/libnsl-2.5.so mem
    oracle frmweb 19110 REG 104.3 20092 1051187 /usr/lib/libXdmcp.so.6.0.0 mem
    oracle frmweb 19110 REG 104.3 9412 1051145 /usr/lib/libXau.so.6.0.0 mem
    oracle frmweb 19110 REG 104.3 1062076 1051241 /usr/lib/libX11.so.6.2.0 mem
    oracle frmweb 19110 REG 104.3 62008 1051535 /usr/lib/libXext.so.6.4.0 mem
    oracle frmweb REG /usr/lib/libSM.so.6.0.0 104.3 19110 mem 35012 1051113
    oracle frmweb 19110 REG 104.3 95728 1051685 /usr/lib/libICE.so.6.3.0 mem
    oracle frmweb 19110 REG 253.2 316100 17449055 /u01/oracle/PROD/apps/apps_st/appl/au/12.0.0/resource/ZHS/FNDMENU.mmx mem
    oracle frmweb 19110 REG 253.2 3857040 16433488 /u01/oracle/PROD/apps/apps_st/appl/inv/12.0.0/forms/ZHS/INVIDITM.fmx mem
    oracle frmweb 19110 REG 253.2 9984149 16797901 /u01/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/fndfmxit.so mem
    oracle frmweb 19110 REG 253.2 549868 16826759 /u01/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/forms/ZHS/FNDSCSGN.fmx mem
    oracle frmweb 19110 REG 253.2 404884 14680101 /u01/oracle/PROD/apps/tech_st/10.1.2/oracore/zoneinfo/timezlrg.dat mem
    .......
    more...



    using the command
    $lsof Pei 25448

    and
    [oracle@ap1 ~] $ ps - ef | grep 25448
    25448 16449 35 Aug31 Oracle? 2-08: 48:48 /u01/oracle/PROD/apps/tech_st/10.1.2/bin/frmweb Server webfile = HTTP-0, 0, 1, default, 10.188.0.12
    Oracle 31034 26740 0 12:43 pts/3 00:00:00 grep 25448

    some of these processes were old enough.

    Please let know us if I can put an end to these processes because it causes of lack of memory for other programs like adv...

    Thanks in advance for your help.

    Published by: user3715462 on 7 Sep 2010 15:53

    Hello

    If none of the documentation mentioned above help, I would say that you connect a SR.

    Thank you
    Hussein

  • JavaFX 8 - way reasonable to make a canvas to fill its parent

    This here is the essence of a problem with a canvas that I have right now

    public class Test extends the Application

    {

    Public Shared Sub main (String [] args)

    {

    Launch (args);

    }

    @Override

    public void start (point primaryStage)

    {

    TabPane tabPane = new TabPane();

    Tab = new Tab ("Tab");

    tabPane.getTabs () .add (tab);

    BorderPane borderPane = new BorderPane();

    tab.setContent (borderPane);

    Canvas MyCanvas = new MyCanvas();

    borderPane.setCenter (canvas);

    canvas.setWidth (500);

    canvas.heightProperty () .bind (borderPane.heightProperty ());

    Scene = new scene (tabPane, 1300, 800);

    primaryStage.setScene (scene);

    primaryStage.show ();

    }

    MyCanvas class extends Canvas

    {

    public MyCanvas()

    {

    this.widthProperty () .addListener (evt-> draw());

    this.heightProperty () .addListener (evt-> draw());

    }

    private void draw()

    {

    Double width = getWidth();

    double height = getHeight();

    System.out.println (width + ";" + height);

    Context GraphicsContext = getGraphicsContext2D();

    context.clearRect (0, 0, width, height);

    context.setFill (Color.GREENYELLOW);

    context.fillRect (0, 0, width, height);

    }

    }

    }

    The interesting line is

    canvas.heightProperty () .bind (borderPane.heightProperty ());

    This works only at halfway, when the window expands the draw functions, that all are called, but when the window is more tiny draw function is not called.

    Now, I thought that maybe I should go higher up in the hierarchy.

    canvas.heightProperty () .bind (tab.?   tab has no heightProperty

    A more?

    canvas.heightProperty.bind (tabPane.tabPane.heightProperty ());

    Now this seems good (it works when it gets bigger or smaller), until you realize that it will be always at least 29 big pixels (at least on my system)

    test.png

    The reason is that the header is the pixel 29 missing. But I don't see a way to get the size of the header of the tabPane. Now, I could just subtract the tabPane.heightProperty 29, but it won't work that on my system, it might be a different size on other systems or javafx could change.

    I looked at a few other ways to get a resizable canvas, but things like the creation of a custom component and only put the canvas substituting the layoutChildren method seems more like a hack of a proposed solution.

    I would really appreciate a way to resize my paintings on request, without going any further than the parent of my canvas (borderPane in my case).

    You can use something like this to make a resizable canvas.

    public final class CanvasPane extends Region {
    
        private final Canvas delegated = new Canvas();
    
        public CanvasPane() {
            getChildren().add(delegated);
            delegated.widthProperty().addListener(observable -> draw());
            delegated.heightProperty().addListener(observable -> draw());
        }
    
        @Override
        protected void layoutChildren() {
            super.layoutChildren();
            final double width = getWidth();
            final double height = getHeight();
            final Insets insets = getInsets();
            final double contentX = insets.getLeft();
            final double contentY = insets.getTop();
            final double contentWith = Math.max(0, width - (insets.getLeft() + insets.getRight()));
            final double contentHeight = Math.max(0, height - (insets.getTop() + insets.getBottom()));
            delegated.relocate(contentX, contentY);
            delegated.setWidth(contentWith);
            delegated.setHeight(contentHeight);
        }
    
        private void draw() {
            final double width = delegated.getWidth();
            final double height = delegated.getHeight();
            final GraphicsContext gc = delegated.getGraphicsContext2D();
            gc.setFill(Color.GREENYELLOW);
            gc.fillRect(0, 0, width, height);
        }
    }
    

    Also, it is really unnecessary to link anything because you set this control within a BorderPane: it is automatically resized to the dimensions of the central area.

    You can create a similar class for a resizable ImageView.

  • The popUp to its parent component data

    I'm creating a pop-up window:

    var popUpWindow:IFlexDisplayObject = PopUpManager.createPopUp(this, addBook, false);
    PopUpManager.centerPopUp(popUpWindow);
    

    In the addBook.mxml component, I created dispatcher, as in this example http://stackoverflow.com/questions/473093/passing-values-between-custom-components-in-flex - mxml

    and when I created this component addBook by

    <components:addBook buttonClicked = "myComponent_buttonClicked(event)"/>
    

    (as in this example) in the way the data works very well.

    I wonder how with my pop-up window. Is it possible to add this property "buttonClicked" when I created a window in ActionScript?

    Thank you

    NIFF

    The best way, in my opinion and many others, would be to use the Flex event model.  Simply send an event and have your parent listen for it component.  And also it can group data to this event.

    Below is an excerpt from one of my previous projects.  So as you can see, there is a button in my popup with an instance name of submitButton.  My parent component, I am specfically listens for a MouseEvent.CLICK event because I can pass the event to the handler called submitData.  Of in submitData, you can then convert this event in a custom type to access its properties, as I have below.  Or just the data in the event of its default property access.

                private function menuBarHandler(event:MenuEvent):void
                {
                        popUp = PopUpManager.createPopUp( this, AddPopUp , true) as AddPopUp;
                        PopUpManager.centerPopUp(popUp);
    
                        popUp.submitButton.addEventListener(MouseEvent.CLICK, submitData);
    
                        popUp.addEventListener("close", addPopUpCloseHandler);
                }
    
                private function submitData(event:Event):void
                {
                    var rEvent:RosterViewEvent     = new RosterViewEvent(RosterViewEvent.ADD_CONTACT);
                    rEvent.data.jid             = popUp.contactName.text.toString();
                    dispatchEvent( rEvent );
    
                    addPopUpCloseHandler(event);
                }
    
  • Sizing of an ImageView to fill its Parent

    I use a ListView to display photo thumbnails in a grid. I also use a custom ListItemProvider implemented in C++ code.

    The size of the grid cells varies from one device to. So my ImageView inside the cell of the grid must use a height that fills the container it is. I tried this:

    Container {
      background: Color.Black
      preferredWidth: 500
      preferredHeight: 500
    
      ImageView {
          horizontalAlignment: HorizontalAlignment.Fill
          verticalAlignment: VerticalAlignment.Fill
          imageSource: "asset:///images/star.png"
      }
    }
    

    But which translates:

    Notice how the WIDTH of the image can be developed to fill his tank, but strangely the image height does not work.

    I can put the preferredHeight of the ImageView to influence its height, but that seems to be a bad solution, because how will I know the height in pixels of a cell of the grid in a device independent way?

    So: How should ImageViews to fill the height of their container?

    Thank you
    Daniel

    Oops. I needed to specify the layout of the ImageView to be DockLayout.

  • Child does not see its parent

    Hello

    I don't know if I'm something confusing.

    I have the main.as of the base class. From there I do

    addChild (child);

    First thing the child is

    trace ("Parent:" + MovieClip (parent));

    and it still gives me null. How can this be? It actually works to launch public functions, through MovieClip (parent) .function (); but I can't access other public variables. For example, I have a public Boolean variable. And I need to check the child. If I do

    trace ("Boolean:" + MovieClip (parent) .b_boolean) just shows me TypeError: Error #1009: cannot access a property or method of a null object reference. How can this be? There must be a way to check the variable public a parent, right? I don't understand.

    Please, if anyone knows what is happening, explain.

    Greatings,

    GDdept

    Yes, you must use the addedtostage event.  in your child's class:

    in the constructor:

    this.addEventListener (Event.ADDED_TO_STAGE, init);

    out of the constructor:

    private void init(e:Event):void {}

    trace (this.) Parent, this.stage, this.root);

    }

    p.s. Please check the useful/correct.

  • Printed output problem-RH 9 print drop-down text above its parent text. It serves out below!

    Hmmm I found a problem of bad potentionally for our printed output.

    Our documentation project uses many links of menu drop-down (hyper links where the text below the link in the next paragraph). Documentation was written with her expected the text to come out under the text.

    For example, I have this in my HR propject. When I saw, or when I compile in our output HTML Help (chm), it looks like this:

    A string of text

    Chain of that text a drop-down list appears here

    Text String B

    String B drop down text appears here

    Text of string C

    String C drop-down text appears here

    However, to the printed output, it produces like this:

    Chain of that text a drop-down list appears here

    String B drop down text appears here

    String C drop-down text appears here

    A string of text

    Text String B

    Text of string C

    This is my first generate output printed in RH 9. Previously, we were using 7 HR and aroused as planned, with the drop-down list text to come below.

    Is anyone else seeing this? Do you know a setting or something that might be able to solve this problem?

    Ok. I figured out how to fix it. This was happening in HR 7 too now that I think about it. I hope Adobe will solve this problem, because it's pretty hard to do workaround.

    Here's the background on my project and the solution to my problem.

    Background. It is a project to help straight decompiled html (chm) with high hydrostatic pressure. It was initially generated by RoboHelp 7. I am important in RH 9 to try and generated a textbook printed of this help file. So if you want to reproduce this on your end, create a test project in HR 7 with a drop down link or two. To generate a .chm file. Decompile the chm file and create a file with a LOT of HTML or MS Help Workshop hhp. Open the high hydrostatic pressure inside RH 9. Without change or save all the topics in HR immediately try to make printed output. You will see that the output below.

    Workaround. You must open the assigned topic in the WYSIWYG editor and do a simple (such as adding a space and delete), and then save them then the subject. When you generate the printed output, the drop down links put the image below the parent text. The problem is I have thousands of subjects in this project and it takes FOREVER to solve this problem. I had to resort to a macro during the night opens on each topic, makes a minor change and record before printing. I really hope that there is a way better around this in the future.

  • How to get the height of the component (located in %) on its parent creationComplete event

    Hello

    I've got a component with height = 100% ownership. This component has a child with height = 80 percent ownership. I need to get the value of the height of the child on the complete creation of the parent event. Problem is that the size of the child is set to a default value when sends this event. Correct height value is more later (I don't know when).

    I tried to use child.validateNow () and parent.validateNow (), but without result. Any suggestions?

    I should add that this child is inside the tabNavigator to the 2nd tab. There should be no impact if becouse tabNavigator has creationPolicy set to 'all '.

    Looks like than ViewStacks no children available to be chosen so your

    workaround is probably correct.  If we put out all the children, it would be wrong

    even more performance.

  • Custom button that creates another object in its parent

    I have a function that creates an instance of a custom class that extends of button inside a BorderContainer using MyBorderContainer.addElement ().  It seems to work very well.  What I would like is for the custom button (which it will be several created) in order to create a panel inside the same BorderContainer.  This is the class for the custom button:

    [quote] / public class MySpecialButton extends button

    {

    private var NewPanel:Panel = new Panel();

    public void MySpecialButton()

    {

    this.setStyle ("skinClass", MySpecialButtonSkin);

    }

    override the clickHandler(event:MouseEvent):void function

    {

    this.parent.addChild (NewPanel);

    }

    } [/ quote]

    I get no errors or warnings, it just seems to get hung on the line, addChild.  I worked on this problem for a while now and I'm stuck.  Any ideas?

    I think the parent panel should be responsible for adding the new Panel.  And also, why you override clickHandler?  Try to take responsibility for adding children to the parent of the key and try to add the parent of ITTO.  Here is some pseudo-code of what I speak.

    public function buttonClicked (event: Event): void

    {

    var newPanel:NewPanel = new NewPanel();

    addElement (newPanel);

    }

    .....

    Sincerely,

    Ubu

  • How can a child navigatorContent access its parent?

    I have 1 mx:ViewStack with 3 children s:NavigatorContent inside.

    Ho can I get access to the child element (NavigatorContent) property SelectedIndex of the parent (ViewStack)?

    I tried event.target.parent.parent.myViewStackid.selectedIndex = 1 but never succeed.

    [using Flash Builder 4beta2]

    Thank you very much

    Hello

    Yes disatching an event is the way to go.  Here's the same example with this extra.

    Heres the Hotel component

    http://ns.Adobe.com/MXML/2009.

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/halo" width = "400" height = "300" >

    protected function editButton_clickHandler(event:MouseEvent):void

    {

    dispatchEvent (new Event ('myButtonClick'));

    }

    ]]>

    [Event (name = "myButtonClick" type = "flash.events.Event")]

    You can see the sent button event handler and event called myButtonClick.  Notice the tag .  This tells the compiler to flex what we call this event and the type of event it is.  Otherwise said, he will expose in mxml and you can listen to it in the main file.

    This is the main file

    http://ns.Adobe.com/MXML/2009.

    xmlns:s = "library://ns.adobe.com/flex/spark".

    "xmlns:MX ="library://ns.adobe.com/flex/halo"minWidth ="1024"minHeight ="768"xmlns:local =" * ">

    protected function hotelcomp1_myClickHandler(event:Event):void

    {

    viewstack1. SelectedIndex = 0;

    }

    ]]>

    You can see here now in the viewstack in the mxml hotelComp that I have listed for the myButtonClick exactly as I would any other event and it called the hotel1Comp_myClickHandler that defines the index selected to 0.

    Hope that is kind to you.

    Andrew

  • runtime error dialog box: avoid showing its parent window

    Hi all

    Build my own GUI of TS, I use the components of TS in a VI that is never shown (running as a 'service' in my application).

    Another window is used as the interface main and "lives" according to orders sent by my TS 'service' VI (orders shipped on the UIMessages data).

    My problem is that when a runtime error occurs executing a sequence, runtime error dialog box appears, but it also shows my face before the VI "service"... Why is this?

    I think that something that handles windows-related...

    What can I do to avoid this behavior? I want only runtime error dialog box is displayed on the Panel before my main...

    Thank you

    Hi Doug,.

    I finally found the solution. In the LV API, there is a reminder VI named "DisplayExecution" that brings the VI identified as high-lvl (made in the initialization of the API (global refnum TopLevel)) to be the toplevel window.

    This recall VI is played on each interruption of the execution, it is also played on the runtime error.

    Disabling this VI solves the problem.

    Thanks for your help!

Maybe you are looking for