Bind a container to a port

Is there anyway to configure 10gAS to only serve requests to a particular application when the request came in on a specific port? e.g. I have container A and container B. I only want the app in B accessible on port 7779, whereas container A should be accessible on port 80.
Any ideas, or can this not be done? Should I use separate servers?
Greg.

Hi,
note that all data retrieval is through a business service layer - independently of whether you use ADF or not. So you can go with a POJO that directly connects to the database or a framework like ADF BC.
Frank

Similar Messages

  • WSDL contains wrong HTTPS port

    Hi All,
    I am publishing a WSDL from an ICO (Integrated Configuration) object. The WSDL contains two URLs, one for HTTP and the other for HTTPS. All good so far. Unfortunately the URL for HTTPS refers to port 50001 when it should be using 443. I have used NWA (nwa_ssl) to confirm that the HTTPS port is actually 443.
    How can we influence the HTTPS port in the WSDL? Where is this configured, any clues?
    Thanks
    Che
    I know the URLs can be influenced when publishing the WSDL, but was wondering if the actual default setting can be influenced so I do not have to change the port when publishing:

    Hello Che,
    Check the location documented in 1583506 FQDN missing from generated WSDL URL in PI Directory. You can change the port here.
    Regards
    Mark

  • Binding to container element

    Hi
    I searched the forum but can't find a solution for this issue.
    In a new WF, I created a container element ,set parameters as import & export and referenced it to an
    ABAP table and field.
    I need to use this container in a user decision step, as part of the Title parameter ,but when I try and do the binding ,the
    element appears under the Workflow container (left hand side section) ,but not under the Step container(right-hand side).
    Why would that be ?
    Many thanks
    Gerhard

    Hi,
    It is because the container is not present in the task.
    open the task & create a smiler container as you have in the workflow.
    That will solve your problem.
    Regards,
    Devananda A J

  • Binding and container

    hi,
    1) binding means first define event and assign to workflow then assign method to a task? 2 main binding steps?
    event -> WorkFlow -> Task -> Method -> Rule
    2) there is only 1 binding tcode?
    3) what is task container / method container / event container / workflow container?
    i mean what is this container referring to?
    thanks

    hi
    good
    go through this link ,might help you to solve your problem
    http://help.sap.com/saphelp_nw2004s/helpdata/en/72/11386ce58a11d1951f0000e82dec10/content.htm
    thanks
    mrutyun^

  • Fatal: bind 0.0.0.0 port 587: Address already in use

    Help! Anyone know what this means and how to fix it? Our mail is down.
    Thanks!

    Well, I looked at the log and tried to remember what I was doing at the time this error happened.
    It turns out that I decided no one uses POP, so I disabled POP and removed ports 25, 110 and 995 from the router. When I opened these ports back up on the router, mail went back to normal.
    What do these ports have to do with port 587?

  • WorkFlow - Binding / Container Operation

    Hi WF Gurus
    I am creating a Sale Order Change Start Event & want to collect a field (KNVV-KLABC) i.e. Customer ABC Class of that Sold-to-party of that sales order.
    Is it possible through binding or container operation.
    please give steps in details.
    Max. reward for right ans.

    You can do it by automatic binding. The object of SO changing is under the element EvtObject of event container.
    FYI.[http://help.sap.com/saphelp_nw70/helpdata/en/c5/e4b0ae453d11d189430000e829fbbd/frameset.htm]

  • ORA-01006 Using Bind Variables In A Dynamic SQL Contains Query

    I have the following dynamic SQL query :-
    declare
    TYPE typ_sql IS REF CURSOR;
    ltyp_sql typ_sql;
    lv_sql VARCHAR2(100);
    begin
    lv_sql := 'SELECT arx_id FROM arx WHERE CONTAINS ';
    lv_sql := lv_sql || (arx_full,''(:b1) WITHIN ui'') > 0';
    open ltyp_sql FOR v_sql USING ln_id;
    fetch ......
    close ......
    end;
    When the code tries to open the cursor it gives the above error. I presume it is the way Oracle is expanding the bind variable but I cannot find anything in the docs to say why this is happening or whether you can do this or not using bind variables ( CONTAINS query ). Any help would be appreciated, thanks,
    Stuart.

    lv_sql || '(arx_full, :b1 || '' within ui'') > 0';

  • Programmed Binding (Container IF)

    Hello Everyone,
    I was experimenting on Programmed Binding (Container IF) but I can't seem to make it work. I have had tried to refer the codes from the Programmed Binding (BOR Container) but to no avail.
    Is there anyone who can guide me on this?

    hi Liew
    You can use programmed binding in a binding instruction. You can use programmed binding to create more complex assignments, such as:
    ·        Perform calculations or checks on container elements before assignment
    ·        Combine two or more container elements before assignment
    You can implement a programmed binding as an ABAP class or a function module
    You can use an ABAP class to implement the Container ® Container and Expression ® Expression bindings.
    A binding that is implemented as an ABAP class is displayed in the list of binding statements as an enhancement and is visible in all Workflows. This type of ABAP class is therefore particularly suitable for making company-wide enhancements.
    An enhancement such as this is completely integrated in the binding editor. You can implement you own checks for the class and choose the names and symbols to be used to display the enhancement in the binding editor.
    Function module
    You can use a function module to implement the Container ® Container binding.
    A function module can use the BOR container interface or the container interface
    The BOR container interface supports compatibility reasons. It is therefore advisable to use the container interface for new function modules for the following reasons:
    ·         The container interface has no restrictions with regard to data types. The BOR container does not support the following data types: REF TO, STRING, XSTRING, fields that are longer than 255 characters.
    ·         No data type conversions are required for the container interface. This improves performance.
    for more info please go through the following link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7c/b82bcd7b9611d194b80000e82dec10/content.htm
    guess it will surely help
    regards
    ashish

  • Problems starting WLS on XP - Unable to bind to port

    Hi
    I recently changed my development environment from W2000 to XP.
    Apparently everything works as before.
    However, when I start WLS again shortly after stopping it (either by console or
    CTRL^C) I get the following error
    <01-10-2003 14:48:40 CEST> <Emergency> <WebLogicServer> <BEA-000351> <Unable to
    create a server socket on Channel Default for port: 28041. j
    ava.net.BindException: Address in use Perhaps another process is using port 28041.>
    <01-10-2003 14:48:40 CEST> <Emergency> <Security> <BEA-090085> <Server failed
    to bind to the configured port. The port may already be used b
    y another process.>
    <01-10-2003 14:48:40 CEST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to
    initialize the server: Server failed to bind to the requeste
    d port. See preceeding log message for details.>
    This situation times out after an unpredictable delay (5-20 min) - and I can restart
    my WLS.
    Does anybody know how to resolve this problem.
    Regards
    Peter

    Hi Werner,
    SYSLOG is UDP port 514.  Normally this means that some other program is running and using port 514.
    Some of the TFTP servers are also SYSLOG servers and will "listen" on this port.
    You can see if port 514 is listening with Fabric Manager not running.
    To find out what is using port 514:
    (a)     Open a command prompt window.  From Start / Run enter: cmd
    (b)     From the command prompt enter: netstat -ano
    (c)      Note the PID (process identifier) associated with the ports you are  concerned about.  (Also note the Local Address, Foreign Address,  Protocol and State.)
    (d)     Then do ctrl-alt-del to bring up the Windows Task Manager.
    (e)     In Windows Task Manager, select the Processes tab.
    (f)      Look for the PID you noted when you did the netstat in step (c).  Look  to left to the image name and that tells you which process has that PID.
    - If you dont see a PID column, click on View / Select Columns.  Make sure PID is selected.  Click OK.
    - Make sure Show processes from all users is selected.
    Now you can see what process is using port 514.  FM would be listed as javaw.exe ( java exec without a console window ).
    Best regards,
    Jim

  • More than one process bind() to a multicast port.

    Hi,
    I found one strange behavior when there are more than one process bind() to the same multicast port. The problem is as the following:
    If there is a process bind to a port, say 2000 and joined a multicast group. This process did not do a SO_REUSEADDR,
    before bind() and join the multicast group. Later on, I have another program in the same host joining the same multicast group with the same port number (with SO_REUSEADDR), the second process will not be able to receive any data from the multicast group (with the same port number) eventhough the second process can join the multicast group successfully.
    However, if both process call setsockop with SO_REUSEADDR, both process can receive multicast data from the multicast group. The simplest fix is to have both set SO_REUSEADDR. But the problem is, the first application is an off-the-shelf software and we do not have source code to it.
    I wonder if this is a problem with Solaris. Any thoughts?
    Thanks,
    Shao

    Hi,
    I found the answer to this question. Basically, according to the source code (Solaris 8 Foundation Source), ip6.c, line #2510, multicast data is forwarded to all "listeners" only if the first "binder" has a SO_REUSEADDR set. What that mean is, if the first "binder" does not set SO_REUSEADDR before bind(), any subsequent bind() with SO_REUSEADDR is meaningless (in practical terms).
    My question is, is this behavior correct? I think it's much better to allow subsequent listeners (successfully bind and joined the multicast group) to be able to receive data. The reason is that if the first binder does not set SO_REUSEADDR before bind() the port and joined the multicast group should not deny any "late comers" to join in and participate in the multicast group. "Fixing the code" is not always practical especially if one of the application is a third-party application. Or reject bind() if the first "binder" does not allow SO_REUSEADDR.
    Any comment?
    Regards,
    Shao

  • Socket bind fails when port in use as rootuser but succeeds as nonroot user

    Hi All,
    I have a prerequiste to check if a port is busy/already bound on Solaris 11.
    java version : java version "1.6.0_24"
    os : SunOS 5.11 11.0 i86pc i386 i86pc
    The code snippet is as follows.
    =====================================================================================
    arrayOfInetAddress = InetAddress.getAllByName("example.com");
    try
    for (int j = 0; j < arrayOfInetAddress.length; j++)
    System.out.println(" Trying for host : " + arrayOfInetAddress[j] + " and port : " + i);
    localServerSocket = new ServerSocket(i, 0, arrayOfInetAddress[j]);
    localServerSocket.close();
    System.out.println("Port = " + i + " passed by the user is free");
    catch (IOException localIOException)
    System.out.println("isPortFree:Port=" + i + " is busy. Exception ioe=" + localIOException.getMessage());
    localIOException.printStackTrace();
    ====================================================================
    when i run this application as a root user it correctly complains saying the port is already bound
    java CheckFreePort 9876
    java.net.BindException: Address already in use
    but when i run it as a non root user it says the port is free which is incorrect.
    java CheckFreePort 9876
    Port = 9876 passed by the user is free
    what could be the reason that bind succeeds even though the port is in use as a non root user.
    thanks,
    Prakash

    there is an em agent which is listening on this port.
    =========================================
    # su root
    # netstat -naP tcp|grep 9876
    *.9876 *.* 0 0 128000 0 LISTEN
    *.9876 *.* 0 0 128000 0 LISTEN
    #java CheckFreePort 9876
    java.net.BindException: Address already in use
    =========================================
    ===========================================
    # su oracle
    # netstat -naP tcp|grep 9876
    *.9876 *.* 0 0 128000 0 LISTEN
    *.9876 *.* 0 0 128000 0 LISTEN
    #java CheckFreePort 9876
    Port = 9876 passed by the user is free
    ============================================
    Is this something to do with the privileges of the non root user ?

  • Containter -- Container binding

    Can someone explain me in detail the difference between the three container bindings?
    - Copy All Elements (Except System)
    - Programmed Binding (BOR Container)
    - Programmed Binding (Container IF)
    Where can I find some example function modules or classes for a programmed binding?
    Tank you!
    BR, René

    Hi'
    actually SAP Help is all you need to get going in both BOR and IF programmed bindings. Take a look into http://help.sap.com/erp2005_ehp_02/helpdata/en/7c/b82bcd7b9611d194b80000e82dec10/frameset.htm
    If you still have problems, let me know and i'll see if I can find some of the programmed bindings I have made.
    Hope it helps
    Kind regards
    Mikkel

  • Event binding (Programmed Binding (Container IF))

    Hello WF gurus !
    I am currenlty trying to trace and debug a WF run and I am having difficulty to understand the binding mechanism of a "Wait for event" step in my workflow.  Here is the story:  Through its execution run, the WF encountered two "Wait for event" step based on the same BOR-Event (ex: BOR = ZISPROCES1 - Event = ABANDON ).  The first occurence is directly is the WF (we will call this WF: WF1) and the 2nd occurence is in a sub-workflow (WF2).  The 2 work items for those 2 "wait for events" steps were created in March 2010, obviously waiting for the same event to occur.  The ABANDON event occured in June 2010 trigerring the execution of both work items waiting for this event.
    When I look at the binding configuration of these "Wait for event" step (Popup screen: Display Binding From Event), I see the following:
    - Under "Workflow" column: Programmed Binding (Container IF)
    - Under "Event 'ABANDON' column: ZCONTAINER_BINDING_MAIL_ISIS
    When I click on the "Programmed Binding (Container IF)" buton, i get a popup screen titled: "Binding Instruction Display" with the following config:
    > Binding Instruction: Container --> Container: Programmed Binding (Container IF)
    > Exit Function Module: ZCONTAINER_BINDING_MAIL_ISIS
    When I look ath the FM ZCONTAINER_BINDING_MAIL_ISIS, I see that it uses three (3) import parameters:
    DATAFLOW_EVENT   TYPE SWA_DAFLOW
    SOURCE_CONTAINER TYPE SWFPARACNT
    TARGET_CONTAINER TYPE SWFPARACNT
    Assumption: Currently, from what I understand, the "Wait for event" step adds an object called "DELETOR" in the container of the workflow it belongs meaning that when the event will occur, the work item associated to these "Wait for event" steps will process and I should expect to have an object called "DELETOR" in the conainer of WF1 and WF2.
    The problem: When I look at my WF log using TCode SWI6, and I look at the container data for each step following the "Wait for event" step (SEND MAIL step), I notice that the WF1's "Send Mail" step container contains an instance of the object called "DELETOR" with data in it.  WF2's "Send MaiL" step also contains an object called "DELETOR" but with mention <No Instance> and I don't understand why...
    QUESTIONS:
    - Where can I see what are the values passed to the FM import parameters ?
    - Does anyone have an idea why in WF1's container, object "DELETOR" is instanciated and holds values and in WF2's container, there is an object "DELETOR" but is not instanciated.
    Edited by: PAQUEJO on Dec 2, 2010 10:04 PM

    Here is the code of FM ZCONTAINER_BINDING_MAIL_ISIS
    FUNCTION zcontainer_binding_mail_isis.
    *"*"Interface locale :
    *"  IMPORTING
    *"     VALUE(DATAFLOW_EVENT) TYPE  SWA_DAFLOW
    *"     VALUE(SOURCE_CONTAINER) TYPE  SWFPARACNT
    *"     VALUE(TARGET_CONTAINER) TYPE  SWFPARACNT
    *"  EXCEPTIONS
    *"      BINDING_ERROR
      INCLUDE <cntn01>.     " macros for accessing BOR objects and container
      INCLUDE <swfcntn01>.  " macros for accessing the new ABAP-OO-container
      TYPE-POOLS: swfbn.
      DATA: my_integer    TYPE        i.
      DATA: lcx_container TYPE REF TO cx_swf_cnt_container,
            l_msg         TYPE        swf_t100ms.
      DATA : l_creator(14).
      DATA : lo_usr01 TYPE swf_bor_object,
             lo_zis   type swf_bor_object.
      IF dataflow_event = swfbn_dataflow_export. " 'E'
    **** 'EXPORT' point of time. This could be:
    **** - workflow container to workitem container (before method call)
    **** - event container to workflow container (event receive or wf start)
    **** - workflow container to role container (before role resolution)
    **** always move data from source to target container
        TRY.
            CALL METHOD source_container->get
              EXPORTING
                name  = '_EVT_CREATOR'                          "#EC NOTEXT
              IMPORTING
                value = l_creator.
    *        ADD 17 TO my_integer.
            swf_create_object lo_usr01 'USR01' l_creator+2.
            CALL METHOD target_container->set
              EXPORTING
                name  = 'DELETOR'                               "#EC NOTEXT
                value = lo_usr01.
          CATCH cx_swf_cnt_container INTO lcx_container.
            l_msg = lcx_container->t100_msg.
            MESSAGE ID l_msg-msgid TYPE l_msg-msgty NUMBER l_msg-msgno
                    WITH l_msg-msgv1 l_msg-msgv2 l_msg-msgv3 l_msg-msgv4
              RAISING binding_error.
        ENDTRY.
      ELSEIF dataflow_event = swfbn_dataflow_import. " 'I'
    **** 'IMPORT' point of time. This could be:
    **** - from workitem container to workflow container (after method exec)
    **** - from workflow container to event container to (raise event)
    **** always move data from source to target container
        TRY.
            CALL METHOD source_container->get
              EXPORTING
                name  = '_EVT_CREATOR'                          "#EC NOTEXT
              IMPORTING
                value = l_creator.
    *        ADD 17 TO my_integer.
            swf_create_object lo_usr01 'USR01' l_creator+2.
            CALL METHOD target_container->set
              EXPORTING
                name  = 'DELETOR'                               "#EC NOTEXT
                value = lo_usr01.
            CALL METHOD source_container->get
              EXPORTING
                name  = '_EVT_OBJECT'                          "#EC NOTEXT
              IMPORTING
                value = lo_zis.
            CALL METHOD target_container->set
              EXPORTING
                name  = '_WI_OBJECT_ID'                               "#EC NOTEXT
                value = lo_zis.
          CATCH cx_swf_cnt_container INTO lcx_container.
            l_msg = lcx_container->t100_msg.
            MESSAGE ID l_msg-msgid TYPE l_msg-msgty NUMBER l_msg-msgno
                    WITH l_msg-msgv1 l_msg-msgv2 l_msg-msgv3 l_msg-msgv4
              RAISING binding_error.
        ENDTRY.
      ENDIF.
    ENDFUNCTION.

  • MultiServer peoplesoft PIA Domain doesnt start; failed to bind, port in use

    Multi Server PIA Domain does not start (failed to bind, port in use)
    Default (Peoplesoft) PIA multi server domain installation;
    After the setup we cannot start PIA and both PIA/ PIA2 cluster. One of them fails with error message about port conflict, port already in use.
    I 've been installing this kind of PIA's many times before. But this is the first install with Peopletools 8.49.19 and BEA Weblogic 9.2 mp3, P4.
    To bypass the problem we have NOT started the PIA1, PIA2 "servers" But that is a unwanted situation. Reinstalling and reconfiguring did not help.
    The odd thing is that on all previous installed PIA’s for different tools versions and peoplesoft applications we run here (on different servers) we do not run into the same errors. I am quite sure that on those servers where it works fine we only use port 443 for both PIA, PIA1 and PIA2.
    Since it’s not the port, I expect it the listen address to be the cause. I played around with IP address, fqdn, ip 127.0.0.1 (for PIA2 only) but nothing seems to work as the previous installations.
    web PIA multi server domain
    I start in sequence:
    startWebLogicAdmin.cmd
    startManagedWebLogic.cmd PIA
    startManagedWebLogic.cmd PIA1 and
    startManagedWebLogic.cmd PIA2
    the admin is running and the console can be reached.
    the PIA just starts fine (running) zie log below (PIA_log)
    when staring PIA1 it shuts down hust before comming up.
    <26-jun-2009 21:38:58 uur CEST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure". The address 10.1.70.76 might be incorrect or another process is using port 443: java.net.BindException: Address already in use: JVM_Bind.>
    <26-jun-2009 21:38:58 uur CEST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 10.1.70.76 might be incorrect or another process is using port 80: java.net.BindException: Address already in use: JVM_Bind.>
    <26-jun-2009 21:38:58 uur CEST> <Emergency> <Security> <BEA-090087> <Server failed to bind to the configured Admin port. The port may already be used by another process.>
    <26-jun-2009 21:38:58 uur CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.>
    <26-jun-2009 21:38:58 uur CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <26-jun-2009 21:38:58 uur CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <26-jun-2009 21:38:58 uur CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

    Hi there. We solved the issue by adding a second IP address to the same NIC and filled in all listen addresses accordingly in the BEA admin console. This did not answer the initial behavior but is a BEA advised solution in a multi server configuration. I am still very much interested in the cause of the behavior change between 8.1 and 9.2 since adding a second IP address is a more costly solution which was NOT necessary in weblogic8.1
    Detlev

  • Binding to port 162?

    I'm trying to write code that will bind to port 162. I'm able to do this
    if I'm root, however if I'm another user this fails. The user account
    I'm trying this under has the same group memberships as root. Could you
    please let me know what I need to do to be able to do this?
    Thanks in advance,
    Dave Zeltserman
    [email protected]

    Try this sample code as root:
    /* compile using cc test.c -lnsl */
    #include <stdio.h>
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <fcntl.h>
    #include <netdb.h>
    #include <stropts.h>
    #include <tiuser.h>
    #include <netinet/in.h>
    #include <signal.h>
    #define BUFSIZE 256
    #define PORT 162
    extern int t_errno; /* TLI globle errno */
    main()
    int fd, flags; /* Transport endpoint */
    char buffer[BUFSIZE]; /* Data buffer */
    struct t_call call;              / TLI call request */
    struct t_bind bind;              / TLI bind request */
    struct sockaddr_in server;
    if ((fd = t_open("/dev/tcp", O_RDWR, (struct t_info *)NULL)) < 0)
    t_error("t_open failed for fd");
    exit(1);
    /* Set up bind structures */
    if ((bind = (struct t_bind *)t_alloc(fd, T_BIND, T_ALL)) == NULL)
    t_error("t_alloc of t_bind struct failed");
    exit(1);
    memset((char *)&server, 0, sizeof(server));
    server.sin_family = AF_INET;
    server.sin_port = htons(PORT);
    server.sin_addr.s_addr = htonl(INADDR_ANY);
    bind->addr.maxlen = sizeof(server);
    bind->addr.len = sizeof(server);
    bind->addr.buf = (char *)&server;
    bind->qlen = 5;
    if (t_bind(fd, bind, bind) < 0)
    t_error("t_bind failed for fd");
    exit(1);
    * Was the correct address bound ?
    if (((struct sockaddr_in *)(bind->addr.buf))->sin_port != PORT)
    printf("t_bind bound wrong address\n");
    printf("Got %d instead of %d.\n", ((struct sockaddr_in *)(bind->addr.buf))->sin_port, PORT);
    exit(1);
    printf("Got Port %d \n", ((struct sockaddr_in *)(bind->addr.buf))->sin_port);
    if ((call = (struct t_call *)t_alloc(fd, T_CALL, T_ALL)) == NULL)
    t_error("t_alloc of t_call structure failed");
    exit(1);
    Output:
    # ./a.out
    Got Port 162
    #

Maybe you are looking for

  • Aperture 3 CPU Activity

    This is actually part 2 of a post I had about Aperture 3 crashing even after I tried every fix suggested by Apple and everyone else. I have been watching my CPU usage when I am using Aperture 3. I notice that any editing causes the CPU usage to go fr

  • I lost the aol canvas pictures. How do I get it back?

    I was deleting some stuff and when I was done my canvas picture was gone.

  • Disk Space Monitoring Tools

    I'm looking for a tool that will monitor all of my X-Servers and display the disk space for all of them within one application. If anyone knows of one, please let me know. Thanks, Peter

  • Moving a project to a different hard drive?

    I am having an issue with Visual Studio Premium 2013 Update 3 on a Windows 8.1 machine using Team Foundation Server 2013. The problem is that I need to move a DLL project to another disk drive and then link to it in another solution. I've moved the f

  • [solved] Small changes to abs PKGBUILDs and maintenance/updating

    Hi! Somehow I manage to hoard packages that require intervention on updates. Small things, like p.e. adding a flag to have cups build without the need for avahi or midori (if I rememer tight that one was libsoup) without gconf... or just an own mozco