Remove stage listener for multiple movieclips

I would like to completely remove personalized stage listeners, for each movieclip as soon as they are placed where they need to be, but the listeners remain every single time a new clip is dragged.
Thank you for any help!
function clickToDrag(targetClip:MovieClip):Function {
          return function(e:MouseEvent):void {
                    startingPosition[targetClip.name] = new Point(targetClip.x, targetClip.y);
                    targetClip.startDrag(false, new Rectangle(0,0,800,600));
                    setChildIndex(targetClip,numChildren - 1);
                    trace('clickToDrag function invoked\ntargetClip: ' + targetClip.name + '\startingPosition: ' + startingPosition[targetClip.name] + '\n\n');
                    stage.addEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
/*          releaseToDrop
          @function          stopDrag for current clip, if dropped off stage, returns to recorded beginning location
          @param                     targetClip:MovieClip
          @param                     startPosition:int
          @returns          event:void
function releaseToDrop(targetClip:MovieClip):Function {
          return function(e:MouseEvent):void {
                    targetClip.stopDrag();
                    trace('releaseToDrop function invoked\ntargetClip: ' + targetClip.name + '\n\n');
                    stage.removeEventListener(MouseEvent.MOUSE_UP, releaseToDrop);
                    stage.addEventListener(Event.MOUSE_LEAVE, mouseGone);
                    function mouseGone () {
                              TweenLite.to(targetClip, .2, { x: startingPosition[targetClip.name].x });
                              TweenLite.to(targetClip, .2, { y: startingPosition[targetClip.name].y });
                              //toggle comments to ease or not ease back to startingPosition
                              //targetClip.x = startingPosition[targetClip.name].x;
                              //targetClip.y = startingPosition[targetClip.name].y;
                              stage.removeEventListener(Event.MOUSE_LEAVE, mouseGone);
                              trace('releaseToDrop function invoked\ntargetClip dragged out of bounds: ' + targetClip.name + '\n\n');
/*          checkTarget
          @function          checks if current clip is dragged to drag1target(dock), updates boat weight and waterline, remove listeners
          @param                     targetClip:MovieClip
          @param                     lbsAmount:int
          @param                     targetLocation:MovieClip
          @returns          event:void
function checkTarget(targetClip:MovieClip,lbsAmount:int,targetLocation:MovieClip):Function {
          return function(e:MouseEvent):void {
                    if (targetClip.hitTestObject(drag1target)) {
                              targetClip.x = targetClip.x;
                              targetClip.y = targetClip.y;
                              drop.play();
                              TweenLite.to(targetClip, .5, { alpha: 0, onComplete:fadein });
                              function fadein() { TweenLite.to(targetLocation, .5, { alpha: 1 }); }
                              noMC.waterlineMC.y = noMC.waterlineMC.y - 3;
                              lbs -= lbsAmount;
                              lbsTxt.htmlText = lbs + "<font size='16'>lbs</font>";
                              targetClip.buttonMode = false;
                              targetClip.mouseEnabled = false;
                              targetClip.removeEventListener(MouseEvent.MOUSE_UP, checkTarget);
                              targetClip.removeEventListener(MouseEvent.MOUSE_DOWN, clickToDrag);
                              /* TODO: Issue with stage listener for every clip, opportunity to handle programmatically? */
                              /* check to see if eventListenter is still present */
                              if(targetClip.hasEventListener(MouseEvent.MOUSE_DOWN)) {
                                        trace(targetClip.name + ' still has MOUSE_DOWN event listener');
                              if(targetClip.hasEventListener(MouseEvent.MOUSE_UP)) {
                                        trace(targetClip.name + ' still has MOUSE_UP event listener');
                    } else if (borderMC.hitTestPoint(targetClip.x, targetClip.y, true)){
                              /*targetClip.y = startingPosition[targetClip.name].y;
                              targetClip.x = startingPosition[targetClip.name].x;                              */
                              TweenLite.to(targetClip, .2, { x: startingPosition[targetClip.name].x });
                              TweenLite.to(targetClip, .2, { y: startingPosition[targetClip.name].y });
                    } else {
                              /*targetClip.y = startingPosition[targetClip.name].y;
                              targetClip.x = startingPosition[targetClip.name].x;          */
                              TweenLite.to(targetClip, .2, { x: startingPosition[targetClip.name].x });
                              TweenLite.to(targetClip, .2, { y: startingPosition[targetClip.name].y });

i will try to show you a way that might help you to understand how the event-model in as3 is meant to work.
look at this code:
//with a MovieClip "DragClip" in the Library exoported for ActionScript
import flash.display.MovieClip;
import flash.events.MouseEvent;
for (var i:int = 0; i<10;i++){
    var mc:DragClip = new DragClip();
    addChild(mc);
    mc.mouseChildren = false;
    mc.addEventListener(MouseEvent.MOUSE_DOWN, dragStart);
    mc.addEventListener(MouseEvent.MOUSE_UP, dragStop);
    addChild(mc);
function dragStart(e:MouseEvent):void {
    e.currentTarget.startDrag();
    trace("dragging started");
function dragStop(e:MouseEvent):void {
    e.currentTarget.stopDrag();
    trace("dragging stopped");
    e.currentTarget.removeEventListener(MouseEvent.MOUSE_DOWN, dragStart);
    e.currentTarget.removeEventListener(MouseEvent.MOUSE_UP, dragStop);
//it places hundred Movieclips on the stage
//makes them draggable
//but after they are dragged once
//they stay in place

Similar Messages

  • Use 1 listener for multiple database in a server

    hi guys,
    just want to check whether this is the right way to configure my Listener.ORA . I am using 1 listener.ora to listen for incoming request connection from remote client. There are multiple databases installed in a server.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O11R2)
    (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
    (SID_NAME = O11R2)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O10G)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
    (SID_NAME = O10G)
    )sorry i am reading about it so did not install another database to test out. Just thinking in the line that it mention that the list of SID is refering to the multiple database that is installed in a server and i am using 1 listener.
    Please further advice.

    Shivananda Rao wrote:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O11R2)
    (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
    (SID_NAME = O11R2)
    (SID_DESC =
    (GLOBAL_DBNAME = O10G)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
    (SID_NAME = O10G)
    )Please use as above. You can have one listener for multiple databases.right right so it the pattern goes like this:
    SID_LIST_LISTENER =
         (SID_LIST =
              (SID_DESC =
              (GLOBAL_DBNAME = AAAA)
              (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
              (SID_NAME = AAAA)
              (SID_DESC =
              (GLOBAL_DBNAME = BBBB)
              (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
              (SID_NAME = BBBB)
         )thanks !

  • One Listener for multiple things?

    Is is OK to use on listener for multiple events on the same object?
    I have this for a FLV component and it seems to work. Is that legit?
    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
        trace("End of this video!!!!");
    myVideo.addEventListener("complete", listenerObject);
    listenerObject.stateChange = function(eventObject:Object):Void {
        trace("stateChange just occurd!!!");
    myVideo.addEventListener("stateChange", listenerObject);
    Thanks a lot for any info!!!

    Yup no problem. However I would group my listener object properties close together.
    listenerObject.complete=function(e:Event){
    // blah blah
    listenObject.progress=function(e:Event){
    // blah blah blah
    And so on. If they end up separated you most likely will forget over the course of time and then when you come back you might delete the object after you use it for one event and forget that it has others.

  • Configure Listener for Multiple IP's???

    I need to know how to configure my listener on a Windows 2000 Advanced Server using Oracle 8i to allow for the following conditions:
    1) I have 4 NIC'S in my server and I have 1 different IP address on each NIC.
    2) Stations will connect to Oracle via those 4 different IP's/NIC'S for load balancing of the NIC'S.
    3) There is only 1 SID used for my database.
    Any suggestions of how to configure the listener?
    Any Help GREATLY appreciated!!!
    mailto:[email protected]

    Can you use the idea posted here?
    You only have 2 options if you want to use remote desktop on multiple pc's on the same lan. Change the listening port, or forward an external port to a different internal port. Don’t enable upnp, there’s no need for it and it will just cause more problems than its worth. why would you want an application opening ports on your firewall without you knowing it? Just change the listening port on pc 2 to 3390, pc 3 to 3391. Then forward these ports to each respective ip address (should be static ips). and you are done. When you want to connect to pc 1 you type {your ip} and it will connect to pc 1. For pc 2, you type {your ip}:3390. pc 3 {your ip}:3391.
    http://support.microsoft.com/kb/306759
    Westell 6100 modem/router; Linksys WRT54GL v1.1 router firmware 4.30.9; Linksys WPC54G v2 Notebook Card; CenturyTel DSL using PPPoE

  • Single Listener for multiple controls

    Assuming I have 3 Slider Controls representing 3 different properties of an Object. How could I use a Single Listener/Handler to track the changes from all 3 sliders.

    Simply attach the same ChangeListener to all three sliders, but instead of looking at the new/old value parameters, just query all 3 of the sliders for their current values and use those.
    package hs.javafx;
    import javafx.application.Application;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.scene.Scene;
    import javafx.scene.control.Slider;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class ThreeSliderTest extends Application {
      public static void main(String[] args) {
        Application.launch(args);
      @Override
      public void start(Stage primaryStage) throws Exception {
        VBox vbox = new VBox();
        final Slider slider = new Slider(0, 100, 15);
        final Slider slider2 = new Slider(0, 100, 65);
        final Slider slider3 = new Slider(0, 100, 55);
        ChangeListener<Number> changeListener = new ChangeListener<Number>() {
          @Override
          public void changed(ObservableValue<? extends Number> observable, Number oldValue, Number value) {
            System.out.println("R,G,B = " + slider.getValue() + "," + slider2.getValue() + "," + slider3.getValue());
        slider.valueProperty().addListener(changeListener);
        slider2.valueProperty().addListener(changeListener);
        slider3.valueProperty().addListener(changeListener);
        vbox.getChildren().addAll(slider, slider2, slider3);
        Scene scene = new Scene(vbox);
        primaryStage.setScene(scene);
        primaryStage.show();
    }

  • Single Listener for multiple Dbs

    Hi,
    I have configured one listener (dev) for the two DBs--Dev and orcl.When i see the services status in lsnrctl i get the below mentioned:
    LSNRCTL> services
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "dev" has 2 instance(s).
    Instance "dev", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: ACER-E4EC306ECF, pid: 3364>
    (ADDRESS=(PROTOCOL=tcp)(HOST=acer-e4ec306ecf)(PORT=1527))
    The command completed successfully
    Now whenever i use the connect string in sqlplus as orcl ,it wont allow me to connect to the orcl DB and gives the error ORA-12514 unable to resolve the service given in service_names..which is obvious since the service name is dev .ALso in pfile of DB orcl ,i hv specified the parameter service_names=dev since the listener name is dev and instance_name as orcl.
    Now the real problem is whevenever i use the connect string as dev,it connects me to the orcl DB.My problem is how would the users connect to the dev DB.I m using dynamic service registration.
    Thanks in advance.

    Hi,
    What is your listner.ora nad tnsnames.ora file says ?? put them on the board .
    Thanks
    Alok.

  • Removing Only Effects for Multiple Varied Vectors

    Hi All,
    I've got some very complex vector artwork that has had the crystallise filter applied to every item to give the appearance of retro pixellated graphics. I want to remove the filter but leave the colour, stroke, opacity etc of the hundreds of closed paths unchanged. Unfortunately the paths have many different fill colours and stroke styles so there is no obvious way I can target items with the filter applied. Is there a way of removing just the filter without having to select each object individually and remove it one item at a time (nightmare scenario)? I don't want to keep filters on anything in the document, so getting rid of all filters would be a good solution as only the crystallise filter has seemingly been used in the artwork.
    I have tried selecting multiple items but cannot remove the filter this way and also tried using the Graphic Styles pallete but no success. I've also tried using the eye-dropper and 'select same...' functions but I cant find any way to target just the effect I want to remove.
    Any ideas will be appreciated.

    If the Crystalize filter was applied to all of the objects with the same settings, the Appearance palette shouild still list the Effect, even though it shows "Mixed Appearances" because the objects have different fills/strokes. If so, you can just delete the Crystalize Effect from the Appearance palette without disturbing the other Appearances.
    If the Crystalize filter settings were altered on a per-object basis, then the Appearance palette will not list the Effect when all objects are selected, because the Effect is not really common to all of the objects in the selection.
    The Reduce To Basic Apperance command in the Appearance palette flyout menu will retain normal fills/strokes while removing Effects. But if you have other Effects (other than basic fills and strokes) also appllied on a per-object basis, those Effects will also be removed by that command.
    JET

  • Listening for multiple keypresses simultaneously

    I'm trying to move a rectangle around with arrow keys.
    The current code of keyPressed method is
         public void keyPressed(KeyEvent e){
    /*           switch(e.getKeyCode()){
                   case 37: x=(Math.max(0,x-3));break;
                   case 38: y=Math.max(0,y-3); break;
                   case 39: x=Math.min(200,x+3);break;
                   case 40: y=Math.min(200,y+3);break;
              int a = e.getKeyCode();
              if(a == 37){x=Math.max(0,x-3);}
              if(a == 38){y=Math.max(0,y-3);}
              if(a == 39){x=Math.min(200,x+3);}
              if(a == 40){y=Math.min(200,y+3);}
              repaint();
         }The problem is that when pressing multiple keys at the same time only one registers.
    So how do I register multiple key presses ad change x and y accordingly?
    thank you

    It seems to me that the problems mentioned in that link with the "hold" could be solved with using a state flag set on keyPressed and then reset on keyReleased. When you release even one you should get the keyReleased event and until then, you should be in a hold state.

  • Listening for several input queues

    Hi!
    My application receives messages from several queues. I also need to know for each message what queue is it from. That's why I had to define separate MessageListener's for each queue. So each queue has its instance of MyListener (see below). I synchronized the onMessage method on static Object, so only one message from all queues is processed in given moment:
    MyListener implements MessageListener
    static Object object;
    onMessage (Message message)
    synchronized (object)
    //process
    The problem is, that while processing current message, new messages (I suppose one per queue) are already taken from the queue and waiting to be processed. Thus if my application will shut down I will loose at least one message per queue. I'd like to hear your suggestions.
    Thanks.

    Rather than creating multiple listeners, you can write one listener with a case like structure:
    public void onMessage(Message m) {
    Queue queue = (Queue) m.getJMSDestination();
    String name = queue.getName();
    if (name.equals("q1")) {
    // what the message listener for q1 would do ...
    } else if (name.equals("q2")) {
    // etc
    You can then register this message listener for multiple queues. The motivation for doing this was a requirement that the execution of the message listeners had to be serialized. You can also achieve this by creating the queue receivers from the same session.
    If there is no serialization requirement it's a matter of taste whether you prefer the combo listener above or multiple listeners. In this case you also can create the sessions from different connections to get concurrent message dispatch and possibly better performance.
    - Bjarne.

  • How can mc_instance listen for MouseEvent?

    hello;
    my_mc_instance.addEventListener( MouseEvent.MOUSE_DOWN ,
    a_function ) ;
    I do not understand why my_mc_instance even knows what a
    mouseevent is; for instance, I have to know what a "knock on the
    door" is before I can listen for it;
    movieclips DO NOT inherit from: Mouse or MouseEvent or even
    Event;
    movieclips inherit from:
    MovieClip --> Sprite --> DisplayObjectContainer -->
    InteractiveObject --> DisplayObject --> EventDispatcher
    --> Object
    so how do they even know what a MouseEvent is?
    it would seem to me that trying to add a mouseevent listener
    to my_mc_instance would never fire since movieclips do not inherit
    any mouse-related stuff;
    furthermore, according to MovieClip.as, MovieClip class
    already has methods that are apparently firing for the mouseevents:
    ActionScript Code:
    function onMouseDown():Void;
    function onMouseMove():Void;
    function onMouseUp():Void;
    function onPress():Void;
    function onRelease():Void;
    function onReleaseOutside():Void;
    function onRollOut():Void;
    function onRollOver():Void; ...
    which makes me wonder why it is even necessary to add
    mouse-related listeners to an mc;
    any thoughts?
    thanks
    dsdsdsdsd

    Hey,
    The reason movie clips dispatch mouse events is because movie
    clips inherit from InteractiveObject. All InteractiveObjects
    dispatch mouse events, so naturally, movie clips dispatch mouse
    events.
    For an object to be able to dispatch events, it doesn't have
    to inherit from the specific event class (MouseEvent class), just
    another class that dispatches those events (InteractiveObject).
    The script you included contains methods from AS2. You can't
    use them in AS3, so the only way to trigger anything with the mouse
    is to add event listeners.

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • Multiple Buttons in JTable Headers:  Listening for Mouse Clicks

    I am writing a table which has table headers that contain multiple buttons. For the header cells, I am using a custom cell renderer which extends JPanel. A JLabel and JButtons are added to the JPanel.
    Unfortunately, the buttons do not do anything. (Clicking in the area of a button doesn't appear to have any effect; the button doesn't appear to be pressed.)
    Looking through the archives, I read a suggestion that the way to solve this problem is to listen for mouse clicks on the table header and then determine whether the mouse clicks fall in the area of the button. However, I cannot seem to get coordinates for the button that match the coordinates I see for mouse clicks.
    The coordinates for mouse clicks seem to be relative to the top left corner of the table header (which would match the specification for mouse listeners). I haven't figured out how to get corresponding coordinates for the button. The coordinates returned by JButton.getBounds() seem to be relative to the top left corner of the panel. I hoped I could just add those to the coordinates for the panel to get coordinates relative to the table header, but JPanel.getBounds() gives me negative numbers for x and y (?!?). JPanel.getLocation() gives me the same negative numbers. When I tried JPanel.getLocationOnScreen(), I get an IllegalComponentStateException:
    Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
    Can someone tell me how to get coordinates for the button on the JTableHeader? Or is there an easier way to do this (some way to make the buttons actually work so I can just use an ActionListener like I normally would)?
    Here is relevant code:
    public class MyTableHeaderRenderer extends JPanel implements TableCellRenderer {
    public MyTableHeaderRenderer() {
      setOpaque(true);
      // ... set colors...
      setBorder(UIManager.getBorder("TableHeader.cellBorder"));
      setLayout(new FlowLayout(FlowLayout.LEADING));
      setAlignmentY(Component.CENTER_ALIGNMENT);
    public Component getTableCellRendererComponent(JTable table,
                                                     Object value,
                                                     boolean isSelected,
                                                     boolean hasFocus,
                                                     int row,
                                                     int column){
      if (table != null){
        removeAll();
        String valueString = (value == null) ? "" : value.toString();
        add(new JLabel(valueString));
        Insets zeroInsets = new Insets(0, 0, 0, 0);
        final JButton sortAscendingButton = new JButton("1");
        sortAscendingButton.setMargin(zeroInsets);
        table.getTableHeader().addMouseListener(new MouseAdapter(){
          public void mouseClicked(MouseEvent e) {
            Rectangle buttonBounds = sortAscendingButton.getBounds();
            Rectangle panelBounds = MyTableHeaderRenderer.this.getBounds();
            System.out.println(Revising based on (" + panelBounds.x + ", "
                               + panelBounds.y + ")...");
            buttonBounds.translate(panelBounds.x, panelBounds.y);
            if (buttonBounds.contains(e.getX(), e.getY())){  // The click was on this button.
              System.out.println("Calling sortAscending...");
              ((MyTableModel) table.getModel()).sortAscending(column);
            else{
              System.out.println("(" + e.getX() + ", " + e.getY() + ") is not within "
                                 + sortAscendingButton.getBounds() + " [ revised to " + buttonBounds + "].");
        sortAscendingButton.setEnabled(true);
        add(sortAscendingButton);
        JButton button2 = new JButton("2");
        button2.setMargin(zeroInsets);
        add(button2);
        //etc
      return this;
    }

    I found a solution to this: It's the getHeaderRect method in class JTableHeader.
    table.getTableHeader().addMouseListener(new MouseAdapter(){
      public void mouseClicked(MouseEvent e) {
        Rectangle panelBounds = table.getTableHeader().getHeaderRect(column);
        Rectangle buttonBounds = sortAscendingButton.getBounds();
        buttonBounds.translate(panelBounds.x, panelBounds.y);
        if (buttonBounds.contains(e.getX(), e.getY()) && processedEvents.add(e)){  // The click was on this button.
          ((MyTableModel) table.getModel()).sortAscending(column);
    });

  • Single SSL Web Listener for hosting multiple web sites

    Hi All,
    We are currently hosting multiple websites with Single HTTP Web Listener .. As of now it's everything is working fine..
    Now we have planned to have SSL for the hosted sites 
    Each hosting site will have different SSL Certificates and  i am little confused to use Single SSL Web Listener to host multiple web Sites...
    Can any one guide me to use Singel SSL Listener for using all hosted sites..
    We are having TMG on DMZ Network on Single Nic..
    KJSUBBU

    Hi,
    it is no problem to host multiple SSL websites with only one IP address / certificate on the TMG Server. Only the authentication options for the published websites must be unique, because you cannot use multiple authentication options in one Listener
    TMG Server uses HTTPS to HTTPS bridging, so you can use Host header and more to distinguish between the different internal websites:
    http://technet.microsoft.com/en-us/library/cc995178.aspx
    Regarding the SSL certificate on the internal webservers. TMG must trust the issuing certificate authority which issued certificates for these websites and the name you used to connect from the TMG Server to the internal webserver must part of the CN (Common
    Name) or SAN (Subject Alternate Name) on the certificates of the webservers
    regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.galileocomputing.de/3276?GPP=MarcGrote

  • How to configure oracle listener profile for multiple oracle database

    Hi,
    I am going to install solution manager system in the same server of ERP EHP4 on Windows. Both DB are oracle.
    I'd like to know how to configure listener in this kind of envirnmonent.
    a. use two listener and different ports
    b. use same listener but different ports
    c. use same listener and same port
    Which is the correct mothed?
    And, after installation, there seem three set of profiles of listten, one for ERP, one for SLM, and the other for OS?(%windir%system32), which one is functional?
    Please advise.
    Thanks a lot.
    Regards,
    Alex

    Hi,
    standard installation is creating new configs for listener for each instance.
    I would recommend to use one listener per each instance.
    YOU CAN NOT HAVE one port number for two differnet systems!
    If you want to use one listener than you must adapt tnsnames.ora, listener.ora and ensure that both systems will use different port numbers.
    For example PORT= 15<system number>
    Peter

  • Best practice for listeners for multiple oracle homes - 1 listener?

    I have a machine with 9i and 10g on it, and I have set up a 10g listener to serve connections to the 9i and 10g databases.
    Is this best practice, or is it better to have two listeners - a 9i listener for th 9i databases and a 10g listener for the 10g databases?

    HI,
    Are they two production databases ? In this case, like Laurent said, perhaps it's better to have one listener per instance, if one shutdown, it doesn't disturbe the other.
    Are they different application level (1 for dev, 1 for validation...), here too, perhaps it's better to have one listener per instance, if one shutdown, it doesn't disturbe the other.
    Are they two development databases ? In this case, you can to have one listener for all databases
    I don't think that there is only one way, but there is too many configuration which make one solution is better that other.
    Nicolas.

Maybe you are looking for